On servers like hypixel, plugins are used to make custom UI (game selection, friends, shop etc.), but it is very hard to do using pure vanilla. It will be nice if that is an in game feature in vanilla.
Command usage:
/UI create [id] [UI name in json] [horizontal slots] [vertical slots]
(/UI create shop {“text”:”Shop”,”color”:”green”} 9 5)
/UI remove [id]
(/UI remove shop)
/UI setitem [id] [horizontal slot] [vertical slot] [item] [command when clicked]
(/UI setitem shop 5 3 emerald say Hello world!)
/UI modify [id] [name|horizontal|vertical] [value]
(/UI modify shop name {“text”:”Server shop”,”color”:”green”})
/UI show [id] [target]
(/UI show shop @a[tag=shop])
/UI hide [id] [target]
(/UI hide shop @a[tag=!shop])
Please sign in to leave a comment.
0 Comments