Yessentials_v0.0.4_v26.45.mcaddon
What's new
Yessentials Addon - Changelog v0.0.4
🚀 What's New & New Systems
- Auto-Restore Claims System (Cloud):
- Now, when importing claims from the cloud to a new world, the server scans the map in an ultra-optimized way. As players explore and load their old territories, the Addon automatically materializes the physical protection blocks (gold, diamond, emerald) and their corresponding floating holograms, with no manual intervention required.
- Global Translation System (Lang):
- Implemented a full language engine (
lang/en_US.jsandlang/es_ES.js) to translate 100% of the addon. - Players can choose the language they want to play in, or the server can force a default language from the config.
- All user interfaces (factions, admin, economy, homes, npcs, tpa, claims, etc.) and chat messages have been fully migrated to the new dictionary system.
- Implemented a full language engine (
☁️ Cloud Sync (Yessentials Cloud BP)
- Total Decoupling (Event Bridge Architecture):
- The cloud system has been extracted into an Independent Addon (
Yessentials - Cloud v0.0.1). This guarantees that the Core Addon remains 100% stable on any server, without requiring mandatory experimental internet APIs. - Both Addons communicate magically in real-time through a novel event bridge (Script Events) capable of chunking and transferring giant databases at 2048 bytes per tick.
- Admin players still use
!cloudto backup and clone. The Core intercepts the command and wakes up the Secondary Addon instantly. - Includes the external web portal that decrypts the generated JSON and allows physical downloading of
config.jswhile preserving the original syntax.
- The cloud system has been extracted into an Independent Addon (
- ⚠️ IMPORTANT: How to install the Cloud:
- Activate both the Core Addon and the Cloud Addon in your world.
- In your world/server settings, you must activate the "Beta APIs" experiment, as the Bedrock network module requires it.
- For BDS (Dedicated Servers): Go to
config/default/permissions.jsonand add"@minecraft/server-net"to theallowed_moduleslist.
⚡ Performance Optimization
- Holograms and Guards Rewrite (timeControl.js):
- Decoupled the Guards' Artificial Intelligence (AI) from the massive land scanning loop.
- Time and protection holograms now have a customizable timer (
HOLOGRAM_UPDATE_SECONDS), which defaults to 1 minute instead of 1 second. This eliminates massive CPU bottlenecks on servers with hundreds of simultaneous claims.
- Floating Texts Optimization (Leaderboards):
- Rebuilt the "Top Players" engine. We went from an O(N²) search that checked constantly in a loop, to using a Map Cache (O(1)). This eliminates lag when there are thousands of registered players on the Scoreboard.
- Smart Combat Log (stats.js):
- The system that dropped your inventory (if you fled from a fight) used to clone items every half second just in case the player disconnected.
- Implemented the use of the
world.beforeEvents.playerLeaveevent, which allows reading and dropping the inventory exactly at the moment the player clicks leave. Huge RAM savings (Garbage Collection).
🛠️ Fixes and Security (Loopholes)
- Anti-Flee Patch (Combat Log Bypass):
- Fixed an issue where a player could accept a teleportation request (TPA) or type
/hometo go home in the middle of a combat and avoid dying. - The combat system now completely blocks all escape methods (TPA, Homes, Factions) while you have the red PvP timer active.
- Fixed an issue where a player could accept a teleportation request (TPA) or type
- UI Cleanup and Customization:
- Critical customization files (like
messages_es.jsandconfig.js) have been moved and organized so admins have "total customization" in a very accessible way.
- Critical customization files (like
🐛 Bug Fixes & Additional Corrections
- Protection Refueling Error (fuelOptions):
- Fixed a reference error (
ReferenceError: 'fuelOptions' is not defined) that caused a crash when trying to pay for fuel for a protected zone.
- Fixed a reference error (
- Cloud Bridge Fixes (Cloud Sync):
- Patched the
TypeError: 'player' is read-onlyerror that prevented receiving large chunks of data on slow networks. - Fixed the
TypeError: not a functioncrash when automatically restarting the system via/reloadafter a clean import.
- Patched the
- User Interface (UI) Crashes:
- Fixed an error that caused sudden crashes when trying to open the Admin Menu and other menus, caused by obsolete dependencies in the language dictionaries (dead code blocks).
- Remaining Translations (Help Command and Misc):
- The
!helpcommand, as well as system messages (like trying to use ender pearls in combat, setting spawn on beds, and using the!hatcommand) that were hardcoded, have been successfully migrated to the new global language system (misc.js).
- The
This mod has no additional files

