Home›Java›Mods›KEY COMMAND BIND
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'

Spoiler: Config Docs
Code (Text):

#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

Want to help me get motivated? buy me a pizza or coffee [​IMG]

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

KEY COMMAND BIND is a free Minecraft Java mod. Compatible with Minecraft 1.9, 1.10, 1.11, 1.12 and newer. Downloaded 5,934 times (via Spigot). Download it and open it directly in the game.

Explore more