« Citizens2 » : différence entre les versions
Aller à la navigation
Aller à la recherche
Aucun résumé des modifications |
Aucun résumé des modifications |
||
Ligne 16 : | Ligne 16 : | ||
|- | |- | ||
| | | | ||
<br/>/citizens | |||
<br/>/citizens reload | |||
<br/>/citizens save | |||
|citizens.admin | |citizens.admin | ||
| | | | ||
Ligne 38 : | Ligne 38 : | ||
|- | |- | ||
| /citizens help | | /citizens help | ||
|'' | |''numéro de page'' | ||
|citizens.help | |citizens.help | ||
| | | Afficher le menu d'aide de citizens | ||
|- | |- | ||
| /npc help | | /npc help | ||
| '' | | ''numéro de page'' | ||
| citizens.npc.help | | citizens.npc.help | ||
| | | Afficher le menu d'aide des npcs | ||
|- | |- | ||
| /trait help | | /trait help | ||
| '' | | ''numéro de page'' | ||
| citizens.trait.help | | citizens.trait.help | ||
| | | Afficher le menu d'aide des traits | ||
|- | |- | ||
| /script help | | /script help | ||
| '' | | ''numéro de page'' | ||
| citizens.script.help | | citizens.script.help | ||
| | | Afficher le menu d'aide des scripts | ||
|- | |- | ||
| /template help | | /template help | ||
| '' | | ''numéro de page'' | ||
| citizens.template.help | | citizens.template.help | ||
| | | Afficher le menu d'aide des modèles | ||
|- | |- | ||
| /waypoints help | | /waypoints help | ||
| '' | | ''numéro de page'' | ||
| citizens.waypoints.help | | citizens.waypoints.help | ||
| | | Afficher le menu d'aide des waypoints | ||
|} | |} | ||
{| class="wikitable2" | {| class="wikitable2" | ||
!'''commande''' | !'''commande''' | ||
Ligne 84 : | Ligne 84 : | ||
| Non | | Non | ||
| Aucun | | Aucun | ||
| | | Show basic NPC information | ||
|- | |- | ||
| /npc age | | /npc age | ||
| ''[adult, baby, integer, -l]'' - | | ''[adult, baby, integer, -l]'' - Adult sets as adult, baby as baby, age integer specifies an exact age, - | ||
l toggles whether the age is locked | l toggles whether the age is locked | ||
| Non | | Non | ||
Ligne 93 : | Ligne 93 : | ||
| Non - COW, SHEEP, CHICKEN, PIG, VILLAGER, OCELOT, WOLF | | Non - COW, SHEEP, CHICKEN, PIG, VILLAGER, OCELOT, WOLF | ||
| citizens.npc.age | | citizens.npc.age | ||
| | | Modify a NPC's age | ||
|- | |- | ||
| /npc anchor | | /npc anchor | ||
| ''anchor (--save [name], --assume [name], --remove [name]) (-a)(-c)'' - | | ''anchor (--save [name], --assume [name], --remove [name]) (-a)(-c)'' - saves a location as an 'anchor' which can be assumed via assume [name] | ||
| Non | | Non | ||
| Non | | Non | ||
| Non | | Non | ||
| citizens.npc.anchor | | citizens.npc.anchor | ||
| | | Changes/saves/lists NPC's location anchors | ||
|- | |- | ||
| /npc behaviour | | /npc behaviour | ||
| behaviour [scripts] (-r) -- | | behaviour [scripts] (-r) -- scripts is a comma separated list of script file names to look for, -r flag removes them from the NPC. | ||
| Non | | Non | ||
| Non | | Non | ||
| Non | | Non | ||
| citizens.npc.behaviour | | citizens.npc.behaviour | ||
| | | Adds and removes behaviours from an NPC. A behaviour is a script file that is executed and adds 'goals' to the NPC which can run every tick. These can do anything you can program/think of! | ||
|- | |- | ||
| /npc controllable | | /npc controllable | ||
Ligne 117 : | Ligne 117 : | ||
| Non | | Non | ||
| citizens.npc.controllable.[npc type name] | | citizens.npc.controllable.[npc type name] | ||
| | | Toggles the NPC's controllable status. Controllable NPCs can be right clicked to be mounted and controlled with WASD. Ghasts, Blazes and Endersragons can be flown by left clicking once mounted to pause/unpause flying. | ||
|- | |- | ||
| /npc copy | | /npc copy | ||
| ''(--name NewName)'' -- | | ''(--name NewName)'' -- new name is the name of the copied NPC. | ||
| Non | | Non | ||
| Non | | Non | ||
| Non | | Non | ||
| citizens.npc.copy | | citizens.npc.copy | ||
| | | Create a new NPC from the currently selected NPC, copying all traits. | ||
|- | |- | ||
| /npc create | | /npc create | ||
Ligne 132 : | Ligne 132 : | ||
| Non | | Non | ||
| Non | | Non | ||
| | | citizens.npc.create.mobtype or citizens.npc.create.* | ||
| Create a new NPC. | |||
| | |||
<br/> | <br/> | ||
'''Exemple''' : <code> /npc create Jimbo Stevenson --type PIG </code> | '''Exemple''' : <code> /npc create Jimbo Stevenson --type PIG </code> | ||
Ligne 250 : | Ligne 248 : | ||
|- | |- | ||
| /npc profession | | /npc profession | ||
| ''BLACKSMITH, LIBRARIAN, BUTCHER, FARMER, | | ''BLACKSMITH, LIBRARIAN, BUTCHER, FARMER, ou PRIEST'' | ||
| Non | | Non | ||
| Non | | Non | ||
| Non - VILLAGER|| citizens.npc.profession | | Non - VILLAGER|| citizens.npc.profession | ||
| | | changer la profession d'un npc villageois | ||
|- | |- | ||
| /npc remove | | /npc remove | ||
| ''(all)'' - | | ''(all)'' - supprime tous les npcs | ||
| Non ( | | Non (pas si "all" est utilisé) | ||
| Non | | Non | ||
| Non | | Non | ||
| citizens.npc.remove | | | ||
| | * citizens.npc.remove | ||
* citizens.admin.remove.all | |||
| supprimer un npc | |||
|- | |- | ||
| /npc rename | | /npc rename | ||
| ''[name]'' - | | ''[name]'' - nouveau nom du npc | ||
| Non | | Non | ||
| Non | | Non | ||
| Non | | Non | ||
| citizens.npc.rename | | citizens.npc.rename | ||
| | | renommer un npc | ||
|- | |- | ||
| /npc select | | /npc select | ||
| ''[id]'' - ID | | ''[id]'' - ID du npc à sélectionner | ||
| Non | | Non | ||
| Non | | Non | ||
| Non | | Non | ||
| citizens.npc.select | | citizens.npc.select | ||
| | | sélectionner un npc avec son ID | ||
|- | |- | ||
| /npc skeletontype | | /npc skeletontype | ||
| ''[type]'' - 0 | | ''[type]'' - 0 ou NORMAL pour Normal, 1 ou WITHER pour un wither skeleton | ||
| Non | | Non | ||
| Non | | Non | ||
| SKELETON | | SKELETON | ||
| citizens.npc.skeletontype | | citizens.npc.skeletontype | ||
| | | modifier le type de skeleton (WITHER ou NORMAL) | ||
|- | |- | ||
| /npc spawn | | /npc spawn | ||
| ''[id]'' - ID | | ''[id]'' - ID du npc que vous souhaitez | ||
| Non | | Non | ||
| Non | | Non | ||
| Non | | Non | ||
| citizens.npc.spawn | | citizens.npc.spawn | ||
| | | faires spawner un npc existant | ||
|- | |- | ||
| /npc speed | | /npc speed | ||
Ligne 310 : | Ligne 302 : | ||
| Non | | Non | ||
| citizens.npc.speed | | citizens.npc.speed | ||
| | | modifier le multiplieur de vitesse du npc. '''1''' étant la vitesse normale. | ||
|- | |- | ||
| /npc text | | /npc text | ||
Ligne 318 : | Ligne 310 : | ||
| Non | | Non | ||
| citizens.npc.edit.text | | citizens.npc.edit.text | ||
| | | activer l'éditeur de texte. '''NOTE : Les joueurs doivent avoir la permissions citizens.npc.talk pour entendre les npcs! ''' | ||
|- | |- | ||
| /npc tphere | | /npc tphere | ||
Ligne 326 : | Ligne 318 : | ||
| Non | | Non | ||
| citizens.npc.tphere | | citizens.npc.tphere | ||
| | | téléporter un npc à vous | ||
|- | |- | ||
| /npc tp | | /npc tp | ||
Ligne 334 : | Ligne 326 : | ||
| Non | | Non | ||
| citizens.npc.tp | | citizens.npc.tp | ||
| | | vous téléporter à un npc | ||
|- | |- | ||
| /npc type | | /npc type | ||
Ligne 342 : | Ligne 334 : | ||
| Non | | Non | ||
| citizens.npc.type | | citizens.npc.type | ||
| | | modifier me type de mob d'un npc. | ||
|- | |- | ||
| /npc vulnerable | | /npc vulnerable | ||
Ligne 351 : | Ligne 343 : | ||
| Non | | Non | ||
| citizens.npc.vulnerable | | citizens.npc.vulnerable | ||
| | | définir si le npc peut avoir des dommages ou mourir et si les mobs hostiles les attaquent ou non comme des joueurs. | ||
|- | |- | ||
| /npc zombiemod | | /npc zombiemod | ||
Ligne 359 : | Ligne 351 : | ||
| ZOMBIE | | ZOMBIE | ||
| citizens.npc.zombiemodifier | | citizens.npc.zombiemodifier | ||
| | | définir un npc zombie modifié | ||
|- | |- | ||
|/trait | |/trait | ||
Ligne 367 : | Ligne 359 : | ||
| Non | | Non | ||
| citizens.npc.trait.* or citizens.npc.trait.<trait-name> for per-trait permissions | | citizens.npc.trait.* or citizens.npc.trait.<trait-name> for per-trait permissions | ||
| | | ajouter des traits au npc. Les npc peuvent avoir plusieurs ''traits'' | ||
<br/> | |||
'''Exemple''': <code> /npc trait sentry </code> | '''Exemple''': <code> /npc trait sentry </code> | ||
|} | |} | ||
Version du 14 avril 2013 à 14:25
Citizens2 | ||||
---|---|---|---|---|
![]() | ||||
Plugin | ||||
Catégorie | npc [edit] | |||
Développeur(s) | aPunch, agentkid, aufdemrand, Neon_Master | |||
Bukkit | citizen | |||
Nefald | ||||
Status | installé [edit] | |||
Grade requis | Architecte | |||
Article | ||||
Dernière révision | 14/04/2013 |
Citizens2 est ce merveilleux plugin qui fait que nos rues soient toujours animées, grâce aux NPC. Le plus bel exemple étant sur Edderkopp.
Il fonctionne avec Sentry et Denizen.
Commandes & permissions
commande | permission | description |
---|---|---|
citizens.admin.* | ||
|
citizens.admin |
|
citizens.admin.avoid-limits | Permet d'outrepasser la limite de pnjs |
commande | Argument | permission | description |
---|---|---|---|
/citizens help | numéro de page | citizens.help | Afficher le menu d'aide de citizens |
/npc help | numéro de page | citizens.npc.help | Afficher le menu d'aide des npcs |
/trait help | numéro de page | citizens.trait.help | Afficher le menu d'aide des traits |
/script help | numéro de page | citizens.script.help | Afficher le menu d'aide des scripts |
/template help | numéro de page | citizens.template.help | Afficher le menu d'aide des modèles |
/waypoints help | numéro de page | citizens.waypoints.help | Afficher le menu d'aide des waypoints |
commande | arguments | sélection | propriétaire | type de mob | permission | description |
---|---|---|---|---|---|---|
/npc | Aucun | Non | Non | Non | Aucun | Show basic NPC information |
/npc age | [adult, baby, integer, -l] - Adult sets as adult, baby as baby, age integer specifies an exact age, -
l toggles whether the age is locked |
Non | Non | Non - COW, SHEEP, CHICKEN, PIG, VILLAGER, OCELOT, WOLF | citizens.npc.age | Modify a NPC's age |
/npc anchor | anchor (--save [name], --assume [name], --remove [name]) (-a)(-c) - saves a location as an 'anchor' which can be assumed via assume [name] | Non | Non | Non | citizens.npc.anchor | Changes/saves/lists NPC's location anchors |
/npc behaviour | behaviour [scripts] (-r) -- scripts is a comma separated list of script file names to look for, -r flag removes them from the NPC. | Non | Non | Non | citizens.npc.behaviour | Adds and removes behaviours from an NPC. A behaviour is a script file that is executed and adds 'goals' to the NPC which can run every tick. These can do anything you can program/think of! |
/npc controllable | Aucun | Non | Non | Non | citizens.npc.controllable.[npc type name] | Toggles the NPC's controllable status. Controllable NPCs can be right clicked to be mounted and controlled with WASD. Ghasts, Blazes and Endersragons can be flown by left clicking once mounted to pause/unpause flying. |
/npc copy | (--name NewName) -- new name is the name of the copied NPC. | Non | Non | Non | citizens.npc.copy | Create a new NPC from the currently selected NPC, copying all traits. |
/npc create | [NPC Name] - Name to give NPC (--type [type]) - Mob type to use --trait [trait1] [trait2] ... - A list of traits to apply to the NPC |
Non | Non | Non | citizens.npc.create.mobtype or citizens.npc.create.* | Create a new NPC.
|
/npc despawn | (id) the ID of the NPC to despawn | Non | Non | Non | citizens.npc.despawn | Despawn a NPC |
/npc gamemode | [gamemode] the gamemode to use | Non | Non | PLAYER | citizens.npc.gamemode | Sets a Player NPC's game mode. |
/npc gravity | Aucun | Non | Non | Non | citizens.npc.gravity | Toggles gravity on the NPC. |
/npc equip | Aucun | Non | Non | Non - PLAYER, PIG, SHEEP, ENDERMAN | citizens.npc.edit.equip | Toggle equipment editor. see Equipment Editor Used for player armor, player and endermen items, sheep color/sheared, and pig saddles. |
/npc list | (-a) - List all NPCs (--owner (owner)) - Owner (--type (type)) - Mob type (--char (character)) - Character |
Non | Non | Non | citizens.npc.list | List NPCs that match at least one of the given conditions |
/npc lookclose | Aucun | Non | Non | Non | citizens.npc.lookclose | Toggle a NPC's look-close state |
/npc moveto | --x [x] --y [y] --z [z] --world [world] | Non | Non | Non | citizens.npc.moveto | The NPC's current location is taken as the base location. Value arguments are used to modify this base. |
/npc mount | Aucun | Non | Non | Non | citizens.npc.mount | Mount the currently selected NPC, if it is controllable. |
/npc owner | (name) - Name of the new owner, set as "server" if you want Citizens Admins (players with "citizens.admin" permission) to be owner | Non | Non | Non | citizens.npc.owner | Sets the owner of a NPC |
/npc path | Aucun | Non | Non | Non | citizens.npc.edit.path | Toggle path editor. Left click to add a waypoint, right click to remove, mousewheel or number keys to select individual waypoints. |
/npc pathrange | [range] - New range for the NPC | Non | Non | Non | citizens.npc.pathfindingrange | Set the range in number of blocks in which the NPC can find a path. |
/npc playerlist | Aucun | Non | Non | PLAYER | citizens.npc.playerlist | Toggles an NPC as a 'real' player, so that it will be more recognised by other plugins, will keep chunks loaded and crops ticking. |
/npc pose | --load [name]|--remove [name) </Nonwiki> | Non | Non | Non - PLAYER | citizens.pose | Changes/Stores NPC's head position based on the Player's current position. |
/npc power | Aucun | Non | Non | Non - CREEPER | citizens.npc.power | Toggle whether a creeper NPC is powered |
/npc profession | BLACKSMITH, LIBRARIAN, BUTCHER, FARMER, ou PRIEST | Non | Non | Non - VILLAGER | citizens.npc.profession | changer la profession d'un npc villageois |
/npc remove | (all) - supprime tous les npcs | Non (pas si "all" est utilisé) | Non | Non |
|
supprimer un npc |
/npc rename | [name] - nouveau nom du npc | Non | Non | Non | citizens.npc.rename | renommer un npc |
/npc select | [id] - ID du npc à sélectionner | Non | Non | Non | citizens.npc.select | sélectionner un npc avec son ID |
/npc skeletontype | [type] - 0 ou NORMAL pour Normal, 1 ou WITHER pour un wither skeleton | Non | Non | SKELETON | citizens.npc.skeletontype | modifier le type de skeleton (WITHER ou NORMAL) |
/npc spawn | [id] - ID du npc que vous souhaitez | Non | Non | Non | citizens.npc.spawn | faires spawner un npc existant |
/npc speed | [value] - speed multiplier | Non | Non | Non | citizens.npc.speed | modifier le multiplieur de vitesse du npc. 1 étant la vitesse normale. |
/npc text | Aucun | Non | Non | Non | citizens.npc.edit.text | activer l'éditeur de texte. NOTE : Les joueurs doivent avoir la permissions citizens.npc.talk pour entendre les npcs! |
/npc tphere | Aucun | Non | Non | Non | citizens.npc.tphere | téléporter un npc à vous |
/npc tp | Aucun | Non | Non | Non | citizens.npc.tp | vous téléporter à un npc |
/npc type | [type] - the new entity type | Non | Non | Non | citizens.npc.type | modifier me type de mob d'un npc. |
/npc vulnerable | Aucun Exemple |
Non | Non | Non | citizens.npc.vulnerable | définir si le npc peut avoir des dommages ou mourir et si les mobs hostiles les attaquent ou non comme des joueurs. |
/npc zombiemod | (-b, -v) - -b for baby, -v for villager | Non | Non | ZOMBIE | citizens.npc.zombiemodifier | définir un npc zombie modifié |
/trait | [trait1] [trait2] ... [traitN - A list of Traits to apply | Non | Non | Non | citizens.npc.trait.* or citizens.npc.trait.<trait-name> for per-trait permissions | ajouter des traits au npc. Les npc peuvent avoir plusieurs traits
|