[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.yml
for 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-other
message removed (now handled by vanilla Minecraft). - ❌ Use of
minecraft.command.kill
— now uses custominstantdeath.kill.*
permission nodes.