This update changes the event handling for the ping events used on the servers and proxies. Previously did each platform version have its own handling of the event, resulting in a lot of repeated code. This has now been moved to a central class to be handled by, allowing the amount of duplicate code to be reduced significantly.
You shouldn't notice any real difference. If you do, report it on the issue tracker or in my Discord Server.
This versions add an update checker.
To use it, you have to add check_updates: true
to your config,yml.
When enabled will AdvancedServerList check for a new update at Modrinth every 12 hours. If it finds a new update will it inform you about it. The updates are checked against the plugin's respective platform, meaning that the Spigot version only checks versions for the Spigot platform.
Please report any issues on the issue tracker or in my Discord Server.
This update adds a new option called disable_cache
to the config.yml
When set to true (Defaults to false) will the caching of players be disabled. This means the following:
- No player names will be loaded from the
cache.data
file, if present - No
cache.data
file will be created if none is present - No player data will be saved to the
cache.data
file when the plugin gets disabled
Placeholders
It's important to note, that any placeholder requiring a cached player will NOT work when this option is used.
In particular, the following placeholders won't work:
${player name}
(Will display the text set inunknown_player
)${player hasPlayedBefore}
${player isBanned}
${player isWhitelisted}
${player uuid}
- Any PlaceholderAPI placeholders
There was a chance of an exception appearing due to the file not being able to create the cache.data file due to a missing setting. This should be fixed. It never showed up to me since I use windows and test my plugin locally.
The output of /asl reload
, namely the Loaded x Profile(s)!
was formatted wrong.
It looked something like this: