Scripted Immortality: Admin-Controlled Immortality in Minecraft

Scripted Immortality lets you toggle per-player god mode and global immortality on your Minecraft server. A lightweight Fabric mod for Minecraft.

Download ImmortalityPlugin for Minecraft 1.20.6

Original name: ImmortalityPlugin

Minecraft: 1.20.6

FileVersionLoaderSize
ImmortalityPlugin-1.0.0.jar1.20.6—315 КБDownload

Scripted Immortality

Death in Minecraft can be a frustrating setback, especially on scripted servers, adventure maps, or roleplay worlds where a single misstep ruins the narrative. Scripted Immortality flips that script. This server-side Fabric mod hands you absolute control over who lives and who does not, all through a handful of simple commands. No client installation, no configuration files to wrestle with — just drop it into your server's mods folder and start shaping the rules of survival.

Why Scripted Immortality Stands Out

Unlike bulky god-mode plugins that require complex permission setups, Scripted Immortality is built for Fabric servers and stays intentionally lightweight. It intercepts fatal damage events and keeps marked players alive at half a heart, while still respecting vanilla Totem of Undying behavior. The mod never overrides totems, so your players can clutch with a totem exactly as they expect. Immortality states are saved automatically in a JSON file, meaning a server restart never wipes your carefully assigned god-mode list.

Key Features

  • Per-player immortality: Toggle immortality for yourself or any specific player with a single command.
  • Mass control via selectors: Use @a, @p, @r, or other target selectors to affect multiple players at once — perfect for arena events or team-based minigames.
  • Global immortality mode: Instantly make every online player immortal, then turn it off when the challenge ends.
  • Totem compatibility: Totems of Undying work normally and are never overridden, preserving vanilla gameplay for those who prefer the classic clutch.
  • Persistent data: Immortality assignments survive server restarts without any extra configuration.
  • Zero client install: The mod runs entirely on the server; players join with any vanilla or modded client and immediately benefit from the rules you set.

Commands at a Glance

Scripted Immortality for Minecraft ships with four intuitive commands that cover every scenario a server admin might need:

  • /immortal — Toggles your own immortality on or off.
  • /immortal set <player> <true|false> — Grants or revokes immortality for one or more players (supports selectors like @a).
  • /immortal get <player> — Checks whether a player is currently marked as immortal.
  • /immortal global — Toggles global immortality, instantly affecting everyone on the server.

These commands require operator-level permissions, so you can delegate control to trusted staff while keeping the power out of regular players' hands.

How Immortality Works Under the Hood

When a player takes damage that would normally reduce their health to zero, Scripted Immortality intercepts the death event. If that player is flagged as immortal, the mod cancels the death and sets their health to half a heart instead. This leaves them visibly vulnerable — a dramatic, near-death moment that still lets them continue playing. If the player is holding a Totem of Undying, the game processes the totem normally, consuming it and granting the usual absorption and regeneration effects. The mod never interferes with that vanilla mechanic, so you can mix immortal players and totem-reliant survivors in the same world without conflicts.

Use Cases for Server Owners

Scripted Immortality shines in environments where death needs to be a narrative tool rather than a punishment. Adventure map creators can keep protagonists alive during cutscenes or boss introductions. Roleplay servers can grant immortality to key characters while leaving regular citizens mortal. Minigame hosts can toggle global immortality during lobby phases, then disable it when the competition begins. Even technical servers benefit: testers can explore dangerous redstone contraptions without losing their inventory, and builders can survive accidental falls while working on sky-high structures.

Data Storage and Persistence

All immortality assignments are stored in config/immortality.json inside your server directory. The file updates automatically whenever a player's status changes, and the mod reads it on startup to restore every flag. This means you can shut down the server, move the world to a new host, or simply reboot, and every immortal player will still be protected. No database, no external dependencies — just a clean JSON file you can even edit by hand if you need to bulk-assign immortality before a big event.

Installation and Compatibility

Scripted Immortality is a Fabric mod designed for modern Minecraft versions, including 1.20.x and 1.19.x. To get started, place the mod JAR into your server's mods folder and restart. There is no client-side counterpart, so players can join with a vanilla launcher or any Fabric-compatible client. If you want to download Scripted Immortality, you can grab the latest build from platforms like Modrinth or CurseForge — just search for the mod by name and pick the file that matches your server's Minecraft version and Fabric loader.

For those who prefer a streamlined setup, the foxygame.net launcher includes Scripted Immortality in its curated add-on catalog, letting you install the mod with a single click and automatically matching your server's version. The launcher also keeps Scripted Immortality updated, so you never have to worry about manual file replacements when a new patch drops.

Once installed, how to install is essentially complete — there are no configs to tweak. Simply give yourself operator permissions and start using the commands. The mod's simplicity is its greatest strength: you can go from download to full control in under a minute.

Taking Control of Life and Death

Scripted Immortality redefines what a server-side utility can be. It strips away complexity, respects vanilla mechanics, and gives you a precise, persistent tool for managing player mortality. Whether you are running a tightly scripted adventure, a chaotic minigame hub, or a private server where friends just want to build without fear, this mod delivers exactly what its name promises. Once you experience the freedom of toggling immortality with a single slash command, you will wonder how you ever managed a server without it.