Add knockout configuration check and player name restoration
Implemented a config check to enable/disable the knockout feature. Added logic to store and restore player list names during knockout, ensuring [KO] tag is removed upon revival. Updated plugin version to 1.1.03 and added console logs for plugin lifecycle events.
New feature
Add player looting functionality during knockout phase
Introduced LootManager and LootListener for handling player looting mechanics. Updated ReanimationListener to integrate looting logic with permissions, sneaking checks, and proper messaging. Removed redundant logging and utility code for a cleaner implementation.
ReanimateMC V1.0.00 Official Release Changelog
Overview
ReanimateMC introduces a groundbreaking system that replaces instant death with a strategic KO state, enabling players to be revived or executed. This initial release lays the foundation for immersive roleplay and tactical gameplay in Minecraft, featuring configurable options, a fully customizable multi-language system, and clear in-game feedback.
Added
-
KO System:
- Replaces instant death with a KO state where players are rendered immobile.
- Applies blindness to restrict the KO player’s vision.
- Activates a glowing effect on KO players to make them more visible to others.
-
Revive Mechanic:
- Allows players to revive a KO player by crouching near them.
- Triggers a revival process when the reviver holds a special item (configurable via the
require_special_item
option). - Displays clear instructional messages if the conditions are not met (e.g., not crouching or missing the required item).
-
Execution Mechanic:
- Introduces the ability for players to execute a KO player by holding left-click for a specified duration.
- Executes the KO player immediately with configurable visual and sound effects.
-
Configuration Options:
- Extensive configuration through
config.yml
for:- Revival duration and health restoration.
- KO duration before natural death.
- Special item requirement (which can be disabled).
- Effect intensities (e.g., blindness, slowness, and additional effects on revival).
- Extensive configuration through
-
Multi-Language Support:
- Implemented a language manager that loads language files (e.g.,
en.yml
andfr.yml
) from a dedicatedlang
folder. - Supports custom language files, enabling server administrators to create or modify localized messages.
- Implemented a language manager that loads language files (e.g.,
-
User Feedback & Commands:
- Enhanced messages throughout the plugin to provide clear guidance during KO, revival, and execution.
- Administrative commands added to:
- Reload configuration and language files.
- Force revive or KO a player.
- Check the current status of a player.
Changed / Improved
- Overhauled the player damage handling to replace the instant death mechanic with the KO system.
- Refined the visual and audio feedback effects to ensure a clear, immersive experience.
- Improved configuration flexibility, allowing server administrators to fine-tune gameplay mechanics.
- Enhanced the language system for better localization and ease of customization.
Fixed
- Addressed scheduling issues related to the revival and execution processes.
- Resolved minor inconsistencies in player state checks and configuration value retrieval.
Known Issues
- The execution hold mechanism is basic and may be refined in future updates.
- Expansion of customizable visual elements (e.g., dynamic progress bars) is planned for upcoming versions.
New features
Command : /ko
Usage : /ko <player>
Description : Thanks to this command, admins can reanimate players whitout right click on them
Permission : reanimatemc.ko
TabCompleter
I added a TabCompleter for the two commands
Bug fixes
Reanimation bug : Text duplication and cooldown for optimization Version The plugin version wasn't change