This update focuses on organization, customization, and "game feel". We have separated the configuration to make it cleaner and added sound feedback!
IMPORTANT: CONFIG RESET REQUIRED Since we introduced a new file structure, you MUST delete your old 'config.yml' folder/file before restarting the server.
The plugin will generate a new 'config.yml' and 'messages.yml' automatically.
Changelog v4.0:
New 'messages.yml' File: - All chat messages have been moved to their own file.
- It is now much easier to translate the plugin into other languages without touching the technical settings.
Sound Feedback (Juice): - Added a satisfying "Pop" sound when the Magnet attracts items.
- Fully configurable: You can change the Sound, Volume, and Pitch in config.yml.
Global Kill-Switches: - Added global toggles in config.yml to completely enable/disable major systems:
+ magnet-system-enabled (true/false)
+ protection-system-enabled (true/false)
+ notify-thief (true/false)
Improvements: - Strict permission logic fix: Default players will no longer see the help menu if they lack permissions.
- Optimized the Magnet Task to handle sounds efficiently.
+ Smart Magnet System: Items now visually fly towards you when you are near! (Configurable physics). + Anti-Theft Protection: Loot is now protected! Only the owner can pick it up for a set time (e.g., 60s). + VIP Personalization: Added a new data system allowing players to customize their Glow Color and Magnet Radius via commands. + Interactive Menus: Replaced error messages with a clean, clickable Help Menu (/wml).
Technical Changes: + New Permission System: Granular controls for Ranks (wml.radius.X, wml.color.X). + Performance Boost: Now uses PersistentDataContainer + Caching (0 Database, 0 Lag). + Added /wml radius and /wml color commands with Tab Completion.