CommandFee 图标

CommandFee

作者:rebot | 分类:模组

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

Minecraft 版本: 1.21.5

平台: spigot

标签: economy

资源介绍

CommandFee – Charge Players to Run Commands
CommandFee lets server administrators assign custom fees for any command, ensuring players pay a virtual economy cost before the command runs. Fully compatible with Vault and popular economy plugins (EssentialsX, etc.).

Features

  • Per-command dynamic pricing via config.yml
  • Universal billing using Vault supports all real-money economy plugins
  • Applies to any command, including vanilla commands and those from other plugins or even a non-existent command
    • Safe execution logic:
    • Cancels command if player lacks funds
  • Charges the correct amount and notifies the player
  • Self-disables gracefully if Vault or any leveraging economy plugin is missing avoids startup errors

Setup / Installation

  • drop .jar into plugins/
  • Ensure Vault + an economy plugin (e.g., EssentialsX Economy) are installed
  • Restart server to generate default config.yml
  • Edit pricing
  • Use /commandfee reload (permission: commandfee.admin) after edits

Admin Benefits

  • Flexible monetization: monetize valuable commands (e.g., warps, homes, kits)
  • No hardcoding: easy to adjust prices anytime
  • Compatible with any Vault-hooked economy plugin
  • Safe default behavior: disables itself if prerequisites aren’t met

Requirements

  • Vault (required)
  • Any Vault-supported Economy plugin (e.g., EssentialsX Economy, iConomy, BOSEconomy)

Dev Note

  • Charges apply to all player-issued commands, regardless of whether the command actually exists. Even typing /nonexistent will trigger a fee if listed in config.yml.
  • Permissions are not checked per command — players still pay even if they lack permission to execute that command. The plugin purely deducts based on the fee configuration, not access level.
  • Only intercepts real player-typed commands. Commands run via console, NPCs, or triggered by other plugins (e.g., through API calls) are not charged.
下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Let it play

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

查看详情
Meowsynth pack

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

查看详情
Reaping Enchantment

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

查看详情
Broad Bricks

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

查看详情