It's an update! Been a while..
This update brings many backend changes and a range of front end changes to the plugin, from fixing leaves and making them not only land on blocks back blow in the wind from time to time. But thats not all, check out everything below.
Language Engine
The language engine lets you more easily translate some of the more seen messages. This lets you add as many languages as you would like and switch between, reload and reset easily by the in game settings menu.
AFK Detection
As the plugin grows and I get more feedback I'll continue to look at better was of handling some of these systems. Detecting player activity was one of the methods that has now been added. Once a player has not moved for a minute they will be marked as in idle. After a couple more, in deep idle, then after 10 minutes marked as afk. The more likely/closer they are to the afk state the less scanning and actions happen around them, some completely stopping when they become afk.
Some things that happen when the player is afk/idle.
- The range which blocks are scanned to get surrounding temperature is reduced.
- Leaf particles will stop spawning around the player and be excluded from scanning for valid places to spawn the particles from.
Along with this temperature scanning range is also now linked to the players velocity. The higher the players velocity the smaller there range, this should help if there are lots of players moving around as they will use less resources scanning blocks around them. This also means when using fast modes of transport like elytra the scan area is only a couple blocks in either direction at most.
Per world temperatures
World specific temperature configs have been created to allow worlds have their own environments.
To generate a config for a world, run the command /en world <world name> makeCustomConfig. Once run you can find the config in the plugins folder under worlds. Deleting this config will make the world go back to use the default temperature-config.yml.
Improved leaves Particle Effect
Many people have had issues with the leaves effect getting stuck and not working well. With this update I've put some time into converting the backend to use NMS which will make them effectively client side only. This means if they do ever have an issue from an unknown bug, they won't get stuck anymore!
![[IMG]](/proxy/image?url=https%3A%2F%2Fi.imgur.com%2F3OaecsP.gif)
Resource Pack
Along with this version I'm also providing a resource pack for anyone who wants to use it. This for now simply adds the different textures for leaves (although I plant on adding more variation later). Later this pack will have more to it as more features are added but is a small add-on for anyone who wants to use it on there servers.
Download the resource pack here
ADDED
- Added XP Bar for display option for Hydration.
- Added option to set burning and freezing damage amount.
- Added option to set icons
- Added option to set if players can drink from open water.
- Added option set how much hydration a player will get from consumable items.
- Added Placeholder API support.
- Added more configuration for temperature.
- Added hex/RGB usage for temperature gradients.
- Added Wind and Gusts.
- Added more configuration for hydration.
- Added an icons section in the configuration.
- Re-Added render-delay-ticks option from @Gadsee.
- Created a Language Engine to handle multiple languages.
- Added temperature dissipation between blocks. If a block is hot, and obstructed from view. That obstruction will absorb some of the emitting blocks heat.
- Added more optimisation for block scanning when players are in motion. Scan volumes now scale depending on the players motion velocity. Faster they move the smaller of an area is scanned and less precise of a scan is done.
- Added support for multi world configs for temperatures.
- Added command /eternal world
- reload, reloads the world config.
- makeCustomConfig, makes a custom temperature config for the world.
- info, display info about this world.
- Added check for if a player is dead. Is they are they will no longer be included in processed (reduces load slightly while if someone does not respawn right away).
CHANGED
- Config handling was completely overhauled.
- Split handling of stat rendering into their own components.
- Made the Action bar component based.
- Leaf particles a now more accurately calculated.
- Hydration now uses a new format parser.
- Set min required version to 1.16.
FIXED
- Leaf Particles are no longer world entities and spawn using packets. This should fix an issue with them getting stuck in the world.
- Fixed issue with menu buttons not working correctly.
- Plants could auto plant them self on water.
- Leaves could spawn even when underwater.
- Unlit campfires would still emit temperature.
- Fixed concurrent modification issue with shadow entities.
- Sweat particles would show even if your hydration is at 0.
- Fixed deaths sometimes throwing errors.
- Fixed Version Checker comparison not working correctly.
- Fixed Plants being able to auto plant on top of water.
- Improved player tick for hydration and temperature.
- Fixed support for cold blocks.