1.x/Commands and Permissions: Difference between revisions

From Citizens Wiki

< 1.x

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


'''[] - Mandatory; () - Optional'''
'''[]''' - Mandatory
<br>'''()''' - Optional
 
'''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>'''Description''' - short description of the command


== Admin Commands ==
== Admin Commands ==
Commands used for administration of the plugin itself, along with debug commands.


'''Command''' - command's syntax
{| class="wikitable collapsible collapsed" style="text-align: center; width: 100%"
'''Permission''' - command's permission node
|-
'''Description''' - short description of the command
! style="width: 100%; background-color:#ADD8E6" colspan="3" | '''Admin Commands'''
 
|-
{| class="wikitable" style="text-align: center;"
! style="width: 250px;" | Command
! style="width: 250px;" | Command
! style="width: 170px;" | Permission
! style="width: 170px;" | Permission
Line 36: 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
|-
'''Args Description''' - description of the command's arguments
! style="width: 100%; background-color:#ADD8E6" colspan="6" | '''General Commands'''
'''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
 
{| 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 52: Line 57:
! style="width: 170px;" | Permission
! style="width: 170px;" | Permission
! Description
! Description
|-
| /citizens help (page)
| ''page'' - page to view
| false
| false
| citizens.basic.use.help
| View the help page for Citizens
|-
| /npc help (page)
| ''page'' - page to view
| false
| false
| citizens.basic.use.help
| 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 123: 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 163: 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 178: 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]].


== Waypoint Commands ==
{| 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: 200px;" | Args Description
! style="width: 150px;" | Require Selected
! style="width: 150px;" | Require Ownership
! style="width: 170px;" | Permission
! Description


== Other Permissions ==
{| class="wikitable" style="text-align: center;"
! style="width: 250px;" | Permission
! style="width: 500px;" | Description
|-
|-
| citizens.npccount.x
| /toggle help (page)
| 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
| ''page'' - page number to view
| false
| false
| citizens.toggle.help
| View the available NPC types that you can toggle an NPC to become
|-
| /toggle [type]
| ''type'' - the type you want to toggle an NPC to become
| true
| true
| citizens.toggle.(type) (replace type with the NPC type)
| Toggle an NPC to become a type
|-
|-
| citizens.npccount.unlimited
| /toggle all [on/off]
| Gives a player with this node the ability to create unlimited NPCs
| ''on/off'' - whether to toggle all types on or off
| true
| true
| citizens.toggle.all
| Toggle all NPC types for an NPC
|}
|}
==See Also==
[[Characters]]
[[Waypoints]]
{{NavBox}}
[[Category:Citizens1]]

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