« Citizens2 » : différence entre les versions

De Nefald Wiki
Aller à la navigation Aller à la recherche
Hiob (discussion | contributions)
Aucun résumé des modifications
Hiob (discussion | contributions)
Aucun résumé des modifications
Ligne 16 : Ligne 16 :
|-
|-
|
|
* /citizens
<br/>/citizens
* /citizens reload
<br/>/citizens reload
* /citizens save
<br/>/citizens save
|citizens.admin  
|citizens.admin  
|
|
Ligne 38 : Ligne 38 :
|-
|-
| /citizens help
| /citizens help
|''(Page)'' - Page number to display
|''numéro de page''
|citizens.help
|citizens.help
| Show Citizens help menu
| Afficher le menu d'aide de citizens
|-
|-
| /npc help
| /npc help
| ''(Page)'' - Page number to display
| ''numéro de page''
| citizens.npc.help
| citizens.npc.help
| Show NPC help menu
| Afficher le menu d'aide des npcs
|-
|-
| /trait help
| /trait help
| ''(Page)'' - Page number to display
| ''numéro de page''
| citizens.trait.help
| citizens.trait.help
| Show trait help menu
| Afficher le menu d'aide des traits
|-
|-
| /script help
| /script help
| ''(Page)'' - Page number to display
| ''numéro de page''
| citizens.script.help
| citizens.script.help
| Show scripting help menu
| Afficher le menu d'aide des scripts
|-  
|-  
| /template help
| /template help
| ''(Page)'' - Page number to display
| ''numéro de page''
| citizens.template.help
| citizens.template.help
| Show template help menu
| Afficher le menu d'aide des modèles
|-  
|-  
| /waypoints help
| /waypoints help
| ''(Page)'' - Page number to display
| ''numéro de page''
| citizens.waypoints.help
| citizens.waypoints.help
| Show waypoints help menu
| Afficher le menu d'aide des waypoints
|}
|}


<!--
 
