New
- Instant victim alerts. When you flag a cheater with /sethacker, any online victims are now notified immediately — no more waiting or rejoining the server to find out they have a refund waiting.
- Impossible-to-miss notification. Victims now get hit with a chat message + on-screen title + action bar + sound all at once, so they know 100% they died to a hacker and can claim their items.
- Fully configurable notifications. New notify: section in config.yml lets you customize the message, title, subtitle, action bar text, sound, and title timings. Offline victims get the same alert the
next time they join.
Fixes
- Fixed a memory leak where refund selections weren't cleared after closing the GUI or disconnecting.
- Fixed the refund GUI so items named "Claim" or "Return" can no longer accidentally trigger the buttons — button detection is now slot-based.
- Notification sound is now configurable instead of hardcoded, and an invalid sound name in the config no longer causes errors.
Config note
This version adds a new notify: section. Your existing config still works, but to get the new title/sound options either delete your config.yml to regenerate it, or copy the notify: block from the
default config.
Fixed an issue where refunds could be generated even when the player kept their items on death (via the keepInventory gamerule or a keep-inventory plugin), which could allow duplicated items.
SelfRefund now automatically respects the keepInventory gamerule and the death event keep-inventory flag. A new config option, respect-keep-inventory (default: true), also covers servers using a keep-inventory plugin.
