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 | None. You must be an owner or an admin. | Despawn an NPC | ||
/npc remove | None | None. You must be an owner or an admin. | Remove an NPC | ||
/npc rename | Name - New name for the NPC | None. You must be an owner or an admin. | Rename an NPC | ||
/npc select | [ID] - ID of the NPC to select | None. You must be an owner or an admin. | Selects an NPC with the given ID | ||
/npc character | [Character] - Character to use | None. You must be an owner or an admin. | Sets the character of an NPC | ||
/npc sneak | None | 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 | None. You must be an owner or an admin. | Spawn an existing NPC | ||
/npc tphere | None | None. You must be an owner or an admin. | Teleport an NPC to your location | ||
/npc tp | None | None. You must be an owner or an admin. | Teleport to an NPC | ||
/npc lookclose | None | 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 |