TUBRIKS & BILLS

Tubriks & Bills 是一款面向服务器的 物理经济、世界进程与 PvP 装备框架,适用于 Minecraft Forge 1.16.5。
不同于虚拟数据库中的余额,所有货币均以实物物品形式存在。该模组开箱即用,提供了一个自包含的闭环经济系统:通过资源回购控制货币发行量、管理员管理的证券、用于扩展世界边界和解锁下界的服务器众筹机制,以及 9 套自定义盔甲。
技术与服务器兼容性
- 服务器端和客户端均需安装。
- 自动配置同步: 玩家无需手动配置文件;
tubricks_and_bills-common.toml 的值会在玩家登录及执行 /economy reload 时自动同步到客户端。
- 混合核心兼容 (Mohist / Arclight 1.16.5): 尊重
WorldGuard / Towny / GriefPrevention 的方块破坏取消机制、pvp: deny(禁止 PvP)区域,并避免在反作弊系统(Grim、Vulcan、Matrix)上产生误报。
闭环经济架构
- 发行(资源收购商): 玩家出售未受损的挖矿或 farming 物品以换取 Tubriks,受可配置的单人每日上限和全局服务器每日上限限制。
- 投资与流动性(银行家): 玩家以管理员控制的价格买卖 4 种证券,卖出价差为
1 TB,并设有可配置的每日现金支付上限(dailyOutLimit)。
- 货币销毁与进程推进(世界调节器): 玩家将 Tubriks 投入两个全局服务器资金池,以 扩展世界边界 和 解锁下界访问权限。
- 终局装备与维修消耗(黑市与修理员): 证券可兑换为 9 套自定义的一级和二级盔甲套装。自定义盔甲在破碎或死亡时不会消失——而是进入 破损(Broken) 状态,需要花费 Tubriks 进行修复。

核心机制
1. 实体货币
- 5 种面额:
1、5、10、50 和 100 Tubriks(堆叠数量:64,免疫火焰和岩浆伤害)。
- 合成: 没有基础资源配方。不同面额之间的转换配方可在
2x2 背包网格和 3x3 合成台中使用(1x5 <-> 5x1,2x5 <-> 1x10,1x50 <-> 5x10,2x50 <-> 1x100,5x1 -> 1x5,5x10 -> 1x50)。
2. 证券(债券)与个人存款
- 4 种可交易债券:
construction(建筑债券)、trading(贸易票据)、military(军事债券)和 treasury(国库券)。免疫火焰和岩浆伤害,堆叠数量 64。
- 定价与价差: 管理员通过
/economy set <type> <price> 设置整数价格。
- 价格
0 = 禁用交易。
- 价格
1 = 仅买入(卖出收益为 1 - 1 = 0)。
- 卖出价格为
P > 1 的债券可获得 P - 1 Tubriks;1 TB 的价差会记录在 CommissionPot(佣金池)中。
- 个人存款 (
tubricks_and_bills:personal_deposit): 不可堆叠、防火的储蓄物品,拾取时会标记主世界的 creationTime NBT 数据,并随服务器在线时长增值(S = depositInitialPrice,默认值 100.0):
- 第 0–7 天:
+7.14%/天(第 7 天最高达 +50%)
- 第 7–14 天:
+3.57%/天(第 14 天最高达 +75%)
- 第 14–21 天:
+2.14%/天(第 21 天最高达 +90%)
- 第 21 天后:
+0.28%/天(约 +1.96%/周)

3. 5 个服务器 NPC
所有 5 个 NPC 均具有 NoAI(无 AI)属性,并对所有类型的伤害和击退效果拥有 100% 免疫能力。
- 银行家 (
banker): 债券交换终端。全局价格和 In/Out 交易量统计存储在 world/data/tubricks_and_bills_worldvars.dat 中,并在所有维度间同步。
- 资源收购商 (
market): 54 格商店界面(左键点击 = 卖出 1 个,右键点击 = 最多卖出 64 个)。仅接受未受损物品(!isDamaged()),忽略 NBT 数据和附魔。
- 黑市商人 (
seller): 54 格商店,出售配置好的物品(默认:全部 36 件自定义盔甲部件,每件售价 10 张国库券,每玩家限购 1 件 / 全服限购 2 件)。
- 世界调节器 (
expander): 全服众筹中心,包含两个独立的资金池:
- 世界边界: 初始大小为
500x500(expanderStartSize),每升一级扩展 +400 格(expanderSizeStep),基础成本为 1,500 TB(expanderOwBaseCost),并具有 1.11x 的几何缩放系数(expanderOwCoeff)。可在配置文件中完全自定义。
- 下界锁: 阻止传送门激活,在区块加载时移除
minecraft:nether_portal 方块,并在服务器资金池积累达到 25,000 TB(默认值,可在配置文件中自定义)之前,阻止非 OP 玩家的维度旅行。
- 装备修理员 (
repairer): 为受损或破损的模组盔甲提供 Tubriks 维修服务(支持完整修复和部分耐久度修复)。完整修复一级盔甲严格花费 240 TB,二级盔甲严格花费 960 TB —— 这些固定价格作为平衡你服务器经济的基准锚点。
自定义盔甲系统(9 套 / 36 件物品)

