🏭Actions

How to add Actions to the head configuration?

It's really simple, just write to the new line in the config "actions:". Then follow everything below..

Action format

actions:
- 'action-type(value=action-value,optional-things...)'

Actions types

Action typeAction functionExample

player-cmd

Executes the command by the player who clicked

player-cmd(value=say I'm %player%)

console-cmd

Executes the command from the console

console-cmd(value=say %player% clicked me!)

message

Send message to the player who clicked

message(value=hey %player%)

broadcast

Broadcast message

broadcast(value=&cThis is broadcast)

sound

Play sound to the player who clicked

sound(value=ENTITY_ORB_PICKUP)

connect

Connect player to the different server

connect(value=Survival)

Action cooldown

If you want, you can add cooldown to the action. Cooldown is in seconds. Format: cooldown=time example:

- 'action-type(value=action-value,cooldown=time)'

Action click types

If you want, you can specify click types for the action. Click types: LEFT, RIGHT, SHIFT_LEFT, SHIFT_RIGHT Format: clicks=click1 or clicks=click1:click2:... example:

- 'action-type(value=action-value,cooldown=time)'

Last updated