Required Java Version: 8+
KEY COMMAND BIND
Run command when you press a key
Features:
Command key bind 1-9
Key press cooldown
Configurable messages
Disable item swap
Permission per key
Disable key when player is flying
Disable key when sneaking
PlaceholderAPI support
Vault support
Exp level costs
Use %kcbPlayer% placeholder to get the player name
if you want a command to be executed in console put a -c- in front of the command.
- '-c- your command here'
Config Docs
#This will enable/disable debug messages
"disableMessages": false,
#This will enable/disable detecting key slots via item swap
"swapModeEnabled": false,
#This will enable/disable detecting key slots via key press
"keyPressModeEnabled": false,
#The keypress mode config
"keyPressMode": {
#Key/hotbar item slot number
"key1": {
#Enabled or disables slot detections
"enabled": false,
#disable item swapping on slot
"disableSwap": false,
#Enables key returning to a certain defined slot when pressed
"returnKeyEnabled": false,
#the return slot
"returnKeySlot": 1,
#only activate command when player is sneaking when enabled
"sneakingOnly": false,
#disables command activation when player is sneaking overrides the sneakonly feature
"disableOnSneak": false,
#only activate command when player is flying when enabled
"disableOnFly": false,
#checks player for permission before activating the command when enabled
"usePermission": false,
#the permission to check for
"permission": "kcb.key1",
#enables/disables no permission message
"noPermissionMessageEnabled": false,
#the no permission message
"noPermissionMessage": "Key is still in cooldown",
#the interval a player can activate commands in milliseconds set to 0 to disable
"cooldownMilliSeconds": 500,
#enables/disables cooldown message
"cooldownMessageEnabled": false,
#the cooldown messaged
"cooldownMessage": "Key is still in cooldown",
#enable/disable charging player vanilla exp level cost for command activation
"enabledExpCost": false,
#the exp level cost
"expCost": 1,
#enable/disable insufficient exp message
"insufficientExpMessageEnabled": false,
#the insufficient exp message
"insufficientExpMessage": "Insufficient exp to run command",
#enable/disable charging player economy/money cost via vault plugin for command activation
"moneyCostEnabled": false,
#the economy/money cost
"moneyCost": 1,
#enable/disable insufficient money message
"insufficientMoneyMessageEnabled": false,
#the insufficient money message
"insufficientMoneyMessage": "Insufficient exp to run command",
#the commands to be run separate them with commas and enclose in parenthesis
#to run the command in consol put a -c- in front of the command
"commands": [
"version",
"-c- say %kcbPlayer% executed a console command"
]
} How to install?
Just drag and drop the plugin to your plugin folder and restart the server
Configure the config to need.
For bug reports and suggestions please post it in the discussion page
I might miss your reports in the ratings section. ;)
Or send me a message here in my spigot account
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
26.2MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.9MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
4.7MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta