Описание
A Server-side Minecraft Fabric common compatible economy API
It provides a monetary economy system for Minecraft. If you are a developer, you can use it as a lib to use.
It will take over the economic system of [Enclosure](https://modrinth.com/mod/enclosure) and [ServerShop](https://modrinth.com/mod/servershop), and provide ENCLOSURE provides a toll system created by the territory
## Text Placeholder API
Compatible with Text Placeholder API, you can use %eco:balance% to get the player's balance
## Player Commands
The following commands are available for players:
- `/balance`
Check the current player's balance.
- `/balance `
Check the balance of a specified player.
- `/money`
Display the current currency information.
- `/money `
Display the currency information of a specified player.
- `/pay `
Pay a specified amount of currency to a specified player.
- `/baltop`
View the ranking of players with the highest currency balances.
- `/eco store `
Deposit a specified amount of currency items.
- `/eco withdraw `
Withdraw a specified amount of currency.
## Admin Commands
Administrators can use the following commands to manage the economic system:
- `/eco register `
Register the items on your hand into currency.
- `/eco unregister`
Cancel the currency registration of the current hand
- `/eco add `
Add a specified amount of currency to a specified player.
- `/eco remove `
Remove a specified amount of currency from a specified player.
- `/eco set `
Set the currency amount for a specified player.
- `/eco execute (Number>=condition) "run_command" true|false`
Execute conditional command (Text %player% to place player name)
- `/eco sign (Number>=condition) "run_command" true|false`
Get Execute conditional command sign
# 一个 Minecraft Fabric 的通用经济 API
它为 Minecraft 提供了一个货币经济系统。如果您是开发者,可以将其用作库。
它将接管 [Enclosure](https://modrinth.com/mod/enclosure) 和 [ServerShop](https://modrinth.com/mod/servershop) 的经济系统, 并为 Enclosure 提供了一个领地创建的收费系统
## 玩家命令
玩家可以使用以下命令:
- `/balance`
检查当前玩家的余额。
- `/balance `
检查指定玩家的余额。
- `/money`
显示当前货币信息。
- `/money `
显示指定玩家的货币信息。
- `/pay `
向指定玩家支付指定金额的货币。
- `/baltop`
查看拥有最高货币余额的玩家排名。
- `/eco store `
存入指定数量的货币物品。
- `/eco withdraw `
提取指定数量的货币。
## 管理员命令
管理员可以使用以下命令来管理经济系统:
- `/eco register `
将手上的物品注册为货币。
- `/eco unregister`
取消注册当前手上的货币注册。
- `/eco add `
向指定玩家添加指定数量的货币。
- `/eco remove `
从指定玩家那里移除指定数量的货币。
- `/eco set `
设置指定玩家的货币数量。
- `/eco execute (Number>=condition) "run_command" true|false`
执行条件命令 (文本 %player% 代替玩家名称)
- `/eco sign (Number>=condition) "run_command" true|false`
获取执行条件命令的告示牌