Releases: Abasing/Immortality
Releases · Abasing/Immortality
v1.0.1 Release
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
tome.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.requirment
: 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.