« BottledExp » : différence entre les versions

De Nefald Wiki
Aller à la navigation Aller à la recherche
Hiob (discussion | contributions)
mAucun résumé des modifications
Hiob (discussion | contributions)
mAucun résumé des modifications
Ligne 1 : Ligne 1 :
{{Infobox Plugin| image = BottledExp Logo.png | catégorie = Plugin Roleplay | dev = sacnoth0 | bukkit = bottledexp  | grade = Citoyen | status = installé |}}
 
 
{{Infobox Plugin| image = BottledExp Logo.png | catégorie = Plugin Roleplay | dev = sacnoth0 | bukkit = bottledexp  | spigot = | grade = Pérégrin | status = installé |}}


'''BottledExp''' permet de mettre en bouteille son XP selon un certain montant, leur permettant ainsi de le sauvegarder ou de le commercialiser.  
'''BottledExp''' permet de mettre en bouteille son XP selon un certain montant, leur permettant ainsi de le sauvegarder ou de le commercialiser.  
{{Note|text='''Attention''' il existe deux versions de '''BottledExp''', [http://dev.bukkit.org/bukkit-plugins/bottledexp/ l'originelle développée par ''sacnoth0''] (bukkit) que nous documentons [https://nefald.fr/wiki/index.php?title=BottledExp&direction=next&oldid=6950 ici] et [https://www.spigotmc.org/resources/bottledexp.2815/ son fork développé] par ''zripz'' (spigot) documenté sur la présente page.}}


== Commandes et permissions ==
== Commandes et permissions ==
Ligne 9 : Ligne 13 :
!'''permission'''
!'''permission'''
|-
|-
| <code>/bottle <pseudo></code>
|Affiche l'XP actuel du joueur
|bottle.use
|-
|-
|<code>/bottle [montant]</code>
|<code>/bottle stats</code>
|Affiche son XP actuelle
|bottledexp.command.stats
|-
|<code>/bottle stats <pseudo></code>
|Affiche l'XP actuelle du joueur
|bottledexp.command.stats.others
|-
|<code>/bottle get [montant]</code>
|Embouteiller son XP selon le montant de bouteilles indiqué
|Embouteiller son XP selon le montant de bouteilles indiqué
|bottle.use
|bottle.use
|-
|-
|<code>/bottle max</code>
|<code>/bottle until [niveau]</code>
|Embouteiller son xp jusqu'au niveau indiqué
|bottledexp.command.until
|-
|<code>/bottle get max</code>
|Embouteiller toute son XP
|Embouteiller toute son XP
|bottle.max
|bottledexp.command.get.max
|-
|<code>/bottle give</code>
|
|bottledexp.command.give
|-
|
|Permet de crafter des blocs d'échange d'xp
|bottledexp.expcontainer.craft
|-
|
|Permet d'intéragir avec des blocs d'échange d'xp
|bottledexp.interact
|-
|
|Permet d'intéragir avec des blocs d'échange d'xp personnalisés
|bottledexp.custominteract
|-
|-
|<code>/bottle reload</code>
|<code>/bottle reload</code>
Ligne 33 : Ligne 62 :
<syntaxhighlight lang="Yaml">
<syntaxhighlight lang="Yaml">
bottle:
bottle:
   xpCost: 40
  # Shows if there is available new version on login with bottledexp.versioncheck permission node
   xpEarn: 40
  ShowNewVersion: true
   useItems: true
  # Language file you want to use
  Language: FR
  # How much player will spend converting his xp to bottles
   xpCost: 10
  # How much player will get xp from xp bottle
   xpEarn: 10
  # Do you want to use custom items when converting xp to xp bottles
   useItems: false
  # Id for custom item, by default its empty glass bottle
   consumedItem: 374
   consumedItem: 374
  # How many to consume when converting. This is for every bottle you will get
   amountConsumed: 1
   amountConsumed: 1
   useMoney: true
  # Do you want to charge money for xp conversion
   useMoney: false
  # How much it will gonna cost
   moneyCost: 0.1
   moneyCost: 0.1
   checkForPermission: true
   # Do you want to show extra information for how much its gonna cost to level up
language:
  useBottleMoney: false
   errAmount: Le montant doit être un chiffre!
  # How much one xp bottle costs
   errXP: Vous n‘avez pas assez d‘XP!
  bottleCost: 3.25
   errMoney: Vous n‘avez pas assez d‘argent!
  # Do you want to show exp consumed on enchant
   currentXP: Vous avez actuellement
  ShowEnchantExp: true
   order1: Vous avez commandé
  # Do you want to show all enchantments player gets after enchanting item
   order2: bouteille(s)
  ShowEnchant: false
   refund: Remboursement effectué! Montant
  # Do you want to use new 1.8 enchant system
   itemConsume: Vous n‘avez pas assez d‘items!
  UseThreeButtonEnchant: true
  money: Coût de la transaction
  give:
    # How much exp will be lost during trasfer in percentage
    LostDurringTransfer: 0
  BlockInteraction:
    Use: false
    # Do you want to use right click, if false then left will be used, good for block with interactions like enchant table
    UseRightClick: false
    # Id of block will be used to convert xp to bottles
    BlockId: 116
    # Id of item in hand when you want to convert xp by clicking block
    HandItemId: 374
    # How many bottles to give everytime
    GiveEveryTime: 1
    # How many times to multiply given bottles by clicking shift
    Multiplayer: 10
  CustomBlockInteraction:
    Use: false
    # Do you want to use right click, if false then left will be used, good for block with interactions like enchant table
    UseRightClick: false
    # Id of item in hand when you want to convert xp by clicking block
    HandItemId: 374
    # How many bottles to give everytime
    GiveEveryTime: 1
    # How many times to multiply given bottles by clicking shift
    Multiplayer: 10
   CraftExpContainer:
    # When this set to true there will be option to craft special expbottle by placing empti glass bottle into crafting
    # You can consume it by right clicking it
    Use: false
  # When this set to true, all trades with villgers involving exp will be disabled
  DisableVillagerExpTrade: false
  # When this set to true,destrying mob spawners wont drop exp
   DisableMobSpawnerExp: false
</syntaxhighlight>
 
=== Locale_FR.yml ===
<syntaxhighlight lang="Yaml">
Prefix: '&e[&aBottledExp&e] '
Nopermission: '&4Vous n‘avez pas la permission de faire ça’'
NoPlayer: '&4Impossible de trouver un joueur avec ce pseudo'
MoreThanZero: '&4Indiquez un nombre plus grand que 0'
Self: '&4Vous ne pouvez pas vous envoyer de l‘XP à vous même’'
Reload: '&eLa configuration a été reload.'
Enchant: '&2Vous avez dépensé &3[xp] &2xp pour cet enchantement'
GotExp: '&2Vous avez &3[xp] &2xp'
Store:
  Name: '&6|  BottledExp  |'
   Lore: '&eXP stockée:'
   ExpLoreColor: '&6'
command:
   help:
    output:
      usage: '&eUtilisation: &6%usage%'
      title: '&2----&e ==== &6BottledExp &e==== &2----'
   stats:
    help:
      info: '&2Vérifiez vos informations concernant votre xp'
      args: '&3(pseudonyme)'
    info:
      feedback:
      - '&2Vous avez actuellement &3[xp] &2xp et votre niveau est &3[level]&2.'
      - '&2Vous devez avoir &3[xpdelta] &2xp ou &3[bottles] &2bouteilles pour atteindre le prochain niveau.'
      Moneyfeedback: '&2Cela vous coûtera &3[money]'
   until:
    help:
      info: '&2Vérifiez combien de bouteilles vous avoir pour atteindre le prochain niveau'
      args: '[niveau]'
    info:
      moreThan: '&4Cela doit être supérieur avec votre niveau!'
      feedback: '&2Vous devez avoir &3[xp] &2xp ou &3[bottles] &2bouteilles pour atteindre le niveau &3[level]
        &2level'
      Moneyfeedback: '&2Cela vous coûtera &3[money]'
   give:
    help:
      info: '&2Donner votre XP à un autre joueur'
      args: '[pseudonyme] [exp]'
    info:
      noExp: '&4Vous n‘avez pas assez d‘xp pour en donner'
      sender: '&2Vous venez d‘envoyer &3[amount] &2xp à &3[name] &2et &3[lost] &2xp ont été perdus durant le transfert.'
      receiver: '&2Vous venez de recevoir &3[amount] &2xp de la part de  &3[name] &2et &3[lost] &2xp ont été perdus durant le transfert'
  eblock:
    help:
      info: '&2Créer un bloc d‘échange d‘xp à l‘endroit où vous regardez'
      args: ''
    info:
      created: '&6Créées'
      removed: '&eRetirées'
  get:
    help:
      info: '&2Echanger votre xp pour des bouteilles d‘xp'
      args: '[montant] ou Max'
    info:
      noExp: '&4Vous n‘avez pas suffisamment d‘xp.'
      NoMoney: '&4Vous n‘avez pas suffisamment d‘argent!'
      NoItems: '&4Vous n‘avez pas suffisamment de bouteilles.'
      Refund: '&2Remboursement effectué! Montant: &3[amount]'
      Cost: '&eCoût de la transaction: &3[cost]'
      Order: '&2Vous avez commandé &3[bottles] &2bouteilles!'
</syntaxhighlight>
</syntaxhighlight>
[[Catégorie:Plugin utilisant Vault]]

Version du 9 février 2016 à 09:14



BottledExp
BottledExp
Plugin
Catégorie Plugin Roleplay [edit]
Développeur(s) sacnoth0
Bukkit bottledexp
Nefald
Status installé [edit]
Grade requis Pérégrin
Article
Dernière révision 9/02/2016


BottledExp permet de mettre en bouteille son XP selon un certain montant, leur permettant ainsi de le sauvegarder ou de le commercialiser.

Commandes et permissions

commande description permission
/bottle stats Affiche son XP actuelle bottledexp.command.stats
/bottle stats <pseudo> Affiche l'XP actuelle du joueur bottledexp.command.stats.others
/bottle get [montant] Embouteiller son XP selon le montant de bouteilles indiqué bottle.use
/bottle until [niveau] Embouteiller son xp jusqu'au niveau indiqué bottledexp.command.until
/bottle get max Embouteiller toute son XP bottledexp.command.get.max
/bottle give bottledexp.command.give
Permet de crafter des blocs d'échange d'xp bottledexp.expcontainer.craft
Permet d'intéragir avec des blocs d'échange d'xp bottledexp.interact
Permet d'intéragir avec des blocs d'échange d'xp personnalisés bottledexp.custominteract
/bottle reload Relancer la configuration du plugin bottle.reload



Configuration

bottle:
  # Shows if there is available new version on login with bottledexp.versioncheck permission node
  ShowNewVersion: true
  # Language file you want to use
  Language: FR
  # How much player will spend converting his xp to bottles
  xpCost: 10
  # How much player will get xp from xp bottle
  xpEarn: 10
  # Do you want to use custom items when converting xp to xp bottles
  useItems: false
  # Id for custom item, by default its empty glass bottle
  consumedItem: 374
  # How many to consume when converting. This is for every bottle you will get
  amountConsumed: 1
  # Do you want to charge money for xp conversion
  useMoney: false
  # How much it will gonna cost
  moneyCost: 0.1
  # Do you want to show extra information for how much its gonna cost to level up
  useBottleMoney: false
  # How much one xp bottle costs
  bottleCost: 3.25
  # Do you want to show exp consumed on enchant
  ShowEnchantExp: true
  # Do you want to show all enchantments player gets after enchanting item
  ShowEnchant: false
  # Do you want to use new 1.8 enchant system
  UseThreeButtonEnchant: true
  give:
    # How much exp will be lost during trasfer in percentage
    LostDurringTransfer: 0
  BlockInteraction:
    Use: false
    # Do you want to use right click, if false then left will be used, good for block with interactions like enchant table
    UseRightClick: false
    # Id of block will be used to convert xp to bottles
    BlockId: 116
    # Id of item in hand when you want to convert xp by clicking block
    HandItemId: 374
    # How many bottles to give everytime
    GiveEveryTime: 1
    # How many times to multiply given bottles by clicking shift
    Multiplayer: 10
  CustomBlockInteraction:
    Use: false
    # Do you want to use right click, if false then left will be used, good for block with interactions like enchant table
    UseRightClick: false
    # Id of item in hand when you want to convert xp by clicking block
    HandItemId: 374
    # How many bottles to give everytime
    GiveEveryTime: 1
    # How many times to multiply given bottles by clicking shift
    Multiplayer: 10
  CraftExpContainer:
    # When this set to true there will be option to craft special expbottle by placing empti glass bottle into crafting
    # You can consume it by right clicking it
    Use: false
  # When this set to true, all trades with villgers involving exp will be disabled
  DisableVillagerExpTrade: false
  # When this set to true,destrying mob spawners wont drop exp
  DisableMobSpawnerExp: false

Locale_FR.yml

Prefix: '&e[&aBottledExp&e] '
Nopermission: '&4Vous n‘avez pas la permission de faire ça’'
NoPlayer: '&4Impossible de trouver un joueur avec ce pseudo'
MoreThanZero: '&4Indiquez un nombre plus grand que 0'
Self: '&4Vous ne pouvez pas vous envoyer de l‘XP à vous même’'
Reload: '&eLa configuration a été reload.'
Enchant: '&2Vous avez dépensé &3[xp] &2xp pour cet enchantement'
GotExp: '&2Vous avez &3[xp] &2xp'
Store:
  Name: '&6|   BottledExp   |'
  Lore: '&eXP stockée:'
  ExpLoreColor: '&6'
command:
  help:
    output:
      usage: '&eUtilisation: &6%usage%'
      title: '&2----&e ==== &6BottledExp &e==== &2----'
  stats:
    help:
      info: '&2Vérifiez vos informations concernant votre xp'
      args: '&3(pseudonyme)'
    info:
      feedback:
      - '&2Vous avez actuellement &3[xp] &2xp et votre niveau est &3[level]&2.'
      - '&2Vous devez avoir &3[xpdelta] &2xp ou &3[bottles] &2bouteilles pour atteindre le prochain niveau.'
      Moneyfeedback: '&2Cela vous coûtera &3[money]'
  until:
    help:
      info: '&2Vérifiez combien de bouteilles vous avoir pour atteindre le prochain niveau'
      args: '[niveau]'
    info:
      moreThan: '&4Cela doit être supérieur avec votre niveau!'
      feedback: '&2Vous devez avoir &3[xp] &2xp ou &3[bottles] &2bouteilles pour atteindre le niveau &3[level]
        &2level'
      Moneyfeedback: '&2Cela vous coûtera &3[money]'
  give:
    help:
      info: '&2Donner votre XP à un autre joueur'
      args: '[pseudonyme] [exp]'
    info:
      noExp: '&4Vous n‘avez pas assez d‘xp pour en donner'
      sender: '&2Vous venez d‘envoyer &3[amount] &2xp à &3[name] &2et &3[lost] &2xp ont été perdus durant le transfert.'
      receiver: '&2Vous venez de recevoir &3[amount] &2xp de la part de  &3[name] &2et &3[lost] &2xp ont été perdus durant le transfert'
  eblock:
    help:
      info: '&2Créer un bloc d‘échange d‘xp à l‘endroit  vous regardez'
      args: ''
    info:
      created: '&6Créées'
      removed: '&eRetirées'
  get:
    help:
      info: '&2Echanger votre xp pour des bouteilles d‘xp'
      args: '[montant] ou Max'
    info:
      noExp: '&4Vous n‘avez pas suffisamment d‘xp.'
      NoMoney: '&4Vous n‘avez pas suffisamment d‘argent!'
      NoItems: '&4Vous n‘avez pas suffisamment de bouteilles.'
      Refund: '&2Remboursement effectué! Montant: &3[amount]'
      Cost: '&eCoût de la transaction: &3[cost]'
      Order: '&2Vous avez commandé &3[bottles] &2bouteilles!'