Releases: boxbeam/RedLib
Releases · boxbeam/RedLib
Brought back profiler and associated commands
- Added flag to specify tick minimum ms in /profiler monitor start
- Config options to start profilers on server startup are gone
- For some reason starting the profiler on startup crashes the server, and when I tried to attach to the server using VisualVM to see what caused it to crash, VisualVM crashed too
Added helpful error output
- Error when trying to run a command hook which has incorrect parameter types will now show the parameter types the command manager tried to pass
Minor bugfixes
- Fix issue with command manager loading a certain message
- Fix bug with loading floats in config manager
RedLib can now be shaded
- It can be used as a plugin dependency or a shaded dependency
- If you use it as a shaded dependency, none of the developer commands or features will be available
- All messages are still configured in the RedLib plugin folder even if RedLib is not installed
- Removed profilers and associated commands, as they were causing issues
- BlockDataManager#getLoaded will now return an empty set again rather than null if the chunk is not loaded
- Removed unfinished CustomBiome and CustomWorldGenerator classes
Separate command format messages into RedCommands
- Command messages are now in command-format.txt
- For the sake of still allowing command messages to be globally configured, this messages file will always show up in the RedLib folder even for plugins which shade RedCommands
Moved command manager into its own library
- Code can now be found at https://github.com/Redempt/RedCommands
- Command manager is still shaded into RedLib, so your usage of RedLib will not need to change
- Updates to the command manager will still be made into releases of RedLib
- This is for people who want to use the command manager without having a plugin dependency for it
- Refactored command manager code in RedCommands
- Added support for combining single character boolean flags (flags like -a and -b can now be combined into -ab in command usage)
- Fixed formatting of multi-line help messages
Change load order to STARTUP
RedLib now loads on startup instead of post-world, allowing other plugins which load earlier to interact with it in their onEnable
Simplify usage of ConfigManager
- ConfigManager will now implicitly convert enums using valueOf and name
- Minor optimization to EnchantRegistry (thanks, Shuaiouke)
Allow ConfigValue annotation to be empty
@ConfigValue may now be used without specifying a path, the path will default to the name of the field it is annotating
Bugfix for plugins not using Java
- Due to an oversight, attempting to register a command with a non-java plugin would still error, this is now fixed