
HeadBash Commands
Various command utilities, including /bash
Screenshots

About this Mod
HeadBash Commands
(So named because I had to bash my head on my computer to get some of this stuff to work.)
HeadBash Commands is a small mod that adds a few simple command utilities. In addition to basic commands such as/save and /load, the main feature of this mod is the /bash command, which allows you to do limited in-command scripting
in a format similar to /execute. The permission level of each command is configurable, and the /bash command
doesn't natively allow players to bypass permission restrictions like /execute would.
/bash
Formatted similar to /execute, with the following options:
let <var> eq <value> - Replace all future occurrences of $<var> with <value>. Only supports numeric types.
let <var> eq (add|sub|mul|div|pow|log) <val_a> <val_b> - Same as above, but performs the specified calculation
and assigns the result to $<var>.
let <var> eq int <value> - Same as above, but converts the number to an integer. Useful for floor operations
and pretty-print.
for <var> in range <start> <stop> <step> - Forks the command into multiple instances with let <var> eq <value>
for each step in the for-loop. Ordering is not guaranteed, but is generally consistent.
(if|unless) <val_a> (eq|ne|gt|ge|lt|le) <val_b> - The command is continued only if/unless the specified
comparison condition is true. Otherwise, the branch stops.
delay <duration> - Suspends execution of the current branch for <duration> ticks.
run <cmd> - Runs another command. Works similarly to /execute's run option, but doesn't support autocomplete
to allow for lazy numeric parsing (waiting for previous options to be processed before parsing the command),
rather than having the command fail with errors like "$i is not a double".
/save
Format: /save <path> <pos1> <pos2> [noentities]
Saves the area as a structure block would to <path>.nbt.
/load
Format: /load <path> <pos>
Loads the specified structure (from <path>.nbt) at <pos>.
Available Versions
How to Install HeadBash Commands on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set neoforge Loader
In the panel under "Egg", select the neoforge loader and matching Minecraft version (1.21.1).
Install Mod
Open the mod browser in the dashboard and search for "HeadBash Commands". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.21.1
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
HeadBash Commands server crashes on startup – what to do?
Most common cause: wrong neoforge 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.21.1). You can switch loaders with one click in the panel.
Is HeadBash Commands compatible with neoforge?
HeadBash Commands officially supports neoforge for Minecraft 1.21.1. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with HeadBash Commands – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if HeadBash Commands 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 HeadBash Commands with just one click on your server.