Hey everyone.
I was just reminded that it has been a while since I have posted an update to Spigot, so here goes!
As always, if you would like to support the work that goes into creating and maintaining LuckPerms, please consider supporting me on
Patreon or making a donation. Your contributions are greatly appreciated & allow me to continue to work on and make my projects available for free for all to use - thank you!
You can also 'star' the project on
GitHub, or come say hi to us on
Discord - we don't bite, promise!
Enjoy the update!
New command
- Add '/lp verbose command <user to run as> <cmd>' for easy testing of command permissions
Editor changes
- Fix user ordering in the editor
- Add optional filter argument to editor command
- Improve argument based perm checks for the editor
- Include users which inherit the group when running /lp group <group> editor
API changes
- Add ContextUpdateEvent and related functionality
- Change behaviour of resolveInheritanceTree when 'resolve inheritance' flag is false
- Add DataTypeFilter
Misc changes
- Add option to merge into instead of overriding existing data in imports
- Define dependency on Vault during enable, fixes Spigot warning message
- Updated some dependencies
- Add log notification filters
- Use the only/default track if one is not specifed in the promote/demote command
- Add optional time parameters to permission/parent removetemp commands
- Add option to use a pastebin for exports/imports
- Add /lp export --without-groups
Fixes
- Make getUniqueUsers more resilient to invalid uuids
- Fix compatibility with modified SimplePluginManager in Mohist server fork
- Enforce removal of server=global and world=global contexts at a higher level
- Use contains instead of startsWith for context tab completions
- Use nicer toString for Durations in log messages
- Increase world column max length
- Group names should always be lowercase in inheritance nodes
- Improve undo command generation
- Fix NPE in ConfigurateConfigAdapter#getStringList
- Avoid calling #stream on the result of Bukkit getOnlinePlayers, fixes CME
- Add ConstraintNodeMatcher toString method for use in commands
- Remove NodeMap immutable cache
- Small optimization to processExportedPermissions
- Use ConcurrentHashMap instead of Caffeine in CachedDataManager, fixes race condition and associated long standing issue with TownyPerms
- Try to reopen Redis pub-sub connection on failure
- Impose 15 second timeout on all http calls
- Ensure group/track names are always lowercase'd when created via the API
- Pre-generate event classes, avoids lag during the first connection after the server started
- Include a wider range of potential contexts in web editor payload
- Fix import with no users object
- Ignore FileAlreadyExistsException in MoreFiles#createDirectories, fixes issue with symlinked directories
- Don't attempt further poll operations after SQL messenger has closed