Chikiwapis Economy
Chikiwapis Economy 是一款专为生存多人服务器设计的 Fabric 经济模组。它将持久的数字余额、玩家间支付、可配置的职业、图形化服务器商店、实体货币、银行系统、排行榜以及与其他模组的集成工具整合在一个单一的经济系统中。
该经济系统围绕正常的 Minecraft 进度进行设计。玩家可以通过职业赚取金钱,在图形化商店中消费,向其他玩家转账,或将数字余额提取为实体硬币和纸币,用于交易和角色扮演。
所有货币值均以整数分(使用 long 类型)在内部存储,从而避免浮点数舍入误差并保持交易精确无误。
功能
持久化经济
与玩家 UUID 关联的持久余额。
基于分的精确货币存储。
千位分隔符和两位小数格式化。
玩家间的直接支付。
针对资金不足和无效交易的验证。
用于添加、移除和设置余额的管理员工具。
服务器重启后的持久化经济数据。
玩家职业
玩家可以选择一种职业,并通过正常的生存游戏玩法赚取金钱:
猎人 — 通过击败配置的怪物赚取金钱。
矿工 — 通过挖掘配置的矿石和方块赚取金钱。
伐木工 — 通过砍伐配置的原木和木材赚取金钱。
农夫 — 通过收割配置的农作物赚取金钱。
建筑师 — 通过放置配置的建筑方块赚取金钱。
职业系统包括:
基于图形化箱子的职业选择界面。
加入、离开和查看职业的指令。
持久化的职业选择。
职业切换冷却时间。
单独配置的重赏。
支持正奖励和配置的惩罚。
对玩家放置方块的防作弊追踪。
建筑师位置追踪,以防止通过反复破坏和替换方块来获取无限奖励。
图形化服务器商店
/ 商店命令打开一个基于箱子的商店界面,包含:
多个产品类别。
分页的产品菜单。
购买确认屏幕。
单个和批量购买的數量控制。
库存空间验证。
清晰的价格和交易信息。
快速出售支持。
基于类别的快速出售过滤。
单独的买入和卖出价格。
当前类别包括:
方块
矿物
农业
掉落物
工具和武器
盔甲
炼金术和药水
特殊物品
商店价格的设计基于服务器经济和职业奖励,而不仅仅是 Minecraft 原版物品的稀有度。
实体货币
Chikiwapis Economy 包含代表实体货币的真实物品。
玩家可以携带、堆叠、交易、存入和提取实体货币。
硬币
$0.01
$0.05
$0.10
$0.50
$1.00
纸币
$5
$10
$20
$50
$100
$500
$1,000
实体货币支持找零,并尽可能使用最大面额。
系统在提供实体货币前会检查库存容量,包括现有货币堆叠内的可用空间。当总金额无法安全放入玩家库存时,交易将被拒绝。
实体货币由与数字余额相同的经济体系支持。提取货币不会创建额外资金,存入货币也不会复制现有资金。
银行
玩家可以通过银行系统将数字货币转换为实体货币。
指令
/bank balance
显示:
数字余额
实体现金
合计总额
/bank withdraw <amount>
将数字余额转换为实体硬币和纸币。
示例:
/bank withdraw 1500
提取 $1,500.00。
/bank deposit <amount>
移除请求数量的实体货币并将其添加到玩家的数字余额中。
/bank deposit all
存入玩家当前携带的所有实体货币。
银行交易在完成操作前会验证可用资金、库存容量和允许的最大数字余额。
实体货币指令
普通玩家可以检查自己携带了多少实体现金:
/currency balance
管理员实体货币指令位于:
/currency admin give <amount>
/currency admin take <amount>
这些指令旨在用于管理和测试,而非正常的经济游戏玩法。
经济排行榜
Chikiwapis Economy 可以维护最富有玩家的排行榜。
功能包括:
顶级玩家余额。
正确的基于分的货币格式化。
离线排行榜条目的已存储玩家名称。
与世界内全息图系统的集成。
全息图显示功能取决于服务器所有者配置的全息图解决方案。
侧边栏 HUD
模组包含一个由服务器控制的侧边栏,显示有用的经济信息,例如:
玩家名称
数字余额
当前职业
在线玩家数量
侧边栏显示的服务器名称和服务器地址可由服务器所有者配置,包括隐藏它们的选项。
公共集成 API
Chikiwapis Economy 提供了一个公共 API,旨在与其他 Fabric 模组集成。
外部模组可以与以下内容交互:
数字余额
实体余额
存款
取款
实体支付
实体 payouts
购买交易
交易结果和失败状态
这使得构建 NPC 商店、实体市场、自定义商人、奖励或其他游戏玩法机制成为可能,而无需直接修改 Chikiwapis Economy 的内部管理器。
所有 API 货币金额均以整数分表示。
例如:
50_000L
代表:
$500.00
指令
玩家指令
指令
描述
/balance
显示您的数字余额。
/bal
/ 平衡的别名。
/pay <player> <amount>
将数字金钱转移给另一位玩家。
/jobs
打开图形化职业选择菜单。
/job join <job>
选择职业。
/job info
显示有关您当前职业的信息。
/job leave
离开您当前的职业。
/shop
打开图形化服务器商店。
/bank balance
显示数字余额、实体货币及总余额。
/bank withdraw <amount>
将数字余额转换为实体货币。
/bank deposit <amount>
存入指定数量的实体货币。
/bank deposit all
存入所有实体货币。
/currency balance
显示你物品栏中携带的实体现金。
可用的职业标识符:
hunter
miner
lumberjack
farmer
builder
金额使用标准十进制表示法:
500
1250.50
0.05
管理命令
数字经济管理包含用于以下操作的管理命令:
/economy give
/economy take
/economy set
实体货币管理可通过以下命令进行:
/currency admin give <amount>
/currency admin take <amount>
管理命令需要相应的 Minecraft 管理员权限。
Chikiwapis Economy 不需要 LuckPerms。
安装
服务器端
安装兼容的 Fabric 服务器。
安装 Fabric API。
将 Chikiwapis Economy 放入服务器的 mods 目录中。
启动服务器。
检查服务器日志以确认模组加载成功。
示例:
server/
└── mods/
├── fabric-api-<compatible-version>.jar
└── chikiwapis-economy-<version>.jar
安装完成后,可以使用以下命令验证主要系统:
/balance
/jobs
/shop
/bank balance
货币资产
实体硬币和纸币使用自定义模型和纹理。
该货币包含所有十二种面额的专用资产,旨在在视觉上将其每种硬币和纸币表现为独立的物品。
Java 版和基岩版使用不同的资源格式。使用 Geyser 的服务器若希望基岩版玩家看到预期的实体货币模型,应提供适当的基岩版资源包和自定义物品映射。
基岩版 / Geyser
Chikiwapis Economy 的设计考虑了 Java 与基岩版混合使用的服务器环境。
Geyser 和 Floodgate 并非该模组本身的依赖项。
允许通过 Geyser 连接基岩版的服务器可以使用经济系统,但自定义实体货币需要额外的基岩版侧资源和物品映射配置。
Java 资源包并不自动等同于基岩版资源包。
配置与持久化数据
该模组持久化存储经济和游戏相关信息,包括:
玩家余额
职业选择
职业冷却时间
职业奖励
反作弊方块追踪
建造者放置追踪
已知玩家名称
职业奖励可由服务器所有者进行配置。
侧边栏品牌标识也可配置,允许自定义或隐藏服务器名称和地址。
在手动替换或修改持久化经济数据之前,请务必停止服务器。
依赖项
必需
Fabric API
可选 / 服务器集成
Geyser — 基岩版到 Java 版的兼容性支持。
Floodgate — 常用于 Geyser 的身份验证集成。
兼容的全息图系统 — 如果服务器所有者想要游戏内的经济排行榜,则使用此功能。
资源包 / Geyser 映射 — 在支持的客户端上呈现自定义实体货币的预期外观所必需。
除非你的服务器明确使用了这些功能,否则不应将可选集成视为必需的依赖项。
兼容性
组件
状态
Fabric
受支持
专用服务器
受支持
Fabric API
必需
Java 版
受支持
通过 Geyser 连接的基岩版
配合服务器配置的支持集成
其他模组加载器
目前不支持
数据与备份
在更新或删除模组之前:
完全停止服务器。
备份世界文件。
备份 Simple Economy 的配置和持久化数据。
替换旧的模组 JAR 文件。
启动服务器。
检查服务器日志以查看加载或迁移错误。
不要在服务器运行时手动替换持久化经济文件。
常见问题解答
为什么货币以“分”为单位存储?
使用整数“分”可以防止浮点数舍入误差。
例如:
$25.50 = 2550
$0.01 = 1
$1,000.00 = 100000
这些值在内部以 long 类型存储。
提取实体货币是否会生成额外的货币?
不会。
提取操作是将现有的数字余额转换为实体货币。
存款操作则是移除实体货币并将其转换回数字余额。
玩家可以直接交易实体货币吗?
可以。硬币和纸币是物品栏中的物品,因此可以像其他物品一样在玩家之间转移。
其他模组能否使用该经济系统?
可以。Chikiwapis Economy 提供了公开的集成 API,供其他 Fabric 模组使用。
外部模组应使用公开 API,而不是直接访问内部经济管理器。
基岩版玩家能看到自定义硬币和纸币吗?
经济系统可以与 Geyser 服务器集成,但自定义物品需要基岩版兼容的映射和资源包资产。
Java 资源资产不会自动为基岩版进行转换。
源代码是否公开?
是的。项目源代码公开可用,并根据 MIT 许可证授权。
我可以将该模组包含在整合包中吗?
可以。根据 MIT 许可证的条款,允许分发和修改。
报告问题
报告问题时,请包含以下内容:
Chikiwapis Economy 版本
Minecraft 版本
Fabric Loader 版本
Fabric API 版本
相关的服务器日志或崩溃报告
重现问题的步骤
玩家是通过 Java 版还是基岩版/Geyser 连接的
许可证
Chikiwapis Economy 根据 MIT 许可证授权。
Copyright © 2026 Jecsan Cárdenas
本项目未由 Mojang Studios 或 Microsoft 赞助或认可。
Chikiwapis Economy
Chikiwapis Economy is a Fabric economy mod designed for survival multiplayer servers. It combines persistent digital balances, player-to-player payments, configurable jobs, a graphical server shop, physical currency, banking, leaderboards, and integration tools for other mods in a single economy system.
The economy is designed around normal Minecraft progression. Players can earn money through jobs, spend it in the graphical shop, transfer funds to other players, or withdraw their digital balance as physical coins and banknotes for trading and roleplay.
All monetary values are stored internally as integer cents using long, avoiding floating-point rounding errors and keeping transactions precise.
Features
Persistent Economy
Persistent balances linked to player UUIDs.
Accurate cent-based monetary storage.
Thousands separators and two-decimal formatting.
Direct payments between players.
Validation against insufficient funds and invalid transactions.
Administrative tools for adding, removing, and setting balances.
Persistent economy data across server restarts.
Player Jobs
Players can choose a profession and earn money through normal survival gameplay:
Hunter — Earn money by defeating configured mobs.
Miner — Earn money by mining configured ores and blocks.
Lumberjack — Earn money by cutting configured logs and wood.
Farmer — Earn money by harvesting configured crops.
Builder — Earn money by placing configured building blocks.
The job system includes:
Graphical chest-based job selection.
Commands for joining, leaving, and checking jobs.
Persistent job selections.
Job-switch cooldowns.
Individually configurable rewards.
Support for positive rewards and configured penalties.
Anti-exploit tracking for blocks placed by players.
Builder position tracking to prevent repeatedly breaking and replacing blocks for unlimited rewards.
Graphical Server Shop
The /shop command opens a chest-based shop interface with:
Multiple product categories.
Paginated product menus.
Purchase confirmation screens.
Quantity controls for individual and bulk purchases.
Inventory-space validation.
Clear price and transaction information.
Quick Sell support.
Category-based Quick Sell filtering.
Separate buying and selling prices.
Current categories include:
Blocks
Minerals
Farming
Mob Drops
Tools and Weapons
Armor
Alchemy and Potions
Special Items
Shop prices are designed around the server economy and job rewards rather than Minecraft's vanilla item rarity alone.
Physical Currency
Chikiwapis Economy includes real inventory items representing physical money.
Players can carry, stack, trade, deposit, and withdraw physical currency.
Coins
$0.01
$0.05
$0.10
$0.50
$1.00
Banknotes
$5
$10
$20
$50
$100
$500
$1,000
Physical currency supports exact change and uses the largest available denominations whenever possible.
The system checks inventory capacity before giving physical money, including available space inside existing currency stacks. Transactions are rejected when the full amount cannot safely fit in the player's inventory.
Physical currency is backed by the same economy as digital balances. Withdrawing money does not create additional funds, and depositing money does not duplicate existing funds.
Banking
Players can convert between digital and physical money through the bank system.
Commands
/bank balance
Displays:
Digital balance
Physical cash
Combined total
/bank withdraw <amount>
Converts digital balance into physical coins and banknotes.
Example:
/bank withdraw 1500
withdraws $1,500.00.
/bank deposit <amount>
Removes the requested amount of physical currency and adds it to the player's digital balance.
/bank deposit all
Deposits all physical currency currently carried by the player.
Bank transactions validate available funds, inventory capacity, and the maximum allowed digital balance before completing the operation.
Physical Currency Commands
Regular players can check how much physical cash they are carrying:
/currency balance
Administrative physical-currency commands are available under:
/currency admin give <amount>
/currency admin take <amount>
These commands are intended for administration and testing rather than normal economic gameplay.
Economy Leaderboard
Chikiwapis Economy can maintain a leaderboard of the richest players.
Features include:
Top player balances.
Correct cent-based monetary formatting.
Stored player names for offline leaderboard entries.
Integration with in-world hologram systems.
Hologram display functionality depends on the hologram solution configured by the server owner.
Sidebar HUD
The mod includes a server-controlled sidebar showing useful economy information such as:
Player name
Digital balance
Current job
Online player count
The server name and server address displayed by the sidebar can be configured by the server owner, including the option to hide them.
Public Integration API
Chikiwapis Economy provides a public API intended for integration with other Fabric mods.
External mods can interact with:
Digital balances
Physical balances
Deposits
Withdrawals
Physical payments
Physical payouts
Purchase transactions
Transaction results and failure states
This makes it possible to build systems such as NPC shops, physical markets, custom merchants, rewards, or other gameplay mechanics without directly modifying Chikiwapis Economy's internal managers.
All API monetary amounts are expressed in integer cents.
For example:
50_000L
represents:
$500.00
Commands
Player Commands
Command
Description
/balance
Displays your digital balance.
/bal
Alias for /balance.
/pay <player> <amount>
Transfers digital money to another player.
/jobs
Opens the graphical job selection menu.
/job join <job>
Selects a job.
/job info
Displays information about your current job.
/job leave
Leaves your current job.
/shop
Opens the graphical server shop.
/bank balance
Shows digital, physical, and total money.
/bank withdraw <amount>
Converts digital money into physical currency.
/bank deposit <amount>
Deposits a specific amount of physical currency.
/bank deposit all
Deposits all physical currency.
/currency balance
Shows the physical cash carried in your inventory.
Available job identifiers:
hunter
miner
lumberjack
farmer
builder
Amounts use normal decimal notation:
500
1250.50
0.05
Administrative Commands
Digital economy administration includes commands for operations such as:
/economy give
/economy take
/economy set
Physical-currency administration is available through:
/currency admin give <amount>
/currency admin take <amount>
Administrative commands require the appropriate Minecraft operator permissions.
Chikiwapis Economy does not require LuckPerms.
Installation
Server
Install a compatible Fabric server.
Install Fabric API.
Place Chikiwapis Economy in the server's mods directory.
Start the server.
Check the server log to confirm that the mod loaded successfully.
Example:
server/
└── mods/
├── fabric-api-<compatible-version>.jar
└── chikiwapis-economy-<version>.jar
After installation, commands such as:
/balance
/jobs
/shop
/bank balance
can be used to verify the main systems.
Currency Assets
Physical coins and banknotes use custom models and textures.
The currency includes dedicated assets for all twelve denominations and is designed to visually represent each coin and banknote as its own item.
Java and Bedrock use different resource formats. Servers using Geyser should provide the appropriate Bedrock resource pack and custom-item mappings if they want Bedrock players to see the intended physical currency models.
Bedrock / Geyser
Chikiwapis Economy is designed with mixed Java and Bedrock servers in mind.
Geyser and Floodgate are not required dependencies of the mod itself.
Servers that allow Bedrock connections through Geyser can use the economy systems, but custom physical currency requires additional Bedrock-side resource and item mapping configuration.
A Java resource pack is not automatically equivalent to a Bedrock resource pack.
Configuration and Persistent Data
The mod stores economy and gameplay information persistently, including:
Player balances
Job selections
Job cooldowns
Job rewards
Anti-exploit block tracking
Builder placement tracking
Known player names
Job rewards can be configured by server owners.
Sidebar branding can also be configured, allowing the server name and address to be customized or hidden.
Always stop the server before manually replacing or modifying persistent economy data.
Dependencies
Required
Fabric API
Optional / Server Integrations
Geyser — Bedrock-to-Java compatibility.
Floodgate — Authentication integration commonly used with Geyser.
Compatible hologram system — Used if the server owner wants the in-world economy leaderboard.
Resource packs / Geyser mappings — Required for the intended appearance of custom physical currency on supported clients.
Optional integrations should not be treated as required dependencies unless your server specifically uses them.
Compatibility
Component
Status
Fabric
Supported
Dedicated servers
Supported
Fabric API
Required
Java Edition
Supported
Bedrock through Geyser
Integration supported with server configuration
Other mod loaders
Not currently supported
Data and Backups
Before updating or removing the mod:
Stop the server completely.
Back up the world.
Back up the Simple Economy configuration and persistent data.
Replace the old mod JAR.
Start the server.
Check the server log for loading or migration errors.
Do not manually replace persistent economy files while the server is running.
FAQ
Why is money stored as cents?
Using integer cents prevents floating-point rounding errors.
For example:
$25.50 = 2550
$0.01 = 1
$1,000.00 = 100000
Internally these values are stored as long.
Does withdrawing physical money create additional money?
No.
Withdrawing converts existing digital balance into physical currency.
Depositing removes physical currency and converts it back into digital balance.
Can players trade physical money directly?
Yes. Coins and banknotes are inventory items, so they can be transferred between players like other items.
Can another mod use the economy?
Yes. Chikiwapis Economy provides a public integration API for other Fabric mods.
External mods should use the public API instead of accessing internal economy managers directly.
Can Bedrock players see the custom coins and banknotes?
The economy can be integrated with Geyser servers, but custom items require Bedrock-compatible mappings and resource-pack assets.
Java resource assets are not automatically converted for Bedrock.
Is the source code public?
Yes. The project source is publicly available and licensed under the MIT License.
Can I include the mod in a modpack?
Yes. Distribution and modification are permitted under the terms of the MIT License.
Reporting Problems
When reporting an issue, include:
Chikiwapis Economy version
Minecraft version
Fabric Loader version
Fabric API version
Relevant server log or crash report
Steps to reproduce the problem
Whether the player connected through Java or Bedrock/Geyser
License
Chikiwapis Economy is licensed under the MIT License.
Copyright © 2026 Jecsan Cárdenas
This project is not affiliated with or endorsed by Mojang Studios or Microsoft.
评论 0
登录后参与评分
还没有评论,来抢沙发吧