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

  1. Open a menu file of your choice.

  2. Go to an item and find the commands section (you can add it when its missing).

  3. Add a command using these formats:

    • As player: player->[YOUR COMMAND]

    • As console: console->[YOUR COMMAND]

Command Examples

item-builder:
  my-item:
    item-settings:
      commands:
        - "player->say this command is being executed as {PLAYER}"
        - "console->say this command is being executed by the console"

Last updated