Immortality
A lightweight Paper plugin that grants specific players immortality, preventing them from dying.
Immortality
A lightweight Paper plugin that grants specific players immortality, preventing them from dying.
Supported Platforms
<a href="https://papermc.io/downloads/paper" target="_blank"><img src="https://raw.githubusercontent.com/intergrav/devins-badges/v2/assets/compact/supported/paper_46h.png" height="35"></a> <br> <a href="https://purpurmc.org/download/purpur" target="_blank"><img src="https://raw.githubusercontent.com/intergrav/devins-badges/v2/assets/compact/supported/purpur_46h.png" height="35"></a>
Features
- Easy Management: Immortal players cannot die from any damage source - Easy Management: Configurable totem of undying behavior for immortal players - Easy Management: Player immortality status is saved across server restarts - Easy Management: Click player names in chat to quickly add/remove immortality - Easy Management: Grant immortality via command or permission node - Easy Management: Simple commands to add, remove, check, and list immortal players
Configuration
config.yml
```yaml
Whether immortal players should be able to pop totems of undying
If true, totems will work normally. If false, damage is prevented instead
popTotems: true ```
popTotems: When `true`, immortal players holding a Totem of Undying will consume the totem instead of being saved by immortality. When `false`, immortality prevents all fatal damage regardless of totems.
Commands
All commands use `/immortality` and `/im` aliases.
| Command | Description | Permission | |---------|-------------|------------| | `/immortality add <player>` | Grant immortality to an online player | `immortality.command.add` | | `/immortality remove <player>` | Remove immortality from a player | `immortality.command.remove` | | `/immortality check <player>` | Check if a player has immortality | `immortality.command.check` | | `/immortality list` | Display all immortal players | `immortality.command.list` | | `/immortality reload` | Reload plugin configuration | `immortality.command.reload` |
Permissions
| Permission | Description | Default | |------------|-------------|---------| | `immortality.command.add` | Allows granting immortality to players | `op` | | `immortality.command.remove` | Allows removing immortality from players | `op` | | `immortality.command.check` | Allows checking a player's immortality status | `op` | | `immortality.command.list` | Allows listing all immortal players | `op` | | `immortality.command.reload` | Allows reloading the plugin configuration | `op` | | `immortality.immortal` | Grants immortality to anyone with this permission | `false` |