Commit Graph

749 Commits

Author SHA1 Message Date
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
Luck
bbec0932fd
Fix typo 2020-03-10 23:55:47 +00:00
Luck
6fea194ef5
Don't attempt to refresh auto op if server is stopping (#1989) 2020-02-27 13:19:53 +00:00
povsister
2ed45c92a6
Enhance default config (#2005, #2006)
Co-authored-by: Luck <git@lucko.me>
2020-02-21 20:08:58 +00:00
Luck
d937c9ce06
Update commodore to 1.7 2020-02-10 00:45:47 +00:00
Luck
2eabe845d7
Update commodore to 1.6 (#1939) 2020-02-09 15:44:52 +00:00
Luck
446fa48d9a
Optimize LuckPermsPermissionMap putAll implementation 2020-02-05 20:59:10 +00:00
Luck
26de6cf86f
Refactor CraftBukkitImplementation utility 2020-01-25 16:43:53 +00:00
Luck
5fe7302965
Simplify vault hasPerm check for users 2020-01-25 16:43:31 +00:00
Luck
8fa629a243
Fix/catch IllegalArgumentException when estimating potential world contexts (#1951) 2020-01-25 12:59:41 +00:00
Luck
e9d72df890
Check for an empty buffer in async tab complete handler (#1949) 2020-01-25 12:25:00 +00:00
Luck
c39a44c3ac
Add reminder to remove other plugin jar after migration (#1923) 2020-01-25 12:17:23 +00:00
Luck
7e8402b542
Fix compile errors 2020-01-17 10:05:19 +00:00
Luck
a050a2604f
Fix error extracting command label in AsyncTabComplete handler 2020-01-16 17:55:03 +00:00
Luck
abad672bef
Implement support for Vanilla command target selectors (e.g. @p, @r) for Bukkit & Sponge 2020-01-16 17:49:28 +00:00
Luck
fe3d715f09
Implement Paper's AsyncTabCompleteEvent 2020-01-16 17:20:54 +00:00
Luck
e151fbe298
Build against 1.15 APIs 2020-01-16 16:05:19 +00:00
Luck
2ccb475aa0
Cleanup command abstraction classes 2020-01-15 23:54:43 +00:00
Luck
4c83d439af
Refactor Vault provider world rewriting 2020-01-14 15:18:45 +00:00
Luck
c454d17826
Refactor Vault Chat #setMeta impl 2020-01-07 15:07:21 +00:00
Luck
098f8d8231
Fix NPE when trying to set (chat)meta with a null would through Vault (#1920) 2020-01-07 14:24:04 +00:00
Luck
c1e3660551
Update commodore to 1.5 2020-01-04 23:26:53 +00:00
Luck
3ceb53aa4f
Improve n/bukkit SenderFactory getPermissionValue impls 2020-01-04 22:00:53 +00:00
Luck
83883aa7e6
Replace internal brigadier command structure with Commodore's file format 2019-12-29 22:01:38 +00:00
Luck
4e9b11f30a
Only apply DefaultsProcessor for users 2019-12-29 18:01:13 +00:00
Luck
9c8bdb1166
Fix support for setting vault npc op status 2019-12-29 17:53:39 +00:00
Luck
242993763c
Remove vault-debug option
This is now covered pretty much entirely by verbose data.
2019-12-29 17:37:08 +00:00
Luck
b84518e1f1
Lots of misc cleanup 2019-12-29 16:26:05 +00:00
Luck
ec2cb5007c
Move op handling into a permission processor 2019-12-28 23:41:02 +00:00
Luck
96c53091d0
Make use of Instant / Duration classes where possible for time handling 2019-12-24 23:10:26 +00:00
Luck
63b890d522
Rename EventFactory --> EventDispatcher 2019-12-24 13:05:48 +00:00
Luck
7474842b45
Cleanup the way contexts for transient permissions are determined 2019-12-14 17:06:26 +00:00
Luck
9093385de3
Fix NPE in Permissible#recalculatePermissions 2019-12-13 14:30:37 +00:00
Luck
37367fe91f
Invalidate QueryOptions cache when op status changes 2019-12-13 13:56:34 +00:00
Luck
dce792083b
Fix some issues with null world contexts in migration scripts 2019-12-13 11:51:42 +00:00
Luck
6fdd349654
Fix (un)setting nodes through Vault with null worlds (#1826) 2019-11-29 12:16:24 +00:00
Luck
01e17adf82
Cleanup imports 2019-11-25 22:52:37 +00:00
Luck
acdd5f3faa
Don't attempt to load permissions data for login events cancelled at the lowest priority
Makes LuckPerms more compatible with "anti-bot" plugins.
2019-11-25 22:51:11 +00:00
Luck
86aadf2cf8
A few more small API changes 2019-11-23 12:59:40 +00:00
Luck
95d2832884
A few more small API changes 2019-11-23 12:52:26 +00:00