ExpensiveCommands – Charge Players to Run Commands
ExpensiveCommands allows you to charge in-game currency for running specific commands.
It works with any command from any plugin.
Dependencies
Required:
- Vault
- Any Vault-compatible economy plugin (tested with EssentialsX)
- PlaceholderAPI
- Charges players money to run commands you define
- Works with commands from any plugin
- Fully configurable prices and messages
- Lightweight and easy to use
Charge players to create a faction using:
/f create <name>
If the player has enough money, the command runs and they are charged.
If not, the command is blocked.
Example Config
rules:
- command: "f create"
cost: 100
require-args: true
success-message: "&aCharged &c{cost} &ato create a faction. New balance: {balance_after}"
fail-message: "&cYou need ${cost} to create a faction."
command
The base command to charge for (example: f create)
cost
How much the command costs
require-args
true = Only charge when arguments are used
false = Charge for the base command and anything after it
success-message / fail-message
Messages shown when the command succeeds or fails
Supports placeholders such as ${cost} and ${balance_after}
Important Limitation
This plugin does NOT check whether another plugin successfully completes the command.
Example:
If a player runs /f create test and the faction already exists,
they will still be charged if they have enough money.
This is intentional. The plugin is command-based, not plugin-logic-based.
Why Use ExpensiveCommands
- Add economy balance to powerful commands
- No plugin-specific integrations needed
- Works universally across your server
- Simple setup and configuration
Define your rules, set your prices, and you’re ready to go.
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft version listed: 1.21
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
Expensive Commands is a free Minecraft Java mod. Compatible with Minecraft 1.21. Downloaded 21 times (via Spigot). Download it and open it directly in the game.