EconomyCraft 图标

EconomyCraft

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.5.0
本资源为搬运资源,原资源地址: https://modrinth.com/mod/economycraft
资源信息

Minecraft 版本: 26.2

平台: fabric

标签: economy

资源介绍

EconomyCraft

EconomyCraft provides a simple server-side cross-platform economy system for Fabric and NeoForge servers.
The mod requires Architectury API.


Commands

Player Commands

  • /bal [<player|selector>|top] - Check balances or view the top balances.
  • /pay <player> <amount> - Transfer money to another player.
  • /daily - Claim a daily login bonus.
  • /shop - Player-driven marketplace where players list items for sale.
    • list <price> [<amount>] - List the item in your hand. Omit <amount> to list up to a full stack.
  • /servershop - Server-managed shop with unlimited supply. Prices can be edited in config/prices.json. Left click to buy, right click to sell (shift for a stack).
  • /sell [<amount>|all|everything] - Sell the item in your hand. Use all to sell all matching items from your inventory, or everything to sell your entire inventory.
  • /orders - Request-based trading system. Click a request to fulfill it fully/partially.
    • request <item> <amount> <price> - Create an item request.
    • claim - Claim items bought or requested while offline.

Admin Commands

  • /eco addmoney <player|selector> <amount> - Add money to a player.
  • /eco setmoney <player|selector> <amount> - Set a player’s balance.
  • /eco removemoney <player|selector> [amount] - Remove money from a player.
  • /eco removeplayer <player|selector> - Remove a player from the economy system.
  • /eco toggleScoreboard - Toggle the balance sidebar for all players.

Notes:

  • Non-admin commands such as /pay or /daily are standalone by default and also work under /eco (e.g., /eco pay).
    Set standalone_commands to false in config.json to require the /eco prefix.
  • Admin commands use /eco unless standalone_admin_commands is enabled.

Configuration

Configuration and player data are stored in config/economycraft/.

Default config.json

{
  "startingBalance": 1000,
  "dailyAmount": 100,
  "dailySellLimit": 10000,
  "taxRate": 0.1,
  "pvp_balance_loss_percentage": 0.0,
  "standalone_commands": true,
  "standalone_admin_commands": false,
  "scoreboard_enabled": true,
  "server_shop_enabled": true,
  "sell_enabled": true
}
  • startingBalance - initial money for new players. Default: 1000.
  • dailyAmount - money given by /daily. Default: 100.
  • dailySellLimit - maximum money a player can earn per day via selling. 0 disables the limit. Default: 10000.
  • taxRate - percentage tax applied to trades and orders (decimal factor, e.g. 0.1 = 10%). Default: 0.1.
  • pvp_balance_loss_percentage - percentage of a player’s balance lost on PvP death and transferred to the killer (decimal factor, e.g. 0.1 = 10%). 0 disables this feature. Default: 0.
  • standalone_commands - enable standalone /pay, /daily, etc. Default: true.
  • standalone_admin_commands - enable standalone /addmoney, /setmoney, etc. Default: false.
  • scoreboard_enabled - show the balance sidebar by default. Can be toggled with /eco toggleScoreboard. Default: true.
  • server_shop_enabled - enables the server shop (/servershop and /eco servershop). Default: true.
  • sell_enabled - enables the /sell command (selling farmed items directly to the server). Set to false to steer players toward supply-driven trading via /shop and /orders. Default: true.

Placeholders

EconomyCraft can expose economy data to other mods through Text Placeholder API on Fabric, or its unofficial Placeholder API NeoForge port on NeoForge.

Both are optional and not bundled with EconomyCraft, the mod runs fine without them, but you must download the jar matching your Minecraft version/loader and drop it into your server's mods folder yourself before any placeholder below will resolve:

Placeholder Description
%economycraft:balance% Raw numeric balance of the viewed player (e.g. 1000).
%economycraft:balance_formatted% Balance formatted with currency symbol and thousands separator (e.g. $1.000).
%economycraft:daily_sell_remaining% Remaining amount the player can earn from /sell today before hitting dailySellLimit. Shows if the limit is disabled.

下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Create:Mechanical Confection

价格:0 墨喵币
下载量:0

查看详情
Ultimate Biome Blend

价格:0 墨喵币
下载量:0

查看详情
Consistent Training Items [Cobblemon]

价格:0 墨喵币
下载量:0

查看详情
Green Revolution!

价格:0 墨喵币
下载量:0

查看详情