BindAliasPlus
Modbe like cfg pro in counter strike
Type
Mod
Modrinth Downloads
917
Modrinth ID
cur4YrVB
Last Updated
Jul 25, 2026
Description
BindAliasPlus
A Minecraft Fabric client mod that allows creating custom aliases and key bindings to automate complex in-game actions with simple key presses. Also enables autonomous AI agent control via an in-game HTTP API â agents can see, reason about, and act in Minecraft independently. Use with the BindAliasPlus MCP tool to let AI play the game.
- đēđ¸ English
- đ¨đŗ 䏿 (įŽäŊ)
Overview
BindAliasPlus enhances your Minecraft gameplay by letting you define custom aliases for sequences of actions and bind them to keys. Whether you need to quickly swap inventory slots, automate elytra flight, or chain multiple actions (like using a bow or placing blocks that not even in your hotbars or second hand), this mod simplifies repetitive tasks through configurable aliases and key bindings.
Features
- Custom Aliases: Create reusable aliases for single or multiple in-game actions (e.g., swap items, use abilities, move).
- Key Bindings: Bind aliases to keys, with support for separate actions on key press and release.
- Built-in Aliases: Predefined aliases for common actions (e.g., swapSlot, wait, use, attack).
- Command System: Intuitive commands to manage aliases and bindings (e.g., /alias, /bind, /unbind).
- Config Persistence: Saves aliases and bindings in a config file, loaded automatically when joining servers.
- Chained Actions: Combine aliases to create complex sequences (e.g., equip elytra â use firework â fly).
Installation
- Ensure you have Fabric Loader installed for your Minecraft version.
- Download the latest bind-alias-plus-*.*.*.jar from the releases page.
- Place the JAR file in your Minecraft mods folder.
- Launch Minecraft with the Fabric loader.
Usage
Core Concepts
- Alias: A custom or built-in action (or sequence of actions) that can be executed.
- Key Binding: A link between a physical key (e.g., mouse5, keyboard.g) and an alias (or two aliases: one for press, one for release).
Built-in Aliases
BindAliasPlus includes prebuilt aliases for common actions. They are divided into aliases with arguments and * aliases without arguments*.
Aliases with Arguments
Note: Slots follow Minecraft's internal numbering:
- 1-9 â Hotbar slots
- 10-36 â Inventory slots (10-19 = first row)
- 37-40 â Equipment slots (37 = feet, 38 = legs, 39 = chest, 40 = head)
- 41 â Offhand slot
- u can cover args with double quotes so that the white space inside will not be referred as split mark.
- RECOMMENDED for nested definitions: When using alias, bind, unbind, say, sendCommand, or localSay builtin aliases inside other alias definitions, use semicolon ; instead of space as the divider between arguments. This allows you to use normal space dividers in the nested definition without conflict. Example: alias +testAlias bind\v;+anotherAlias alias\+yetAnotherAlias;+anotherAlias;+jump alias\+nextAlias;wait\2;+yetAnotherAlias wait\1 bind\x;+testAlias - here semicolons separate the arguments for these builtin aliases, while spaces work normally.
Numeric aliases support variable references: yaw, pitch, setYaw, setPitch, slot, swapSlot, wait, and setPerspective all accept variable names (e.g., yaw\myVar or slot\mySlot) in place of raw numbers.
Aliases without Arguments
These are shorthand aliases that map to common state=1 (start) and state=0 (stop) actions for simpler usage:
Alias Equivalent To Description +attack builtinAttack\1 Starts attacking (holds left-click). -attack builtinAttack\0 Stops attacking (releases left-click). +use builtinUse\1 Starts using held item (holds right-click). -use builtinUse\0 Stops using held item (releases right-click). +forward builtinForward\1 Starts moving forward. -forward builtinForward\0 Stops moving forward. +back builtinBack\1 Starts moving backward. -back builtinBack\0 Stops moving backward. +left builtinLeft\1 Starts moving left. -left builtinLeft\0 Stops moving left. +right builtinRight\1 Starts moving right. -right builtinRight\0 Stops moving right. +jump builtinJump\1 Starts jumping (holds jump key). -jump builtinJump\0 Stops jumping (releases jump key). +sneak builtinSneak\1 Starts sneaking (holds sneak key). -sneak builtinSneak\0 Stops sneaking (releases sneak key). +sprint builtinSprint\1 Starts sprinting (holds sprint key). -sprint builtinSprint\0 Stops sprinting (releases sprint key). +drop builtinDrop\1 Presses the drop key. Holding continuously drops items in both the 3D game and container/inventory screens (vanilla-compatible, with initial repeat-delay). Drops full stack when combined with keyboard control key. -drop builtinDrop\0 Releases the drop key. +openInventory builtinOpenInventory\1 Opens the inventory screen. -openInventory builtinOpenInventory\0 Closes the inventory screen (if open). pickItem â Triggers vanilla pick-block on the targeted block/entity. swapHand _ Swaps items between main hand and offhand. +silent builtinSilent\1 Enables silent mode (suppresses command feedback messages). -silent builtinSilent\0 Disables silent mode (re-enables command feedback messages). +lockKey\<target> builtinLock\<target>\1 Locks a game key or custom alias. Use gameKey:attack, gameKey:forward, etc. for vanilla keys, or an alias name for custom aliases. -lockKey\<target> builtinLock\<target>\0 Unlocks a previously locked game key or custom alias. cyclePerspective â Cycles through camera perspectives (FPS â TPS â TPS2). FPS builtinSetPerspective\0 Switches to first-person view. TPS builtinSetPerspective\1 Switches to third-person back view. TPS2 builtinSetPerspective\2 Switches to third-person front view. reloadCFG â Reloads the config file (applies changes without restarting). unloadCFGAliases â Removes all aliases that were loaded from the config file. unloadCFGBinds â Removes all keybindings that were loaded from the config file. unloadCFGVars â Removes all variables that were loaded from the config file. unloadCFGAll â Removes all aliases, keybindings, and variables loaded from config.Variables
Variables let you capture and reuse in-game values (hotbar slot, pitch/yaw angles, item counts, etc.).
Sources for var\varName\source:
Source Description Example hotbarSlot Current hotbar slot (1-9) var\mySlot\hotbarSlot itemsOfSlotN Item count in slot N (0=offhand, 1-9=hotbar) var\count\itemsOfSlot2 pitch Player's current pitch angle (float) var\myPitch\pitch yaw Player's current yaw angle (float) var\myYaw\yaw 42 or 3.14 A literal number (int or float) var\backup\42Variables can then be used as arguments in any numeric alias (e.g., yaw\myVar, slot\mySlot, wait\myTicks).
Variable-related commands:
Command Purpose Example /var <name> <source> Create or update a variable. /var mySlot hotbarSlot /unloadCFGVars Remove all config-loaded variables. /unloadCFGVarsExample Config
Here's a real-world config file (config/bind-alias-plus.cfg) showing the key features in one place:
/var offHand 41 /alias jumpOnce +jump wait\0 -jump ## 36->elytra; 27->firework /alias +fly swapSlot\36\39 jumpOnce wait\0 jumpOnce swapSlot\27\41 +use -use TPS /alias -fly swapSlot\36\39 swapSlot\27\41 wait\2 FPS /alias +fastUse_Var swapSlot\varFastUse\offHand +use /alias -fastUse_Var -use swapSlot\varFastUse\offHand /alias +fastAttack_Var swapSlot\varFastAttack wait\1 +attack /alias -fastAttack_Var -attack swapSlot\varFastAttack # alias fly_on +silent bind\"mouse5 fly_off" -silent +fly # alias fly_off +silent bind\"mouse5 fly_on" -silent -fly /bind w +forward /bind a +left /bind s +back /bind d +right /bind space +jump /bind left.shift +sneak /bind left.control +sprint /bind mouse1 +attack /bind mouse2 +use /bind mouse5 +fly ## water; powder_snow; food; ender_pearl; bow;... 3 fast use slots /bind mouse4 var\varFastUse\19 +fastUse_Var /bind b var\varFastUse\20 +fastUse_Var /bind v var\varFastUse\28 +fastUse_Var ## fortune_pickaxe 1 fast mine slot /bind n var\varFastAttack\29 +fastAttack_VarConfiguration
- Config File: At config/bind-alias-plus.cfg. Automatically created if there is not one.
- Auto-Load: Aliases and bindings in the config file are loaded automatically when the mod loads.
- Manual Edit: You can directly edit the config file to add/modify aliases/bindings (use the same syntax as in-game commands). See the Example Config section above for a complete real-world config.
Commands Reference
Command Purpose Example /alias <name> <definition> Create a custom alias. /alias myAlias +jump wait\1 -jump /bind <key> <definition> Bind a key to a sequence of aliases by definition of this command or an existing alias.For each definition split by divide mark(things inside double quotes would still be a same block) starts with + or -, it will create an opposite alias. For the 1st eg, it also bind -forward and +back to release of keyboard key g /bind g +forward wait\10 -back OR /bind n +drop /bindByAliasName <key> <alias> Bind a key to an existing alias. /bindByAliasName mouse5 +fly /unbind <key> Remove a key binding. /unbind mouse5 /reloadCFG Reload config from file. /reloadCFG /var <name> <source> Create/update a variable. Sources: hotbarSlot, itemsOfSlot0-9, pitch, yaw, or a number. /var mySlot hotbarSlot, /var angle pitch /unloadCFGAliases Remove all aliases loaded from config. /unloadCFGAliases /unloadCFGBinds Remove all keybindings loaded from config. /unloadCFGBinds /unloadCFGVars Remove all variables loaded from config. /unloadCFGVars /unloadCFGAll Remove all aliases, binds, and variables loaded from config. /unloadCFGAllNotes
- Compatibility: Works with most Fabric mods; may conflict with mods that modify key handling or inventory mechanics.
- Minecraft Version: Requires Minecraft 1.21+ (Yarn mappings) or 26.x (Mojang mappings). Check the release page for version-specific builds (filenames include the MC version).
- Variables: Supports integer and floating-point values. Numeric aliases (yaw, pitch, setYaw, setPitch, slot, swapSlot, wait, setPerspective) accept variable names in place of raw numbers.
- Safety: Avoid excessive automation on servers with anti-cheat systems (some actions may be flagged).
Contributing
Contributions are welcome! Feel free to open issues for bugs/feature requests or submit pull requests with improvements.
License
This mod is licensed under the Creative Commons Zero v1.0 Universal.
Compatibility
Mod Loaders
Game Versions
Similar Mods
Nuclear Earth Mod
Changes Various Mods for Balancing and Patches
Energetic Sheep
Sheep that generate energy
Fall Distance Modifier
Allows players to change the min distance to take fall damage.
Energized Power - Biomes O' Plenty
Compatibility between Energized Power and Biomes O' Plenty
Amethyst Tools
Adds a simple, vanilla-like amethyst tool set between iron and diamond
Vertical Scroll
This mod allows you to scroll through your inventory vertically, allowing for easier access of items while playing, with...