#[DeluxeMenus] How to make a menu command register in tab complete
1 messages · Page 1 of 1 (latest)
coming to help you
Add this to your menu options:
register_command: true
open_command: foo```
This is going to override any already existing /foo
@mellow star
when I add that to the top of the file, it doesn't even let any of the commands work
Can you send the menu here?
# A DeluxeMenus advanced configuration guide
#=========================================================
menu_title: '&8> &6&lD&eM &bAdvanced Example'
open_command:
- advancedmenu
- advancedexamplemenu
- themostadvancedmenuintheworld
open_commands:
- '[sound] BLOCK_BEACON_ACTIVATE'
- '[message] &7Opening Advanced example menu, Plugin created by &bextended_clip&7!'
size: 27
register_command: true
# as always, only cool people can open this menu :)
open_requirement:
requirements:
permission:
type: has permission
permission: deluxemenus.admin
deny_commands:
- "[message] &8[&bDeluxe&eMenus&8] &cYou don't have perms for this!"
Is this the default menu?
yeah but it will work for any menu
even those commands dont work
but when I remove the line register_command:true the commands work fine
Dude you have 2 open_commands option
yeah you can have that
but I guess not with registering multiple commands
i can try to remove one command
thats not the issue either
dm version: 1.13.6-Release
This server is running Paper version git-Paper-138 (MC: 1.19.2) (Implementing API version 1.19.2-R0.1-SNAPSHOT) (Git: 09904fd)
You are 53 version(s) behind
Download the new version at: https://papermc.io/downloads
Previous version: git-Paper-173 (MC: 1.19.2)
maybe an update may fix it?
No, it won't
So with the menu you sent me the command advancedmenu is not getting registered?
none of those commands are getting registered
Did you restart your server?
that may be why
yeah that makes sense, because if the registering of the command is done on the enable setup, it wont enable without a restart
Yep
you're in forum
ik, but it would be cool to /close and it would auto delete the thread