Commands: Difference between revisions
From Citizens Wiki
Line 155: | Line 155: | ||
{| class="wikitable collapsible collapsed" style="text-align: center; width: 100%" | {| class="wikitable collapsible collapsed" style="text-align: center; width: 100%" | ||
|- | |- | ||
! style="width: 100%; background-color:#ADD8E6" colspan=" | ! style="width: 100%; background-color:#ADD8E6" colspan="7" | '''Editor Commands''' | ||
|- | |- | ||
! style="width: | ! style="width: 200px;" | Command | ||
! style="width: 200px;" | Args Description | ! style="width: 200px;" | Args Description | ||
! style="width: 150px;" | Require Selected | ! style="width: 150px;" | Require Selected | ||
! style="width: 150px;" | Require Ownership | ! style="width: 150px;" | Require Ownership | ||
! style="width: 150px;" | Require Mob Type | |||
! style="width: 170px;" | Permission | ! style="width: 170px;" | Permission | ||
! Description | ! Description | ||
Line 169: | Line 170: | ||
| true | | true | ||
| true | | true | ||
| citizens.npc.equip | | Yes - PLAYER | ||
| citizens.npc.edit.equip | |||
| Toggle equipment editor | | Toggle equipment editor | ||
|- | |- | ||
| /npc path | | /npc path | ||
| ''None'' | | ''None'' | ||
| | | Yes | ||
| | | Yes | ||
| citizens.npc.path | | No | ||
| citizens.npc.edit.path | |||
| Toggle path editor | | Toggle path editor | ||
|- | |- | ||
| /npc text | | /npc text | ||
| ''None'' | | ''None'' | ||
| | | Yes | ||
| | | Yes | ||
| citizens.npc.text | | No | ||
| citizens.npc.edit.text | |||
| Toggle text editor | | Toggle text editor | ||
|} | |} |
Revision as of 08:36, 27 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 | true | true | 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 | citizens.npc.despawn | Despawn an NPC |
/npc remove | (all) - Will remove all NPCs | true | true | citizens.npc.remove(.all) | Remove an NPC |
/npc rename | [name] - New name for the NPC | true | true | citizens.npc.rename | Rename an NPC |
/npc select | [id] - ID of the NPC to select | false | true | citizens.npc.select | Selects an NPC with the given ID |
/npc character | [character] - Character to use | true | true | citizens.npc.character.* or citizens.npc.character.<character-name> for per-character permissions | Sets the character of an NPC |
/npc owner | [name] - Name of the new owner | true | true | citizens.npc.owner | Sets the owner of an NPC |
/npc spawn | [id] - ID of the NPC you want to spawn | true | true | citizens.npc.spawn | Spawn an existing NPC |
/npc tphere | None | true | true | citizens.npc.tphere | Teleport an NPC to your location |
/npc tp | None | true | true | citizens.npc.tp | Teleport to an NPC |
/npc lookclose | None | true | true | citizens.npc.lookclose | Toggle an NPC's look-close state |
Editor Commands
Commands for editing existing NPCs.
Editor Commands | ||||||
---|---|---|---|---|---|---|
Command | Args Description | Require Selected | Require Ownership | Require Mob Type | Permission | Description |
/npc equip | None | true | true | Yes - PLAYER | citizens.npc.edit.equip | Toggle equipment editor |
/npc path | None | Yes | Yes | No | citizens.npc.edit.path | Toggle path editor |
/npc text | None | Yes | Yes | No | citizens.npc.edit.text | Toggle text editor |
See Also
Characters
Text Syntax
Waypoints
Quick Navigation | |
---|---|
Usage | Installation · Frequently Asked Questions · Commands · Editors · Characters · API · |
Configuration | Configuration · Text Syntax · Permissions · Waypoints · Data Storage |