Grand Economy - 经济 API
此模组可用作支持其他经济类模组/插件的方式,将所有功能集中在一个地方。这意味着你可以使用任何采用 Grand Economy 的其他经济系统的货币,与使用 Grand Economy 的任何模组配合,而无需必须使用 Grand Economy 自带的货币。为此,你需要将 economyBridge 配置选项设置为你希望使用的经济系统名称。
Forge: 需要 Annotated DI 和 Fireplace Lib Fabric: 需要 Fireplace Lib
支持的经济系统:
带星号 (*) 标记的经济系统 不能 使用来自其他模组/插件的货币,但可以将 Grand Economy 设置为使用它们的货币。
1.18.X:
- Diamond Economy* (实验性功能,可能存在一些问题)
1.17.X:
- Diamond Economy* (实验性功能,可能存在一些问题)
1.16.X:
- 基于 Gunpowder 的经济系统
其工作原理的可视化示意图如下:
Grand Economy - 独立经济系统
Grand Economy 拥有自己的基础经济系统,供那些不希望使用其他经济模组的玩家使用。它功能相对简单,但提供了用于与玩家货币交互的命令,并允许服务器管理员设置初始余额。
Grand Economy - 其他功能
Grand Economy 还添加了一个基本的收入系统,可用于每天向用户发放货币,并且可以累积到设定的天数,以便在下次登录时使用。
默认情况下,只要用户每 5 天内至少登录一次,他们每天(按现实时间计算)可获得 50 gp。这些数值均可自定义。 当一名玩家击杀另一名玩家时,也可以在玩家之间转移货币——可以是固定金额、被击杀玩家余额的一定百分比,或两者兼有。
命令
/balance
查看你的账户余额
/pay <player> <amount>
从你的账户向其他玩家付款
/wallet balance <player>
管理员命令,用于查看玩家的账户余额
/wallet give <player> <amount>
别名:/wallet add <player> <amount>
管理员命令,用于向玩家账户添加货币
/wallet take <player> <amount>
管理员命令,用于从玩家账户扣除货币
/wallet set <player> <amount>
管理员命令,用于设置玩家的账户余额
常见问题解答
Q:它是如何与其他经济系统配合工作的?
A:工作原理是,你在 Grand Economy 中设置 economyBridge 配置选项。设置后,Grand Economy 自带的货币将不再使用。所有依赖 Grand Economy 的系统现在都将使用该设置指向的经济系统的货币。
Q:我可以进行类似管理员商店和玩家商店的交易功能吗?
A:请参阅 Grand Exchange。(待更新后添加链接)
联系方式
如需报告问题或请求新功能,请使用 Issue Tracker。请勿要求我将其移植到其他 Minecraft 版本。如有疑问或其他讨论,欢迎加入我的 Discord。
Grand Economy - The Economy API
This mod can be used as a way to support other economy mods/plugins, all in one place. This means you can use any of these other economies' currencies with any mod that uses Grand Economy, instead of having to use Grand Economy's currency. To do so, you set the "economyBridge" config option to the economy whose currency you wish to use.
Forge: Requires Annotated DI and Fireplace Lib Fabric: Requires Fireplace Lib
Supported Economies:
Economies marked with an asterisk (*) CANNOT use currency from another mod/plugin, but Grand Economy can be set to use their currency.
1.18.X:
- Diamond Economy* (experimental, may have issues)
1.17.X:
- Diamond Economy* (experimental, may have issues)
1.16.X:
- Gunpowder-based economies
A visual representation of how this works:
Grand Economy - The Standalone Economy
Grand Economy has a basic economy of its own for users that don't wish to use another economy mod. It doesn't do much, but it has commands to interact with players' currency, and allows server owners to set an initial balance.
Grand Economy - Other Features
Grand Economy also adds a basic income system that can be used to give users currency each day, which can also save up to a set number of days' worth for when they next log in.
By default the user gets 50 gp for each (real time) day, as long as they login at least once every 5 days. These amounts are configurable. currency can also be transferred between players when one kills another - this can be a flat amount, a percentage of the killed player's balance, or both.
Commands
/balance
Check your account balance
/pay <player> <amount>
Pay another player money from your account
/wallet balance <player>
Admin command to check a player's account balance
/wallet give <player> <amount>
Alias: /wallet add <player> <amount>
Admin command to add currency to a player's account
/wallet take <player> <amount>
Admin command to take currency from a player's account
/wallet set <player> <amount>
Admin command to set a player's account balance
FAQ
Q: How does this work with other economies?
A: How it works is, you set the "economyBridge" config option in Grand Economy. Grand Economy's currency is no longer used. Everything that uses Grand Economy is now using the currency from whatever that setting points to.
Q: Can I do trading functions like admin and player shops?
A: See Grand Exchange. (TODO: Add link once updated)
Contact
To report issues or request new features, use the issue tracker. Do not ask me to port to different Minecraft versions. For questions and other discussion, feel free to join my Discord.
下载 Grand Economy
下载 Grand Economy
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Grand Economy
下载 Grand Economy
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Grand Economy
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Grand Economy
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Grand Economy
下载 Grand Economy
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Grand Economy
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Grand Economy
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
[1.19] 暂时从命令中移除对离线玩家的支持,这部分功能需要稍后重新设计。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