一个服务端 Minecraft Fabric 通用兼容的经济 API
它为 Minecraft 提供了一个货币经济系统。如果你是开发者,可以将其作为库来使用。
它将接管 Enclosure 和 ServerShop 的经济系统,并提供由领地(territory)创建的 ENCLOSURE 通行费系统。
文本占位符 API
兼容 Text Placeholder API,你可以使用 %eco:balance% 来获取玩家的余额。
玩家命令
以下命令可供玩家使用:
-
/balance
查看当前玩家的余额。
-
/balance <player_name>
查看指定玩家的余额。
-
/money
显示当前货币信息。
-
/money <player_name>
显示指定玩家的货币信息。
-
/pay <player_name> <amount>
向指定玩家支付一定数量的货币。
-
/baltop
查看货币余额最高的玩家排行榜。
-
/eco store <item_amount>
存入指定数量的货币物品。
-
/eco withdraw <amount>
取出指定数量的货币。
管理员命令
管理员可以使用以下命令来管理经济系统:
-
/eco register <amount>
将手中的物品注册为货币。
-
/eco unregister
取消手中物品的货币注册。
-
/eco <player_name> add <amount>
向指定玩家添加指定数量的货币。
-
/eco <player_name> remove <amount>
从指定玩家移除指定数量的货币。
-
/eco <player_name> set <amount>
设置指定玩家的货币数量。
-
/eco execute (Number>=condition) "run_command" true|false
执行条件命令(文本 %player% 用于填入玩家名称)
-
/eco sign (Number>=condition) "run_command" true|false
获取可执行条件命令的告示牌
一个适用于 Minecraft Fabric 的通用经济 API
它为 Minecraft 提供了货币经济系统。如果您是开发者,可以将其作为库使用。
它将接管 Enclosure 和 ServerShop 的经济系统,并为 Enclosure 提供领地创建收费系统。
玩家命令
玩家可以使用以下命令:
-
/balance
查看当前玩家的余额。
-
/balance <player_name>
查看指定玩家的余额。
-
/money
显示当前货币信息。
-
/money <player_name>
显示指定玩家的货币信息。
-
/pay <player_name> <amount>
向指定玩家支付指定数量的货币。
-
/baltop
查看拥有最高货币余额的玩家排名。
-
/eco store <item_amount>
存入指定数量的货币物品。
-
/eco withdraw <amount>
提取指定数量的货币。
管理员命令
管理员可以使用以下命令来管理经济系统:
-
/eco register <amount>
将手中的物品注册为货币。
-
/eco unregister
取消注册当前手中已注册的货币。
-
/eco <player_name> add <amount>
向指定玩家添加指定数量的货币。
-
/eco <player_name> remove <amount>
从指定玩家移除指定数量的货币。
-
/eco <player_name> set <amount>
设置指定玩家的货币数量。
-
/eco execute (Number>=condition) "run_command" true|false
执行条件命令(文本 %player% 用于填入玩家名称)
-
/eco sign (Number>=condition) "run_command" true|false
获取执行条件命令的告示牌
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 and 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 <player_name>
Check the balance of a specified player.
-
/money
Display the current currency information.
-
/money <player_name>
Display the currency information of a specified player.
-
/pay <player_name> <amount>
Pay a specified amount of currency to a specified player.
-
/baltop
View the ranking of players with the highest currency balances.
-
/eco store <item_amount>
Deposit a specified amount of currency items.
-
/eco withdraw <amount>
Withdraw a specified amount of currency.
Admin Commands
Administrators can use the following commands to manage the economic system:
-
/eco register <amount>
Register the items on your hand into currency.
-
/eco unregister
Cancel the currency registration of the current hand
-
/eco <player_name> add <amount>
Add a specified amount of currency to a specified player.
-
/eco <player_name> remove <amount>
Remove a specified amount of currency from a specified player.
-
/eco <player_name> set <amount>
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 和 ServerShop 的经济系统, 并为 Enclosure 提供了一个领地创建的收费系统
玩家命令
玩家可以使用以下命令:
-
/balance
检查当前玩家的余额。
-
/balance <player_name>
检查指定玩家的余额。
-
/money
显示当前货币信息。
-
/money <player_name>
显示指定玩家的货币信息。
-
/pay <player_name> <amount>
向指定玩家支付指定金额的货币。
-
/baltop
查看拥有最高货币余额的玩家排名。
-
/eco store <item_amount>
存入指定数量的货币物品。
-
/eco withdraw <amount>
提取指定数量的货币。
管理员命令
管理员可以使用以下命令来管理经济系统:
-
/eco register <amount>
将手上的物品注册为货币。
-
/eco unregister
取消注册当前手上的货币注册。
-
/eco <player_name> add <amount>
向指定玩家添加指定数量的货币。
-
/eco <player_name> remove <amount>
从指定玩家那里移除指定数量的货币。
-
/eco <player_name> set <amount>
设置指定玩家的货币数量。
-
/eco execute (Number>=condition) "run_command" true|false
执行条件命令 (文本 %player% 代替玩家名称)
-
/eco sign (Number>=condition) "run_command" true|false
获取执行条件命令的告示牌
评论 0
登录后参与评分
还没有评论,来抢沙发吧