- Automatic Error Reporting: This update does not introduce any new in-game features to the server. It is essentially a technical improvement that allows me to analyze errors occurring on your server more effectively and in greater detail.
- Language Update: 1 missing line has been added to the language files.
️ Configuration & System Improvements
- Smarter File Updating: The update mechanism for configuration and language files has been completely revamped.
- Update Notifications: A notification will now appear in the console if a new update for WidCore is available.
- Automatic Error Reporting: To ensure the plugin becomes more stable and bug-free, errors are automatically reported to the developer.
New Feature: Advanced Auto Announcer
- Clickable Link System (Replacements): You can now add custom shortcuts to the announcer.yml file.
- Cleaner Configuration: Instead of writing links repeatedly in every announcement line, you can now manage them from a single central location.
Performance & Optimization (MobStacker)
- Polling Removed:** The cyclic scanning system that checked all mobs periodically has been removed. This reduces CPU usage by approximately 95%, especially on servers with high mob/player counts.
- Event-Driven System:** Stacking operations are now triggered only on `CreatureSpawnEvent` and `ChunkLoadEvent`.
- Ray-Trace Removed:** The heavy `getNearbyEntities` method has been replaced with a lightweight mathematical distance squared check for entity detection within chunks.
- Instant Stacking:** Mobs from spawners or eggs now stack instantly upon spawning, without delay.
- Smart Check Ordering:** The `canStack` logic has been reordered to perform the lightest checks (like type check) first, preventing unnecessary data reads.
New Feature: Advanced Auto Announcer
- Modular Structure:** The announcer system is fully modular and can be enabled/disabled via the configuration.
- World Priority System:**
- Global Announcements:** Displayed across the entire server.
- World-Specific Override:** You can define specific announcement lists for certain worlds. Players in these worlds will *only* see the world-specific announcements, not the global ones (e.g., for Nether or Minigame worlds).
- Sorting Options:** Announcements can be set to display in sequential order or randomly.
- Sound Support:** Added the ability to play specific sound effects to players when an announcement is broadcast.
* **Full Support:** Added support for Hex color codes and PlaceholderAPI (PAPI).
Other Changes
- Cache Optimization:** The MobStacker cache system has been refactored to only hold data for currently stacked mobs, reducing memory usage.
- Configuration:** Added new descriptions and optimized default settings to the configuration files.
[+] New Feature: Baltop GUI
* Added a visual menu system for economy ranking (/baltop).
* The richest players are now listed in a customizable interface.
[+] Improvements & Changes
* Economy System:
- Fixed argument errors in the /eco command.
- Added Tab completion support (TabCompleter).
- Subcommands (give, take, set, etc.) are now fully customizable via economy.yml.
* ShowItem System:
- Chat tags (
, [inv], [ec]) have been converted into interactive clickable messages. - The menu design has been simplified (removed unnecessary player info, leaving only items and armor). - All messages, menu titles, and item names are now linked to the language file (lang).
* Language & Config Manager: - Added "Smart Synchronization" feature for language and configuration files. - Missing lines are automatically added during version updates. - Unused or deleted redundant lines are automatically cleaned from files.
[!] Fixes
* Inventory Rollback: - Fixed the title mismatch issue in the /irp menu. - Corrected a critical bug that allowed items to be stolen from the menu.
New Module: Mob Stacker
* Added Mob Stacker feature to increase server performance.
Improvements & Fixes
* Fixed a conflict between ItemRemover and BannedItem systems.
* Vault Chat Support Added: widCore now supports the Vault Chat API and registers itself as a chat provider. This allows it to function as a replacement for EssentialsChat.
New Feature: Economy System
A fully equipped and optimized economy infrastructure has been added.
* Vault Support: Works fully compatible with other plugins (Market, ShopGUI+, etc.).
* High Performance: Money transactions are processed instantly in RAM, avoiding server lag.
* Smart Save System: Data is saved in binary format to 'database/economy.dat'.
* Auto Save: Every 10 minutes.
* Safe Quit: Instant asynchronous save when a player leaves.
* Shutdown: Prevents data loss when the server closes.
New Commands:
* /eco [player] - View your own or another player's balance.
* /eco give <player> <amount> - Adds money to a player.
* /eco set <player> <amount> - Sets a player's balance.
* /eco take <player> <amount> - Removes money from a player.
* /pay <player> <amount> - Sends money to another player.
System Improvements:
* Auto Language File Updater: Even if your 'lang' files are outdated, new message lines will be automatically added to your file without breaking your existing settings (Version control system added).