With this plugin, you can bind commands to items. When a player changes his selected item, the selected item's command is executed and the selected item slot is set back to the default item slot.
When you load the plugin, the plugin will take effect and start setting your selected item back to the first item. To disable this for yourself, simply use /hotbarbypass. If you want to disable it permanently, give yourself the permission 'abilityhotbar.bypass'
This plugin should be compatible with all server versions, but it's only tested on 1.12.
Did the plugin crash or did you find a bug? Send me a private message here! https://www.spigotmc.org/conversations/add?to=Fluglow&title=Issue with AbilityHotbar plugin
Spoiler: Example usage with Commandbook commands
When you load the plugin, the plugin will take effect and start setting your selected item back to the first item. To disable this for yourself, simply use /hotbarbypass. If you want to disable it permanently, give yourself the permission 'abilityhotbar.bypass'
Spoiler: Commands
/additemcommand: Add a command to the item you're holding
/removeitemcommand: Remove a command from the item you're holding
/listitemcommands: List the commands added to the item you're holding.
/abilityhotbar reload: Reload AbilityHotbar configuration.
/hotbarbypass: Bypass hotbar selection changing and command executing on item held. Use again to return to normal.
/removeitemcommand: Remove a command from the item you're holding
/listitemcommands: List the commands added to the item you're holding.
/abilityhotbar reload: Reload AbilityHotbar configuration.
/hotbarbypass: Bypass hotbar selection changing and command executing on item held. Use again to return to normal.
Spoiler: Permissions
abilityhotbar.addcommand: Use /additemcommand. Defaults to OP only.
abilityhotbar.removecommand: Use /removeitemcommand. Defaults to OP only.
abilityhotbar.list: Use /listitemcommands. Defaults to OP only.
abilityhotbar.reload: Use /abilityhotbar reload. Defaults to OP only.
abilityhotbar.bypasscommand: Use /hotbarbypass. Defaults to OP only.
abilityhotbar.bypass: Permanently bypass this plugin's functionality. Defaults to no one.
abilityhotbar.removecommand: Use /removeitemcommand. Defaults to OP only.
abilityhotbar.list: Use /listitemcommands. Defaults to OP only.
abilityhotbar.reload: Use /abilityhotbar reload. Defaults to OP only.
abilityhotbar.bypasscommand: Use /hotbarbypass. Defaults to OP only.
abilityhotbar.bypass: Permanently bypass this plugin's functionality. Defaults to no one.
Spoiler: Configuration
default_slot: must be between 1 and 9. Determines the default slot used for setting players' slots back.
This plugin should be compatible with all server versions, but it's only tested on 1.12.
Did the plugin crash or did you find a bug? Send me a private message here! https://www.spigotmc.org/conversations/add?to=Fluglow&title=Issue with AbilityHotbar plugin
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft version listed: 1.12
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
AbilityHotbar is a free Minecraft Java mod. Compatible with Minecraft 1.12. Downloaded 135 times (via Spigot). Download it and open it directly in the game.