Back to mods
Per-Player Hardcore Mode project artwork

Modrinth · Minecraft mod

Per-Player Hardcore Mode

A lightweight mod that lets server admins put specific players into a hardcore-like mode.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Per-Player Hardcore Mode release matches 26.3 Forge?

Updated today
beta file 2.1.0+26.3-forge
Game version 26.3
Loader Forge

Per-Player Hardcore Mode 2.1.0+26.3-forge targets 26.3 with Forge. Do not install it on the client. It must be installed on the dedicated server. No extra mods listed for this file.

Where it goes

Is Per-Player Hardcore Mode required on the client, server, or both?

Do not install it on the client. It must be installed on the dedicated server.

Client Not supported
Dedicated server Required
Loader for this release Forge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

This file is marked server-only.

What else does Per-Player Hardcore Mode 2.1.0+26.3-forge need?

2.1.0+26.3-forge on 26.3 Forge. Every mod below is checked against that same setup.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add Per-Player Hardcore Mode without breaking your instance.

Built for Per-Player Hardcore Mode 2.1.0+26.3-forge on 26.3 Forge. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 2.1.0+26.3-forge. It targets 26.3 with Forge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    Do not install it on the client. It must be installed on the dedicated server.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 2.1.0+26.3-forge. It opens that exact file at the source.

About this project

What does Per-Player Hardcore Mode add?

Per Player Hardcore

A lightweight server-side only Fabric mod for Minecraft that puts selected players into a hardcore-like mode with limited lives.

Features

  • Track individual players with a limited number of lives
  • On final death:
    • spectator: force Spectator mode after respawn
    • worldspawn: clear personal spawn point and send to world spawn
  • Optional per-player hardcore spawn (position + dimension)
  • Respawn priority while lives remain:
    1. Valid bed / respawn anchor (vanilla)
    2. Hardcore spawn (if set and safe)
    3. World spawn (vanilla fallback)
  • Fully configurable messages via config/perplayerhardcore.json
  • Clickable command suggestions in some admin messages
  • Persistent data in overworld saved-data (perplayerhardcore/players), keyed by UUID
  • Non-invasive (does not cancel vanilla death)

Commands

All commands require permission level 2 (gamemaster / op).

Command Description
/hardcore start <player> <worldspawn|spectator> [lives] Start tracking a player (default lives = 1)
/hardcore stop <player> Stop tracking a player
/hardcore setspawn <player> <x> <y> <z> Set hardcore spawn at that position in the executor’s current dimension (Overworld if run from console)
/hardcore lives add <player> <amount> Add lives
/hardcore lives remove <player> <amount> Remove lives
/hardcore get <player> Show detailed info about a tracked player
/hardcore list List every tracked player (online or offline)

Tab-completion suggests all known players for start, and tracked players only for the other subcommands.

Behavior

Death while lives remain

  1. Remaining lives are decremented and the player is notified.
  2. On respawn:
    • If the player has a valid bed or respawn anchor, vanilla handles it.
    • Else, if a hardcore spawn is set and the two blocks at that position are safe to stand in, then teleport there (including dimension).
    • Else, vanilla world spawn.

Obstructed or missing beds therefore fall through to the hardcore spawn when one exists, instead of always using world spawn.

Final death (0 lives left)

  1. GAME OVER! is sent.
  2. In worldspawn mode, the personal respawn point is cleared.
  3. After respawn, the player is removed from tracking.
  4. In spectator mode, game mode is set to Spectator.

Hardcore spawn safety

There is no validation when an admin runs setspawn (intentional: an unsafe point can be used on purpose).
At respawn time only, an unsafe hardcore spawn is ignored and vanilla world spawn is used.

Offline players

Commands accept a player name, not only someone currently online. Resolution order:

  1. Online players
  2. usercache.json

There is no Mojang API lookup: a player who has never joined this server cannot be targeted.

Configuration

File: config/perplayerhardcore.json

Created automatically on first launch with English defaults. Every message can be customized or translated.

New or updated keys are merged on load (existing custom strings are kept). Messages that must contain a %s placeholder for clickable commands (alreadyTracked, startAdminHint) are reset to the default if the placeholder is missing.

Example (French):

{
  "prefix": "[HARDCORE] ",
  "startPlayer": "Mode hardcore activé ! %d %s. %s.",
  "startAdmin": "Mode hardcore démarré pour %s (%d %s. %s). Le spawn hardcore est pour l'instant le spawn du monde.",
  "startAdminHint": " Utilisez %s pour le changer.",
  "alreadyTracked": "Ce joueur est déjà en hardcore. Utilisez %s d'abord.",
  "setspawnPlayer": "Votre spawn hardcore a été défini en %s dans %s.",
  "setspawnAdmin": "Spawn hardcore de %s défini en %s dans %s.",
  "life": "vie",
  "lives": "vies",
  "modeSpectator": "Spectateur à la fin",
  "modeWorldspawn": "Spawn du monde à la fin",
  "gameOver": "GAME OVER !"
}

Upgrading from pre-1.1.0

Player tracking data is reset in 1.1.0.

Earlier versions stored data with Fabric Attachments, which only worked well for players that were loaded and made offline management awkward. From 1.1.0, data lives in overworld saved-data (perplayerhardcore/players), keyed by UUID, so offline players can be started, stopped, queried, and listed reliably.

After updating:

  1. Restart the server once with 1.1.0+
  2. Re-run /hardcore start (and setspawn / lives) for any player who should still be tracked.

Message config in config/perplayerhardcore.json is migrated in place; only the player store is wiped by the storage change.

Notes

  • Server-side only (clients do not need the mod)
  • Compatible with many death/respawn mods thanks to non-cancelling mixins
  • Data lives in overworld saved-data and survives restarts (including offline players)

Project description from Modrinth.

Pick your setup

Per-Player Hardcore Mode by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

3 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Per-Player Hardcore Mode versions and loaders

1 of 4 releases match
Clear filters

Looking for an older file? The official Modrinth project page is in Resources.