On Respawn Commands
ModLicenseRef-All-Rights-Reserved

On Respawn Commands

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

77
Downloads
2
Followers
4 months ago
Updated
📦
7
Versions

📖About On Respawn Commands

On Respawn Commands Banner

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.