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
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.