Greetings:
Hi LevelledMobs users! This is a pretty chunky update in terms of changes under the hood. Performance and code improvements were my focus in this update, so expect LM to be
far less of a performance hog on your server.
Warning:
Please read the 'Important Information' and 'Notable Changes' sections below in this update's changelog. There are things you definitely need to know in there, such as the new dependency and the settings file stuff.
Reading the rest of the changelog is optional
Links referenced in the changelog:
Changelog:
Code (Text):
v1.33.5-RELEASE:
Important Information:
- New dependency: PhantomLib (see link above)
- The settings file has been updated to ver 19. You can now allow passive mobs to have changed movement speeds (disabled by default), and there are extra comments to help users who need it.
- The settings file no longer reloads itself, this is to substantially increase performance. Use '/lm reload' to reload the settings file to memory now.
- New permissions 'levelledmobs.reload', 'levelledmobs.summon'
Notable Changes:
- Addition | Now caching the Settings file! LM will no longer have to access your disk several times when a mob spawns.
- Addition | Added an option to the config to allow passive mobs to have their movement speeds changed.
- Addition | Added '/lm' and '/lvlmobs' aliases to '/levelledmobs' for easier command usage.
- Addition | Added '/lm reload' to reload the settings.yml file to memory. permission is 'levelledmobs.reload'
- Improvement | Entity names now have spaces where necessary and each word is capitalized. e.g. 'CAVE_SPIDER' used to translate to 'Cavespider', it is now 'Cave Spider'.
- Improvement | Changed the default fine tuning multipliers to tone them down so they're not so overpowered
Other Changes:
- Addition | Added more information to the debug functionality (base values of attributes)
- Addition | Started work on a '/lm summon' command. It is not functional yet as the levelling system needs to be revised for this to be added. Permission is 'levelledmobs.summon'. Requested by leasoncre.
- Improvement | Removed multiple methods in favour of using PhantomLib's methods.
- Improvement | Updated dependencies
- Improvement | Removed 'instance.levelManager' access in LevelManager, e.g. 'instance.levelManager.isLevellable' becomes 'isLevellable'
- Improvement | Fixed typo in WorldGuardManager line 50
- Improvement | Unimportant changes to the '/levelledmobs' command, messages in particular.
- Improvement | Moved 'getMinLevel' and 'getMaxLevel' methods from LevelManager to FileCache + improved its code.
- Improvement | Renamed a few methods in Utils class
- Fix | all '/lm' commands saying 'for a list of commands' message
- Fix | world and entitytype overrides not checking if they're enabled before scanning for their presence
Upcoming:
I will soon make a good attempt at providing compatibility for SafariNets and other capture-release plugins alike. I would have included it in this update, but unfortunately
I am dealing with a code problem. The thread has only attracted one reply so far. I wanted to release the other fixes as soon as possible, so I decided to just skip adding it in this update.
Thanks everyone! Hit like if you like this update.
