https://github.com/serilum/respawn-delay
⏳ [PvP Mod] Players enter spectator mode on death for a configurable amount of time.
https://github.com/serilum/respawn-delay
curseforge fabric forge minecraft mod modding modrinth natamus neoforge quilt respawn-delay rick-south serilum
Last synced: 3 months ago
JSON representation
⏳ [PvP Mod] Players enter spectator mode on death for a configurable amount of time.
- Host: GitHub
- URL: https://github.com/serilum/respawn-delay
- Owner: Serilum
- License: other
- Created: 2023-12-11T23:14:52.000Z (over 1 year ago)
- Default Branch: 1.21.4
- Last Pushed: 2025-02-12T22:16:14.000Z (4 months ago)
- Last Synced: 2025-02-23T02:33:32.992Z (3 months ago)
- Topics: curseforge, fabric, forge, minecraft, mod, modding, modrinth, natamus, neoforge, quilt, respawn-delay, rick-south, serilum
- Language: Java
- Homepage: https://serilum.com/mod/respawn-delay
- Size: 179 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- Funding: .github/funding.yml
- License: license.md
Awesome Lists containing this project
README
Respawn Delay
Download
You can download Respawn Delay on CurseForge and Modrinth:
CurseForge: https://curseforge.com/minecraft/mc-mods/respawn-delay
Modrinth: https://modrinth.com/mod/respawn-delayIssue Tracker
To keep a better overview of all mods, the issue tracker is located in a separate repository.
For issues, ideas, suggestions or anything else, please follow this link:
Pull Requests
Because of the way mod loader files are bundled into one jar, some extra information is needed to do a PR.
A wiki page entry about it is available here:
Mod Description
Requires the library mod Collective.
Respawn Delay is a mod designed for servers. It fits best in a pvp server, but can be used in events as well. Instead of instantly respawning, players enter spectator mode on death. They can fly around and see the action, until the configurable delay has been reached and they respawn. All messages sent are configurable, but by default the spectating player will receive an update on when they will respawn every second counting down. There is also a /respawnall command to force all spectating players to respawn.
Respawn delay is compatible with Gravestone mods. Just make sure to disable dropItemsOnDeath in the config to prevent duplication.
Configurable: ( how do I configure? )
ignoreAdministratorPlayers (default = false): If enabled, player operators/administrators will not be put in spectator mode on death.
ignoreCreativePlayers (default = true): If enabled, player in creative mode will not be put in spectator mode on death.
keepItemsOnDeath (default = false): If enabled, players will keep their items on death, and no drop event will be ran. This will also ignore the 'dropItemsOnDeath' config.
dropItemsOnDeath (default = true): If enabled, players will drop their items on death as normal vanilla behaviour.
respawnAtWorldSpawn (default = true): If enabled, players will be respawned at the world spawn point. If disabled, they'll respawn wherever they're spectating.
respawnWhenPlayerLogsOut (default = true): If enabled, players will respawn when they logout while waiting for a respawn. Prevents players from getting stuck in spectator mode.
respawnWhenPlayerLogsIn (default = true): If enabled, players will respawn when they log in and are still in spectator mode. Prevents players from getting stuck in spectator mode.
respawnDelayInSeconds (default = 10, min -1, max 3600): The delay in seconds after which a spectating player will respawn. A value of -1 makes players never respawn automatically. The '/respawnall' command can still be used.
onDeathMessage (default = "You died! Your gamemode has been set to spectator."): The message which is sent to the player on death. Leave empty to disable.
onRespawnMessage (default = "You respawned."): The message which is sent to players when they respawn. Leave empty to disable.
waitingForRespawnMessage (default = "You will respawn in <seconds_left> seconds."): The message which is sent to players when they are waiting to be respawned. The text '<seconds_left>' will be replaced with the actual seconds left. Leave empty to disable.
lowestPossibleYCoordinate (default = -10, min -50 max 256): When a player falls into the void, this determines the y position that's set after when a player enters spectator mode.
Commands:
/respawnall - Respawns all spectating players. (must have cheat-access)
Images:
Some GIFs:A player entering spectating mode on death:
And the player respawning after the countdown is finished:
------------------
You may freely use this mod in any modpack, as long as the download remains hosted within the CurseForge or Modrinth ecosystem.
Serilum.com contains an overview and more information on all mods available.
Comments are disabled as I'm unable to keep track of all the separate pages on each mod.
For issues, ideas, suggestions or anything else there is the Github repo. Thanks!