全局盔甲规则
- 基础防护:
3 / 8 / 6 / 3(所有套装共计 20 点护甲值,相当于钻石)
- 不可破坏(“破损”状态): 当耐久度剩余
maxDamage - 1(即剩余 1 点耐久)时,装备部件不会消失,而是切换为 Broken(破损)状态(护甲值为 0、韧性为 0、击退抗性为 0,套装奖励失效)。
- 死亡保留: 玩家死亡时(无论是否开启
keepInventory),已装备或携带的模组护甲永远不会掉落至地面;重生后,这些护甲会返回玩家的背包中,并处于 Broken(破损)状态。
- 无法使用铁砧 / 无法修补: 模组护甲会取消
AnvilUpdateEvent,附魔能力为 0,且物品级禁止使用 Mending(经验修补)。
- 10秒同步与切换惩罚: 完整套装奖励需在装备同一套装的全部 4 件完好部件后经过 10 秒(200 ticks) 才会激活。移除或更换任何一件部件将施加 3 秒的虚弱 I 和缓慢 I。
- 固定修理成本:
- T1 全套:
240 TB(头盔 48 / 胸甲 72 / 护腿 72 / 靴子 48)。
- T2 全套:
960 TB(头盔 200 / 胸甲 280 / 护腿 280 / 靴子 200)。
套装属性与机制
| 等级 |
套装名称 |
韧性 / 击退抗性 |
全套机制 |
| T1 |
Phantom Walk |
2.5 / 25% |
永久获得 速度 I。受到任何投射物攻击时,获得持续 4s 的 速度 II(冷却时间 12s)。 |
| T1 |
Basalt Warden |
2.5 / 75% |
+15% 近战斧头伤害。将敌方斧头攻击导致的盾牌禁用冷却时间从 5s 减少至 3s。 |
| T1 |
Deepslate Excavator |
2.0 / 0% |
+25% 镐子挖掘速度,潜行时获得 夜视,有 10% 的几率在不使用精准采集的情况下掉落额外矿石。 |
| T1 |
Abyssal Voyager |
2.0 / 0% |
永久获得 水下呼吸,+60% 游泳速度,无水下/浮空挖掘惩罚,+2 幸运,鱼饵下沉速度提升约 20%。(PvP 受击会使游泳加速效果禁用 15s 并附加 3s 缓慢 I)。 |
| T1 |
Hellfire Wanderer |
2.0 / 0% |
永久获得 防火,在下界获得 速度 I,对下界生物造成 +20% 伤害。 |
| T2 |
Crimson Fury |
3.5 / 50% |
每第 3 次对同一玩家进行的连续近战剑攻击(在 2.5s 内)造成 +2 真实护甲穿透伤害 并回复 1 HP。 |
| T2 |
Warped Pulse |
3.5 / 50% |
减半 中毒、凋零、缓慢和虚弱 的持续时间;受到的 魔法伤害减少 25%。当生命值降至 <= 6.0 HP(3 颗心)时,触发 再生 II(持续 4s) 并将敌人推开超过 5 格半径(冷却时间 60s)。 |
| T2 |
Void Hunter |
3.5 / 50% |
+20% 箭矢和投掷三叉戟伤害。从超过 20 格的距离击中玩家时,使目标获得 发光(持续 6s),并使射手获得 隐身 + 速度 I(持续 3s)。 |
| T2 |
Ancient Echo |
3.5 / 50% |
蓄力(> 90%)近战斧头攻击会在目标身上标记发光,并在 3s 后将其传送回打击坐标处,同时使其脱离载具(每个目标冷却时间 10s)。 |
文档、配置与命令
- 游戏内指南:
/tbguide(所有玩家均可用)会根据客户端语言环境打开英文或俄语的交互式点击参考手册。
- 自动提取的手册: 启动时,完整的 玩家与服务器管理员指南(EN & RU) ——包括精确公式、NBT 标签、
.dat 文件结构以及重置启动清单——会自动写入 config/tubricks_and_bills/。
- 主配置文件:
config/tubricks_and_bills-common.toml(支持通过 /economy reload 实时热重载)。
命令概览
- 玩家(OP 0):
/tbguide, /economy list, /economy stats
- 管理员(OP 2):
- 兑换与配置:
/economy set <construction|trading|military|treasury> <price>, /economy commission [reset], /economy adminstats [reset], /economy reload
- 商店:
/market <add|setprice|remove|turnover|resetlimits>, /seller <add|remove|resetlimits>
- 世界调节器:
/expander <lock|unlock> <ow|nether>, /expander nether <open|close>, /drain1, /drain3, /drain5, /drainstop
- NPC 管理:
/npc list, /npc kill <banker|market|seller|expander|repairer|all> [nearest|radius]
反馈与错误报告
如有问题、功能请求或错误报告,请在您下载该模组的平台留下评论。
鸣谢与素材
TUBRIKS & BILLS

