VaultCmd
VaultCmd
This plugin requires Vault. Requested by @RiotShield || @RiotShielder
VaultCmd is a simple plugin that makes you able to charge your users money for using commands.
How it works
VaultCmd uses a config file to specify commands and prices, If a user has a permission node (seen below) they will not be charged for using commands.
Cmd's n stuff
Command | Permission | Description |
---|---|---|
vcmd | vcmd.set | Allows a user/console to set commands in the config. |
vcmd.* | Permission for everything of VaultCmd | |
vcmd.bypass | Bypass being charged for commands. |
Config
The config is quite simple to setup, just set the messages you want, if you wish to alter them, and add commands.
In this config example, you will see how to charge 5 of whatever your currency is for the command /spawn.
If you require help on the config, please read the green shit. Ex:
<GreenShit> config: message-1: '<message>' message-2: '<message>' spawn: 5
Donate
I'd very much appreciate if you donated to me, Paypal
@JayzaSapphire
Ah yeah, I forgot about that. I remember reading it, but was kinda confused how to do it, but now it makes sense. Thanks for reply.
If you could get that player name thing to work that would be awesome. I really like how easy to use this plugin is. Keep up the good work.
@SICC805
I will attempt to add the feature of a player's name into it, as i have already looked into it, Also if you read the config to make a command that has more than one world replace spaces with plus' "time+set+8".
Great work man.
One thing though, I'm using a plugin called McMMO, and there is a command called /ptp that lets you teleport to other players that are in your "party" system. The thing is, you have to do /ptp player so when people use this command it doesn't charge them.
So for example, you do /ptp SICC, but you dont get charged for doing the command. Im assuming its because of the player name at the end?
It seems that any commands that aren't one word don't work. Like /spawn works, but something like /time set 8 wont work.