Click Commands
Items have a feature to execute commands upon being clicked on. The commands can either be executed as the player or the server's console. You can even use placeholders in commands, as they are automatically translated.
Adding Commands
Open a menu file (
UHCReloaded/menus/
).Go to an item of your choice.
Add a command using the following formats:
As player:
player->[YOUR COMMAND]
As console:
console->[YOUR COMMAND]
Both Examples
Last updated