Immortality [1.12x - 1.21] Makes Players Immune to damage! icon

Immortality [1.12x - 1.21] Makes Players Immune to damage! -----

Makes players immortal, preventing them from dying when they would otherwise take fatal damage.




Fix 1.20.1 Support
Fix the Issue where Immortality doesn't protect player
----------, Jul 28, 2024

Forgot to attach the resource, hehe.
----------, Jul 27, 2024

Changelog

Renamed Plugin
  • The plugin has been renamed from "AvoidDeath" to "Immortality".

General Enhancements
  • **Refactoring**: Major code refactoring for improved readability and maintainability.
  • **Updated Package**: Changed the package name from `org.zamin.avoiddeath` to `me.abasing.immortality`.

New Features
  • **Cooldown Mechanism**: Added a cooldown mechanism to prevent players from toggling Immortality mode too frequently. Configurable in `config.yml`.
  • **Health Threshold**: Added a health threshold that players must meet to activate Immortality mode. Configurable in `config.yml`.
  • **Activation Delay**: Added an activation delay that delays the activation of Immortality mode. Configurable in `config.yml`.
  • **Environment Restrictions**: Added restrictions based on the player's world and biome, configurable in `config.yml`.
  • **Configurable Messages**: Added a `messages.yml` file to allow customization of all plugin messages.

Command Enhancements
  • **New Command Structure**:
    • /immortality toggle [player]: Toggle Immortality mode for the player or specified player.
    • /immortality list: List all players with Immortality mode enabled.
    • /immortality reload: Reload the plugin configuration and messages.
  • **Tab Completion**: Improved tab completion for the `immortality` command, including player names for toggling.

Configuration
  • **config.yml**: Added new configuration options for cooldown, health threshold, activation delay, and environment restrictions.
  • **messages.yml**: New file for customizing messages sent to players.

Permissions
  • **New Permissions**:
    • immortality.use: Allows the player to use the immortality command (default: true).
    • immortality.reload: Allows the player to reload the plugin configuration (default: op).
    • immortality.bypass.cooldown: Bypass the cooldown for activating Immortality mode.
    • immortality.bypass.health.requirement: Bypass the health threshold for activating Immortality mode.
    • immortality.bypass.activation.delay: Bypass the activation delay for activating Immortality mode.

Bug Fixes
  • **Damage Handling**: Improved handling of damage events to ensure the player remains at a minimum health level of 0.5 when Immortality mode is active.

Miscellaneous
  • **Improved Logging**: Enhanced error handling and logging for better debugging and maintenance.
  • **Version Compatibility**: The plugin now explicitly supports Minecraft versions 1.12 and above.

This update brings significant improvements and new features, making the Immortality plugin more flexible and customizable.
----------, Jul 27, 2024

Resource Information
Author:
----------
Total Downloads: 147
First Release: Sep 29, 2023
Last Update: Jul 28, 2024
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings