CostlyCommands: This Plugin allows you to charge your players to run specified commands such as /time set day, or something like /feed.
Commands: (/costlycommands or /costly) For Simple Commands such as /heal, use: - /costly add heal <cost>
For Complex Commands such as /kit daily, use: - /costly add kit daily <cost>
To Edit the Cost of a Command: - /costly edit heal <cost> - /costly edit kit daily <cost>
To Remove the Cost of a Command: - /costly remove heal
To Reload the Config: - /costly reload
(Optional) Some Commands will Require the Commands Permission to work properly: - /costly permission heal essentials.heal
Permissions: - costlycommands.add : Add a Command to Require Money to use - costlycommands.remove : Remove a Command from Requiring a Cost - costlycommands.edit : Allows to Edit Cost and Add Permission of a Command - costlycommands.* : Access to All CostlyCommands Commands
Config.yml:
Code (YAML):
#Some commands will have an issue if a plugin doesn't properly register a permission to the command[/B] [B
]#Some Essentials Commands should work, but it's best to double-check[/B] [B
][/B
] [B
]#For Commands like /heal with cooldowns, make sure to either remove the cooldown or give the player the permissions to bypass cooldown[/B] [B
]heal:
[/B
] [B] cost: 1000
[/B
] [B] permission: 'essentials.heal'
#While adding the permission is not required, it's best practice[/B] [B
][/B
] [B
]clear:
[/B
] [B] cost: 500
[/B
] [B] permission: 'minecraft.command.clear'
#For Commands that are default to minecraft, you will need to add the permission[/B] [B
][/B
] [B
]kit:
[/B
] [B] cost: 2000
#For any kit not listed, it will cost 2000. Not Required if you want free kits too[/B] [B
] subcommands:
[/B
] [B
] daily:
[/B
] [B] cost: 5000
[/B
] [B
] weekly:
[/B
] [B] cost: 15000
[/B
] [B
] monthly:
[/B
] [B] cost: 100000
[/B
] [B] permission: 'essentials.kit.monthly'