描述
一个简单且服务端可配置的经济系统模组,包含怪物击杀奖励、交易和赏金功能,专为无法使用插件的公共/私有 Forge 服务器设计。本项目正是出于这一原因而开发:在 (Forge 0.1-1.20.1) 和 (NeoForge 0.3-1.21.1) 版本中,缺乏高质量的独立经济类模组,且这些版本通常不具备此类组件。
我有一个蒸汽朋克/柴油朋克背景的故事模式多人游戏服务器!
你可以通过以下 Discord 链接申请加入:Discord
指令
货币组件:
模组的核心组件,允许玩家查看自己的货币余额、查看其他玩家的货币余额以及向其他玩家发送货币——拥有 OP(管理员)权限的玩家还可以设置或移除玩家的货币余额。
普通成员指令(等级 0):
- /currency - 显示执行该指令玩家的货币余额。
- /currency <target> - 显示目标玩家的货币余额。
- /currency send <target> <amount> - 向指定玩家发送货币。

OP 指令(等级 4):
- /currency remove <target> <amount> - 从指定玩家处移除一定数量的货币。
- /currency set <target> <amount> - 将指定玩家的货币余额设置为特定数量。
交易组件:
模组的次要组件,允许玩家手持物品与其他玩家发起交易。接受、拒绝和取消交易均在聊天窗口中进行,这样玩家无需输入简短指令即可取消交易。
普通成员指令(等级 0):
- /trade <amount> <target> <price> - 手持物品与指定玩家发起交易。

怪物奖励组件:
模组的次要组件,允许玩家在击杀怪物后获得奖励——OP 可以为特定怪物设置奖励金额,当玩家击杀该类型的怪物时,将获得设定的奖励金额。
OP 指令(等级 4):
- /mobrewards set <mob> <amount> - 为特定怪物设置奖励金额。
- /mobrewards remove <mob> - 移除特定怪物的奖励。
赏金组件:
模组的次要组件,允许玩家为其他玩家设置或增加赏金。当被赏金的玩家被其他玩家击杀时,击杀者将获得赏金奖励,且该赏金随即消失。OP 拥有移除玩家赏金的权限。
普通成员指令(等级 0):
- /bounty add <target> <price> - 为指定玩家设置或增加赏金。
OP 指令(等级 4):
- /bounty remove <target> - 移除指定玩家的赏金。
商店组件:
模组的次要组件,允许管理员创建商店——玩家右键点击村民即可购买物品!
- /shops create <entityName> <sellingItem> <amountPerTrade> <pricePerTrade> - 创建一个村民实体用于向玩家出售物品。
- /shops remove - 移除你当前注视的商店。

配置
本模组的配置文件位于服务器的配置文件夹中,文件名为 "mogruleconomy-common.toml"。你可以在其中设置指令名称、货币名称、符号等,也可以禁用模组的次要组件。
[Currency]
#Command to use when using the currency component in-game.
currencyCommandName = "currency"
#Name to use for singular currency. Example: (Pound)
currencyNameSingular = "Pound"
#Name to use for plural currency. Example: (Pounds)
currencyNamePlural = "Pounds"
#Symbol to use for the currency.
currencySymbol = "£"
#Default starting currency for new players
# Default: 100
# Range: > 0
startingCurrency = 100
[MobRewards]
#Whether the mob rewards component should be anabled.
mobRewardsEnabled = true
#Command to use when using the mob reward component in-game.
mobRewardsCommandName = "mobreward"
[Trade]
#Whether the trade component should be enabled.
tradeEnabled = true
#Command to use when using the trade component in-game.
tradeCommandName = "trade"
[Shops]
#Whether the shop component should be enabled.
shopsEnabled = true
#Command to use when using the shops component in-game.
shopsCommandName = "shops"
数据处理
数据处理已迁移至 .json 文件,消除了依赖关系,并让你能更轻松地编辑它们!
Description
A simple server-side configurable economy system with mob rewarding, trading and bounty components for those running public/private Forge servers without plugin capability. This project was made for that reason, a lack of standalone quality economy mods for (forge 0.1-1.20.1) (NeoForge 0.3-1.21.1), where components aren't present.
I have an SteamPunk / DieselPunk Lore SMP!
You can apply to join at: Discord
Commands
Currency component:
The main component of the mod, allowing a player to see their currency, see player's currency and send currency to another player - OP player being able to set currency and remove currency from a player.
Member commands (Level 0):
- /currency - Shows the commanding player's currency.
- /currency <target> - Shows the targetting player's currency.
- /currency send <target> <amouunt> - Send currency to a player.

