« BottledExp » : différence entre les versions
Aller à la navigation
Aller à la recherche
Aucun résumé des modifications |
mAucun résumé des modifications |
||
(7 versions intermédiaires par le même utilisateur non affichées) | |||
Ligne 1 : | Ligne 1 : | ||
{{Infobox Plugin| image = BottledExp Logo.png | catégorie = Plugin Roleplay | dev = sacnoth0 | bukkit = bottledexp | grade = | |||
{{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''' | ||
|- | |- | ||
| /bottle < | |<code>/bottle stats</code> | ||
|Affiche | |Affiche son XP actuelle | ||
| | |bottledexp.command.stats | ||
|- | |- | ||
|/bottle | |<code>/bottle stats <pseudo></code> | ||
| | |Affiche l'XP actuelle du joueur | ||
| | |bottledexp.command.stats.others | ||
|- | |- | ||
|/bottle max | |<code>/bottle get [montant]</code> | ||
|Embouteiller son XP selon le montant de bouteilles indiqué | |||
|bottledexp.command.get | |||
|- | |||
|<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 | ||
| | |bottledexp.command.get.max | ||
|- | |- | ||
|/bottle reload | |<code>/bottle give <pseudo> <montant></code> | ||
|Donner son XP à un autre joueur | |||
|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> | |||
|Relancer la configuration du plugin | |Relancer la configuration du plugin | ||
|bottle.reload | |bottle.reload | ||
|} | |} | ||
{{Info|Vous devez avoir dans votre inventaire des bouteilles vides afin d'y mettre votre XP, sans cela ça ne sera pas possible.}} | |||
== 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----' | |||
reload: | |||
help: | |||
info: '&2Relancer la configuration de BottledExp' | |||
args: '' | |||
stats: | |||
help: | |||
info: '&2Vérifier les infos concernant votre xp' | |||
args: '&7(pseudo)' | |||
info: | |||
feedback: | |||
- '&eVous avez actuellement &3[xp] &2xp et votre niveau est &3[level]&2.' | |||
- '&eVous devez avoir &f[xpdelta] &exp ou &f[bottles] &ebouteilles pour atteindre le prochain niveau.' | |||
Moneyfeedback: '&eCela vous coûtera &3[money]' | |||
until: | |||
help: | |||
info: '&2Vérifier combien de bouteilles vous avoir pour atteindre le prochain niveau' | |||
args: '[niveau]' | |||
info: | |||
moreThan: '&cLa valeur indiquée doit être supérieure avec votre niveau actuel!' | |||
feedback: '&eVous devez avoir &f[xp] &exp ou &f[bottles] &ebouteilles pour atteindre le &6niveau [level]' | |||
Moneyfeedback: '&eCela vous coûtera &3[money]' | |||
give: | |||
help: | |||
info: '&2Donner votre XP à un autre joueur' | |||
args: '[pseudo] [exp]' | |||
info: | |||
noExp: '&4Vous n‘avez pas assez d‘xp pour en donner' | |||
sender: '&dVous venez d‘envoyer &3[amount] &2xp à &3[name] &2et &3[lost] &2xp ont été perdus durant le transfert.' | |||
receiver: '&dVous venez de recevoir &f[amount] &exp de la part de &f[name] &eet &f[lost] &exp 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éé' | |||
removed: '&eRetiré' | |||
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: '&dRemboursement effectué! Montant: &3[amount]' | |||
Cost: '&eCoût de la transaction: &3[cost]' | |||
Order: '&dVous avez commandé &3[bottles] &dbouteille(s)!' | |||
</syntaxhighlight> | |||
[[Catégorie:Plugin utilisant Vault]] |
Dernière version du 9 février 2016 à 10:31
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.
Note: Attention il existe deux versions de BottledExp, l'originelle développée par sacnoth0 (bukkit) que nous documentons ici et son fork développé par zripz (spigot) documenté sur la présente page.
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 <pseudo> <montant>
|
Donner son XP à un autre joueur | 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 |
Information: Vous devez avoir dans votre inventaire des bouteilles vides afin d'y mettre votre XP, sans cela ça ne sera pas possible.
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----'
reload:
help:
info: '&2Relancer la configuration de BottledExp'
args: ''
stats:
help:
info: '&2Vérifier les infos concernant votre xp'
args: '&7(pseudo)'
info:
feedback:
- '&eVous avez actuellement &3[xp] &2xp et votre niveau est &3[level]&2.'
- '&eVous devez avoir &f[xpdelta] &exp ou &f[bottles] &ebouteilles pour atteindre le prochain niveau.'
Moneyfeedback: '&eCela vous coûtera &3[money]'
until:
help:
info: '&2Vérifier combien de bouteilles vous avoir pour atteindre le prochain niveau'
args: '[niveau]'
info:
moreThan: '&cLa valeur indiquée doit être supérieure avec votre niveau actuel!'
feedback: '&eVous devez avoir &f[xp] &exp ou &f[bottles] &ebouteilles pour atteindre le &6niveau [level]'
Moneyfeedback: '&eCela vous coûtera &3[money]'
give:
help:
info: '&2Donner votre XP à un autre joueur'
args: '[pseudo] [exp]'
info:
noExp: '&4Vous n‘avez pas assez d‘xp pour en donner'
sender: '&dVous venez d‘envoyer &3[amount] &2xp à &3[name] &2et &3[lost] &2xp ont été perdus durant le transfert.'
receiver: '&dVous venez de recevoir &f[amount] &exp de la part de &f[name] &eet &f[lost] &exp 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éé'
removed: '&eRetiré'
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: '&dRemboursement effectué! Montant: &3[amount]'
Cost: '&eCoût de la transaction: &3[cost]'
Order: '&dVous avez commandé &3[bottles] &dbouteille(s)!'