π Changelog β InstantDeath Plugin
[v2.0.0] β 2025-08-02
A major rewrite and feature-rich update to the original InstantDeath plugin. This version improves customization, configuration, permission handling, and gameplay integration.
β¨ New Features
-
Config File Support
Addedconfig.ymlfor customizable messages and toggles. -
Permission Toggle for Self-Kill
Added config optionself-kill-requires-permission: true/false. -
Death Coordinates for Self-Kill
Displays death location when a player kills themselves. -
Vanilla Death Mechanics for PvP
Kills executed by other players now usedamage(Float.MAX_VALUE, killer)instead ofsetHealth(0.0)to allow:- Natural death messages
- Death event handling
- Item drops and advancements
-
Optional Death Location Reminder on PvP Death
When enabled (show-death-location-on-kill: true), players see their death coordinates after being killed by someone else. -
Full Command Console Support
Console can use/kill <player>and receive proper feedback. -
Message Formatting & Placeholder Support
All messages now support placeholders like:%x%,%y%,%z%%target%,%killer%%label%(for usage hints)
π§ Improvements
- Code is now more modular and readable.
- Messages are translatable and configurable via YAML.
- Clean separation between console and player command handling.
π§Ή Removed / Deprecated
- β Hardcoded messages.
- β Redundant coordinate formatting method.
- β Manual "You killed X!" message β replaced by better vanilla and configurable messages.
- β
killed-by-othermessage removed (now handled by vanilla Minecraft). - β Use of
minecraft.command.killβ now uses custominstantdeath.kill.*permission nodes.