Commands: Difference between revisions
From Citizens Wiki
Line 74: | Line 74: | ||
| /npc create | | /npc create | ||
| [name] --type (type) --char (character) --temp (template) | | [name] --type (type) --char (character) --temp (template) | ||
| | | false | ||
| | | false | ||
| citizens.npc.create | | citizens.npc.create | ||
| Create a new NPC | | Create a new NPC | ||
Line 81: | Line 81: | ||
| /npc despawn | | /npc despawn | ||
| ''None'' | | ''None'' | ||
| | | true | ||
| | | true | ||
| None. You must be an owner or an admin. | | None. You must be an owner or an admin. | ||
| Despawn an NPC | | Despawn an NPC | ||
Line 88: | Line 88: | ||
| /npc remove | | /npc remove | ||
| ''None'' | | ''None'' | ||
| | | true | ||
| | | true | ||
| None. You must be an owner or an admin. | | None. You must be an owner or an admin. | ||
| Remove an NPC | | Remove an NPC | ||
Line 95: | Line 95: | ||
| /npc rename | | /npc rename | ||
| ''Name'' - New name for the NPC | | ''Name'' - New name for the NPC | ||
| | | true | ||
| | | true | ||
| None. You must be an owner or an admin. | | None. You must be an owner or an admin. | ||
| Rename an NPC | | Rename an NPC | ||
Line 102: | Line 102: | ||
| /npc select | | /npc select | ||
| ''[ID]'' - ID of the NPC to select | | ''[ID]'' - ID of the NPC to select | ||
| | | false | ||
| | | true | ||
| None. You must be an owner or an admin. | | None. You must be an owner or an admin. | ||
| Selects an NPC with the given ID | | Selects an NPC with the given ID | ||
Line 109: | Line 109: | ||
| /npc character | | /npc character | ||
| ''[Character]'' - Character to use | | ''[Character]'' - Character to use | ||
| | | true | ||
| | | true | ||
| None. You must be an owner or an admin. | | None. You must be an owner or an admin. | ||
| Sets the [[Characters|character]] of an NPC | | Sets the [[Characters|character]] of an NPC | ||
Line 116: | Line 116: | ||
| /npc sneak | | /npc sneak | ||
| ''None'' | | ''None'' | ||
| | | true | ||
| | | true | ||
| None. You must be an owner or an admin. | | None. You must be an owner or an admin. | ||
| Toggle whether an NPC should sneak | | Toggle whether an NPC should sneak | ||
Line 123: | Line 123: | ||
| /npc spawn | | /npc spawn | ||
| ''[ID]'' - ID of the NPC you want to spawn | | ''[ID]'' - ID of the NPC you want to spawn | ||
| | | true | ||
| | | true | ||
| None. You must be an owner or an admin. | | None. You must be an owner or an admin. | ||
| Spawn an existing NPC | | Spawn an existing NPC | ||
Line 130: | Line 130: | ||
| /npc tphere | | /npc tphere | ||
| ''None'' | | ''None'' | ||
| | | true | ||
| | | true | ||
| None. You must be an owner or an admin. | | None. You must be an owner or an admin. | ||
| Teleport an NPC to your location | | Teleport an NPC to your location | ||
Line 137: | Line 137: | ||
| /npc tp | | /npc tp | ||
| ''None'' | | ''None'' | ||
| | | true | ||
| | | true | ||
| None. You must be an owner or an admin. | | None. You must be an owner or an admin. | ||
| Teleport to an NPC | | Teleport to an NPC | ||
Line 144: | Line 144: | ||
| /npc lookclose | | /npc lookclose | ||
| ''None'' | | ''None'' | ||
| | | true | ||
| | | true | ||
| None. You must be an owner or an admin. | | None. You must be an owner or an admin. | ||
| Toggle an NPC's look-close state | | Toggle an NPC's look-close state |
Revision as of 02:26, 21 February 2012
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 |