Custom Items - Executables

Executables, usable in the On-Click events.


Executable - [COMMAND]

The [COMMAND] executable acts as a console command, use %player% to replace it with the player name.

execute:
  - "[COMMAND] give %player% diamond 1"

Executable - [SOUND]

The [SOUND] executable will play a sound for the player, with customizable volume and pitch. You can find a list of sound names on https://www.digminecraft.com/lists/sound_list_pc.php Volume can be from 0 to 1, and Pitch can be from -2 to 2.

execute:
  - "[SOUND] ENTITY_ENDER_EYE_DEATH 1 -2" # <SOUND NAME> <VOLUME> <PITCH>

Executable - [MESSAGE]

The [MESSAGE] executable will send the player a message.

execute:
  - "[MESSAGE] &7Hello there!"

Executable - [SPECIAL]

For info about special executables, see:

Special executables

Last updated