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.

Help Commands

Commands used in-game to show the help screen.

NPC Commands

General commands used for all NPCs.

Editor Commands

Commands for editing existing NPCs.

See Also

Characters
Waypoints