« 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 6 : Ligne 6 :


== Commandes & permissions ==
== Commandes & permissions ==
{| class="wikitable3"
{| class="wikitable2"
!'''commande'''
!'''commande'''
!'''permission'''
!'''permission'''
Ligne 31 : Ligne 31 :
|}
|}


{| class="wikitable3"
{| class="wikitable2"
!'''commande'''
!'''commande'''
!'''Argument'''
!'''Argument'''
Ligne 68 : Ligne 68 :
|}
|}


{| class="wikitable3"
<!--
{| class="wikitable2"
!'''commande'''
!'''commande'''
!'''arguments'''
!'''sélection'''
!'''propriétaire'''
!'''type de mob'''
!'''permission'''
!'''permission'''
!'''description'''
!'''description'''
|-
|-
|
| /npc
|
| ''Aucun''
* '''citizens.script.*'''
| Non
* citizens.script.compile
| Non
* citizens.script.help
| Non
|
| Aucun
| afficher les informations de bases
|-
| /npc age
| ''[adult, baby, integer, -l]'' - spécifiez l'age avec l'argument integer -
l toggles whether the age is locked
| Non
| Non
| Non - COW, SHEEP, CHICKEN, PIG, VILLAGER, OCELOT, WOLF
| citizens.npc.age
| modifier l'age  d'un npc
|-
| /npc anchor
| ''anchor (--save [name], --assume [name], --remove [name]) (-a)(-c)'' - enregistre la position actuelle comme un «point d'ancrage»
| Non
| Non
| Non
| citizens.npc.anchor
| cahnger/sauvegarder/lister les points d'ancrages des npcs
|-
| /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é
| Non
| Non
| Non
| 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>
|-
| /npc controllable
| Aucun
| Non
| Non
| Non
| 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>
|-
|-
|{{cc|vert|'''citizens.npc.*'''}}
| /npc copy
|{{cc|vert|}}
| ''(--name NewName)'' --nouveau nom à attribuer au npc copié
|{{cc|vert|}}
| Non
| Non
| Non
| citizens.npc.copy
| créer un npc en dupliquant les spécifités du npc actuellement sélectionné (''traits'')
|-
|-
|/npc age
| /npc create
|
| ''[NPC Name]'' - Name to give NPC <br>''(--type [type])'' - [[Types|Mob type]] to use <br>''--trait [trait1] [trait2] ... - A list of traits to apply to the NPC
* citizens.npc.age
| Non
* citizens.npc.position.assume
| Non
|
| Non
|  
* citizens.npc.create.mobtype
* citizens.npc.create.
| créer un nouvel npc
<br/>
'''Exemple''' : <code> /npc create Jimbo Stevenson --type PIG </code>
|-
|-
|/npc behaviour
| /npc despawn
|citizens.npc.behaviour
| ''(id)'' the ID of the NPC to despawn
|
| Non
| Non
| Non
| citizens.npc.despawn
| Despawn a NPC
|-
|-
|/npc create
| /npc gamemode
|citizens.npc.create.[mobtype or *]
| ''[gamemode] the gamemode to use ''
|
| Non
| Non
| PLAYER
| citizens.npc.gamemode
| Sets a Player NPC's game mode.
|-
|-
|/npc controllable
| /npc gravity
|citizens.npc.controllable
| ''Aucun''
|
| Non
| Non
| Non
| citizens.npc.gravity
| Toggles gravity on the NPC.
|-
|-
|/npc copy
| /npc equip
|citizens.npc.copy
| ''Aucun''
|
| Non
| Non
| Non - PLAYER, PIG, SHEEP, ENDERMAN
| citizens.npc.edit.equip
| Toggle equipment editor. see [[Editors#Equipment_Editor|Equipment Editor]] Used for player armor, player and endermen items, sheep color/sheared, and pig saddles.
|-
|-
|/npc despawn
| /npc list
|citizens.npc.despawn
| ''(-a)'' - List all NPCs <br>''(--owner (owner))'' - Owner <br>''(--type (type))'' - Mob type <br>''(--char (character))'' - Character
|
| Non
| Non
| Non
| citizens.npc.list
| List NPCs that match at least one of the given conditions
|-
|-
|{{cc|jaune|'''citizens.npc.edit.*'''}}
| /npc lookclose
|{{cc|jaune|}}
| ''Aucun''  
|{{cc|jaune|}}
| Non
| Non
| Non
| citizens.npc.lookclose
| Toggle a NPC's look-close state
|-
|-
|/npc equip
| /npc moveto
|citizens.npc.edit.equip
| ''--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 path
| /npc mount|| ''Aucun''
|citizens.npc.edit.path
| Non
|
| Non
| Non
| citizens.npc.mount|| Mount the currently selected NPC, if it is controllable.
|-
|-
|/npc help
| /npc owner
|citizens.npc.help
| ''(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
|citizens.npc.limit.#
| ''Aucun''
|Limit this player to creating # number of NPCs (works with 1-100)
| Non
| Non
| Non
| citizens.npc.edit.path
| Toggle [[Waypoints|path]] editor. Left click to add a waypoint, right click to remove, mousewheel or number keys to select individual waypoints.
|-
|-
|/npc list
| /npc pathrange
|citizens.npc.list
| ''[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 lookclose
| /npc playerlist
|citizens.npc.lookclose
| ''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 moveto
| /npc pose
|citizens.npc.moveto
| ''(-a)'' - Sets the position of the NPC's head to the current position of the Player's head. Useful for setting where NPCs are specifically looking post-creation.<br><Nonwiki> ''(--save [name]|--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 owner
| /npc power
|citizens.npc.owner
| ''Aucun''
|
| Non
| Non
| Non - CREEPER
| citizens.npc.power
| Toggle whether a creeper NPC is powered
|-
|-
|/npc path
| /npc profession
|citizens.npc.path
| ''BLACKSMITH, LIBRARIAN, BUTCHER, FARMER, or PRIEST''
|
| Non
| Non
| Non - VILLAGER|| citizens.npc.profession
| Change a villager-type NPC's profession.
|-
|-
|/npc power
| /npc remove
|citizens.npc.power
| ''(all)'' - Will remove all NPCs
|
| Non (Nont if "all" is used)
| Non
| Non
| citizens.npc.remove, (citizens.admin.remove.all)
| Remove a NPC
|-
|-
|/npc profession
| /npc rename
|citizens.npc.profession
| ''[name]'' - New name for the NPC
|
| Non
| Non
| Non
| citizens.npc.rename
| Rename a NPC
|-
|-
|/npc remove
| /npc select
|citizens.npc.remove
| ''[id]'' - ID of the NPC to select
|
| Non
| Non
| Non
| citizens.npc.select
| Selects a NPC with the given ID
|-
|-
|/npc removeall
| /npc size
|citizens.npc.remove.all
| ''[size]'' - the integer size for the slime
|
| Non
| Non
| SLIME
| citizens.npc.size
| Sets a slime's size.
|-
|-
|/npc rename
| /npc skeletontype
|citizens.npc.rename
| ''[type]'' - 0 or NonRMAL for Nonrmal, 1 or WITHER for wither skeleton
|
| Non
| Non
| SKELETON
| citizens.npc.skeletontype
| Changes a Skeleton NPC's type (currently between WITHER and NonRMAL)
|-
|-
|/npc select
| /npc spawn
|citizens.npc.select
| ''[id]'' - ID of the NPC you want to spawn
|
| Non
| Non
| Non
| citizens.npc.spawn
| Spawn a existing NPC
|-
|-
|/npc spawn
| /npc speed
|citizens.npc.spawn
| ''[value]'' - speed multiplier
|
| Non
| Non
| Non
| citizens.npc.speed
| changes the NPC's default speed multiplier. i.e. use 2 to double the Nonrmal speed.
|-
|-
|/npc speed
| /npc text
|citizens.npc.speed
| ''Aucun''
|
| Non
| Non
| Non
| citizens.npc.edit.text
| Toggle text editor. '''Nonte that players need the citizens.npc.talk permission to hear NPCs!'''
|-
|-
|/npc Hear NPCs by click or walking near with talk-close
| /npc tphere
|citizens.npc.talk
| ''Aucun''
|
| Non
| Non
| Non
| citizens.npc.tphere
| Teleport a NPC to your location
|-
|-
|/npc text
| /npc tp
|citizens.npc.text
| ''Aucun''
| Non
| Non
| Non
| citizens.npc.tp
| Teleport to a NPC
|-
|-
|{{cc|jaune|'''citizens.npc.trait.*'''}}
| /npc type
|{{cc|jaune|}}
| ''[type]'' - the new entity type
|{{cc|jaune|}}
| Non
| Non
| Non
| citizens.npc.type
| Changes an NPC's mob type.
|-
|-
|/trait
| /npc vulnerable
|
| ''Aucun'' <br/>
* citizens.npc.trait
'''Exemple'''
* citizens.npc.trait-configure
| Non
* citizens.npc.trait-configure.*
| Non
|
| Non
| 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
|-
|-
|/npc tp
| /npc zombiemod
|citizens.npc.tp
| ''(-b, -v)'' - -b for baby, -v for villager
|
| Non
| Non
| ZOMBIE
| citizens.npc.zombiemodifier
| Sets a zombie NPC's modifiers.
|-
|-
|/npc tphere
|/trait
|citizens.npc.tphere
| ''[trait1] [trait2] ... [traitN'' - A list of [[Characters|Traits]] to apply
|
| Non
| Non
| Non
| 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/>
'''Exemple''': <code> /npc trait sentry </code>
|}
|}
 
-->
 





Version du 14 avril 2013 à 12:11


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 (Page) - Page number to display citizens.help Show Citizens help menu
/npc help (Page) - Page number to display citizens.npc.help Show NPC help menu
/trait help (Page) - Page number to display citizens.trait.help Show trait help menu
/script help (Page) - Page number to display citizens.script.help Show scripting help menu
/template help (Page) - Page number to display citizens.template.help Show template help menu
/waypoints help (Page) - Page number to display citizens.waypoints.help Show waypoints help menu


Voir aussi