#Commands be completed automatically

1 messages · Page 1 of 1 (latest)

river cloud
#

Hello,

I would like to know how to make some commands be completed automatically in the chat bar.

Example: (All permissions are assigned)

In the situation where the player is in the Default group.
It types the command '/men' that it can use the tab key so that it applies automatically or at least that it is not in red whereas it can well carry out this command if it completes it entirely thus /menu

I found in a forum that I could add 'registered_command: true' in the config file of the menu file but I have no idea where to write it

forest bobcat
#

You can write it under the open command

#

atleast thats what I do

#

@river cloud

frail creek
#

you have to add register_command: true in your menu's file

river cloud
#

menu_title: ' &bSokali&dCraft'
open_command: menu
register_command: true
size: 54
open_requirement:
requirements:
permission:
type: has permission
permission: deluxemenus.menu
deny_commands:
- '[message] &cVous n''avez pas l''autorisation !'

#

I do this

#

/dm reload

#

but not work

karmic nexus
#

I used plugin called easy command blocker, you can add commands there that will be visible only to specific groups, I also added there all commands to open the DM menus I wanted, it makes them visible how you want

frail creek
fair lake
#

omg.

#

I hate discord

#

it doesn't show new messages

#

it just shows the top one

#

sorry for the double answer 😭

frail creek
#

xD

river cloud
#

Nice thank's guys it's working 🙂