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) | false | false | citizens.npc.create | Create a new NPC |
/npc despawn | None | true | true | None. You must be an owner or an admin. | Despawn an NPC |
/npc remove | None | true | true | None. You must be an owner or an admin. | Remove an NPC |
/npc rename | Name - New name for the NPC | true | true | None. You must be an owner or an admin. | Rename an NPC |
/npc select | [ID] - ID of the NPC to select | false | true | None. You must be an owner or an admin. | Selects an NPC with the given ID |
/npc character | [Character] - Character to use | true | true | None. You must be an owner or an admin. | Sets the character of an NPC |
/npc sneak | None | true | true | None. You must be an owner or an admin. | Toggle whether an NPC should sneak |
/npc spawn | [ID] - ID of the NPC you want to spawn | true | true | None. You must be an owner or an admin. | Spawn an existing NPC |
/npc tphere | None | true | true | None. You must be an owner or an admin. | Teleport an NPC to your location |
/npc tp | None | true | true | None. You must be an owner or an admin. | Teleport to an NPC |
/npc lookclose | None | true | true | None. You must be an owner or an admin. | 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 |