EconomyMachina
你的玩家已经在干活了。为他们支付报酬吧。
EconomyMachina 将日常游戏转化为一个生动的经济系统。挖掘钻石、钓鱼、驯服马匹、在苦力怕面前幸存——每个动作都有机会获得奖励。无需学习指令,无需完成任务。只需游玩即可。
功能说明
玩家在探索、建造、战斗和制作时会自动赚取金币。清晰的动作栏通知会告知玩家何时获得报酬——没有聊天刷屏,也没有弹窗干扰。它感觉像是游戏自然的一部分,因为它确实就是如此。
死亡会扣除金币。玩家击杀设有每位受害者的冷却时间。通过随机化的奖励窗口来阻止刷怪塔滥用。所有内容均可调整——或者直接使用默认设置并继续。
特性
- 针对挖掘、钓鱼、制作、附魔、驯服、战斗、农业等行为的金币奖励
- 30+ 种独立触发器——每种都有其自身的几率和可选冷却时间
- 奖励显示在动作栏中——微妙、非侵入性,并带有声音反馈
- 死亡惩罚以增加紧张感
- 对可循环操作(如刷怪塔、载具、重连)实施反滥用冷却
- 捐赠者 & 排名加成——为 VIP 提供更高的几率或更大的 payouts,无需配置
- 里程碑奖励——达到统计阈值时的单次奖励(击杀 100 只生物、钓到 50 条鱼等)
- 每日登录连击——为持续回归的玩家提供递增奖励
- 终身统计——追踪每位玩家赚取的总金币数和损失的总金币数,数据持久化至磁盘
- 最高收入排行榜——异步刷新,每 5 分钟缓存前 10 名
- PlaceholderAPI 支持——在计分板、标签页列表、全息图等方面展示统计数据
- 防拼写错误配置——加载时检查每种材质和实体名称是否与你服务器上的相符。拼写错误会在控制台产生清晰警告,而不是无声地导致不发放奖励;且
PIG_ZOMBIE 等旧名称会自动修正
- 热重载——修改配置后运行
/em reload,无需重启服务器
- 一个 jar 包,适用于自 1.20 以来的所有服务器版本——直至最新的 26.2 (Chaos Cubed) 发布版
- 兼容任何 Vault 经济插件——EssentialsX、CMI 等
安装步骤
- 安装 Vault 和经济插件(推荐 EssentialsX)
- 将
EconomyMachina.jar 放入你的 plugins/ 文件夹
- 重启服务器
- 根据需要调整
config.yml
- 运行
/em reload 以实时应用更改
可选: 安装 PlaceholderAPI 以便在任何地方使用 %economymachina_*% 占位符。在 Minecraft 26.x 服务器上,需要 PlaceholderAPI 2.12.3 或更高版本(旧版本无法解析新的服务器版本号格式)。
配置
每个动作都有一个 chance(0–100%)和一个可选的 cooldown。低几率意味着奖励感觉像是一次幸运掉落。高几率意味着动作本身成为限制因素。由你掌控节奏。
actions:
blocksMined:
DIAMOND_ORE:
chance: 70.0
reward: 1
combat:
killMonster:
reward: 1
cooldown:
min: 3
max: 8
misc:
fish:
chance: 15.0
reward: 1
milestones:
enabled: true
MOB_KILLS:
50: 5
100: 10
500: 50
streak:
enabled: true
rewards:
3: 5
7: 15
14: 30
30: 75
完整配置文件包含每个部分的注释——无需猜测。如果仍有问题,你会知道原因:每种材质、实体、统计数据和音效名称都会在配置加载时进行验证,并在控制台警告中指明具体的错误项。
PlaceholderAPI 占位符
| 占位符 |
返回值 |
%economymachina_balance% |
玩家当前的金币余额 |
%economymachina_lifetime_earned% |
历史累计获得的总金币数 |
%economymachina_lifetime_lost% |
历史累计损失的总金币数 |
%economymachina_streak% |
当前每日登录连击数 |
%economymachina_rank% |
排行榜排名(1–10,或为空) |
%economymachina_top_N_name% |
第 N 名玩家的名称(N = 1–10) |
%economymachina_top_N_amount% |
第 N 名玩家获得的金币数 |
捐赠者与排名加成
在不触碰配置文件的情况下,为捐赠者提供更好的体验。只需在 LuckPerms(或任何权限插件)中分配一个权限节点,EconomyMachina 就会处理其余部分。
几率加成 —— 增加每次行动获得奖励的概率:
economymachina.bonus.chance.10 → +10% 几率 (Donor)
economymachina.bonus.chance.25 → +25% 几率 (Donor+)
economymachina.bonus.chance.50 → +50% 几率 (VIP)
奖励倍数 —— 当触发奖励时,增加获得的金币数量:
economymachina.bonus.multiplier.25 → 1.25x 金币 (Donor)
economymachina.bonus.multiplier.50 → 1.5x 金币 (Donor+)
economymachina.bonus.multiplier.100 → 2x 金币 (VIP)
自由组合。如果玩家拥有多个节点(例如来自重叠的排名组),则始终采用最高值——防止叠加滥用。
命令
| 命令 |
功能 |
/em reload |
实时重载配置 |
/em give <player> <amount> |
给予玩家金币 |
/em take <player> <amount> |
从玩家处移除金币 |
/em balance [player] |
查看玩家余额 |
权限
| 节点 |
默认值 |
描述 |
economymachina.balance |
everyone |
查看自己的余额 |
economymachina.balance.others |
op |
查看任意玩家的余额 |
economymachina.give |
op |
给予玩家金币 |
economymachina.take |
op |
从玩家处移除金币 |
economymachina.reload |
op |
热重载配置 |
economymachina.exempt |
false |
永不赚取或损失金币 |
economymachina.exempt.earn |
false |
永不赚取金币 |
economymachina.exempt.penalty |
false |
死亡时永不损失金币 |
economymachina.bonus.chance.<n> |
false |
所有奖励的几率 +n% |
economymachina.bonus.multiplier.<n> |
false |
所有奖励的金币 ×(1+n/100) |
economymachina.* |
false |
所有权限 |
依赖
- Spigot / Paper / Purpur 1.20 – 26.2
- Java 17+(26.x 服务器已运行 Java 25,完全兼容)
- Vault + 任意经济插件
- 在 Minecraft 26.x 服务器上使用占位符时:PlaceholderAPI 2.12.3+
已在最新构建版本上验证。 1.2.1 针对 Spigot 26.2、Paper 26.2 build 121 以及 Purpur 26.2 build 2627 进行了测试——包括 Paper 和 Purpur 现在报告的带构建标识的版本字符串(26.2.build.2627-stable),版本检测能正确读取该字符串,且测试套件已将其固定。
关于经济插件。 EconomyMachina 仅调用标准的 Vault Economy 接口,因此它也应能在 VaultUnlocked 下运行,后者是维护中的 Vault 兼容后继者,保留了该接口。这属于 API 层面的预期,而非经过测试的环境——发布版本均基于 Vault 本身进行测试。
兼容的 Minecraft 版本:
1.20 1.20.1 1.20.2 1.20.3 1.20.4 1.20.5 1.20.6
1.21 1.21.1 1.21.2 1.21.3 1.21.4 1.21.5 1.21.6 1.21.7 1.21.8 1.21.9 1.21.10 1.21.11
26.1 26.1.1 26.1.2 26.2
采用 MIT 许可证。每个发布版本在上线前均通过 CI 中的 59 项测试套件。
EconomyMachina
Your players are already doing the work. Pay them for it.
EconomyMachina turns everyday gameplay into a living economy. Mine a diamond, catch a fish, tame a horse, survive a creeper — every action has a chance to pay out. No commands to learn, no tasks to complete. Just play.
What It Does
Players earn coins automatically as they explore, build, fight, and craft. A clean action bar notification lets them know when they get paid — no chat spam, no popups. It feels like a natural part of the game, because it is.
Deaths cost coins. Player kills have a cooldown per victim. Mob farm abuse is blocked with randomized reward windows. Everything is tunable — or just use the defaults and go.
Features
- Coins for mining, fishing, crafting, enchanting, taming, combat, farming and more
- 30+ individual triggers — each with its own chance and optional cooldown
- Rewards shown in the action bar — subtle, non-intrusive, with sound feedback
- Death penalty to add stakes
- Anti-abuse cooldowns on loopable actions (mob farms, vehicles, reconnects)
- Donor & rank bonuses — give VIPs a higher chance or bigger payouts, no config needed
- Milestone rewards — one-time bonuses for stat thresholds (kill 100 mobs, catch 50 fish, etc.)
- Daily login streak — escalating rewards for players who keep coming back
- Lifetime stats — track total coins earned and lost per player, persisted to disk
- Top earners leaderboard — async-refreshed top-10 cached every 5 minutes
- PlaceholderAPI support — surface stats in scoreboards, tab lists, holograms, and more
- Typo-proof config — every material and entity name is checked against your server at load. A typo gets a clear console warning instead of silently never paying out, and legacy names like
PIG_ZOMBIE auto-correct
- Hot reload — change the config and
/em reload, no restart needed
- One jar, every server since 1.20 — through the latest 26.2 (Chaos Cubed) drop
- Works with any Vault economy — EssentialsX, CMI, and more
Setup
- Install Vault and an economy plugin (EssentialsX recommended)
- Drop
EconomyMachina.jar into your plugins/ folder
- Restart your server
- Tweak
config.yml to your liking
- Run
/em reload to apply changes live
Optional: Install PlaceholderAPI to use %economymachina_*% placeholders anywhere. On Minecraft 26.x servers, PlaceholderAPI 2.12.3 or newer is required (older releases fail to parse the new server version format).
Configuration
Every action has a chance (0–100%) and an optional cooldown. Low chance means rewards feel like a lucky drop. High chance means the action itself is the limiter. You control the pace.
actions:
blocksMined:
DIAMOND_ORE:
chance: 70.0
reward: 1
combat:
killMonster:
reward: 1
cooldown:
min: 3
max: 8
misc:
fish:
chance: 15.0
reward: 1
milestones:
enabled: true
MOB_KILLS:
50: 5
100: 10
500: 50
streak:
enabled: true
rewards:
3: 5
7: 15
14: 30
30: 75
The full config ships with comments on every section — no guessing. And if something is off anyway, you'll know: every material, entity, statistic, and sound name is validated when the config loads, with a console warning naming the exact bad entry.
PlaceholderAPI Placeholders
| Placeholder |
Returns |
%economymachina_balance% |
Player's current coin balance |
%economymachina_lifetime_earned% |
Total coins earned all-time |
%economymachina_lifetime_lost% |
Total coins lost all-time |
%economymachina_streak% |
Current daily login streak |
%economymachina_rank% |
Leaderboard rank (1–10, or empty) |
%economymachina_top_N_name% |
Name of rank N player (N = 1–10) |
%economymachina_top_N_amount% |
Coins earned by rank N player |
Donor & Rank Bonuses
Give donators a better experience without touching the config. Just assign a permission node in LuckPerms (or any permissions plugin) and EconomyMachina handles the rest.
Chance bonus — increases the probability of earning on every action:
economymachina.bonus.chance.10 → +10% chance (Donor)
economymachina.bonus.chance.25 → +25% chance (Donor+)
economymachina.bonus.chance.50 → +50% chance (VIP)
Reward multiplier — increases how many coins are earned when a reward fires:
economymachina.bonus.multiplier.25 → 1.25x coins (Donor)
economymachina.bonus.multiplier.50 → 1.5x coins (Donor+)
economymachina.bonus.multiplier.100 → 2x coins (VIP)
Mix and match freely. If a player has multiple nodes (e.g. from overlapping rank groups), the highest value always wins — no stacking abuse.
Commands
| Command |
What it does |
/em reload |
Reload config live |
/em give <player> <amount> |
Give coins to a player |
/em take <player> <amount> |
Remove coins from a player |
/em balance [player] |
Check a player's balance |
Permissions
| Node |
Default |
Description |
economymachina.balance |
everyone |
Check your own balance |
economymachina.balance.others |
op |
Check any player's balance |
economymachina.give |
op |
Give coins to a player |
economymachina.take |
op |
Remove coins from a player |
economymachina.reload |
op |
Hot-reload the config |
economymachina.exempt |
false |
Never earns or loses coins |
economymachina.exempt.earn |
false |
Never earns coins |
economymachina.exempt.penalty |
false |
Never loses coins on death |
economymachina.bonus.chance.<n> |
false |
+n% chance on all rewards |
economymachina.bonus.multiplier.<n> |
false |
×(1+n/100) coins on all rewards |
economymachina.* |
false |
Everything |
Requirements
- Spigot / Paper / Purpur 1.20 – 26.2
- Java 17+ (26.x servers already run Java 25, which is fully compatible)
- Vault + any economy provider
- On Minecraft 26.x servers using placeholders: PlaceholderAPI 2.12.3+
Verified on the latest builds. 1.2.1 is checked against Spigot 26.2, Paper 26.2 build 121, and Purpur 26.2 build 2627 — including the build-qualified version string Paper and Purpur now report (26.2.build.2627-stable), which the version detection reads correctly and the test suite pins in place.
On economy plugins. EconomyMachina only calls the standard Vault Economy interface, so it should also run under VaultUnlocked, the maintained Vault-compatible successor that keeps that interface. That is an API-level expectation rather than a tested setup — releases are tested against Vault itself.
Compatible Minecraft versions:
1.20 1.20.1 1.20.2 1.20.3 1.20.4 1.20.5 1.20.6
1.21 1.21.1 1.21.2 1.21.3 1.21.4 1.21.5 1.21.6 1.21.7 1.21.8 1.21.9 1.21.10 1.21.11
26.1 26.1.1 26.1.2 26.2
MIT-licensed. Every release passes a 59-test suite in CI before it ships.
评论 0
登录后参与评分
还没有评论,来抢沙发吧