Skip to content
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.

v2.1.0: Improved API and Events

Compare
Choose a tag to compare
@Andre601 Andre601 released this 01 Feb 14:51
· 982 commits to master since this release

Please note

Despite this being a minor version bump does it contain breaking changes due to the API being updated from v1 to v2 which has its own set of breaking changes (See this Release for details)

Also, while the plugin has been tested using the asl-mockup plugin could there be bugs and compatability issues. Please report them when you encounter any.

Removed API module

The api module has been removed. Instead is the separate asl-api repository used for the actual API stuff, meaning that the plugin will now use the same API as you would when hooking into it.

Added PreServerListSetEvent

This event is fired whenever AdvancedServerList is about to alter the server list for a player. It allows you to modify the used ProfileEntry or even cancel the event to not have the server list changed.

Fixed = condition not working when surrounded by spaces

If you had a = (equals) condition and the = was surrounded by spaces would this break the check, as an expression like value1 = value1 would check "value1 " with " value1" which obviously aren't equal.
The plugin now removes any leading and trailing spaces from the left and right side of the expression before evaluating the condition.