Back to mods
Immortality project artwork

Modrinth · Minecraft mod

Immortality

Cant go below half heart, for scripted servers.

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

Quick answer

Which Immortality release matches 26.1 Fabric?

Updated last month
Best match for your filters 2.0.0+26.1
Game version 26.1
Loader Fabric

Immortality 2.0.0+26.1 targets 26.1 with Fabric. 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 Immortality 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 Fabric
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 Immortality 2.0.0+26.1 need?

2.0.0+26.1 on 26.1 Fabric. 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 Immortality without breaking your instance.

Built for Immortality 2.0.0+26.1 on 26.1 Fabric. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 2.0.0+26.1. It targets 26.1 with Fabric; 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.0.0+26.1. It opens that exact file at the source.

About this project

What does Immortality add?

Immortality

Take control over death itself.

Immortality is a lightweight, server-side Fabric mod that lets you decide who lives and who doesn't. Grant players the ability to survive fatal damage, manage immortality through simple commands, and configure how immortality works on your server.

No client installation required.


Features

  • Per-player immortality — Grant or revoke immortality for individual players or multiple players using selectors.
  • Timed immortality — Grant immortality for a specific duration, or make it permanent.
  • Global immortality — Enable or disable immortality server-wide.
  • Configurable defaults — Choose whether players are immortal by default.
  • Status and player lists — Check immortality status and list active grants.
  • Persistent configuration — Settings and immortality grants are saved automatically.
  • Expiration options — Configure expiration display and notifications.
  • Totem compatibility — Totems of Undying continue to work normally.
  • Lightweight and server-side — Players don't need to install the mod on their clients.

Commands

All commands use the /immortal root.

Player immortality

Command Description
/immortal Toggle immortality for yourself
/immortal set <player> <true|false> [duration] Grant or revoke immortality
/immortal get <player> Check a player's immortality status
/immortal status [player] View your status or another player's status
/immortal list List players with immortality grants

The player argument supports Minecraft selectors such as @a and @p where applicable.

Global controls

Command Description
/immortal global Toggle global immortality
/immortal global <true|false> Explicitly enable or disable global immortality
/immortal default <true|false> Set the default immortality state for players
/immortal info View immortality configuration information
/immortal reload Reload the configuration

Timed immortality

You can grant immortality for a limited duration by adding a duration to /immortal set.

Examples:

  • /immortal set Steve true 30m — Immortality for 30 minutes.
  • /immortal set Steve true 2h — Immortality for 2 hours.
  • /immortal set Steve true 1d — Immortality for 1 day.
  • /immortal set Steve true 1h30m — Immortality for 1 hour and 30 minutes.

Supported duration units include:

  • t — Ticks
  • s — Seconds
  • m — Minutes
  • h — Hours
  • d — Days
  • w — Weeks

Omitting the duration grants permanent immortality. Setting the value to false revokes the grant.

Configuration controls

Use /immortal gamerule to view and change supported settings:

  • global — Global immortality mode.
  • default — Whether players are immortal by default.
  • allowTimed — Allow timed immortality grants.
  • showExpiration — Display grant expiration information.
  • notifyExpiration — Notify players when their immortality expires.

For example:

/immortal gamerule allowTimed false

Disables timed immortality grants.


How It Works

When an immortal player would die, Immortality prevents the death and keeps the player alive at half a heart.

Immortality does not prevent damage itself. Players can still take damage; the mod intervenes when that damage would otherwise kill them.

Totems of Undying retain their normal behavior.


Permissions

Administrative commands are intended for server operators. The mod uses Minecraft's built-in operator permissions.

The server console can also run administrative commands.


Use Cases

  • Scripted Minecraft servers
  • Adventure maps and custom events
  • God mode for selected players
  • Roleplay servers
  • Testing and server administration
  • Temporary protection during events

Configuration and Data

The configuration file is stored at:

config/immortality.json

Settings and immortality grants are persisted so they can be restored after a server restart.


Installation

  1. Install Fabric Loader on your server.
  2. Install the required Fabric API modules.
  3. Place the Immortality JAR in your server's mods folder.
  4. Start the server.

Client installation is not required.


Compatibility

Immortality is a server-side Fabric mod. Check the supported Minecraft versions listed on this Modrinth project before installing.

Project description from Modrinth.

Pick your setup

Immortality by Minecraft version and loader

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

24 available setups

Showing the newest 12 of 22 game versions. Older files are in the list below.

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

Recent files

Immortality versions and loaders

1 of 9 releases match
Clear filters

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