Skip to content

Releases: boxbeam/RedLib

Brought back profiler and associated commands

29 Aug 03:58
Compare
Choose a tag to compare
  • 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

28 Aug 22:26
Compare
Choose a tag to compare
  • 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

22 Aug 16:43
Compare
Choose a tag to compare
  • Fix issue with command manager loading a certain message
  • Fix bug with loading floats in config manager

RedLib can now be shaded

21 Aug 17:29
Compare
Choose a tag to compare
  • 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

21 Aug 07:29
Compare
Choose a tag to compare
  • 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

20 Aug 20:22
Compare
Choose a tag to compare
  • 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

19 Aug 21:06
Compare
Choose a tag to compare

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

15 Aug 02:46
Compare
Choose a tag to compare
  • ConfigManager will now implicitly convert enums using valueOf and name
  • Minor optimization to EnchantRegistry (thanks, Shuaiouke)

Allow ConfigValue annotation to be empty

14 Aug 21:45
Compare
Choose a tag to compare

@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

13 Jul 03:58
Compare
Choose a tag to compare
  • Due to an oversight, attempting to register a command with a non-java plugin would still error, this is now fixed