Unofficial site, not affiliated with modrinth.com.What is this?
Моды/Respawn Delay

A Serilum Mod. Made with love. Lots of active mods for Fabric, Forge and Neo!

CurseForge Modrinth Patreon YouTube


About the mod

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.



Dependencies

Requires Collective
Environment: Server




Configurable

Configuration guide

   All available config options:

Show Spoiler

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)




Showcase



A player entering spectating mode on death:

Show Spoiler


And the player respawning after the countdown is finished:

Show Spoiler




Notes and links

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.

For issues, ideas, suggestions or anything else there is the Github repo. Thanks!


Совместимость

Платформы

Поддерживаемые окружения

Сервер

Сведения

Лицензия:
Опубликован:3 года назад
Обновлён:6 дней назад
ID проекта:
Главная