? Kyo Economy
Kyo Economy 是一个专为 TEA Servers 设计的全面经济与交易系统。完全在服务器端运行(100% Server-Side),玩家无需安装任何额外的客户端模组即可体验高度直观的商店、黑市和物品估价系统。
✨ 主要特性
-
?️ 当前数据架构:彻底淘汰了过时且易出错的 NBT 系统。Kyo Economy 采用 Mojang 最新的 DataFixerUpper (DFU) 技术,结合 RecordCodecBuilder 实现超快读写,确保资产绝对安全,防止丢失。
-
⚡ 100% 服务端:利用 Polymer 和 SGUI 库,提供流畅且可自定义的物品栏界面,无需强制玩家下载模组。
-
? 双货币系统:使用智能参考系统 1 Coin = 1000 Hao,支持从微小交易到数百万大额交易的灵活经济体系。
-
? 管理员商店 & 黑市 (AH):
-
通过 /shop 交易基本必需品。
-
通过 /ah 进行玩家间的自由交易和物品拍卖。
-
? 智能估价机:独家机制,允许玩家右键点击附魔装备以 估价其价值(获取详细的收益报告),按住 Shift + 右键快速 出售。附魔价值分为 4 个等级:基础至神圣!
-
? 优化的记分板显示:通过 PlaceholderAPI 自动将庞大的货币数量压缩为专业格式(如 15.5k, 1.2M, 4.5B),防止记分板和 TabList 框架溢出损坏。
? 安装要求(依赖项)
为了让 Kyo Economy 完美运行,您的服务器需要安装以下核心模组:
? 命令与权限列表
| 默认命令 | 功能 | 权限 |
| :--- | :--- | :--- |
| /bal [player] | 查看自己或其他玩家的账户余额。 | 所有玩家 |
| /pay <player> <amount> | 向其他玩家转账金钱(最低 0.001 Coins)。 | 所有玩家 |
| /shop | 打开服务器商店。 | 所有玩家 |
| /ah | 打开黑市 - 自由交易平台。 | 所有玩家 |
| /eco <give/take/set> <goal> <amount> | 直接干预玩家账户。 | 管理员 (OP) |
(注意:以上所有命令的名称都可以在 config.json 文件中更改为越南语名称。)
? 配置
所有配置文件都会自动创建在 config/kyoeconomy/ 目录下:
1. config.json
允许您根据需要重命名命令,以适配服务器的角色扮演背景:
{
"command_bal": "tien",
"command_pay": "chuyenkhoan",
"command_shop": "cuahang",
"command_ah": "choden"
}
2. shop.json
管理管理员商店中出售的物品。支持变量价格系统(证券交易所),在每个周期后自动随机调整价格:
{
"items": [
{
"item_id": "minecraft:diamond",
"name": "Cool Diamond",
"min_price": 45,
"max_price": 55,
"slot": 10
}
]
}
? Kyo Economy
Kyo Economy is a comprehensive economic and trading system, exclusively designed for TEA Servers. Running entirely on the server (100% server-side), players don't need to install any additional mods on the client to experience the highly intuitive Shop, Black Market, and Item Appraisal system.
✨ Key Features
-
?️ Current Data Architecture: Completely eliminates the outdated and error-prone NBT system. Kyo Economy uses Mojang's latest DataFixerUpper (DFU) technology combined with RecordCodecBuilder for ultra-fast data reading/writing, ensuring absolute protection against asset loss.
-
⚡ 100% Server-Side: Utilizes Polymer and SGUI libraries, providing a smooth, customizable inventory interface without forcing players to download mods.
-
? Dual Currency System: Uses an intelligent reference system of 1 Coin = 1000 Hao, enabling a flexible economy for transactions ranging from micro-deals to multi-million dollar ventures.
-
? Admin Shop & Black Market (AH):
-
Trade basic necessities through /shop.
-
Free trading and item auctions between players through /ah.
-
? Smart Valuation Machine: An exclusive mechanism allowing players to Right-Click on enchanted equipment to Appraise its value (detailed report of the amount earned), and Shift + Right-Click to Sell quickly. Enchantment values are divided into 4 Tiers from Basic to Divine!
-
? Optimized Scoreboard Display: Automatically compresses massive currency amounts into professional formats (15.5k, 1.2M, 4.5B) via PlaceholderAPI, preventing Scoreboard & TabList frame breakage.
? Installation Requirements (Dependencies)
For Kyo Economy to function perfectly, your server needs to have the following core mods installed:
-
Fabric API (Compatible version 26.2)
-
Polymer (Core & Resource Pack)
-
SGUI (Server-side GUIs)
-
Placeholder API (eu.pb4.placeholder-api v3+)
? Command & Permission List
| Default Command | Function | Permission |
| :--- | :--- | :--- |
| /bal [player] | View your own or another player's account balance. | All players |
| /pay <player> <amount> | Transfer money to another player (Minimum 0.001 Coins). | All players |
| /shop | Open Server Shop. | All Players |
| /ah | Open Black Market - Free Trading Platform. | All Players |
| /eco <give/take/set> <goal> <amount> | Directly interfere with player accounts. | Admin (OP) |
(Note: All the above commands can have their Vietnamese names changed in the config.json file.)
? Configuration
All configuration files are automatically created in the config/kyoeconomy/ directory:
1. config.json
Allows you to rename commands as you like to suit the server's Roleplay context:
{
"command_bal": "tien",
"command_pay": "chuyenkhoan",
"command_shop": "cuahang",
"command_ah": "choden"
}
2. shop.json
Manages items for sale in the Admin Shop. Supports a Variable Price System (Stock Exchange) that automatically adjusts prices randomly after each cycle:
{
"items": [
{
"item_id": "minecraft:diamond",
"name": "Cool Diamond",
"min_price": 45,
"max_price": 55,
"slot": 10
}
]
}
评论 0
登录后参与评分
还没有评论,来抢沙发吧