1.x/Commands and Permissions: Difference between revisions

From Citizens Wiki

< 1.x

 
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{NoSupport}}
Read below for detailed command documentation. For more info on per-type commands and permissions, see its corresponding page.
Read below for detailed command documentation. For more info on per-type commands and permissions, see its corresponding page.


=== Key ===
'''[]''' - Mandatory
'''[]''' - Mandatory
<br>'''()''' - Optional
<br>'''()''' - Optional
== Admin Commands ==


'''Command''' - command's syntax
'''Command''' - command's syntax
<br>'''Args Description''' - description of the command's arguments
<br>'''Require Selected''' - whether the command requires an NPC to be selected
<br>'''Require Ownership''' - whether the commands requires you to be the owner of the NPC
<br>'''Permission''' - command's permission node
<br>'''Permission''' - command's permission node
<br>'''Description''' - short description of the command
<br>'''Description''' - short description of the command


{| class="wikitable" style="text-align: center;"
== Admin Commands ==
Commands used for administration of the plugin itself, along with debug commands.
 
{| class="wikitable collapsible collapsed" style="text-align: center; width: 100%"
|-
! style="width: 100%; background-color:#ADD8E6" colspan="3" | '''Admin Commands'''
|-
! style="width: 250px;" | Command
! style="width: 250px;" | Command
! style="width: 170px;" | Permission
! style="width: 170px;" | Permission
Line 38: Line 45:


== General Commands ==
== General Commands ==
General commands used for all NPCs.


 
{| class="wikitable collapsible collapsed" style="text-align: center; width: 100%"
'''Command''' - command's syntax
|-
<br>'''Args Description''' - description of the command's arguments
! style="width: 100%; background-color:#ADD8E6" colspan="6" | '''General Commands'''
<br>'''Require Selected''' - whether the command requires an NPC to be selected
|-
<br>'''Require Ownership''' - whether the commands requires you to be the owner of the NPC
<br>'''Permission''' - command's permission node
<br>'''Description''' - short description of the command
 
{| class="wikitable" style="text-align: center;"
! style="width: 250px;" | Command
! style="width: 250px;" | Command
! style="width: 200px;" | Args Description
! style="width: 200px;" | Args Description
Line 68: Line 71:
| citizens.basic.use.help
| citizens.basic.use.help
| View the help page for Citizens
| View the help page for Citizens
|-
| /npc
| ''None''
| true
| false
| citizens.basic.use.info
| View information on the selected NPC
|-
|-
| /npc create [name] (text)
| /npc create [name] (text)
Line 139: Line 149:
| Remove an NPC's text
| Remove an NPC's text
|-
|-
| /npc item [item]
| /npc equip
| ''item'' - item to put in an NPC's hand, your inventory must contain at least one of this item
| ''None''
| true
| true
| citizens.basic.modify.item
| Set an NPC's item in-hand
|-
| /npc armor [slot] [item]
| ''slot'' - armor slot to change (available slots: helmet, torso, leggings, boots) <br> ''item'' - item to set slot to, your inventory must contain at least one of this item
| true
| true
| true
| true
| citizens.basic.modify.armor
| citizens.basic.modify.equip
| Modify an NPC's armor
| Enter equipment-edit mode
|-
|-
| /npc tp
| /npc tp
Line 179: Line 182:
| false
| false
| citizens.basic.use.select
| citizens.basic.use.select
| Modify an NPC's armor
| Select a NPC
|-
|-
| /npc setowner [player-name]
| /npc setowner [player-name]
Line 194: Line 197:
| citizens.basic.use.list
| citizens.basic.use.list
| List NPCs for yourself or another player
| List NPCs for yourself or another player
|}
== Waypoint Commands ==
Commands used to control NPC Waypoints.
{| class="wikitable collapsible collapsed" style="text-align: center; width: 100%"
|-
! style="width: 100%; background-color:#ADD8E6" colspan="6" | '''Waypoint Commands'''
|-
! style="width: 250px;" | Command
! style="width: 200px;" | Args Description
! style="width: 150px;" | Require Selected
! style="width: 150px;" | Require Ownership
! style="width: 170px;" | Permission
! Description
|-
| /npc path
| ''None''
| true
| true
| citizens.waypoints.edit
| Start editing an NPC's waypoints
|-
| /waypoints modifier [type]
| ''type'' - modifier type to add to an NPC's waypoints
| true
| true
| citizens.waypoints.modifer.(type) (replace type with the modifier type's name, see the [[Waypoints]] page for more info)
| Add a modifier to an NPC's waypoints
|}
|}


== Toggle Commands ==
== Toggle Commands ==
Commands used to toggle [[Characters|NPC types]].


{| class="wikitable" style="text-align: center;"
{| class="wikitable collapsible collapsed" style="text-align: center; width: 100%"
|-
! style="width: 100%; background-color:#ADD8E6" colspan="6" | '''Toggle Commands'''
|-
! style="width: 250px;" | Command
! style="width: 250px;" | Command
! style="width: 200px;" | Args Description
! style="width: 200px;" | Args Description
Line 222: Line 258:
|-
|-
| /toggle all [on/off]
| /toggle all [on/off]
| ''on|off'' - whether to toggle all types on or off
| ''on/off'' - whether to toggle all types on or off
| true
| true
| true
| true
Line 228: Line 264:
| Toggle all NPC types for an NPC
| Toggle all NPC types for an NPC
|}
|}
==See Also==
[[Characters]]
[[Waypoints]]


== Waypoint Commands ==
== Other Permissions ==
'''Permission''' - permission node
<br>'''Description''' - description of permission node


{| class="wikitable" style="text-align: center;"
{{NavBox}}
! style="width: 250px;" | Permission
[[Category:Citizens1]]
! style="width: 500px;" | Description
|-
| citizens.npccount.x
| Number of NPC's that a player with this node can create; replace ''x'' with the number of NPCs you want a player to be able to create
|-
| citizens.npccount.unlimited
| Gives a player with this node the ability to create unlimited NPCs
|}

Latest revision as of 00:49, 1 March 2012

Not Supported!
This page is about Citizens 1.x, while the current version is Citizens 2.0.2. This page's content may be outdated, and shouldn't be trusted as being correct. See this page's talk page for more information. If you were looking for the 2.0.2 equivalent of this page, try Commands and Permissions. If you feel this message was displayed in error, please contact an administrator.

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.

General Commands

General commands used for all NPCs.

Waypoint Commands

Commands used to control NPC Waypoints.

Toggle Commands

Commands used to toggle NPC types.

See Also

Characters Waypoints