Skip to content

Commands

Main Command

/h
Permission: particlehats.command.h

Opens the primary menu configured in config.yml

default-menu: particles.yml


Help

/h help
Permission: particlehats.command.help

Shows all commands the player has permission to use.


Reload

/h reload
Permission: particlehats.command.reload

Reloads any changes made to config.yml & any menu.


Particles

Clear your particles

/h clear
Permission: particlehats.command.clear

Removes all of your equipped particles.


Clear a players particles

/h clear <player>
Permission: particlehats.command.clear.player

Removes all the target players equipped particles.


Set a particle

/h set <player> <label>
Permission: particlehats.command.set

Gives a hat with the given label to the target player.


Remove a particle

/h unset <player> <label>
Permission: particlehats.command.unset

Removes the target hat from the player.


Toggle your particles

/h toggle <on|off>
Permission: particlehats.command.toggle

Toggles your equipped particles on or off


Toggle a players particles

/h toggle <on|off> <player>
Permission: particlehats.command.toggle.player

Toggles a players particles on or off


Manage particles

/h particles
Permission: particlehats.command.particles

Opens a menu where the player can manage their particles.


Create menu

/h create <name>
Permission: particlehats.command.create

Creates a new menu and opens it for editing.


Edit menu

/h edit <name>
Permission: particlehats.command.edit.<menu>

Opens the target menu for editing.


Open a menu

/h open <name>
Permission: particlehats.command.open.<menu>

Opens the target menu as if calling /h normally


Open a menu for a player

/h open <name> <player>
Permission: particlehats.command.open.player

Opens the target menu for the player.


NPC

Note

The npc commands will only work if you are using the CitizensNPC plugin and have the hook enabled in config.yml

Manage NPC particles

/h npc manage
Permission: particlehats.command.npc.manage

Opens a menu where you can manage an NPC's equipped particles.


Give an NPC a particle

/h npc set <id> <label>
Permission: particlehats.command.npc.set

Gives a npc with the given id a particle with the given label


Clear a NPC's particles

/h npc clear <id>
Permission: particlehats.command.npc.clear

Removes all the NPC's equipped particles.


Groups

Add group

/h group add <name> <menu> <weight>
Permission: particlehats.command.group.add

Adds a new group with the given name that will open menu. weight determines which group is selected if the player belongs to multiple groups.


Edit group

/h group edit <name> <menu> <weight>
Permission: particlehats.command.group.edit

Updates an existing group.


Remove group

/h group remove <name>
Permission: particlehats.command.group.remove

Removes a group.


MySQL

Note

The following commands require the MySQL database to be enabled.

Add type

/h type add <type>
Permission: particlehats.command.type.add

Adds a custom image into the MySQL database.


Remove type

/h type remove <type>
Permission: particlehats.command.type.remove

Removes a custom type that was previously added to the MySQL database.


Import menu

/h import <menu>
Permission: particlehats.command.import

Imports a local .yml menu into the MySQL database.


Command Target Selectors

Permission: particlehats.command.selectors

Lets players use @p & @r target selectors when using commands.