Tubriks & Bills is a server-oriented physical economy, world-progression, and PvP gear framework for Minecraft Forge 1.16.5.
Instead of virtual database balances, all currency exists as physical items. The mod provides a self-contained closed economic loop out of the box: controlled currency emission via resource buybacks, admin-managed securities, server-wide crowdfunding to expand the World Border and unlock the Nether, and 9 custom armor sets.
Technical & Server Compatibility
- Required on both Server and Client.
- Automatic Config Sync: Players do not need manual config files;
tubricks_and_bills-common.toml values sync automatically to the client on login and on /economy reload.
- Hybrid Core Ready (Mohist / Arclight 1.16.5): Respects
WorldGuard / Towny / GriefPrevention block break cancellations, pvp: deny regions, and avoids false triggers on anti-cheats (Grim, Vulcan, Matrix).
Closed-Loop Economy Architecture
- Emission (Resource Buyer): Players sell undamaged mined/farmed items for Tubriks under configurable per-player and global server daily limits.
- Investment & Liquidity (The Banker): Players buy and sell 4 types of Securities with admin-controlled prices, a
1 TB sell spread, and a configurable daily cash payout cap (dailyOutLimit).
- Currency Burn & Progression (World Regulator): Players pool Tubriks into two global server banks to expand the World Border and unlock Nether access.
- Endgame Gear & Repair Sink (Black Market & Repairer): Securities are traded for 9 custom Tier 1 & Tier 2 armor sets. Custom armor never vanishes on breakage or death — it enters a Broken state and requires Tubriks to repair.

Core Mechanics
1. Physical Currency
- 5 Denominations:
1, 5, 10, 50, and 100 Tubriks (stack size: 64, fire and lava immune).
- Crafting: No raw resource recipes. Up/down denomination conversion recipes work in the
2x2 inventory grid and 3x3 crafting table (1x5 <-> 5x1, 2x5 <-> 1x10, 1x50 <-> 5x10, 2x50 <-> 1x100, 5x1 -> 1x5, 5x10 -> 1x50).
2. Securities (Bonds) & Personal Deposits
- 4 Tradable Bonds:
construction (Construction Bond), trading (Trading Bill), military (Military Bond), and treasury (Treasury Note). Fire and lava immune, stack size 64.
- Pricing & Spread: Admins set integer prices via
/economy set <type> <price>.
- Price
0 = trading disabled.
- Price
1 = buy-only (1 - 1 = 0 sell payout).
- Selling a bond with price
P > 1 pays P - 1 Tubriks; the 1 TB spread is logged in CommissionPot.
- Personal Deposit (
tubricks_and_bills:personal_deposit): Non-stackable, fireproof savings item that stamps Overworld creationTime NBT on pickup and appreciates over server uptime (S = depositInitialPrice, default 100.0):
- Days 0–7:
+7.14%/day (up to +50% at Day 7)
- Days 7–14:
+3.57%/day (up to +75% at Day 14)
- Days 14–21:
+2.14%/day (up to +90% at Day 21)
- After Day 21:
+0.28%/day (~+1.96%/week)

3. The 5 Server NPCs
All 5 NPCs have NoAI and 100% immunity to all types of damage and knockback.
- The Banker (
banker): Bond exchange terminal. Global prices and In/Out volume stats are stored in world/data/tubricks_and_bills_worldvars.dat and synced across all dimensions.
- Resource Buyer (
market): 54-slot shop (LMB = sell 1, RMB = sell up to 64). Accepts only undamaged items (!isDamaged()) and ignores NBT/enchantments.
- Black Market Dealer (
seller): 54-slot shop selling configured items (default: all 36 custom armor pieces for 10 Treasury Notes each, limit 1 per player / 2 per server).
- World Regulator (
expander): Server-wide crowdfunding hub with two independent pools:
- World Border: Starts at
500x500 (expanderStartSize), expands by +400 blocks per level (expanderSizeStep), with base cost 1,500 TB (expanderOwBaseCost) and 1.11x geometric scaling (expanderOwCoeff). Fully customizable in config.
- Nether Lock: Blocks portal ignition, strips
minecraft:nether_portal blocks on chunk load, and cancels non-OP dimension travel until the server pools 25,000 TB (default, customizable in config).
- Equipment Repairer (
repairer): Restores damaged or broken mod armor for Tubriks (supports both full and partial durability repairs). A full repair costs strictly 240 TB for Tier 1 and 960 TB for Tier 2 — these fixed prices act as baseline anchors for balancing your server economy.
Custom Armor System (9 Sets / 36 Items)

