A Gui command to put buttons that activate commands on the screen of players
/gui [player] [add or remove] [Position options: position.middle, position.topleft.corner, position.left.side, position.topright.corner, position.right.side.] [Gui text] ~~~ [command input] An example would be:
/gui Steve add position.topright.corner “Free Diamonds” ~~~ /give Steve diamond
There could also be another selector tag called “gui” how it would work is in a command you put in a selector like /give @[gui={“Free Diamonds”} diamond
The selector would work by detecting if a player clicks the gui then running a command for that player.
This command would be very useful for map creators since they have to use chest guis but this would be on a whole nother level.
There could also be a list gui when you click the gui, it opens a list of other guis to click.
Please sign in to leave a comment.
1 Comments