Aller au contenu

« BottledExp » : différence entre les versions

De Nefald Wiki
Hiob (discussion | contributions)
mAucun résumé des modifications
Hiob (discussion | contributions)
mAucun résumé des modifications
Ligne 24 : Ligne 24 :
|<code>/bottle get [montant]</code>
|<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
|bottledexp.command.get
|-
|-
|<code>/bottle until [niveau]</code>
|<code>/bottle until [niveau]</code>

Version du 9 février 2016 à 09:16



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é bottledexp.command.get
/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

<syntaxhighlight lang="Yaml"> 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

</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>