Gringotts: 基于物品的货币。
Gringotts 是一个适用于 Bukkit Minecraft 服务器平台的基于物品的经济(货币)插件。与早期的经济插件不同,所有货币价值和金钱交易默认都基于 Minecraft 中的实际物品(通常是绿宝石)。其目标是增加沉浸感,营造更贴近 Minecraft 的整体体验,并且在 PvP 环境中使货币本身面临被掠夺的风险。
Gringotts 最初是为 Minecraft Wars PvP/生存服务器创建的。
功能
- 支持物品背书的經濟系統(可配置,默认为绿宝石)
- 多种面额并支持自动转换(例如,同时使用绿宝石和绿宝石块)
- 货币可存储在箱子和其他容器中、玩家背包以及末影箱中(可配置)
- 支持直接账户间转账命令
- 可选的交易税
- 支持小数位货币值(固定小数位数)
- 支持 Factions、Towny 和 WorldGuard 的账户支持
- Vault 集成
最新更新
如需获取新版本通知,请订阅文件更新。
v2.9
- 依赖 Java 8。如果您的服务器尚未运行在 Java 8 上,请升级或要求您的服务提供商进行升级。Oracle 已不再支持 Java 7。
- 现在应能在常规及异步上下文中正常工作。这意味着不再会出现“异步实体世界添加”错误,且 Gringotts 现在与异步模式下的 Towny 以及其他异步调用经济方法的插件兼容。
- 账户允许的最大虚拟金额现在等于最低面额,而不是最高面额。做出此更改是因为之前的行为导致了大量混淆。
- 修复了其他一些次要 bug
v2.8
- 专为 Minecraft 1.9 和 Factions 2.8 构建。可能不兼容旧版本的 Factions!
- 对于不受支持的 Factions 版本,现在会以更优雅的方式处理。
- 更新至当前版本的 Metrics-Lite。修复了令人烦恼的错误消息。
v2.7
- 命名面额:每种面额现在都可以拥有自己的名称,该名称将显示在 /balance 消息等地方。要启用此功能,请使用
named-denominations配置设置。默认情况下,这将使用面额的显示名称或常规物品名称,但您也可以定义自定义名称。详情请参阅配置说明。 - 余额消息现在可以配置为仅显示常规余额,或同时显示 Vault/库存余额。
- 现在也支持在消息和物品显示名称/描述中使用
&前缀的颜色代码,除了默认的§前缀之外。 - 面额配置中现在也可以使用 Vault 支持的物品名称,而不仅仅是常规的 Bukkit 名称。这可以使配置更加直观。(需要 Vault)
- 面额物品的描述配置现在也允许使用简单的字符串,而不是字符串列表。
- 配置现在应始终作为 UTF8 加载。
- 修复了在某些服务器上
/money命令失败的问题。
v2.6
- 为货币物品添加了显示名称和描述支持。请参阅配置说明了解如何配置此功能。注意,您需要一个第三方插件来重命名非 Gringotts 创建的物品。 感谢 dj5566 贡献此功能!
startingbalance配置选项再次生效
计划中的功能
请参阅:GitHub 上 Gringotts 的开放增强功能问题。欢迎您对您认为重要的增强功能进行投票,但我可能没有时间去实现它们。
使用说明
Wiki
查看 Gringotts Wiki 以获取更多提示和故障排除指南。
安装与配置
下载 Gringotts 并将其放置在 craftbukkit/plugins 文件夹中。
请参阅配置与权限文档,了解如何配置 Gringotts。
用法
关于 Gringotts v2.x 的配置和使用完整信息,请参阅配置页面和用法页面。
将货币存入账户需要一个古灵阁金库。一个金库由一个容器(可以是箱子、发射器或熔炉)以及其上方声明其为金库的告示牌组成。玩家或阵营可以认领任意数量的金库。金库并不防止其他玩家访问。如果你希望它们受到保护,可以使用额外的插件,例如 LWC 或 WorldGuard。
玩家金库
在容器方块上方放置一个告示牌,在第一行写上 [vault]。如果创建正确,告示牌的第三行将显示你的名字,并且你会收到一条金库已创建的消息。
阵营金库
在容器方块上方放置一个告示牌,在第一行写上 [faction vault]。如果创建正确,告示牌的第三行将显示你的阵营标签,并且你会收到一条金库已创建的消息。
Towny 金库
- 为你的城镇创建金库:在容器方块上方放置一个告示牌,在第一行写上
[town vault]。 - 为你的国家创建金库:在容器方块上方放置一个告示牌,在第一行写上
[nation vault]。如果创建正确,告示牌的第三行将显示你的城镇或国家的标签,并且你会收到一条金库已创建的消息。
用户命令
/money
显示你账户的当前余额。
/money pay <amount> <player>
向一名玩家支付指定金额。只有当你的账户拥有至少等于该金额加上任何适用税费的资金,且接收方账户有足够的容量时,交易才会成功。
/money withdraw <amount>
/money deposit <amount>
从金库存储中提取资金到物品栏,或将物品栏中的资金存入金库。
管理员命令
/moneyadmin b <account>
获取某玩家账户的余额。
/moneyadmin add <amount> <account>
向某玩家的账户中添加一定金额的资金。
/moneyadmin rm <amount>
从某玩家的账户中移除一定金额的资金。
/gringotts reload
重新加载 Gringotts 的 config.yml 并应用所有更改的设置。
需要帮助?
- 首先,查看 Wiki。
- 如需支持请求、功能请求和错误报告,请提交一个 工单(ticket)。
- 访问 Gitter 频道 与我(jastice)交流,我也会过来看看。
- 当你的问题得到解决后,请更新 Wiki 上的故障排除页面!
此外,请在 Twitter 上关注我:@ebenwert
源代码与持续集成
Gringotts 是开源项目。在 Github 上 查看、分叉和编辑代码。
CI 状态:
当前的 开发构建版本
自动发布的 正式构建版本
CI 构建版本未经 BukkitDev 工作人员审核。安装风险自负,就像对待互联网上的任何其他东西一样。
Gringotts: Item based currency.
Gringotts is an item-based economy (currency) plugin for the Bukkit Minecraft server platform. Unlike earlier economy plugins, all currency value and money transactions are based on actual items in Minecraft, per default emeralds. The goals are to add a greater level of immersion, a generally more Minecraft-like feeling, and in the case of a PvP environment, making the currency itself vulnerable to raiding.
Gringotts was originally created for the Minecraft Wars PvP/survival server.
Features
- Item-backed economy (configurable, default emeralds)
- multiple denominations with automatic conversion (for example, use emeralds and emerald blocks)
- Storage of currency in chests and other containers, player inventory and ender chests (configurable)
- direct account-to-account transfers commands
- optional transaction taxes
- fractional currency values (fixed decimal digits)
- Account support for Factions, Towny and WorldGuard
- Vault integration
Latest changes
To get notified of new versions, please subscribe to file updates.
v2.9
- DEPENDS ON JAVA 8. If your server is not on Java 8 yet, you should upgrade, or ask your service provider to upgrade. Java 7 isn't supported anymore by Oracle.
- Should now work both in regular as well as async context. This means there should be no more "Asynchronous entity world add" errors anymore, and Gringotts is now compatible with Towny in async mode, as well as other plugins that call economy methods asynchronously.
- The maximum virtual money allowed for an account is now equal to the lowest denomination, instead of the highest. I changed this because that behavior was causing lots of confusion.
- fixed other minor bugs
v2.8
- built for Minecraft 1.9 and Factions 2.8. May not be compatible with older Factions versions!
- unsupported versions of Factions should be handled more gracefully now.
- updated to current version of Metrics-Lite. Fixes annoying error messages.
v2.7
- Named denominations: Each denomination can now have its own name, which will be shown in /balance messages and the like. To activate this feature, use the
named-denominationsconfig setting. By default this will use the denomination's displayname or regular item name, but you can define a custom name as well. See configuration instructions for details. - Balance messages can now be configured to show only regular balance or also vault/inventory balances.
- Now also supports
&prefix to color codes in messages and item displayname/lore in addition to the default§prefix. - can now also used Vault-supported item names in denomination config, not only regular Bukkit names. This can make the config a bit more intuitive. (requires Vault)
- lore config for denomination items now also allows a simple string instead of a string list.
- configuration should now always be loaded as UTF8.
- fixed an issue with
/moneycommands failing on some servers.
v2.6
- adds display name and lore support for currency items. See configuration instructions on how to configure this. Note you will need a third-party plugin to rename items not created by Gringotts. Thanks to dj5566 for contributing this feature!
startingbalanceconfig option works again
Planned Features
See: Gringotts open enhancement issues on GitHub. You're welcome to vote on enhancements important to you, but I might not have the time to implement them.
Instructions
Wiki
Check out the Gringotts Wiki for more hints and a troubleshooting guide.
Installation and Configuration
Download Gringotts and place it in your craftbukkit/plugins folder.
Please see the Configuration and Permissions document on how to configure Gringotts.
Usage
For full information on configuration and usage in Gringotts v2.x, please see the configuration page and the usage page respectively.
Storing money in an account requires a Gringotts vault. A vault consists of a container, which can be either chest, dispenser or furnace, and a sign above declaring it as a vault. A player or faction may claim any number of vaults. Vaults are not protected from access through other players. If you would like them to be, you may use additional plugins such as LWC or WorldGuard.
Player vaults
Place a sign above a container block, with [vault] written on the first line. If it was created correctly, the sign will display your name on the third line and you will receive a message that the vault has been created.
Faction vaults
Place a sign above a container block, with [faction vault] written on the first line. If it was created correctly, the sign will display your faction's tag on the third line and you will receive a message that the vault has been created.
Towny vaults
- To make a vault for your town: place a sign above a container block, with
[town vault]written on the first line. - To make a vault for your nation: place a sign above a container block, with
[nation vault]written on the first line. If it was created correctly, the sign will display your town's or nation's tag on the third line and you will receive a message that the vault has been created.
User commands
/money
Display your account's current balance.
/money pay <amount> <player>
Pay an amount to a player. The transaction will only succeed if your account has at least the given amount plus any taxes that apply, and the receiving account has enough capacity for the amount.
/money withdraw <amount>
/money deposit <amount>
Withdraw an amount from vault storage into inventory, or deposit from inventory to a vault.
Admin commands
/moneyadmin b <account>
Get the balance of a player's account.
/moneyadmin add <amount> <account>
Add an amount of money to a player's account.
/moneyadmin rm <amount>
Remove an amount of money from a player's account.
/gringotts reload
Reload Gringotts config.yml and apply any changed settings.
Need Help?
- First, check the Wiki.
- For support requests, feature requests and bug reports, please open a ticket.
- Drop by the Gitter channel and talk to me (jastice), and I will drop by.
- When your issue is resolved, update the wiki troubleshooting page!
Also, follow me on twitter: @ebenwert
Source and Continuous Integration
Gringotts is open source. View, fork and edit on Github
CI Status:
Current Development builds
Automatic Release builds
CI Builds have not been review by BukkitDev staff. Install at your own risk, just like anything else from the internet.
下载 Gringotts
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Gringotts
下载 Gringotts
下载 Gringotts
下载 Gringotts
下载 Gringotts
下载 Gringotts
下载 Gringotts
下载 Gringotts
下载 Gringotts
这是一个预发布版本,仅用于测试目的。
更新日志
- 修复与 Towny 经济的兼容性问题
- 修复 /money pay 命令的问题
- 新增对 Reserve 插件的支持
- 可配置的 Vault 告示牌标签名称
- 新增对 Tab 补全命令系统的支持
在此查看所有更改:
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
用于绘制游戏内地图或在浏览器中随探索实时进行地图绘制的实时地图。
插件
一个高度兼容、功能完善且稳定的 TPA 模组
插件
在 Minecraft 中加入“最后一击”、“第二次机会”和“最后喘息”机制!从高处坠落时,你将拥有 0.5 HP 而不是直接死亡;当生命值较低时,增强你的能力。
插件
更快速的直线轨道矿车、链式连接列车、熔炉机车,以及原版红石信号!
插件
城镇现在可以要求建造具有特定功能的建筑
插件
一个功能丰富、完全动画化的箱子插件,适用于 Paper 1.21.x,支持 IA、Vault、PlaceholderAPI 和 Citizens
评论 0
登录后参与评分
还没有评论,来抢沙发吧