Commands
From Citizens Wiki
Read below for detailed command documentation. For more info on per-type commands and permissions, see its corresponding page.
[] - Mandatory
() - Optional
Command - command's syntax
Args Description - description of the command's arguments
Require Selected - whether the command requires an NPC to be selected
Require Ownership - whether the commands requires you to be the owner of the NPC
Permission - command's permission node
Description - short description of the command
Admin Commands
Commands used for administration of the plugin itself, along with debug commands.
| Admin Commands | ||
|---|---|---|
| Command | Permission | Description |
| /citizens | citizens.admin | Shows basic plugin information |
Help Commands
Commands used in-game to show the help screen.
| Help Commands | |||||
|---|---|---|---|---|---|
| Command | Args Description | Permission | Description | ||
| /citizens help | (Page) - Page number to display | citizens.help | Show Citizens help menu | ||
| /npc help | (Page) - Page number to display | citizens.npc.help | Show NPC help menu | ||
NPC Commands
General commands used for all NPCs.
| NPC Commands | |||||
|---|---|---|---|---|---|
| Command | Args Description | Require Selected | Require Ownership | Permission | Description |
| /npc | None | citizens.npc.info | Show basic NPC information | ||
| /npc create | [name] --type (type) --char (character) --temp (template) | citizens.npc.create | Create a new NPC | ||
| /npc despawn | None | citizens.npc.despawn | Despawn an NPC | ||
| /npc remove | None | citizens.npc.remove | Remove an NPC | ||
| /npc rename | Name - New name for the NPC | citizens.npc.rename | Rename an NPC | ||
| /npc select | [ID] - ID of the NPC to select | citizens.npc.select | Selects an NPC with the given ID | ||
| /npc character | [Character] - Character to use | citizens.npc.character | Sets the character of an NPC | ||
| /npc sneak | None | citizens.sneak | Toggle whether an NPC should sneak | ||
| /npc spawn | ID - ID of the NPC you want to spawn | citizens.npc.spawn | Spawn an existing NPC | ||
| /npc tphere | None | citizens.npc.tphere | Teleport an NPC to your location | ||
| /npc tp | None | citizens.npc.tp | Teleport to an NPC | ||
| /npc lookclose | None | citizens.npc.look-close | Toggle an NPC's look-close state | ||
Editor Commands
Commands for editing existing NPCs.
| Editor Commands | |||||
|---|---|---|---|---|---|
| Command | Args Description | Require Selected | Require Ownership | Permission | Description |
| /npc equip | None | citizens.npc.equip | Toggle equipment editor | ||
| /npc path | None | citizens.npc.path | Toggle path editor | ||
| /npc text | None | citizens.npc.text | Toggle text editor | ||
See Also
| Quick Navigation | |
|---|---|
| Usage | Installation · Frequently Asked Questions · Commands · Editors · Characters · API · |
| Configuration | Configuration · Text Syntax · Permissions · Waypoints · Data Storage |