I just came up with a perfect idea. What if CommandItems is a thing? I know, /powertool
with Essentials/EssentialsX is a thing, but there is more to it than PowerTools. Basically, you can set a cooldown to use it, a price, permission, and everything else for the CommandItem that you can do with a CommandButton. You can also have different commands be executed depending on the Click Type. The available Click Types are Left Click, Right Click, and Middle Mouse Button Click.
Emerald - Set optional price of CommandItem
Nether Star - Set player and/or console commands CommandItem will execute
Compass - Set optional cooldown of CommandItem
Paper - Set optional permission. If the player uses this CommandItem and doesn't have the perms to use it, they can't use it. If it is set to none
, anyone can use the CommandItem.
Sugar - Set optional message when using CommandItem.
Lever - Change Click Type
For example:
Left Click:
- Player Commands:
none
- Console Commands:
/give [Player] diamond_sword 1
- Cooldown:
300 seconds
- Permission:
none
- Cost:
$500
- Message:
Here's your diamond sword!!
Right Click:
- Player Commands:
none
- Console Commands:
/give [Player] diamond_pickaxe 1
- Cooldown:
1200 Seconds
- Permission:
none
- Cost:
$1000
- Message:
Here's your Diamond Pickaxe!
https://cdn.discordapp.com/attachments/635237338674495507/725062293599027220/unknown.png
Sorry that the formatting is absolutely horrible on this suggestion. I’m typing this on mobile.