Skip to content

Commands

Jacob edited this page Dec 18, 2019 · 2 revisions

Main Command

/h
permission: particlehats.command.h
wildcard: particlehats.command.*

/h is the main command for ParticleHats, using /h by itself will open the players group menu, or open the default menu in config.yml

Help

/h help
permission: particlehats.command.help
wildcard: particlehats.command.*

Shows all commands the player has permission to use

Reload

/h reload
permission: particlehats.command.reload
wildcard: particlehats.command.*

Reload any changed made to the plugin's .yml configuration files

Clear Particles

/h clear
permission: particlehats.command.clear
wildcard: particlehats.command.*

/h clear [player]
permission: particlehats.command.clear.player
wildcard: particlehats.command.* or particlehats.command.clear.*

Set Particle

/h set [player] [label]
permission: particlehats.command.set
wildcard: particlehats.command.*

Lets you equip particles without opening a menu. particles must have a unique label assigned in order to work

Create Menu

/h create [menu]
permission: particlehats.command.create
wildcard: particlehats.command.*

Creates a new menu and opens the Menu Editor

Edit Menu

/h edit [menu]
permission: particlehats.command.edit.[menu]
wildcard: particlehats.command.* or particlehats.command.edit.*

Opens the MenuEditor with this menu loaded

/h meta [property]

The meta command uses the same permission values as the edit command. This is because the player must be able to edit meta properties in the menu they're editing

Open Menu

/h open [menu]
permission: particlehats.command.open.[menu]
wildcard: particlehats.command.* or particlehats.command.open.*

Open this menu as if the player used /h normally

/h open [menu] [player]
permissison: particlehats.command.open.player
wildcard: particlehats.command.* or particlehats.command.open.*

Opens this menu for the target player as if they used the command /h normally

Groups

/h group add [name] [menu] [weight]
permission: particlehats.command.group.add
wildcard: particlehats.command.* or particlehats.command.group.*

Adds a new group with the given name, default_menu, & weight

/h group edit [group] [menu] [weight]
permission: particlehats.command.group.edit
wildcard: particlehats.command.* or particlehats.command.group.*

Edits an existing group, changing it's default_menu & weight

/h group remove [group]
permission: particlehats.command.group.remove
wildcard: particlehats.command.* or particlehats.command.group.*

Removes a group

Types

/h type add [type]
permission: particlehats.command.type.add
wildcard: particlehats.command.* or particlehats.command.type.*

Adds a local custom type into your MySQL database. custom types are stored in the ParticleHats/types folder

/h type remove [type]
permission: particlehats.command.type.remove
wildcard: particlehats.command.* or particlehats.command.type.*

Removes a custom type from your MySQL database

Particle Manager

/h particles
permission: particlehats.command.particles
wildcard: particlehats.command.*

Lets the player manage their equipped particles

Import

/h import [menu]
permission: particlehats.command.import
wildcard: particlehats.command.*

Lets you import your local .yml files into your MySQL database

NPC Manage

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

Opens a gui menu where you can manage a CitizenNPC's equipped particles

NPC Set

/h npc set [id] [label] permission: particlehats.command.npc.set

Equips this NPC with particle belonging to the label

NPC Clear

/h npc clear [id]
permission: particlehats.command.npc.clear

Clears all equipped particles for the NPC

Toggle

/h toggle [on/off]
permission: particlehats.command.toggle

Toggles all equipped particles on/off
Also accepts [on,off,yes,no,1,0,true,false]

Toggle Player

/h toggle [on/off] [player]
permission: particlehats.command.toggle.player

Toggles a players equipped particles on/off

Command Target Selectors

permission: particlehats.command.selectors
wildcard: particlehats.command.*

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

at the moment, only /h clear, /h set & /h open use target selectors

Clone this wiki locally