InstantRespawnModule
InstantRespawnModule automatically respawns players after they die. The module cannot be configured in any way. The player’s respawn position is obtained from a PlayerRespawnEvent (if you use SpawnpointModule, the player will respawn at their designated spawnpoint).
Usage
Import the module:
import com.bluedragonmc.server.module.gameplay.InstantRespawnModuleUse the module in your game’s initialize function:
use(InstantRespawnModule())