Перейти к содержимому
Mineforgian

SoftHardcore by GamingFervor

On death enter spectator for a configurable amount of time.

Загрузки
205
Подписчики
2
Обновлён
16 июня 2026 г.
Лицензия
MIT

Опубликован 9 октября 2025 г.

This datapack is a gamemode addition to the game. It lands somewhere in between hard and hardcore. On death you will enter spectator mode for a configurable amount of time. After the countdown is finished you will be spawned at a bed, respawn anchor, or worlds spawn (whichever you had set). There are many config settings to change to get it just the way you would like it to be.

Supports MC versions 1.20.2 through 26.1.2


SET UP:

  1. Put the SoftHardcore file into the datapacks folder located in your world folder and reload/leave and rejoin your server/world

  2. At world spawn (or where you would like to change world spawn to) run this command: /function softhardcore:setspawn

  3. OPTIONAL Set the amount of time in ticks (20 ticks = 1 second) the countdown is when a player dies: /scoreboard players set sh.DeathDuration SHconfig 1200


EXTRA CONFIG SETTINGS/COMMANDS

Only runnable while dead, return to your death location to see what went down (any player can run this): /trigger back

1= true 0= false

Turn off the countdown and gamemode switch on death: /scoreboard players set sh.SkipSpectatorCountdown SHconfig 1

Turn off instant respawn gamerule (this will now show the main menu button on death: /scoreboard players set sh.GameruleDoImmediateRespawn SHconfig 0

Lock "Dead" players to only move a short distance away from world spawn: /scoreboard players set sh.PreventDeadSpectatorsMoving SHconfig 1

Force player out of death early: /scoreboard players set SoftHardcoreTicks 5


If you are running a server This data pack will not pass dead players time if the server is paused or if it is offline. Change this property so that if no one is online players timers continue to go down.

pause-when-empty-seconds=-1

Another thing you can do to prevent server lag is prevent spectators from generating chunks.

/gamerule spectatorsGenerateChunks false

Ченджлог

2.1Релиз26.1.1, 26.1.2, 26.2 · 16 июня 2026 г.

Datapack port to 26.2

2.0Релиз26.1, 26.1.1, 26.1.2 · 4 апреля 2026 г.

If updating from SoftHardcore-V1.6.2, almost every scoreboard changed. It is recommended to clean out old scoreboard objectives before installing.

Supports minecraft versions 1.20.2 through 26.1.1

Added a trigger for dead players to go back to where their last death was. /trigger back

Added a config that toggles skiping the countdown timer and only updates the death counter (off by default). /scoreboard players set sh.SkipSpectatorCountdown SHconfig 1

Added a config that toggles the Immediate Respawn gamerule (on by default). /scoreboard players set sh.GameruleDoImmediateRespawn SHconfig 0

Added a config that will toggle locking "Dead" players from going more than 24 blocks away from the softhardcore:setspawn location (off by default). /scoreboard players set sh.PreventDeadSpectatorsMoving SHconfig 1

Changed from using markers to find and check respawn locations to using data driven macros.

Changed almost every scoreboard name.

Rebuilt most logic from the ground up to try and weed out any bugs, please report them to the discord if you find them!

1.6.2Релиз1.21.9, 1.21.10, 1.21.11 · 9 декабря 2025 г.

Update to MC version 1.21.11

1.6.1Релиз1.21.8, 1.21.9, 1.21.10 · 12 октября 2025 г.

Fixed when leaving single player and coming back the configured amount of time would go back to default.

Fixed when turning server off and on the configured amount of time would go back to default.

1.6Релиз1.21.8, 1.21.9, 1.21.10 · 12 октября 2025 г.

Added

Deaths now show below name

MC version 1.20.1 + now all supported in one file.

1.5Релиз1.21.9, 1.21.10 · 9 октября 2025 г.

Initial Commit

Комментарии

Загружаем…