Commands: Difference between revisions

From Citizens Wiki

Line 73: Line 73:
|-
|-
| /npc create
| /npc create
| [name] --type (type) --char (character) --temp (template)
| [name] (--type (type) --char (character) --temp (template))
| false
| false
| false
| false
Line 83: Line 83:
| true
| true
| true
| true
| None. You must be an owner or an admin.
| citizens.npc.despawn
| Despawn an NPC
| Despawn an NPC
|-
|-
| /npc remove
| /npc remove
| ''None''
| ''(all)'' - Will remove all NPCs
| true
| true
| true
| true
| None. You must be an owner or an admin.
| citizens.npc.remove(.all)
| Remove an NPC
| Remove an NPC
|-
|-
| /npc rename
| /npc rename
| ''Name'' - New name for the NPC
| ''[name]'' - New name for the NPC
| true
| true
| true
| true
| None. You must be an owner or an admin.
| citizens.npc.rename
| Rename an NPC
| Rename an NPC
|-
|-
| /npc select
| /npc select
| ''[ID]'' - ID of the NPC to select
| ''[id]'' - ID of the NPC to select
| false
| false
| true
| true
| None. You must be an owner or an admin.
| citizens.npc.select
| Selects an NPC with the given ID
| Selects an NPC with the given ID
|-
|-
| /npc character
| /npc character
| ''[Character]'' - Character to use
| ''[character]'' - Character to use
| true
| true
| true
| true
| None. You must be an owner or an admin.
| citizens.npc.character.* or citizens.npc.character.<character-name> for per-character permissions
| Sets the [[Characters|character]] of an NPC
| Sets the [[Characters|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
| /npc spawn
| ''[ID]'' - ID of the NPC you want to spawn
| ''[id]'' - ID of the NPC you want to spawn
| true
| true
| true
| true
| None. You must be an owner or an admin.
| citizens.npc.spawn
| Spawn an existing NPC
| Spawn an existing NPC
|-
|-
Line 132: Line 125:
| true
| true
| true
| true
| None. You must be an owner or an admin.
| citizens.npc.tphere
| Teleport an NPC to your location
| Teleport an NPC to your location
|-
|-
Line 139: Line 132:
| true
| true
| true
| true
| None. You must be an owner or an admin.
| citizens.npc.tp
| Teleport to an NPC
| Teleport to an NPC
|-
|-
Line 146: Line 139:
| true
| true
| true
| true
| None. You must be an owner or an admin.
| citizens.npc.lookclose
| Toggle an NPC's look-close state
| Toggle an NPC's look-close state
|}
|}

Revision as of 21:12, 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