Holy cow, it's been 8 months since the last release. Sorry it's been so long since an update. I've still been making changes, but I made it harder to release when I tried to automate releases. Back to manual updates, hopefully slightly more often
Changes
- Add Folia support (for the backend side)
- Add skip-queue-server-if-possible feature
- Added option to make /send an alias for /ajQueue send
- Unregister built-in velocity /server command if it should be replaced with the queue command
- Fixed console error if you try to auto-complete in the leavequeue command
- Improve /ajQueue usage hint
- Improve /ajQueue version command
- Probably fixed some errors with getting the last server change time (I couldn't reproduce, but it should be fixed)
- Add PriorityCalculationEvent to the API, which allows you to add priorities programmatically
- Fixed players being removed from queue-servers when they leave and have a stay queued permission
- Fixed error that could happen when checking if a server is whitelisted
- Only check for ViaVersion once instead of every time an AdaptedPlayer instance is created
- Fixed error when running the permission list debug command from the console
- Fixed velocity-kick-message silently not being sent if an error occurred
- Fixed the legacy section color code character breaking velocity-kick-message
- Fixed protocol names not being read from the messages file
- Added new API events: AutoQueueOnKickEvent, BuildServersEvent, and PreConnectEvent (Thanks KamikazeJAM/Jake Moore)
- Add act-like-no-permission-servers-dont-exist option
- No longer sends ack message when check-proxy-response is disabled
- Prevent spigot PAPI placeholders from being spammed
- Fixed invalid servers in placeholders throwing an error instead of just saying the server is invalid
- Config re-format
- Added require-queueserver-permission option to the config
- Fixed player status placeholder not working
- Fixed whitelisted status not showing for the non-player status placeholder
- Better fetching of players for spigot api
- Added plus-level-fallback to allow some leveled permissions on ajQueuePlus to work without a supported permission plugin
- Fixed QueueScoreboardActivator not activating on the correct player
- Ignore timeouts in placeholders
- Should fix nullpointers while modifying queue
- Add option to allow re-queueing for groups
- Fix player being removed before allow-group-requeue could work
- Filter auto-complete arguments
- Added ajqueue.make-room permission (disabled by default)
- Fixed priorities not being taken into account with make-room
- Add re-check-priority option to re-queue players when their priority increases
- move protocol-names to messages.yml and add newer version names
- Added manual-max-players to the config, which allows you to set a max player count for servers/groups
- Fixed wait-after-online not doing anything
- Don't parse placeholder if the player is no longer online
- Ignore error from player no longer being online
- Add QueueHolder API
- Added api to register custom PermissionHooks
- Add option to delay queue-servers by up to 3 seconds
- Fixed queue-server-delay being ignored by force-queue-server-target
- Fixed slash-server commands ignoring pre-queue checks (e.g. joinfrom permission)
- Skip invalid protocol names when moving them
See changes on github
This is the biggest update in a while. Massive updates to the API, including events and a spigot-side API.
- Fixed offline-time not working (because it was miliseconds instead of seconds)
- Fixed double-sending players with a bypass permission
- Fixed status.now-in-queue message being sent to players with bypass permissions
- Add a permission to the base manage command (so it doesn’t autocomplete)
- Fixed queues not being created for duplicated Bungee servers
- Fix occasional NPE on bungeecord (if a player is not on a server)
- Fix possible error with sending plugin message without a player name
- Fix memory leak related to queue command cooldowns
- Fixed manually creating PlayerSender not getting messages (spigot side /queue <player> <server>)
- Delay proxy check by a few ticks to hopefully make it more reliable
- If the proxy check fails, ajQueue will no longer "advertise" itself to players (it will just say "the queue plugin" instead of "ajQueue". It will still say "ajQueue" to players with permissions)
- Fix a semi-rare error when a server is offline on bungeecord
- Catch null player in spigot-side command
- Will no longer auto-complete servers the player doesn't have permission to queue for
- Really fix the semi-rare error when a server is offline on bungeecord
- Added /ajq pausequeueserver command, which will temporarily not queue you when you are in queue-servers
- Add a cooldown to the queue command (configurable)
- Will no longer notify about an update if the update is already downloaded
- minor improvements to the spigot-side
- Throw a warning instead of an error if a player is queued when they arent connected
- Move server ping cache storage to the AdaptedServer instance
- Fixed colors codes not working in status placeholder in listqueues command
- Fixed an error that could happen when checking if a server is full
- Wont check joinfrom permission unless the player actually executed the command (/ajq send bypasses joinfrom now)
- Fix unnecessary server look up in default balancer
- Fix minigame balancer not checking if server is joinable
- Fixed send-instantly not bypassing check-last-player-sent-time
- Fixed supported-protocols not working with groups
- Fixed offline servers sometimes not being marked as offline on velocity
- Fixed send-all-when-back-online not working 99% of the time
- fix error with placeholders that could happen when player disconnects
- Deploy to modrinth
- Added %ajqueue_status_<server>% placeholder
- Added "Sending now" title
- Added {TIME} placeholder in titles
- If luckperms player data is null, throw a warning instead of an error
- Made bungee events non-blocking
- Quick fix for an error that could occur on startup if you use /<server> aliases