1.x/Commands and Permissions: Difference between revisions
From Citizens Wiki
< 1.x
No edit summary |
|||
Line 1: | Line 1: | ||
Read below for detailed command documentation. For more info on per-type commands, see its corresponding page. | Read below for detailed command documentation. For more info on per-type commands, see its corresponding page. | ||
'''[] - Mandatory; () - Optional''' | |||
== Admin Commands == | == Admin Commands == | ||
Line 31: | Line 33: | ||
== General Commands == | == General Commands == | ||
{| class="wikitable" style="text-align: center;" | |||
! 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 create [name] (text) | |||
| ''name'' - name of NPC <br> ''text'' - text that an NPC says when right-clicked with the talk-item | |||
| false | |||
| false | |||
| citizens.basic.create | |||
| Create an NPC | |||
|- | |||
| /npc move | |||
| ''None'' | |||
| true | |||
| true | |||
| citizens.basic.modify.move | |||
| Move an NPC to your location | |||
|- | |||
| /npc moveTo [x y z] (world pitch yaw) | |||
| ''x y z'' - coordinates to teleport NPC to <br> ''world'' - world to teleport an NPC to <br>''pitch'' - orientation of body <br>''yaw'' - orientation of head | |||
| true | |||
| true | |||
| citizens.basic.modify.moveto | |||
| Move an NPC to the specified location | |||
|- | |||
| /npc copy | |||
| ''None'' | |||
| true | |||
| true | |||
| citizens.basic.modify.copy | |||
| Copy an NPC to your location (you must also meet the NPC count guidelines, see ''citizens.npccount'' permissions in the Other Permissions section below) | |||
|- | |||
| /npc remove (all) | |||
| ''all'' - Removes all NPCs | |||
| true ''(only for /npc remove)'' | |||
| true ''(only for /npc remove)'' | |||
| citizens.basic.modify.remove or citizens.basic.modify.remove.all for ''/npc remove all'' | |||
| Remove an NPC or all NPCs | |||
|- | |||
| /npc rename | |||
| ''None'' | |||
| true | |||
| true | |||
| citizens.basic.modify.rename | |||
| Rename an NPC | |||
|- | |||
| /npc color &[code] | |||
| ''code'' - Color code to change the name to | |||
| true | |||
| true | |||
| citizens.basic.modify.color | |||
| Color an NPC's nameplate | |||
|- | |||
| /npc set [text] | |||
| ''text'' - Text to give to an NPC, split lines with <br> tag | |||
| true | |||
| true | |||
| citizens.basic.modify.settext | |||
| Set an NPC's text | |||
|- | |||
| /npc add [text] | |||
| ''text'' - Text to add to an NPC, split lines with <br> tag | |||
| true | |||
| true | |||
| citizens.basic.modify.addtext | |||
| Add to an NPC's text | |||
|- | |||
| /npc reset | |||
| ''None'' | |||
| true | |||
| true | |||
| citizens.basic.modify.resettext | |||
| Remove an NPC's text | |||
|- | |||
| /npc item [item] | |||
| ''item'' - item to put in an NPC's hand, your inventory must contain at least one of this item | |||
| 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 | |||
| citizens.basic.modify.armor | |||
| Modify an NPC's armor | |||
|- | |||
| /npc tp | |||
| ''None'' | |||
| true | |||
| true | |||
| citizens.basic.use.teleport | |||
| Teleport to an NPC | |||
|- | |||
| /npc talkclose | |||
| ''None'' | |||
| true | |||
| true | |||
| citizens.basic.modify.talkclose | |||
| Toggle whether an NPC will talk when a player comes near | |||
|- | |||
| /npc lookat | |||
| ''None'' | |||
| true | |||
| true | |||
| citizens.basic.modify.lookat | |||
| Toggle whether an NPC will turn when a player comes near | |||
|- | |||
| /npc select [id] | |||
| ''id'' - ID of the NPC to select | |||
| false | |||
| false | |||
| citizens.basic.use.select | |||
| Modify an NPC's armor | |||
|- | |||
| /npc setowner [player-name] | |||
| ''player-name'' - name of player to set the owner to | |||
| true | |||
| true | |||
| citizens.basic.modify.setowner | |||
| Set the owner of an NPC | |||
|- | |||
| /npc list (name) (page) | |||
| ''name'' - name of player to list NPCs of, leave blank to list your own NPCs <br> ''page'' - page of list to view | |||
| false | |||
| false | |||
| citizens.basic.use.list | |||
| List NPCs for yourself or another player | |||
|} | |||
== Toggle Commands == | == Toggle Commands == | ||
Line 36: | Line 172: | ||
== Waypoint Commands == | == Waypoint Commands == | ||
== Other Permissions == |
Revision as of 09:07, 26 August 2011
Read below for detailed command documentation. For more info on per-type commands, see its corresponding page.
[] - Mandatory; () - Optional
Admin Commands
Command | Permission | Description |
---|---|---|
/citizens | citizens.admin.info | View general Citizens information |
/citizens debug | citizens.admin.debug | Toggle debug mode, if debug is on, debug messages will print to the console |
/citizens reload | citizens.admin.reload | Reload Citizens configuration files |
/citizens save | citizens.admin.save | Save Citizens files |
/citizens clean | citizens.admin.clean | Removes all "ghost" entities in your world |
General Commands
Command | Args Description | Require Selected | Require Ownership | Permission | Description |
---|---|---|---|---|---|
/npc create [name] (text) | name - name of NPC text - text that an NPC says when right-clicked with the talk-item |
false | false | citizens.basic.create | Create an NPC |
/npc move | None | true | true | citizens.basic.modify.move | Move an NPC to your location |
/npc moveTo [x y z] (world pitch yaw) | x y z - coordinates to teleport NPC to world - world to teleport an NPC to pitch - orientation of body yaw - orientation of head |
true | true | citizens.basic.modify.moveto | Move an NPC to the specified location |
/npc copy | None | true | true | citizens.basic.modify.copy | Copy an NPC to your location (you must also meet the NPC count guidelines, see citizens.npccount permissions in the Other Permissions section below) |
/npc remove (all) | all - Removes all NPCs | true (only for /npc remove) | true (only for /npc remove) | citizens.basic.modify.remove or citizens.basic.modify.remove.all for /npc remove all | Remove an NPC or all NPCs |
/npc rename | None | true | true | citizens.basic.modify.rename | Rename an NPC |
/npc color &[code] | code - Color code to change the name to | true | true | citizens.basic.modify.color | Color an NPC's nameplate |
/npc set [text] | text - Text to give to an NPC, split lines with tag |
true | true | citizens.basic.modify.settext | Set an NPC's text |
/npc add [text] | text - Text to add to an NPC, split lines with tag |
true | true | citizens.basic.modify.addtext | Add to an NPC's text |
/npc reset | None | true | true | citizens.basic.modify.resettext | Remove an NPC's text |
/npc item [item] | item - item to put in an NPC's hand, your inventory must contain at least one of this item | 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) item - item to set slot to, your inventory must contain at least one of this item |
true | true | citizens.basic.modify.armor | Modify an NPC's armor |
/npc tp | None | true | true | citizens.basic.use.teleport | Teleport to an NPC |
/npc talkclose | None | true | true | citizens.basic.modify.talkclose | Toggle whether an NPC will talk when a player comes near |
/npc lookat | None | true | true | citizens.basic.modify.lookat | Toggle whether an NPC will turn when a player comes near |
/npc select [id] | id - ID of the NPC to select | false | false | citizens.basic.use.select | Modify an NPC's armor |
/npc setowner [player-name] | player-name - name of player to set the owner to | true | true | citizens.basic.modify.setowner | Set the owner of an NPC |
/npc list (name) (page) | name - name of player to list NPCs of, leave blank to list your own NPCs page - page of list to view |
false | false | citizens.basic.use.list | List NPCs for yourself or another player |