Commit Graph

622 Commits

Author SHA1 Message Date
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
4811129ab1
Convert to text components and implement new translation system 2020-10-14 12:26:09 +01:00
Luck
2ea43d4b2e
Some misc refactoring and cleanup 2020-09-10 21:13:12 +01:00
Luck
5e48224c78
Use a map factory when resolving permissions for cached data 2020-08-30 09:14:33 +01:00
Luck
4d5a24f2c4
ContextSetJsonSerializer output should be sorted 2020-08-14 16:25:55 +01:00
Luck
8b506b6a95
Don't re-use PermissionCache instances 2020-07-03 15:18:58 +01:00
Luck
d12d13d6ea
Fix NodeMap#size method and rename some things 2020-07-02 12:16:13 +01:00
Luck
cc08390abe
Remove NodeMap immutable cache 2020-07-02 12:06:37 +01:00
Jonas Baars
8817e17d2c
Fix typo in config file 2020-06-29 15:17:42 +01:00
Luck
2ac7d3dfe6
Refactor command argument parsing 2020-06-21 19:58:17 +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
e37c77a1be
Add '/lp verbose command <command>' for easy testing of command permissions 2020-06-03 22:32:24 +01:00
Luck
11998b2dd6
Some misc cleanup 2020-06-03 21:20:41 +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
ed85ab1bfd
Change ContextSet 'satisfy' behaviour (#2300) 2020-05-20 14:51:03 +01:00
Luck
bfa5fc43cd
Rename getWithPermission method internally 2020-05-19 17:45:16 +01:00
Luck
a1c91b9007
Improve sync task performance 2020-05-11 13:46:02 +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
7ae532f082
Add UserManager/GroupManager searchAll method 2020-05-09 17:27:17 +01:00
Luck
1af55e3720
Rename InheritanceHandler --> InheritanceGraphFactory 2020-05-07 03:48:09 +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
4d7a6cb658
Add meta-value-selection config setting (#2167) 2020-04-16 14:44:38 +01:00
Luck
b79f6b0fdd
Build against SpongeAPI 7.2 2020-04-09 11:47:10 +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
141d3e26ea
Update dependencies 2020-04-04 22:47:43 +01:00
Luck
2028d65579
Rename some classes 2020-03-31 13:38:28 +01:00
Luck
c98c60b120
Fix IllegalStateException when constructing a MetaCache for CalculatedSubjects (#2123) 2020-03-30 22:57:08 +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
42e9f43443
Store result of primary group calculation in CachedMetaData 2020-03-30 14:13:17 +01:00
Luck
497846e5a6
Run some auto code inspections 2020-03-26 17:01:55 +00:00
Luck
fbac03e372
Remove MinimalApiProvider & refactor usages away from static access 2020-03-13 18:13:12 +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
0864cf756c
Cancel delayed/repeating tasks at the start of the disable process (#1935) 2020-01-25 12:38:24 +00:00
Luck
7e8402b542
Fix compile errors 2020-01-17 10:05:19 +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
2ccb475aa0
Cleanup command abstraction classes 2020-01-15 23:54:43 +00:00
Luck
3fae4e5e9e
Refactor CacheMetadata 2019-12-29 18:34:55 +00:00
Luck
b84518e1f1
Lots of misc cleanup 2019-12-29 16:26:05 +00:00
Luck
d3b3a8af38
Some small cleanup changes 2019-12-29 00:55:41 +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
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
8e9683b33f
Fix compile 2019-11-23 14:10:17 +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
Luck
c4bd657826
Changes to messaging service setup 2019-11-19 15:18:47 +00:00
Luck
a5e15b8a29
More work 2019-11-18 21:19:59 +00:00
Luck
79c10c986e
Web editor changes 2019-11-12 12:12:53 +00:00
Luck
287c0f7f7a
All the cleanup 2019-11-09 22:34:12 +00:00
Luck
fd954d8293
More work 2019-10-06 21:34:24 +01:00
Luck
f0e42c6db6
Allow context calculators to define "potential contexts", and use these for tab completions 2019-09-04 22:08:24 +01:00
Luck
4b793d1f14
More work 2019-09-04 20:58:46 +01:00
Luck
61e5da928a
Fix various runtime errors 2019-08-29 22:07:12 +01:00
Luck
b286faa1c5
Change API package to net.luckperms 2019-08-26 18:06:45 +01:00
Luck
4667ffc681
Allow data query order to be specified via the API 2019-08-26 14:04:49 +01:00
Luck
bafada4f17
Context & action log changes 2019-08-26 14:04:50 +01:00
Luck
5b97d01363
Permission holder refactoring 2019-08-26 14:02:39 +01:00
Luck
3474c66c1c
Big API refactor
- removed a bunch of ugly / badly designed methods and APIs
- refactored 'Contexts' --> 'QueryOptions'
- Removed the FullySatisfiedContexts hack and replaced it with a sane API
- Made PermissionHolder (in the API) less ugly and horrible
- removed lots of deprecated / duplicated API functionality
and much more...
2019-08-26 14:02:44 +01:00
Luck
8d8024ba5e
Fix group changes via the API not properly invalidating caches (#1534) 2019-05-20 10:42:48 +01:00
Luck
ff37ad176b
Update text adapters to latest version (#1525) 2019-05-11 23:12:55 +01:00
Luck
f49446011a
Update to text 3 2019-05-07 00:23:40 +01:00
Luck
d762a0aaa6
Reduce new instance creation further in TristateResult.Factory 2019-04-28 15:35:46 +01:00
Luck
493e5d08be
Finish refactoring 2019-04-22 09:15:46 +01:00
Luck
241f13c8f1
Package renames 2019-04-20 18:10:31 +01:00
Luck
98ea255667
Refactor blank message sending 2019-04-19 09:46:45 +01:00
Luck
364a494ac6
Fix making changes to group subjects via the Sponge API (#1495) 2019-04-18 22:57:53 +01:00
Luck
4fa6cd2577
Add configuration option to perform a post-traversal sort according to the inheritance (weight) rules 2019-04-06 18:20:30 +01:00
Luck
8846932cb6
Refactor the HolderType enum 2019-03-08 20:19:08 +00:00
Luck
12b861db3f
Update PermissionHolderSubjectData#save code 2019-03-08 19:56:07 +00:00
Luck
0a50df6557
Code style: move private constructors for singleton classes to the top of the file 2019-03-05 12:36:09 +00:00
Luck
3726f6de41
Use a separate fork join pool for cache loading operations 2019-03-05 12:35:29 +00:00
Luck
dae64fc8c4
Cleanup some of the Sponge permission holder implementation code 2019-02-07 15:35:09 +00:00
Luck
307614e704
Cleanup import statements 2019-01-31 00:53:42 +00:00
Luck
f6c0794691
Return more detailed information about exactly how a permission check result was determined 2019-01-31 00:45:56 +00:00
Luck
78a74510cf
Fix Sponge and Velocity build scripts 2019-01-12 13:39:07 +00:00
Luck
db830a0bef
Buildscript changes 2019-01-07 21:25:11 +00:00
Luck
ec7a5321a6
Some misc refactoring / code cleanup 2019-01-07 15:08:13 +00:00
Luck
6fc2321fad
Refactor PlayerLoginProcessEvent
This is technically a breaking change, but I'm fairly sure I'm the only person using this event. It's quite obscure ;p
2019-01-02 13:54:55 +00:00
Luck
4b1cf51530
replace LoadingCache with more simple LoadingMap alternative when no auto expiry is needed 2018-12-14 18:37:56 +00:00
Luck
757e9d6be6
Add API method to get known permissions & improve the way PermissionDescriptions are migrated from existing Sponge services when LP enables 2018-12-07 14:07:54 +00:00
Luck
2da6298c53
Update references to the project website 2018-11-22 15:25:39 +00:00
Luck
90246afd03
Some misc refactoring 2018-11-22 14:51:20 +00:00
Luck
9809e591ad
Reorganise some packages 2018-11-10 23:16:28 +00:00
Luck
5dda522a62
Add option to deduplicate prefix/suffix stacks (#1285) 2018-11-06 14:29:15 +00:00
Luck
9988011308
Improve the way meta lookups are caught & reported to the verbose handler 2018-11-06 13:15:30 +00:00
Luck
8584a9b72c
Sponge Subject lookup methods without a contexts param should default to current contexts, not global (#1279) 2018-11-02 22:39:02 +00:00
Luck
5e0b8ebdf6
Include meta lookup events in verbose output 2018-10-28 12:31:47 +00:00
Luck
dcc4656e5e
Update buildscripts for Sponge Ore deployment 2018-10-15 22:30:36 +01:00
MrMicky
ee2de3cff1 Some minor code cleanup (#1262) 2018-10-09 18:00:53 +01:00