RotatingHeads
  • 🏠Home Page
  • 🆓FREE VERSION
    • Free compass
    • Defaults
      • 📩Installation
      • 📝Commands
      • 📱Support
    • Setup
      • ⚙️Settings
      • 🦿Animations
        • 🐚Rotate
        • ↕️UpDown
        • 👀Stalking
      • 😁Head
      • 🖼️Name
      • ✨Particles
      • 🏭Actions
    • Developer API
      • 💡API
Powered by GitBook
On this page
  • How to add Actions to the head configuration?
  • Action format
  • Actions types
  • Action cooldown
  • Action click types
  1. FREE VERSION
  2. Setup

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 type
Action function
Example

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)'
PreviousParticlesNextDeveloper API

Last updated 3 years ago

🆓
🏭