New Features:
-
![[IMG]](//proxy.spigotmc.org/fb95e4a883ad2509b3b9ed76d0b043057a578c77/68747470733a2f2f63646e2e6a7364656c6976722e6e65742f6a6f79706978656c732f6173736574732f362e352f706e672f756e69636f64652f36342f323730352e706e67)
Private Messaging System
- Added /message <player> <message> and alias /msg for direct player-to-player messaging.
- Added /reply <message> to quickly reply to the last player who messaged you.
- Added /msgtoggle command to toggle receiving private messages.
Mail System:
-
![[IMG]](//proxy.spigotmc.org/fb95e4a883ad2509b3b9ed76d0b043057a578c77/68747470733a2f2f63646e2e6a7364656c6976722e6e65742f6a6f79706978656c732f6173736574732f362e352f706e672f756e69636f64652f36342f323730352e706e67)
Added /mail command with subcommands:
- send <player> <message> — send mail to online or offline players.
- read — read received mail messages.
- clear — clear all your mail.
-
![[IMG]](//proxy.spigotmc.org/fb95e4a883ad2509b3b9ed76d0b043057a578c77/68747470733a2f2f63646e2e6a7364656c6976722e6e65742f6a6f79706978656c732f6173736574732f362e352f706e672f756e69636f64652f36342f323730352e706e67)
Mail messages are stored persistently in an SQLite database.
Social Spy Feature:
Added /socialspy on|off to toggle social spy for staff.
Permission-based and intended for moderation.
Improvements:
Refactored messaging system into MessageManager and DatabaseHandler classes.
Modular SQLite backend with future extensibility in mind.
Improved command permissions using dcessentials.<command> namespace.
Added detailed permission and usage messages.
Bug Fixes:
Fixed minor bugs in message handling and command parsing.
Improved input validation and error handling.