该插件允许使用绿宝石和/或其他物品作为货币,并通过 Vault 与你的经济账户挂钩。如果你丢失或掉落了绿宝石,你的账户将根据配置中设置的金额进行扣款;如果你拾取了它们,则会获得相应金额的入账。我推荐在任何 PVP 或 RP 服务器上使用此插件,你可以添加许多有趣的交互功能,具体取决于你如何配置该插件的权限和你的经济插件:
- 建立可以被攻击的真实银行。
- 与其他玩家交易或购物时要小心。
- 前往现金提取机时留意周围的情况。
- 与村民进行交易以赚取或损失金钱。
- 制作宝箱 / 保险箱。
运行此插件你必须安装 Vault 以及一个经济插件。
功能
- 使用绿宝石和其他物品作为真实货币,插件支持多货币,只需在配置文件中设置你的物品即可。
- 得益于 Vault,兼容多种经济插件。
- 插件会接入你现有的服务器经济系统,因此你的玩家仍然拥有相同的账户和资金余额。
- 完全可配置(掉落数量、本地化、物品等)。
- 提供命令和权限,用于将你的金钱账户转换为绿宝石/物品,或发送给其他玩家。
- 支持现金标志、取款机和兑换机。
- 支持与村民的交易。
- 支持 "give" 命令(如果你想使用命令方块或类似设备给予物品)。
- 支持创造模式(Gamemode 1)下给予的物品。
- 兼容 Backpack 插件。
- 兼容 Shopkeepers 插件。
- 支持多世界。
- [可选] 在配置文件中设置是否要与你的经济账户完全同步。(EnableItemOnEarnMoney: true)。你的库存中的物品价值将与你的金钱账户余额保持一致。
命令
/eel (别名:/cash) :
- /eel info : 显示当前服务器的物品价值及其他信息。
- /eel take [amount] : 从你的账户中提取绿宝石。
- /eel add [amount] : 向你的账户存入绿宝石。
- /eel send [amount] [player]: 将指定数量的货币发送给其他玩家。
- /eel reload : 重新加载配置文件。
- /eel change [ID] : 将你手中的当前堆叠物品更改为指定的 ID。
现金标志取款机

- 要制作一个现金发放器,只需在告示牌的第二行写上:[take]
- 右击 以 更改 金额
- 潜行 + 右击 以 更改 物品类型
- 左键点击以取走
- 要存入现金,只需在告示牌的第二行输入:[deposit]
- 右 键 单 击 将 存 入 与 手 中 物 品 相 关 的 所 有 物 品
- 要兑换零钱,只需在告示牌的第二行写上:[change]
take in hand the stack you want to change
- 右 键 单 击 以 更 换 货 币
- 左 键 单 击 以 进 行 更 改
权限
eel.* :父节点,包含以下子权限:
- eel.info:允许使用 /eel info 命令
- eel.take:允许从你的账户中提取绿宝石
- eel.add:允许向你的账户中存入绿宝石
- eel.send:允许将指定数量的货币发送给其他玩家。
- eel.change:允许在不同货币之间进行兑换。
eel.dispenser.* :父节点,包含以下子权限:
- eel.dispenser.add:允许你在发射器告示牌中添加账户货币。
- eel.dispenser.take:允许你从发射器告示牌的账户中提取货币。
- eel.dispenser.change:允许你使用兑换告示牌。
eel.dispenser.create* :父节点,包含以下子权限:
- eel.dispenser.create.take:允许创建用于从你的账户提取绿宝石的发射器告示牌
- eel.dispenser.create.add:允许创建用于向你的账户存入绿宝石的发射器告示牌
- eel.dispenser.create.change:允许创建兑换告示牌。
配置
默认物品为绿宝石,但你可以将其更改为金锭、铁锭或钻石。如果你不希望影响游戏玩法,建议使用绿宝石。
itemsId:
- 388
- 265
- 266
- 264
- etc...
在此设置你的物品作为货币。
itemsCost:
- 10
- 20
- 40
- 80
- 等...
对应的金额。
itemsCanBeBlock::
- 388
- 265
- 266
- 264
- 等...
在此设置哪些物品可以堆叠为方块。
blocksId:
- 133
- 42
- 41
- 57
- 等...
在此设置对应的方块。
若希望将背包中的绿宝石数量与账户余额同步,请设为 true。
oneItemOnEarnMoney: false
若希望在 EnableItemOnEarn 模式下仅发送第一种物品,请设为 true;否则插件会自动计算可发送的物品。
tiksPerChecksForEnableItemOnEarnMoney: 100
选择 EnableItemOnEarn 模式下的余额检查频率(20 ticks = 1秒)。
DisableChatMessage: false
若希望禁用聊天通知,请设为 true。
DisabledWorlds:
- creative
- otherWorld
在这些世界中禁用 EmeraldEconLink (EEl)。
然后配置你的经济插件和 EmeraldEconLink 的权限节点,以使插件按你期望的方式运行。
本地化
默认配置文件为法语,但你可以将所有消息更改为你自己的语言。如果你愿意,可以发送给我你的本地化 config.yml:
- English : 下载
- German : 下载 (感谢 RasCas)
视频
待办事项
- 告示牌、发射器、命令以及 ItemsOnEarn 模式的物品限制。
- 自动将物品堆叠为方块
- 与其他插件更好的同步
- 改进代码
- 喝一杯啤酒
更新日志
2.1.1
- 大幅改进金钱找零计算
- 修复当背包无法与玩家账户一致时的检查问题。
- 修复了一些背包计算错误。
- 在 /eel info 中添加 itemId
- 修复非货币物品的提示信息。
2.1
- 添加 "INFINITE" 物品货币支持,也必须兼容自定义物品/方块(mcpc/spout)
- 添加创造模式背包支持。
- 添加新的配置和参数(请在删除旧文件之前操作)。
- 添加 [CHANGE] 告示牌和命令 (/eel change),用于配合 EnableItemOnEarnMoney 模式使用
- 在 EnableItemOnEarnMoney 模式中变更(参见配置部分)
- 变更找零计算逻辑
- 添加 /eel reload 命令
- 添加新权限
- 修复错误
- 构建适用于 1.4.5 bukkit 的版本
2.0.2 (Beta)
2.0.1 (Beta)
- 仅兼容 1.4.4 bukkit 版本。
- 修复命令 /eel add [amount] [itemID]
- 调整找零计算
- 其他错误修复
2.0 (Beta)
- 仅兼容 1.4.4 bukkit 版本。
- 支持 4 种不同的物品。
- 如果你选择金、钻石、铁或绿宝石作为货币,则自动支持物品方块。
- 新命令 /eel info (权限:eel.info)
- take/add 命令将计算你可以获得的物品,如果只想获取一种类型,请在命令末尾添加物品 ID:
/eel take 100 388 -> 给予你 10 个绿宝石(10$)
- 兼容 "give" 命令。
- 移除 playerInteractEvent 的使用,改用计划任务。
已知限制
- 尚不支持带有数据值的物品(如青金石)
- 本插件与配置为 MySQL 的经济插件不兼容。
源代码
emeraldeconlink
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.
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
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
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.
Source Code
emeraldeconlink
评论 0
登录后参与评分
还没有评论,来抢沙发吧