Global Armor Rules
- Base Protection:
3 / 8 / 6 / 3 (20 total armor points, diamond equivalent) across all sets.
- Non-Destructible ("Broken" State): At
maxDamage - 1 (1 durability left), pieces switch to Broken (0 armor, 0 toughness, 0 KB resistance, set bonus disabled) instead of vanishing.
- Death Retention: On player death (with or without
keepInventory), equipped and carried mod armor never drops on the ground; it returns to the player's inventory upon respawn in the Broken state.
- No Anvils / No Mending:
AnvilUpdateEvent is cancelled for mod armor, enchantability is 0, and Mending is blocked on the item level.
- 10s Attunement & Swap Penalty: Full-set bonuses activate 10 seconds (200 ticks) after equipping all 4 intact pieces of the same set. Removing or swapping any piece applies 3 seconds of Weakness I and Slowness I.
- Fixed Repair Costs:
- Tier 1 Full Set:
240 TB (48 Helmet / 72 Chestplate / 72 Leggings / 48 Boots).
- Tier 2 Full Set:
960 TB (200 Helmet / 280 Chestplate / 280 Leggings / 200 Boots).
Set Stats & Mechanics
| Tier |
Set Name |
Toughness / KB Res |
Full-Set Mechanics |
| T1 |
Phantom Walk |
2.5 / 25% |
Permanent Speed I. Taking any projectile hit grants Speed II for 4s (12s cooldown). |
| T1 |
Basalt Warden |
2.5 / 75% |
+15% melee axe damage. Reduces shield disable cooldown from enemy axe hits from 5s to 3s. |
| T1 |
Deepslate Excavator |
2.0 / 0% |
+25% pickaxe mining speed, Night Vision while sneaking, 10% chance for bonus ore drops without Silk Touch. |
| T1 |
Abyssal Voyager |
2.0 / 0% |
Permanent Water Breathing, +60% swim speed, no underwater/floating mining penalty, +2 Luck, ~20% faster fishing lure. (PvP hit disables swim boost for 15s + 3s Slowness I). |
| T1 |
Hellfire Wanderer |
2.0 / 0% |
Permanent Fire Resistance, Speed I in the Nether, +20% damage against Nether mobs. |
| T2 |
Crimson Fury |
3.5 / 50% |
Every 3rd consecutive melee sword hit on the same player (within 2.5s) deals +2 true armor-piercing damage and heals 1 HP. |
| T2 |
Warped Pulse |
3.5 / 50% |
Halves Poison, Wither, Slowness, and Weakness durations; -25% magic damage taken. Dropping to <= 6.0 HP (3 hearts) triggers Regeneration II (4s) and pushes enemies outside a 5-block radius (60s cooldown). |
| T2 |
Void Hunter |
3.5 / 50% |
+20% arrow and thrown trident damage. Hitting a player from > 20 blocks applies Glowing (6s) to target and grants Invisibility + Speed I (3s) to shooter. |
| T2 |
Ancient Echo |
3.5 / 50% |
Charged (> 90%) melee axe hit marks target with Glowing and teleports them back to the strike coordinates after 3s, dismounting vehicles (10s per-target cooldown). |
Documentation, Config & Commands
- In-Game Guide:
/tbguide (available to all players) opens an interactive clickable reference in English or Russian based on client locale.
- Auto-Extracted Manuals: On launch, full Player and Server Administrator Guides (EN & RU) — including exact formulas, NBT tags,
.dat file structures, and wipe launch checklists — are automatically written to config/tubricks_and_bills/.
- Main Config:
config/tubricks_and_bills-common.toml (supports live hot-reloading via /economy reload).
Command Overview
- Player (
OP 0): /tbguide, /economy list, /economy stats
- Admin (
OP 2):
- Exchange & Config:
/economy set <construction|trading|military|treasury> <price>, /economy commission [reset], /economy adminstats [reset], /economy reload
- Shops:
/market <add|setprice|remove|turnover|resetlimits>, /seller <add|remove|resetlimits>
- World Regulator:
/expander <lock|unlock> <ow|nether>, /expander nether <open|close>, /drain1, /drain3, /drain5, /drainstop
- NPC Management:
/npc list, /npc kill <banker|market|seller|expander|repairer|all> [nearest|radius]
Feedback & Bug Reports
For questions, feature requests, or bug reports, leave a comment on the platform where you downloaded the mod.
Credits & Assets
评论 0
登录后参与评分
还没有评论,来抢沙发吧