Commands: Difference between revisions

From Citizens Wiki

No edit summary
Line 57: Line 57:
{| 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="6" | '''NPC Commands'''
! style="width: 100%; background-color:#ADD8E6" colspan="7" | '''NPC Commands'''
|-
|-
! style="width: 250px;" | Command
! 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 68: Line 69:
| /npc
| /npc
| ''None''
| ''None''
| true
| Yes
| true
| Yes
| No
| citizens.npc.info
| citizens.npc.info
| Show basic NPC information
| Show basic NPC information
Line 75: Line 77:
| /npc create
| /npc create
| [name] (--type (type) --char (character) --temp (template))
| [name] (--type (type) --char (character) --temp (template))
| false
| Yes
| false
| Yes
| No
| citizens.npc.create
| citizens.npc.create
| Create a new NPC
| Create a new NPC
Line 82: Line 85:
| /npc despawn
| /npc despawn
| ''None''
| ''None''
| true
| Yes
| true
| Yes
| No
| citizens.npc.despawn
| citizens.npc.despawn
| Despawn an NPC
| Despawn an NPC
Line 89: Line 93:
| /npc remove
| /npc remove
| ''(all)'' - Will remove all NPCs
| ''(all)'' - Will remove all NPCs
| true
| Yes (Not if "all" is used)
| true
| Yes
| No
| citizens.npc.remove(.all)
| citizens.npc.remove(.all)
| Remove an NPC
| Remove an NPC
Line 96: Line 101:
| /npc rename
| /npc rename
| ''[name]'' - New name for the NPC
| ''[name]'' - New name for the NPC
| true
| Yes
| true
| Yes
| No
| citizens.npc.rename
| citizens.npc.rename
| Rename an NPC
| Rename an NPC
Line 103: Line 109:
| /npc select
| /npc select
| ''[id]'' - ID of the NPC to select
| ''[id]'' - ID of the NPC to select
| false
| No
| true
| Yes
| No
| citizens.npc.select
| citizens.npc.select
| Selects an NPC with the given ID
| Selects an NPC with the given ID
Line 110: Line 117:
| /npc character
| /npc character
| ''[character]'' - Character to use
| ''[character]'' - Character to use
| true
| Yes
| true
| Yes
| No
| citizens.npc.character.* or citizens.npc.character.<character-name> for per-character permissions
| 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
Line 117: Line 125:
| /npc owner
| /npc owner
| ''[name]'' - Name of the new owner
| ''[name]'' - Name of the new owner
| true
| Yes
| true
| Yes
| No
| citizens.npc.owner
| citizens.npc.owner
| Sets the owner of an NPC
| Sets the owner of an NPC
Line 124: Line 133:
| /npc spawn
| /npc spawn
| ''[id]'' - ID of the NPC you want to spawn
| ''[id]'' - ID of the NPC you want to spawn
| true
| Yes
| true
| Yes
| No
| citizens.npc.spawn
| citizens.npc.spawn
| Spawn an existing NPC
| Spawn an existing NPC
Line 131: Line 141:
| /npc tphere
| /npc tphere
| ''None''
| ''None''
| true
| Yes
| true
| Yes
| No
| citizens.npc.tphere
| citizens.npc.tphere
| Teleport an NPC to your location
| Teleport an NPC to your location
Line 138: Line 149:
| /npc tp
| /npc tp
| ''None''
| ''None''
| true
| Yes
| true
| Yes
| No
| citizens.npc.tp
| citizens.npc.tp
| Teleport to an NPC
| Teleport to an NPC
Line 145: Line 157:
| /npc lookclose
| /npc lookclose
| ''None''
| ''None''
| true
| Yes
| true
| Yes
| No
| citizens.npc.lookclose
| citizens.npc.lookclose
| Toggle an NPC's look-close state
| Toggle an NPC's look-close state

Revision as of 08:39, 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
Require Mob Type - whether the command requires an NPC to be a certain mob type
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
Text Syntax
Waypoints