What's New in Version 0.1.17 See changelog
Released
- Added a check for the correctness of config parameters during initialization;
- Added a forced limit on the default font size to 1-25(as larger sizes do not fit in the default height of the bar) ;
- Resolved the problem where some plugins had display issues when a player connected;
- Fixed overlap issues when a Pet is present;
- Fixed bar overlap when a player is sitting in a magnet truck(Junkyard) ;
- Fixed the bug in the display of status bars when a player was asleep.
For developers:
- The current version of the plugin has been added to the parameters of the OnAdvancedStatusLoaded hook, void OnAdvancedStatusLoaded(VersionNumber version = default) ;
- Added the ability to pass dictionaries with int keys instead of strings, which will avoid the creation of unnecessary strings and simplify key searches, though it may negatively impact code readability. The choice between readability and performance is up to you. A list of pinned values can be found on the plugin page in the developer section;
- You can now specify colors in both Hex and RGBA formats;
- Added the ability to specify transparency for texts;
- Added the ability to outline texts and images;
- Added the ability to specify a list of client and console commands that are triggered when a status bar is removed;
- Added the OnAdvancedBarDeleted hook, which is called when a bar is removed.
Due to issues with method overloads when called via Plugin.Call(), the names of the following overloaded API methods have been changed(not all methods were changed, pay attention to the parameters) :
- DeleteBar(string barId, string pluginName) => DeleteBarForAll(string barId, string pluginName)
- DeleteCategory(string category, string pluginName) => DeleteCategoryForAll(string category, string pluginName)
- DeleteAllBars(string pluginName) => DeleteAllPluginBars(string pluginName)