Commands: Difference between revisions

From Citizens Wiki

Line 67: Line 67:
| /npc character || ''[character]'' - Character to use || Yes || Yes || No || citizens.npc.character.* or citizens.npc.character.<character-name> for per-character permissions || Sets the [[Characters|character]] of an NPC
| /npc character || ''[character]'' - Character to use || Yes || Yes || No || citizens.npc.character.* or citizens.npc.character.<character-name> for per-character permissions || Sets the [[Characters|character]] of an NPC
|-
|-
| /npc owner || ''[name]'' - Name of the new owner || Yes || Yes || No || citizens.npc.owner || Sets the owner of an NPC
| /npc owner || ''[name]'' - Name of the new owner, set as "server" if you want Citizens Admins (players with "citizens.admin" permission) to be owner || Yes || Yes || No || citizens.npc.owner || Sets the owner of an NPC
|-
|-
| /npc spawn || ''[id]'' - ID of the NPC you want to spawn || Yes || Yes || No || citizens.npc.spawn || Spawn an existing NPC
| /npc spawn || ''[id]'' - ID of the NPC you want to spawn || Yes || Yes || No || citizens.npc.spawn || Spawn an existing NPC

Revision as of 20:05, 20 March 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 Types - whether the command requires an NPC to be a certain mob type(s)
Permission - command's permission node
Description - short description of the command

Admin Commands

Commands used for administration of Citizens.

Help Commands

Commands used in-game to show the help screen.

NPC Commands

General commands used for all NPCs.

See Also

Characters
Text Syntax
Waypoints