跳到正文

Fabric-Economy

作者:SAGUMEDREAM

A Minecraft Fabric compatible economy API

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

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

获取执行条件命令的告示牌

常见问题

Fabric-Economy 支持哪些 Minecraft 版本?

Fabric-Economy 支持 Minecraft Java 版 1.21–1.21.1,共 2 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

Fabric-Economy 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。

评论

登录后评论和评分

SAGUMEDREAM 的其他作品

查看全部 →