Commit Graph

788 Commits

Author SHA1 Message Date
Luck
98adb046ee
Update lots of dependencies 2021-04-18 18:20:54 +01:00
Luck
0808392353
Update adventure 2021-04-18 13:33:22 +01:00
Luck
07f672ae1f
Add 'skip-bulkupdate-confirmation' config option (#2980) 2021-04-18 11:55:06 +01:00
Luck
21f5c24847
Optimize Bukkit/Nukkit ChildProcessor refresh (#2952) 2021-03-20 18:17:17 +00:00
Luck
1df66255e4
Fix RCON permission checking for LP commands on Bukkit (#2948) 2021-03-19 20:03:21 +00:00
Luck
ad1ba3c126
Fix player locale retrieval on Bukkit 1.8 (#2930) 2021-03-19 19:33:18 +00:00
Luck
e3138eb94c
Make console detection more resilient against spoofed UUIDs 2021-03-13 14:25:33 +00:00
Luck
370e2aed0d
Add some missing null annotations 2021-03-13 14:14:59 +00:00
Luck
bb01c74642
Fix typo 2021-03-04 15:01:47 +00:00
Luck
ba71345cbd
Improve Vault sync lookup error message 2021-03-04 14:58:00 +00:00
Luck
e7f2a8d713
Add config option to disable built-in contexts 2021-03-01 11:18:21 +00:00
Luck
bf0ac1a867
Micro-optimise some frequently iterated lists 2021-03-01 10:38:48 +00:00
Luck
843eaaed0c
Fix getLocale on older Bukkit releases (#2915) 2021-02-27 15:43:46 +00:00
Luck
4ff2c75538
Add config option to set Hikari keepalive property 2021-02-22 23:02:43 +00:00
Luck
734b011dc7
Some minor tidying 2021-02-22 22:51:45 +00:00
lucko
75d8f00400
Implement jar-in-jar loader system (#2899)
This fixes an issue that prevented LuckPerms from loading on Java 16
2021-02-18 12:21:17 +00:00
Luck
cb5f403043
Invalidate context cache on Bukkit PlayerJoinEvent
The players world is first defined just before this event, so we need to invalidate here as well as on world change
2021-02-16 17:38:45 +00:00
Luck
cb9e0899fc
Misc refactoring and tidying up 2021-02-10 11:12:30 +00:00
Callum Seabrook
d8aefd23d3
Added virtual host support for RabbitMQ (#2877) 2021-02-05 11:38:13 +00:00
ruViolence
a8dfd38fe6
RabbitMQ messenger support (#2874) 2021-02-04 17:10:30 +00:00
Federico López
b708d04141
Improve CraftBukkit detection (#2867) 2021-01-31 11:01:44 +00:00
Conclure
8043b84dc4
Substitute null check with Configuration#isSet (#2851) 2021-01-26 11:52:12 +00:00
Luck
cd496fdc39
Default apply-default-negated-permissions-before-wildcards to false on Bukkit/Nukkit (#2787) 2021-01-19 14:34:54 +00:00
Luck
f9030825fd
Add some more annotations to mark API methods 2021-01-19 14:29:49 +00:00
Luck
238a4fba75
Rename MapProcessor to DirectProcessor 2021-01-13 18:25:02 +00:00
Luck
c904ede972
Improve & consolidate permission check commands 2021-01-13 16:40:57 +00:00
Luck
505c073c8e
Add config to control whether display names are returned by the Vault hook 2021-01-09 20:36:08 +00:00
Luck
657cf2a45e
Brigadier arguments in the same parse tree need unique names (#2798) 2021-01-01 19:38:55 +00:00
Luck
8167fbf73f
Give false default permissions priority over wildcards
I think this is a good compromise. It won't apply to registered permissions that are defaulted to 'op' (Bukkit) or 'undefined' (Sponge), only to those that are specifically set to false.

The change is configurable, enabled by default for new installs of LP.

Will hopefully go some way to resolving:
- #2787
- https://v2.nucleuspowered.org/docs/nowildcard.html
- NucleusPowered/Nucleus#1093 (and related)

cc: @dualspiral @slipcor
2020-12-23 14:36:31 +00:00
Luck
8dfeef9575
Some misc tidying up 2020-12-23 12:16:14 +00:00
Luck
5c44333892
Move migration commands to a separate jar 2020-12-22 14:53:22 +00:00
Luck
16fbf566f3
Ensure child permissions are handled as lowercase when resolving (#2761) 2020-12-14 15:22:41 +00:00
Luck
7bc422c83f
Add soft-dependency on ViaVersion to avoid warning msg (#2771) 2020-12-14 14:54:12 +00:00
Luck
5bfbf26e2f
Fix ArrayIndexOutOfBoundsException from null environment in BukkitPlayerCalculator 2020-12-04 14:17:35 +00:00
Sven Arends
727c2f92c3
PowerRanks migration (#2718) 2020-11-26 17:52:31 +00:00
Luck
53fb46ee85
Expose uuid/username lookups and validity checks as events in the API 2020-11-23 23:54:02 +00:00
powercas_gamer
e851234723
Remove debug command & add more usages to commands (#2725) 2020-11-18 23:52:26 +00:00
Luck
129a10aa60
Automatically install translation bundles 2020-11-12 00:28:02 +00:00
Luck
9f8b4b2404
Fix inf loop when sending messages to command blocks on Bukkit (#2702) 2020-11-10 16:17:23 +00:00
Luck
93d0c54687
Cache some PermissionProcessor instances 2020-11-10 15:04:05 +00:00
Luck
6564cc89f4
Fix NPE when player gamemode or world is null 2020-11-07 17:46:38 +00:00
Luck
9796d2421f
Player context calculator fixes, fix compat with Sponge API 7 (#2703) 2020-11-07 11:40:26 +00:00
Luck
0ea0ce9d26
Provide 'gamemode' and 'dimension-type' contexts by default
Also, optimize world rewrites
2020-11-07 00:57:57 +00:00
Federico López
5bdc798237
Allow creategroup command to take weight and display name as optional arguments (#2698) 2020-11-02 09:48:02 +00:00
MrMicky
7854de8991
Move exception printing to logger (#2695) 2020-10-31 22:25:11 +00:00
Luck
7b3beae57f
Change wiki links from GitHub to luckperms.net 2020-10-28 11:58:41 +00:00
Luck
b9eb022011
Fix null player locale causing NPE (#2678) 2020-10-20 12:25:35 +01:00
Luck
d7fa9e08f3
Fix various translation issues 2020-10-19 13:24:44 +01:00
Luck
3b779dbbd3
Add note to build scripts about our repackaged version of the adventure library 2020-10-16 00:17:42 +01:00
Luck
6e7c49488d
Add /lp translations command 2020-10-15 23:02:11 +01:00
Luck
4811129ab1
Convert to text components and implement new translation system 2020-10-14 12:26:09 +01:00
Luck
cc1d8984da
Config option for registering brigadier command list data 2020-08-30 09:13:59 +01:00
Luck
7fae141e33
Ignore cancelled events for OP command disabling (#2527) 2020-08-13 11:03:24 +01:00
Luck
ee3bb22c2c
Improve Bukkit identifyClassLoader (#2444) 2020-08-13 10:31:20 +01:00
Luck
1eab127f50
Refactor op command detection 2020-08-01 10:20:49 +01:00
Jonas Baars
8817e17d2c
Fix typo in config file 2020-06-29 15:17:42 +01:00
Luck
0f23b7a460
Avoid calling #stream on the result of Bukkit getOnlinePlayers 2020-06-25 10:24:33 +01:00
Luck
2ac7d3dfe6
Refactor command argument parsing 2020-06-21 19:58:17 +01:00
Luck
f893b1c632
Add optional time parameters to permission/parent removetemp commands (#1384) 2020-06-20 22:01:27 +01:00
Luck
bd9718c5af
Add log notification filters (#1980) 2020-06-20 20:46:54 +01:00
Luck
0bef0902c0
Update some dependencies 2020-06-10 20:41:39 +01:00
Luck
f10f60e27f
Define dependency on Vault during enable (#1959) 2020-06-10 20:24:11 +01:00
Luck
8996cf02af
Add player argument to'/lp verbose command' to execute the test command as another player 2020-06-04 01:32:56 +01:00
Luck
e37c77a1be
Add '/lp verbose command <command>' for easy testing of command permissions 2020-06-03 22:32:24 +01:00
Luck
6b3e4bdc71
Add ContextUpdateEvent and related functionality 2020-05-25 21:49:49 +01:00
Luck
5c0d82f306
Refactor config handler classes 2020-05-25 10:42:32 +01:00
Luck
13ebc87b29
Fix compatibility with modified SimplePluginManager in Mohist fork
eab0f722a4/src/main/java/org/bukkit/plugin/SimplePluginManager.java (L674)
2020-05-20 21:37:07 +01:00
Luck
ed85ab1bfd
Change ContextSet 'satisfy' behaviour (#2300) 2020-05-20 14:51:03 +01:00
Luck
4cbbbd390f
Don't schedule command list updates if the server is stopping (#2301) 2020-05-16 18:19:05 +01:00
Luck
c120fa6a4d
Fix startup on Nukkit (#2290) 2020-05-16 11:52:51 +01:00
Luck
b88819b9bb
Cleanup Bukkit/Nukkit dummy classes, some aren't necessary anymore 2020-05-11 21:58:24 +01:00
Luck
c7a0e59919
Catch RejectedExecutionException in BufferedRequest (#2289) 2020-05-11 21:15:42 +01:00
Luck
a1c91b9007
Improve sync task performance 2020-05-11 13:46:02 +01:00
Luck
ec7994a561
Print more useful debug message when a LinkageError is thrown due to bad SLF4J classloading
This is a longstanding issue, mostly caused by plugins with bad Maven shade configurations.

https://github.com/lucko/LuckPerms/issues?q=slf4j
2020-05-11 01:41:01 +01:00
Luck
9f22bf2fbf
Update the client commands list when permissions are changed (#2262) 2020-05-10 22:18:01 +01:00
Luck
7845d89f10
Add some convenience API methods (#1926) 2020-05-09 23:41:28 +01:00
Luck
10fbc24f43
Add option for Sponge style wildcards on other platforms (#1625) 2020-05-09 17:48:29 +01:00
Luck
ad6a11819d
Ignore null entries in Permission#children map on Bukkit/Nukkit (#2235) 2020-04-28 13:54:23 +01:00
Luck
eb0d758efc
Fix Bukkit command map access (#2229) 2020-04-28 12:57:40 +01:00
Tobi
f484e87828
Add other options to meta formatting config comment (#2222, #2090) 2020-04-24 19:57:50 +01:00
Luck
07b2df7c7e
Cleanup configuration files slightly 2020-04-23 13:05:39 +01:00
Luck
cab15d39c3
Make the injected LP permSubs replacement value maps thread safe 2020-04-21 20:06:52 +01:00
Luck
36335c10a4
Cleanup imports 2020-04-17 17:49:32 +01:00
Luck
642d14d003
Allow leading '/' in LP commands executed from the console
https://github.com/Turbotailz/LuckPermsWeb/issues/34
2020-04-17 17:46:48 +01:00
Luck
175808e251
Attempt to fix some PowerfulPerms migration issues (#2168) 2020-04-16 15:13:41 +01:00
Luck
4d7a6cb658
Add meta-value-selection config setting (#2167) 2020-04-16 14:44:38 +01:00
Luck
8cecfe5b7c
Avoid calls to the Bukkit singleton 2020-04-07 17:50:08 +01:00
Luck
fe139f8420
Replace 'none' option with 'auto' in messaging service config description 2020-04-05 16:04:38 +01:00
caramat
bb015d0c88
Fix the link to Storage types wiki page in config files (#2135) 2020-04-05 16:03:19 +01:00
Luck
94809c2a66
Defer legacy component handling on 1.7 servers to Kyori lib 2020-04-05 15:48:07 +01:00
Luck
141d3e26ea
Update dependencies 2020-04-04 22:47:43 +01:00
Luck
c3128dec0d
Generate actual classes for LP events at runtime instead of using proxies + InvocationHandlers 2020-03-30 19:19:27 +01:00
Luck
b65639cd76
Ignore empty string world names in Bukkit WorldCalculator (#2119) 2020-03-30 14:32:27 +01:00
Luck
42e9f43443
Store result of primary group calculation in CachedMetaData 2020-03-30 14:13:17 +01:00
Luck
0964762217
Avoid call to PermissionUser.initialize in PEX migration (#2102) 2020-03-26 23:09:09 +00:00
Luck
3553a0f9fe
Don't attempt to migrate empty users in PEX migration (#2102) 2020-03-26 22:32:53 +00:00
Luck
24304a61a7
Work around issue accessing PEX async in migration (#2102) 2020-03-26 17:18:00 +00:00
Luck
3a7fadb843
Perform uninject tasks synchronously on Bukkit player quit (#2080) 2020-03-24 09:43:32 +00:00
Luck
05b82cdbab
Slightly optimize Permissible#getEffectivePermissions 2020-03-19 11:04:52 +00:00
Luck
fbac03e372
Remove MinimalApiProvider & refactor usages away from static access 2020-03-13 18:13:12 +00:00