OP commands (Level 4):
- /currency remove <target> <amount> - Removes a player's currency by an amount.
- /currency set <target> <amount> - Sets a player's currency by an amount.
Trade component:
A secondary component of the mod, allowing a player to initialise a trade with another player from an item held in their hand, accepting, denying and cancelling trades is handle in-chat so player's don't have to type out a small command just to cancel a trade.
Member commands (Level 0):
- /trade <amount> <target> <price> - Initialise a trade with a player from a item held in hand.

Mob rewards component:
A secondary component of the mod, allowing player's to receive a reward for killing a mob - OP's can set a reward for a mob and when a player kills that mob type the player is rewarded by a set amount.
OP commands (Level 4):
- /mobrewards set <mob> <amount> - Sets a reward for a mob.
- /mobrewards remove <mob> - Removes a reward for a mob.
Bounty component:
A secondary component of the mod, allowing a player to set or add onto a bounty of a player, when the player is killed by another player, the killing player gets the reward of the bounty and the bounty is removed. OP's having the ability to remove a bounty from a player.
Member commands (Level 0):
- /bounty add <target> <price> - Sets/adds a bounty to a player.
OP commands (Level 4):
- /bounty remove <target> - Removes a player's bounty.
Shop component:
A secondary component of the mod, allowing an admin to create shops - a player right clicks the villager and they buy an item!
- /shops create <entityName> <sellingItem> <amountPerTrade> <pricePerTrade> - Creates a villager entity to sell items to players.
- /shops remove - Removes a shop that you're looking at.

Configuration
The configuration file of this mod can be found in your server's configuration folder, named "mogruleconomy-common.toml" - here you can set the command names, currency name, symbols ect as well as disabling secondary components of the mod.
[Currency]
#Command to use when using the currency component in-game.
currencyCommandName = "currency"
#Name to use for singular currency. Example: (Pound)
currencyNameSingular = "Pound"
#Name to use for plural currency. Example: (Pounds)
currencyNamePlural = "Pounds"
#Symbol to use for the currency.
currencySymbol = "£"
#Default starting currency for new players
# Default: 100
# Range: > 0
startingCurrency = 100
[MobRewards]
#Whether the mob rewards component should be anabled.
mobRewardsEnabled = true
#Command to use when using the mob reward component in-game.
mobRewardsCommandName = "mobreward"
[Trade]
#Whether the trade component should be enabled.
tradeEnabled = true
#Command to use when using the trade component in-game.
tradeCommandName = "trade"
[Shops]
#Whether the shop component should be enabled.
shopsEnabled = true
#Command to use when using the shops component in-game.
shopsCommandName = "shops"
Data Handling
The data handling has been moved over to .json files, getting rid of dependencies and making it so much easier for you to edit them!
下载 Mogrul Economy
下载 Mogrul Economy
下载 Mogrul Economy
下载 Mogrul Economy
下载 Mogrul Economy
下载 Mogrul Economy
下载 Mogrul Economy
下载 Mogrul Economy
下载 Mogrul Economy
下载 Mogrul Economy
修复:
- 移除悬赏 OP 命令未设置权限级别,导致所有人都可以使用的问题。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
更聪明地交易,随处存储,并用奇妙的原版增强机制打造更好的体验。
模组
沼泽村落与音乐蛙群!
模组
一个完整经济模组:玩家余额、动态定价商店、玩家市场、买入订单、货币物品以及网页仪表盘。
模组
一款包含传送点、家、套装、经济系统(/pay、/balance)、聊天格式化和 Moderation 功能(/mute、/ban、/kick)的服务器实用模组——无需任何插件。
模组
轻松为你的服务器或模组客户端添加必备功能。只选择你需要的!注重性能优化。
模组
增强并创建新的村庄和掠夺者前哨站,完美融入你的 Minecraft 世界。
评论 0
登录后参与评分
还没有评论,来抢沙发吧