EmeraldEconLink 2
This plugin make possible to uses emeralds and/or others items as currency and is hooked to your economy account with vault. If you loose / drop emeralds, your account will be debited for the amount you set in the config, or credited if you take one. I recommend this plugin for any PVP or RP server, with it you can add a lot of funny interact, that only depend how you config the permissions of the plugin and your economy plugin :
- make real bank that can be attacked.
- be careful when you go deal / buy with others players
- keep on eye around when you go to the cash dispenser
- deal with the villagers and earn or lose money
- make treasure chest / safe
To run this plugin you MUST have Vault and an economy plugin.
To run this plugin you MUST have Vault and an economy plugin.
Features
- uses emeralds and other items as real currency, the plugin support multi currency, just set your items in the configuration.
- compatible with a lot of economy plugins thanks to Vault.
- the plugin hook into your existing server economy, so your players still have the same account and amount of money.
- fully configurable ( drop amount, localisation, items,etc...).
- command and permission to change your money account into emeralds/item or send to other players.
- cash signs dispensers, deposit and change.
- support trade with villagers.
- support "give" commands (if you want to use command block or similar to give items)
- support items given in Gamemode 1.
- compatible with backpack plugin.
- compatible with Shopkeepers plugin.
- multiworlds support.
- [OPTIONAL] set in config if you want a total sync to your economy account. (EnableItemOnEarnMoney: true). you will have the same account amount of money in items in your inventory.
Commands
/eel (aliase : /cash) :
- /eel info : display current serveur item values and others informations
- /eel take [amount] : take emerald from your account.
- /eel add [amount] : deposit emeralds to your account.
- /eel send [amount] [player] : send in currency to another player the amount given.
- /eel reload : reload the configuration
- /eel change [ID] : change the current stack in your hand to ID
Signs Cash dispensers
- to make a cash dispenser just write on the second line of a sign : [take]
- right click to change amount - sneak + right click to change item type - left click to take
- to make a cash deposit just write on the second line of a sign: [deposit]
- left click will deposit the item in hand - right click will deposit all the items corresponding the item in hand
- to make a cash Change just write on the second line of a sign: [change]
take in hand the stack you want to change - right click for change currency - left click to change
Permissions
eel.* : parent node for :
- eel.info: allow to access the /eel info command
- eel.take : allow take emerald from your account
- eel.add : allow deposit emeralds to your account
- eel.send : allow send in currency to another player the amount given.
- eel.change : allow change the currency in and to another one.
eel.dispenser.* : parent node for :
- eel.dispenser.add: : Allows you to add currency to account in dispenser signs.
- eel.dispenser.take: Allows you to take currency from account in dispenser signs.
- eel.dispenser.change: Allow you to use change signs.
eel.dispenser.create* : parent node for :
- eel.dispenser.create.take : allow create sign dispenser to take emerald from your account
- eel.dispenser.create.add : allow create sign dispenser to deposit emeralds to your account
- eel.dispenser.create.change : allow create sign change.
Configuration
the default item is Emerald but you can change by gold, iron, diamond. I recommend to use emeralds if you don't want to disturb the gameplay.
itemsId: - 388 - 265 - 266 - 264 - etc...
set your item used as currency here.
itemsCost: - 10 - 20 - 40 - 80 - etc...
the amount of money corresponding.
itemsCanBeBlock:: - 388 - 265 - 266 - 264 - etc...
set here wich items can be stacked as block
blocksId: - 133 - 42 - 41 - 57 - etc...
set here the corresponding block
EnableItemOnEarn: false
true if you want the amount of emeralds in inventory to be sync with your account.
oneItemOnEarnMoney: false
true if you want only the first item to be send in EnableItemOnEarn mode, else the plugin automatically calculate what items can be send
tiksPerChecksForEnableItemOnEarnMoney: 100
choose the rate for balance checks in EnableItemOnEarn mode (20 ticks = 1sec)
DisableChatMessage: false
true if you want to disable chat notifications.
DisabledWorlds: - creative - otherWorld
EEl will be disabled in this worlds
then configure the permissions nodes of your economy plugin and EmeraldEconLink to make the plugin work like you want.
Localisations
the default config is in french but you can change all the messages to your language, you can send me your localized config.yml if you want :
Videos
- old version
To-do
- item restrictions for signs dispenser,commands and ItemsOnEarn mode.
- automatic item to block stacking
- better sync with other plugins
- improve code
- drink a beer
Changelogs
2.1.1
- really better money change calculation
- fix checks when inventory can't be equal to player account.
- fixes some inventory calculation bugs.
- add itemId to /eel info
- fixe message for non currency items.
2.1
- add "INFINITE" items currency support,must be compatible with custom items/blocks too (mcpc/spout)
- add creative inventory support.
- add new config and parameters (please delete the old one before).
- add [CHANGE] sign and command (/eel change) to use with EnableItemOnEarnMoney mode
- change in EnableItemOnEarnMoney mode (see configuration section)
- change in change given calculation
- add /eel reload command
- add new permissions
- bugs fixes
- build for 1.4.5 bukkit
2.0.2 (Beta)
- better change given calculation.
- minors bugs fixes
2.0.1 (Beta)
- compatible only with 1.4.4 bukkit builds.
- fix command /eel add [amount] [itemID]
- adjusting the change given calculation
- other bugfixes
2.0 (Beta)
- compatible only with 1.4.4 bukkit builds.
- support 4 différents items.
- automatic support for items blocks if you choose gold,diamond,iron or emerald as money.
- new command /eel info (permission : eel.info)
- take/add commands will calculate the items you can receive, if you want only one type add the item id at the end of the command : /eel take 100 388 -> give you 10 emeralds(10$)
- compatible with "give" commands.
- remove playerInteractEvent use sheduled task instead.
Known caveats
- item with data value (like lapiz) aren't supported yet
- this plugin is not friendly with economy plugin configured with mysql.
It would be possible to add a multi currency system? For example:
Emeralds:
Value: 1.0
ItemD ID: 388
Gold:
Value: 0.5
Item ID: 266
iron:
Value: 0.1
Item ID: 265
With the option to change the item of each coin, of course: D
With this addition, it would be perfect!.
Issue with Vanish No Packet, if u have the permission ''no pickup'' u dont get items while walking on them but this plugin give u infinit amount of money while standing in the item.
@instinxx
hum there was an error in the nods explanations of the plugin description...
Can you add a permission node for Sign creation?
Otherwise nice plugin thanks!
@fonkfader :
D'accord, je vais me la procurer de ce pas alors.
Oui j'ai déjà le plugin MultiInv.
Non, les permissions c'était pas pour les groupes, c'était que dans un plugin comme PermissionsEx, on peut fixer certaines permissions dans certains mondes. Ainsi pour activer EmeraldEcoLink dans un monde, il aurait suffit de mettre cette permission uniquement sur le monde voulu. Mais un système comme tu as sans doute fait suffit amplement, c'est juste une autre manière de faire :o Après faire par groupe, oui c'est inutile.
Euh, avec le mode adventure, c'est juste que je veux pas que les joueurs aient le même compte argent que sur mode normal (et aucun plugin économique encore actif aujourd'hui ne gère le compte par monde), donc là suffit de faire sans EmeraldEcoLink sur les autres mondes grâce à ta gestion multiworld :)
Après comme je l'ai déjà dit, les distributeurs ne fonctionnent pas en adventure mode, du fait que l'on ne peut pas "frapper" les blocs à proprement parler. Je sais pas comment tu pourrais y remédier, mais je tiens à le signaler.
@Benoit87
la version 1.6.1 deja dispo contient la gestion multiworld (tu peux aussi ajouter un plugin qui supporte les "muti-inventaires" pour éviter le transfert d'items entre mondes), pour la permission d'utiliser le plugin suivant son groupe ca me parait inutile, ou du moins j'en ai pas saisie l'utilité et pour le mode aventure je me suis pas penché sur le probleme mais bon la aussi il faut en voir l'utilité...
Ah, c'est bien cool que tu puisses ajouter une gestion Multiworld ! ça me sera utile également, et pas simplement parce que les joueurs peuvent se le giver sur un créative, mais parce que je souhaite éviter que les joueurs aient les émeraudes d'un monde dans l'autre.
D'ailleurs, ne suffit-il pas de simplement faire une permission pour utiliser EmeraldEcoLink ?
Ah et sinon, lorsque le joueur est en adventure, il ne peut pas frapper la pancarte. Donc ça rend les banques inutilisables en adventure mode.
@doddoreul
pour la gestion multiworld c'est prévu, pour les distributeurs automatiques ( c'est le nom francais ca :)) il faudrait me donner plus d'info sur les plugins que tu utilise pour les permissions etc...ouvre un ticket si ca ne fonctionne toujours pas. (j'ajouterai aussi un check Op si ca vient de la a la prochaine version, mais perso je n'ai jamais eu ce soucis).
Est-il possible de désactiver ce plugin dans un autre monde ? Les joueurs peuvent se give de l'argent via les mondes en creatif...
Enfin! Merci pour ton plugin :) Il est terrible, mais j'ai un soucis avec les ''Cash Dispenser'' (sais pas le nom en Francais de France xD), quand je click droit... Pas la permission pour, me dit le plugin... Alors que je suis admin Oo
Ok, so I will try to do that :o
Edit : And, add a permission for EnableItemOnEarn is possible ?
@Benoit87
the only way for you is to set your quest to money and not emerald if it possible (or put a chest with emeralds), EEL will not change balance of your economy based of your inventory for a maximum compatibility with other economy plugins.
Great plugin ! ;)
But, I have a problem with EnableItemOnEarn (I want use it for use economy with emerald in player inventory). For exemple, when a player earn 10 emeralds in a quest (like the use of /give), they are remove from the player inventory, because the player account don't have 10 emeralds. But that not cool. :/
It could be cool to manage the account in function of the inventory, and not the inventory in function of the account I think ! I you understand what I mean ! :)
@monstercat101
support for Backpack and Shopkeepers added in 1.6 (waiting for approval).
@monstercat101
i will see what can i do...
hi love this plugin. I wanna use it for my server as a currency, however there seems to be some duplicating with other plugins. Backback duplicates the emeralds when I put them in there, and Shopkeeper duplicates when i change the emerald price. If you could let me know how to fix this i will be so thankful, because I really want to use this plugin. :)
@slimpyman
I use Fe, it works perfectly :)
Fe is really lightweight and easy to use, and after looking around I would highly suggest it!
http://dev.bukkit.org/server-mods/fe-economy/
still cant get this thing working... what economy plugin most of you guys use? craftconomy is broken.
@TerraVale
added in 1.5.3
Would it be possible to have an option to remove all of the chat messages?
I wish for the messages to be handled by my economy plugin, not with emeraldeconlink and the chat spamming is quite an annoyance. Hopefully you can add this option! :)