
On Respawn Commands
Whenever a player respawns, the server or player will execute the commands in this mod's config.
Screenshots




About this Mod

Description
This mod was made because to simplify creating On Respawn command triggers, without requiring server admins to make a scoreboard (see Fwuhfwi's comment: https://www.reddit.com/r/MinecraftCommands/comments/ohipmj/respawn_detection/).
With this mod, modpack developers can directly type a list of any command they want to execute from any installed mod that registers them into the config, and they will be executed whenever a player respawns.
There are two lists: one is the list of commands executed as the server (same op level as command blocks), and the other is the list of commands executed as the player (executed with whatever op level they have).
To make the server run the command for the player (that is, without perms), if the command allows an @s, you may use that, and it will substitute the @s in the string for the player's when it runs. If not, you may also use 'execute as @s run {insert_command_here}'.
The second list will be executed directly by the player.
Other features
GameStages support: players who have unlocked a certain stage will run commands designated in this mod's config.
Available Versions
How to Install On Respawn Commands on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set forge Loader
In the panel under "Egg", select the forge loader and matching Minecraft version (1.21.10).
Install Mod
Open the mod browser in the dashboard and search for "On Respawn Commands". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.21.10, 1.20.1, 1.19.2
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
On Respawn Commands server crashes on startup – what to do?
Most common cause: wrong forge 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.10). You can switch loaders with one click in the panel.
Is On Respawn Commands compatible with forge?
On Respawn Commands officially supports forge for Minecraft 1.21.10, 1.20.1, 1.19.2. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with On Respawn Commands – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if On Respawn 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 On Respawn Commands with just one click on your server.