ModsJava
CommandCost
Minecraft Java mod. Downloads from the MC Java Mods app on Android.
⬇ Download on Spigot
TO FIND WHAT IS AVALIABLE WITH NEWER VERSION, PLEASE GO TO THE UPDATES SECTION OF THIS PAGE.
Requested by Clifspeare.
With this plugin, you can charge players to use commands!
There are no permissions or commands in this plugin, only configuration.
Config Options:
CostPerCommand:
Description: The amount of money that a player must pay to use a command.
ExcludedCommands:
Description: The commands that will not cahrge players to use.
NOTE: Commands are case-insensitive and can be put in any case. Commands should not have a slash in front of them and should look as though you are typing it in minecraft.
SIDENOTE: CommandCost looks for whatever is put in excludedcommands ANYWHERE in every command issued in game by any player. The longer the command in Excludedcommands is, the less likely it will apear in another message.
CancelCommandIfCan'tPay:
Description: Cancels the command if the player does not have enough money to pay the fee.
SingleCommandCost:
Description: Allows you to override the general command cost and place a special cost on any amount of commands you want. Note that this looks for the command ANYWHERE IN THE COMMAND SENT BY PLAYERS, it must be formatted the same as it would be send in game. The longer the command, the less likely someone will use it accidently.
Usage:
- command#cost
Command being the command you want to charge for and cost being the cost for that command....
CommandTransactionSuccessful:
description: The message sent to the player when the command cost transaction is successful.
NOTE: To include the money taken from the player in the message, use a plus sign ( + ). To include the new balance of the player after the transaction is complete, use an equal sign ( = ). Both symbols will be changed to the correct amounts automatically when a command is run.
CantPayCommandCancelled:
Description: The message sent to the player if they can't pay the command fee while CancelCommandIfCan'tPay is false.
CantPayCommandNotCancelled:
Description: The message sent to the player if they can't pay the command fee while CancelCommandIfCan'tPay is true.
Have Fun!
*Logo created at cooltext.com
Quick facts
- Edition: Minecraft Java
- File type: .jar
- 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.
CommandCost is a free Minecraft Java mod. Downloaded 2,020 times (via Spigot). Download it and open it directly in the game.