Fabric versions supported by this update: 1.21.8, 1.21.7, 1.21.6, 1.21.5, 1.21.1, 1.20.1
Added offline player tab completion with built-in name compression. The memory cost of caching thousands of usernames is reduced by up to 70%, depending on random factors.
Using tab complete decompresses 25% of the cache, temporarily. The server will reclaim this memory as needed.
This compressor is entirely custom designed, and packs itself up while not in use to efficiently reduce memory consumption, unpacking again only when needed.
The limit of cached entries can be set with `offline_tab_size` in config.yml.
Added `{suggest: text}` JSON feature support. Clicking on the text will set the input to the specified command.
Added `{copy: text}` JSON feature support. Clicking on the text will copy the specified text to the clipboard.
Added `--delete`, `--skip`, `--hide`, and `--no-queue` command flags.
The `--delete` flag (`-d`) allows you to delete a specific punishment. This flag erases punishments from history and reverts template progress with /unban, /unmute, /unwarn. Example: `/unban -d 4321`
The `--skip` flag, intended for templates, allows you to issue "dummy" bans/mutes that advance templates but nothing more.
The `--hide` flag disables the broadcast entirely. Console will not see it either.
The `--no-queue` flag disables unban queueing.
Command flags issued by a template (not specified by user) now have full authority and require no permissions to use.
Added configurable `broadcast` node to templates. It's now possible to have separate broadcast messages for each template, and for each ladder step. This also makes it possible to disable the broadcast.
Added configurable hex colour formats for compatibility with third party plugins. By default, the following hex colour formats are included: `&%s`, `<%s>`, `{%s}`
Fixes:
Paper: Fixed Paper breakage due to breaking changes in Paper once again.
Fabric: Fixed hex colours in plain chat messages not working as intended.
Fabric: Fixed config.yml not being copied correctly under specific conditions.
Proxy: Fixed `litebans.notify.broadcast.local.*` permission nodes not being checked. Other server specific nodes unaffected.
Fixed staffhistory not being fully ordered by creation time since version 2.17.
Fixed template flags expecting a list instead of a single string. Either format can now be specified.
Fixed URL click event validation issues for 1.21.5+.
Fixed notifications (such as offline warnings) being skipped if users take more than 4 seconds to join the server. (Proxies less affected)
Minor improvements:
The /staffrollback command now supports server scopes.
The /alts command will now also check for bans/mutes on the scope of the recipient's current server and not just the global/proxy scope when LiteBans is installed on a proxy instance.
The modify_success message now factors in all variables affected by the modification, not only reason/dateEnd.
Added workaround to prevent "zip file closed" in one specific instance. This error is not caused by LiteBans.
Template actions will now be applied before players are kicked.
Added infinite loop detection (stack overflow) for recursive templates.
Added support for non-inline fields.
Durations can now be specified as 'unlimited'.
Minor fixes:
Fixed errors caused by incorrectly formatted fields/structures in messages.yml and templates.yml.
Web Interface:
The web interface now supports both lookup and displaying of random IDs (info_show_random_id).
2.18.1:
Fixes:
Fabric: Fixed runtime errors since version 2.18 on specific versions (only 1.21.5/1.21.1 affected)
Fixed an error which could occur in rare cases since version 2.18.
2.18.2:
Fixes:
Fixed several bugs & errors regarding compression.