{| class="wikitable2"
{| class="wikitable2"
!'''commande'''
!'''commande'''
Ligne 84 : Ligne 84 :
| Non  
| Non  
| Aucun  
| Aucun  
| afficher les informations de bases
| Show basic NPC information
|-
|-
| /npc age  
| /npc age  
| ''[adult, baby, integer, -l]'' - spécifiez l'age avec l'argument integer -
| ''[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  
| modifier l'age d'un npc
| Modify a NPC's age
|-
|-
| /npc anchor  
| /npc anchor  
| ''anchor (--save [name], --assume [name], --remove [name]) (-a)(-c)'' - enregistre la position actuelle comme un «point d'ancrage»
| ''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  
| cahnger/sauvegarder/lister les points d'ancrages des npcs
| Changes/saves/lists NPC's location anchors
|-
|-
| /npc behaviour  
| /npc behaviour  
| behaviour [scripts] (-r) -- séparer les scripts (par nom de fichier) d'une une virgule, -r supprime les scripts listés du npc sélectionné
| 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  
| ajouter ou supprimer le comportement d'un npc. Un comportement est un script exécuté par le npc à chaque tick. <br /><small>Vous pouvez à peu près tout faire en programmant un peu!</small>
| 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]  
| Activer le contrôle d'un PNJ (contrôlable <font style="color:red;">*</font>). Monter-le d'un clic droit. Clic gauche permet de mettre en pause. <br/><small><font style="color:red;">*</font> WASD. Ghasts, Blazes et Enderdragons</small>
| 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)'' --nouveau nom à attribuer au npc copié
| ''(--name NewName)'' -- new name is the name of the copied NPC.
| Non  
| Non  
| Non  
| Non  
| Non  
| Non  
| citizens.npc.copy  
| citizens.npc.copy  
| créer un npc en dupliquant les spécifités du npc actuellement sélectionné (''traits'')
| 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.*   
* citizens.npc.create.mobtype
| Create a new NPC.
* citizens.npc.create.*   
| créer un nouvel 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, or PRIEST''  
| ''BLACKSMITH, LIBRARIAN, BUTCHER, FARMER, ou PRIEST''  
| Non  
| Non  
| Non  
| Non  
| Non - VILLAGER|| citizens.npc.profession  
| Non - VILLAGER|| citizens.npc.profession  
| Change a villager-type NPC's profession.
| changer la profession d'un npc villageois
|-
|-
| /npc remove  
| /npc remove  
| ''(all)'' - Will remove all NPCs
| ''(all)'' - supprime tous les npcs
| Non (Nont if "all" is used)  
| Non (pas si "all" est utilisé)  
| Non  
| Non  
| Non  
| Non  
| citizens.npc.remove, (citizens.admin.remove.all)
|  
| Remove a NPC
* citizens.npc.remove
* citizens.admin.remove.all  
| supprimer un npc
|-
|-
| /npc rename  
| /npc rename  
| ''[name]'' - New name for the NPC
| ''[name]'' - nouveau nom du npc
| Non  
| Non  
| Non  
| Non  
| Non  
| Non  
| citizens.npc.rename  
| citizens.npc.rename  
| Rename a NPC
| renommer un npc
|-
|-
| /npc select  
| /npc select  
| ''[id]'' - ID of the NPC to select
| ''[id]'' - ID du npc à sélectionner
| Non  
| Non  
| Non  
| Non  
| Non  
| Non  
| citizens.npc.select  
| citizens.npc.select  
| Selects a NPC with the given ID
| sélectionner un npc avec son ID
|-
| /npc size
| ''[size]'' - the integer size for the slime
| Non
| Non
| SLIME
| citizens.npc.size
| Sets a slime's size.
|-
|-
| /npc skeletontype  
| /npc skeletontype  
| ''[type]'' - 0 or NonRMAL for Nonrmal, 1 or WITHER for wither skeleton  
| ''[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  
| Changes a Skeleton NPC's type (currently between WITHER and NonRMAL)
| modifier le type de skeleton (WITHER ou NORMAL)
|-
|-
| /npc spawn  
| /npc spawn  
| ''[id]'' - ID of the NPC you want to spawn
| ''[id]'' - ID du npc que vous souhaitez
| Non  
| Non  
| Non  
| Non  
| Non  
| Non  
| citizens.npc.spawn  
| citizens.npc.spawn  
| Spawn a existing NPC
| faires spawner un npc existant
|-
|-
| /npc speed
| /npc speed
Ligne 310 : Ligne 302 :
| Non  
| Non  
| citizens.npc.speed
| citizens.npc.speed
| changes the NPC's default speed multiplier. i.e. use 2 to double the Nonrmal 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  
| Toggle text editor. '''Nonte that players need the citizens.npc.talk permission to hear NPCs!'''
| 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  
| Teleport a NPC to your location
| téléporter un npc à vous
|-
|-
| /npc tp  
| /npc tp  
Ligne 334 : Ligne 326 :
| Non  
| Non  
| citizens.npc.tp  
| citizens.npc.tp  
| Teleport to a NPC
| vous téléporter à un npc
|-
|-
| /npc type  
| /npc type  
Ligne 342 : Ligne 334 :
| Non  
| Non  
| citizens.npc.type  
| citizens.npc.type  
| Changes an NPC's mob 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  
| Toggles whether the NPC can take damage and die, and whether monsters will target it when it is on the player list
| 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  
| Sets a zombie NPC's modifiers.
| 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  
| Adds the [[Characters|trait type]] to the NPC. NPCs can have multiple traits. <br/><br/>
| 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
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
/citizens reload
/citizens save

citizens.admin
  • Permet de modifier tous les pnjs présents sur le serveur.
  • Accès aux informations de base de Citizens
  • Permet de recharger le plugin
  • Permet de sauvegarder tous les pnjs et la configuration
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.


Exemple : /npc create Jimbo Stevenson --type PIG

/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
  • citizens.npc.remove
  • citizens.admin.remove.all
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


Exemple: /npc trait sentry


Voir aussi