不兼容 1.13+。这是一个旧插件,要在更新的服务器上使用几乎需要完全重写。抱歉!
一款基于金币的经济插件,旨在为 RPG 风格服务器模拟真实货币。您可以创建任意数量的不同货币,每种货币都可以拥有任意数量的不同面额硬币(或纸币/代币/筹码等)。每枚硬币都是独一无二的,可以使用任何物品进行自定义,并设置自定义名称和印花。该插件与 Vault 挂钩,因此可以与其他插件配合使用,并提供全面的命令来创建、花费、分发、转换和修改硬币,这些命令可用于命令方块和脚本插件。
- 可以使用任何物品类型作为硬币
- 支持货币的多种面额
- 使用物品显示名称和描述使硬币独一无二
- 提供 API 供其他插件使用 ()
- 提供多种管理命令及命令方块使用的命令
- 可以从库存中给予或扣除指定价值的货币
- 可以为给定价值找零
- 支持多种货币
- 可以在货币之间进行转换
- 可以通过命令或配置文件管理货币
- 可以与 Vault 集成,将一种货币设置为 Vault 货币
- 为每个单独的硬币完全自定义描述,行数不限,包含任意文本和颜色
- 允许在 Coinage 命令中使用箱子和其他库存方块代替玩家,通过坐标进行操作
- 在 /ConvertCoins 命令中为非 Coinage 货币添加 Vault 支持,以便通过 Vault 进行转换
- 当 /SpendCoins 因玩家可用货币不足而失败时,可选执行一条命令
- 银行支持(可能使用箱子)
- 与 Skript 兼容,以提供按货币的检查和处理交易功能
- 允许通过 Vault 向离线/不存在的玩家转移货币
- 允许添加、移除和修改可在各种其他 Coinage 命令之后可选运行的命令
- 在 /SpendCoins ([货币]) [玩家] [数量] ([成功] [失败]) 末尾添加可选参数,以便在硬币移除成功或失败时触发可自定义的命令。解析时 @player @currency @amount 将被替换为实际值
- 在 /CoinValue ([玩家]) ([货币]) ([触发器]) 末尾添加可选参数,以便在计算玩家手持硬币的价值后触发可自定义的命令。解析时 @player @currency @amount 将被替换为实际值。
- 改进对使用 ANSI 文本编码的服务器的支持
- 可选地将硬币数量记录在物品描述/标题上,而不是使用堆叠数量(绕过 64 个物品的限制)
- - 可选设置自定义堆叠上限
- 提供拾取硬币时自动铸造硬币的可选功能
- 添加打开钱袋的命令
- 为所有 Coinage 命令添加标签自动补全
如果您有想法,请在评论中提出建议!
已知 Bug
- 在没有配置任何货币的情况下使用任何货币交易命令会抛出错误,而不是显示解释问题的友好消息
- 由于 Minecraft 客户端对自定义库存的支持存在弱点,偶尔会出现将物品放入钱袋时丢失的情况
- Coinage 2.1 和 2.2 中存在一个时间相关的 Bug,会导致无法保存对钱袋的任何更改。要修复此问题,请更新到 Coinage 0.2.3 或降级到最新的发布版本
完整的命令列表请参阅 命令参考 页面。
详细的命令帮助可在游戏内输入 /help Coinage 查看
本插件使用 Java 7
如果在安装此插件启动服务器时出现以下错误“Unsupported major.minor version 51.0”,这意味着您使用的是过时的 Java 版本。如果您不知道如何升级,请联系您的服务器托管提供商请求帮助升级到 Java 7,或联系 Oracle 客户支持。Mac OS X 用户需要 JDK 7 而不是 JRE 7。
如果您希望为本项目的持续开发、支持和维护做出贡献,请考虑加入我的 Patreon 页面,并进行一次性或定期捐助。
如果您需要帮助,可以在下方留言,我会尽快回复您。您也可以使用以下链接加入我的 IRC 聊天室。请注意,我不一定随时都在电脑前!
Not compatible with 1.13+. This is an old plugin that would require an almost total rewrite to get it working in more up-to-date servers. Sorry!
A coin-based economy plugin, designed to mimic real currencies for RPG-style servers. Create as many different currencies, with as many different denominations of coins (or notes/tokens/chips etc) as you want. Each coin is unique and can be customised, using any item, with a custom name and print. Hooks into Vault so it can be used with other plugins, and has a comprehensive selection of commands to create, spend, distribute, convert and modify coins which can be used in command blocks and scripting plugins.
- Can use any item type as a coin
- Supports multiple denominations of a currency
- Uses item display names and lore to make coins unique
- API support for other plugins to use ()
- Provides a variety commands for admin management and command block use
- Can give or take specified values of a currency from inventories
- Can make change for a given value
- Supports multiple currencies
- Can convert between currencies
- Can manage currencies through commands or configuration file
- Can integrate with Vault to set one currency to be used as the Vault currency
Ideas for Future Development
- Fully customisable lore for each individual coin, as many lines as you want, containing as much text and colours as you want
- Allow chests and other inventory blocks to be used in place of players in Coinage commands using their coordinates
- Add Vault support for non-Coinage currencies in the /ConvertCoins command to allow conversion through Vault
- Optional command to be executed when /SpendCoins fails due to the player not having enough currency available
- Bank support (possibly using chests)
- Compatibility with Skript to provide per-currency checks and transactions
- Allow currency to be transferred to offline/non-existent players through Vault
- Allow adding, removing and modifying commands that can optionally be run after various other Coinage commands
- Add optional arguments to the end of /SpendCoins ([currency]) [player] [amount] ([success] [fail]) to trigger customisable commands on success or failure to remove the coins. @player @currency @amount will be replaced with the actual values as it is parsed
- Add optional argument to the end of /CoinValue ([player]) ([currency]) ([trigger]) to trigger a customisable command after calculating the value in coins the player is holding. @player @currency @amount will be replaced with the actual values as it is parsed.
- Improved support for servers using ANSI text-encoding
- Optionally record amount of coins on item lore/title instead of using the stack amount (bypassing the 64 item limit)
- - Optionally set custom stacking limits
- Provide optional feature to automatically mint coins as they are picked up
- Add a command to open a moneybag for a player
- Add tab-autocompletion to all Coinage commands
If you have an idea, please make a suggestion in the comments!
Known Bugs
- Using any of the currency transaction commands while there are no currencies will throw an error instead of a nice message explaining what's wrong
- Due to a weakness in Minecraft client support for custom inventories, items will very occasionally be lost on placing them into moneybags
- There is a time-related bug in Coinage 2.1 and 2.2 which will prevent any changes to Moneybags from being saved, to fix this, you should update to Coinage 0.2.3 or downgrade to the latest release build
A full list of commands is available on the Command Reference page.
Detailed command help is available in-game by typing /help Coinage
This plugin uses Java 7
If you get the followed error on starting up the server with this plugin installed "Unsupported major.minor version 51.0". This means you are using an out of date version of Java. If you don't know how to upgrade, please contact your server hosting provider and ask them for help in upgrading to Java 7, or contact Oracle customer support. Mac OS X users require JDK 7 instead of JRE 7.
If you'd like to contribute towards the continued development, support and maintenance of this project, please consider joining me on Patreon, and making a one-time or recurring pledge.
If you need help you can leave a comment below and I will get back to you as soon as I can. You can also join my IRC chatroom using the following link. Please note, I am not always at my keyboard!
评论 0
登录后参与评分
还没有评论,来抢沙发吧