Commit Graph

1379 Commits

Author SHA1 Message Date
Luck
505c073c8e
Add config to control whether display names are returned by the Vault hook 2021-01-09 20:36:08 +00:00
Luck
848c36928f
Fix logging in on Fabric using offline mode (#2810) 2021-01-05 10:30:28 +00:00
i509VCB
21abb94796
Fabric (#2029) 2021-01-04 15:23:54 +00:00
Luck
0a99a96188
Tidy up Node add/remove/clear API events 2021-01-02 21:16:45 +00:00
Luck
a8b1dc8c07
Only store ids of received messages for 1 hour to prevent high memory usage on instances with high uptime (#2807) 2021-01-02 20:08:56 +00:00
Luck
c3581c00d3
Fix verbose command no checks message format 2021-01-02 00:50:18 +00:00
Luck
8124a17adb
Conserve expiry time when promoting/demoting (#2794) 2021-01-01 20:25:47 +00:00
Luck
d83559b949
Change permission tree size limits to be less restrictive 2021-01-01 18:17:56 +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
142cdc8e89
Add some unit tests
This is a start at least.. I have some catching up to do!
2020-12-22 14:40:29 +00:00
Luck
abb608b856
Support Bukkit-Forge hacks which add enum constants at runtime (#2779) 2020-12-20 15:45:57 +00:00
Luck
c28b1949a9
Process 'give default if needed' when saving instead of after each change made in the API (#2775) 2020-12-18 19:17:01 +00:00
Luck
8ef871f6db
Fix bug with NodeMap#remove (#2772) 2020-12-15 14:31:04 +00:00
Federico López
fa89236e48
Fix translation key used for parent clear (#2773) 2020-12-14 21:49:25 +00:00
Luck
e6a5cb06af
Include note in verbose command-exec-as response if there were no matches (#2734) 2020-12-14 15:11:49 +00:00
lucko
478fddc486
Track individual changes to users/groups instead of writing in full on each save (#2767) 2020-12-13 13:08:15 +00:00
Luck
97d1deec9c
Slightly optimize weight and display name lookups 2020-12-11 10:38:57 +00:00
Luck
45188c6334
Fix NPE from null path in AbstractFileWatcher (#2759) 2020-12-09 18:21:54 +00:00
Luck
17f67f6e13
Use case insensitive LIKE command on H2 databases (#2760) 2020-12-09 18:08:17 +00:00
Luck
39a5ccf9a9
Some tidying up 2020-12-09 10:46:22 +00:00
Luck
5fbb80f16a
Ensure meta keys are always lowercase, and fix 'similar' comparison case sensitivity (#2760) 2020-12-09 10:38:22 +00:00
Luck
798a539024
Fix saving to flatfile storage when sections become empty (#2755) 2020-12-05 14:28:54 +00:00
Luck
645efb0e5b
Cleanup applying bulkupdates to Node objects directly 2020-12-05 14:27:32 +00:00
Luck
7d7d40b087
Add some missing arg-based permission checks 2020-12-04 14:12:36 +00:00
Luck
e183f520d6
Cleanup EventDispatcher and some other minor tidying 2020-12-01 23:31:20 +00:00
Sven Arends
727c2f92c3
PowerRanks migration (#2718) 2020-11-26 17:52:31 +00:00
Luck
fdd3b117f1
Reduce translation cache refresh slightly to 23 hours 2020-11-26 17:24:37 +00:00
Luck
8a38c5f4b7
Properly open URLClassLoader module on Java 9+ to allow reflection and avoid access warning (#952) 2020-11-26 15:52:39 +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
Federico López
26f7dfcb24
Fix .verbose.enabled and enabled-recording args (#2732) 2020-11-18 23:51:32 +00:00
Luck
d1b53f65ae
Cleanup flatfile database handling 2020-11-16 01:17:24 +00:00
Luck
c39749e526
Use a better approach for avoiding MySQL driver sharing 2020-11-14 14:10:54 +00:00
Luck
23c7eb79d0
Fix leftover code in MariaDbConnectionFactory 2020-11-14 13:50:37 +00:00
Luck
9af6dccd9d
Use the non-registering MySQL driver and revert to using DataSource for MariaDB 2020-11-14 13:44:32 +00:00
Luck
129a10aa60
Automatically install translation bundles 2020-11-12 00:28:02 +00:00
Luck
62270bfd93
Set serverTimezone property on MySQL driver 2020-11-11 13:00:02 +00:00
Luck
00d4a2a1da
Update MySQL driver to 8.0, cleanup Hikari usage 2020-11-10 16:00:36 +00:00
Luck
4ce8ea21f9
Sort users with no known username to the bottom of the editor menu 2020-11-10 15:04:36 +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
Luck
3f04d439b4
Fix permission check message arg ordering 2020-11-03 12:17:05 +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
Federico López
5d0c578da1
Fix bulk update command failing on SQL based storages when tracking operation stats with multiple constraints (#2699) 2020-11-02 09:46:45 +00:00
MrMicky
7854de8991
Move exception printing to logger (#2695) 2020-10-31 22:25:11 +00:00
Luck
4c23f93a67
Improve locale display names 2020-10-30 13:14:52 +00:00
Luck
7b3beae57f
Change wiki links from GitHub to luckperms.net 2020-10-28 11:58:41 +00:00
Luck
15d3000fc1
Make storage meta keys translatable 2020-10-28 10:42:47 +00:00