#Command completing

1 messages · Page 1 of 1 (latest)

subtle drum
#

Hey...
I'd like to create a menu for the /pay command and I am not sure, if this is possible with DeluxeMenus:
The player clicks on an item in menu for /pay. Then, a new menu opens, where he sees the heads of all online players, so that he can choose, which player to send money. Finally he got to type in chat, what amount he would like to send. After typing enter, DeluxeMenus would run the whole command /pay <playername> <amount>.
Did anyone already do something like this?

celest swift
#

but you can do /pay (amount in menu) <&7Insert the name of the &fPlayer &7that you want to pay>

hexed maple
#

commandprompter has a player ui prompt like described

subtle drum
celest swift
hexed maple
subtle drum
# hexed maple I believe you can, it should ask them in order

It works, thank you! This is really a nice combination of 2 plugins.
Is there also a possibility in DM, that a command is not fulfilled, so the player can complete it?
P. e. for plot flags, that chat would be opened and there would be "/p flag set" and the player completes, which flag he wants to set...

hexed maple
#

i think that's possible, but not entirely sure how. I think it was added in mc 1.18 or soemthing idrk

#

but if not, you could always use commandprompter and just ask Which flag would you like to set?

soft leaf