Commands
Main Command
/h
particlehats.command.h
Opens the primary menu configured in config.yml
default-menu: particles.yml
Help
/h help
particlehats.command.help
Shows all commands the player has permission to use.
Reload
/h reload
particlehats.command.reload
Reloads any changes made to config.yml & any menu.
Particles
Clear your particles
/h clear
particlehats.command.clear
Removes all of your equipped particles.
Clear a players particles
/h clear <player>
particlehats.command.clear.player
Removes all the target players equipped particles.
Set a particle
/h set <player> <label>
particlehats.command.set
Gives a hat with the given label to the target player.
Remove a particle
/h unset <player> <label>
particlehats.command.unset
Removes the target hat from the player.
Toggle your particles
/h toggle <on|off>
particlehats.command.toggle
Toggles your equipped particles on or off
Toggle a players particles
/h toggle <on|off> <player>
particlehats.command.toggle.player
Toggles a players particles on or off
Manage particles
/h particles
particlehats.command.particles
Opens a menu where the player can manage their particles.
Menus
Create menu
/h create <name>
particlehats.command.create
Creates a new menu and opens it for editing.
Edit menu
/h edit <name>
particlehats.command.edit.<menu>
Opens the target menu for editing.
Open a menu
/h open <name>
particlehats.command.open.<menu>
Opens the target menu as if calling /h normally
Open a menu for a player
/h open <name> <player>
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
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>
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>
particlehats.command.npc.clear
Removes all the NPC's equipped particles.
Groups
Add group
/h group add <name> <menu> <weight>
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>
particlehats.command.group.edit
Updates an existing group.
Remove group
/h group remove <name>
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>
particlehats.command.type.add
Adds a custom image into the MySQL database.
Remove type
/h type remove <type>
particlehats.command.type.remove
Removes a custom type that was previously added to the MySQL database.
Import menu
/h import <menu>
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.