
Commander Lib
A datapack library that allows for movement states and durations to be easily detected through tags and scores, as well as easily applying vertical motion, colored glow etc.
About this Mod
Uses
- Detect motion states easily through tags and scores
- Easily apply vertical motion with tags
- Easily prevent fall damage with tags
- Easily apply glow of any vanilla preset color with tags
- Easily detect cardinal and vertical directions that an entity is facing with tags
Tags
commander_lib.up_(1-20)
- Applies an upwards boost with its magnitude corresponding to the number added in the tag
commander_lib.no_fall_perm
- Provides permanent fall damage prevention for as long as the tag is applied
commander_lib.no_fall
- Provides one-time fall damage prevention
- Tag is removed when entity/player touches the ground
commander_lib.(color)_glow
- Applies a colored glow to the entity/player for as long as the tag is applied
- The colour can be set to one of the following:
- red
- aqua
- black
- blue
- gold
- gray
- green
- light_purple
- yellow
- dark_aqua
- dark_blue
- dark_gray
- dark_green
- dark_purple
- dark_red
commander_lib.sneaking
- This tag is automatically given/removed if the player is sneaking/not sneaking
commander_lib.sprinting
- This tag is automatically given/removed if the player is sprinting/not sprinting
commander_lib.swimming
- This tag is automatically given/removed if the player is swimming/not swimming
commander_lib.jumped
- This tag is automatically given/removed if the player jumps
commander_lib.facing_(direction)
- This tag is automatically applied to all entities and shows which cardinal/vertical direction the entity is facing. Directions include:
- north
- south
- east
- west
- north_east
- north_west
- south_east
- south_west
- up
- down
- This tag is automatically applied to all entities and shows which cardinal/vertical direction the entity is facing. Directions include:
Scores
commander_lib.sneaking_time
- Provides the amount of ticks a player has been sneaking for
commander_lib.sprinting_time
- Provides the amount of ticks a player has been sprinting for
commander_lib.swimming_time
- Provides the amount of ticks a player has been swimming for
Available Versions
How to Install Commander Lib on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set datapack Loader
In the panel under "Egg", select the datapack loader and matching Minecraft version (1.20.6).
Install Mod
Open the mod browser in the dashboard and search for "Commander Lib". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.20.6, 1.20.5, 1.20.4 (+4 more)
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Commander Lib server crashes on startup – what to do?
Most common cause: wrong datapack version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.20.6). You can switch loaders with one click in the panel.
Is Commander Lib compatible with datapack and fabric and forge and quilt?
Commander Lib officially supports datapack, fabric, forge, quilt for Minecraft 1.20.6, 1.20.5, 1.20.4. Note: Forge and Fabric mods are NOT cross-compatible – pick one loader and stick with it. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Commander Lib – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Commander Lib consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install Commander Lib with just one click on your server.