"links on signs" is irrelevant if you mean that people open them in their clients, your issue is that the connection to the bytebin is blocked somewhere, either down to something on your end or something with the web-servers setup (Which is why "how" are you hosting the server is somewhat important to know)
#issues
1 messages ยท Page 8 of 1
Could you try the upgrade again. The server version should have no effect on the LP storage system.

Seems to be working fine for me.
No idea how the server is hosted as i just paid for the server host lol and again it wouldn't make much sense that it was working two or three days ago but now isn't... i did also try going back a version and still nothing so not sure.
i aslo have a error 403 - Forbidden . was working the other week now its not
I backed up my database with "/lp export Pnodes" and then I updated the plugin. When I did "lp import Pnodes" it failed with over 1600 errors. So I added all my groups and a few permissions per group using the Web editor and then I exported the database.
The export file was saved as a ZIP file with Pnodes.json inside. When I unzipped it and viewed the file, the format was completely different from the format in 4.4.0.. So I used the format in the new Pnodes.json file that I exported and ...
Please try again with the latest version.
Also how does your exported file from v4 look like?
It should be just a list of commands.
And make sure the file has a valid extension like .txt
And make sure the file has a valid extension like .txt
That's not needed anymore. At least on the latest LP versions.
And make sure the file has a valid extension like .txt
That's not needed anymore. At least on the latest LP versions.
It kinda was/is to allow importing v4 files into v5 due to the syntax change of the export file.
As I said. It was fixed in the latest versions. It was discussed in the #staff channel.
Well, you are almost there.. I was able to load the old export into luckperms but it had a few errors; all nodes were loaded but every UUID was rejected with this error:
[08:08:06] [ForkJoinPool-2-worker-18/INFO]: [LP] (Import) ------------> Showing Error #1 <------------
[08:08:06] [ForkJoinPool-2-worker-18/INFO]: [LP] (Import) Whilst executing: Command #681
[08:08:06] [ForkJoinPool-2-worker-18/INFO]: [LP] (Import) Command: user b058169e-a3bd-47c8-a7fe-4ce9b7a6f0fb switchprimarygroup mo...
We have multiple groups and it seems its alphabetically determining what to show as the primary group in the user info command. For example, I have myself with parent groups admin and default, and according to the yaml file my primary group is default, yet in user info it shows admin. If I do user parent switchprimarygroup to default, it (correctly) says that I already have that set as the primary group. If I remove the admin group as a parent, then the user info command cor...
Does not appear to work for us.
Could us using MySQL have any affect on this?
- 'lp user %player% meta setsuffix 5000 " &7[&d&lAussie&7]&r" global'
Well, I took the user info out of the import file and it loaded with only two errors:
- default (already existed)
- bukkit.command.restart (STATE ERROR - owner already has set in context global)
If I do a /lp listgroups; it shows my groups I created. I logged into the game and did a /help and I had default permissions (7 pages of help). I then promoted myself to member and I had no permissions. I then proceeded to promote myself through the entire Track and I still had no permission ...
I provided that as an example of a command we're trying to use. Unfortunately for us, the 'setsuffix' command is performing the same function as the 'addsuffix' command, or at least emulating it. Perhaps I didn't do a good job of describing my situation.
We use a GUI that players can select/purchase a suffix with points. When they click on the suffix they want, the 'lp user %player% meta setsuffix 5000 " &7[&d&lAussie&7]&r" global' command is executed. However, when a player wants to sele...
The setsuffix command is essentially a simplified version of the addsuffix command with the difference, that the priority should be optional and LP would calculate a own weight to use to display the suffix.
It only replaces suffixes that are the same context as the one you set.
Quote from the command page
This is different from the addsuffix command in that *...
Ok for some unknown reason it now works fine again... o_O i didn't do anything lol
OK, I have successfully rebuilt the import file from scratch and was able to import the file into luck perms. I could not import the user UUID data and had to reenter it manually thru Promotions for each use when they logged in. I will have to add any future permission to the file that I add manually in game or using the console for backup purposes because your export is no longer a viable backup option (that was one of your selling points to me installing it). I hope you fix it in the near f...
I don't know how useful this would be to anyone else, but figured I'd suggest it anyways.
This suggest relies on a potential future change to LPB, renaming 'server' to 'proxy' and 'world' to 'server' (or which ever words would be used, BrainStone said this was a possibility in the future)
What I suggest is that LuckPerms catches world changes for players, and sets the player's "world meta" to the name of that world. Then, LPB could then read that meta to be used for LPB's 'world' cont...
ฤฐ have fixed this problem. ฤฐ removed lib direction and reload, it is fixed.
Hello All,
I have a command (/afk) which add a permission node to the player. It seems however this permission node isn't being recognized as added from our plugin until either:
- The Player relogs
- We run
/lp user {user} permission info - We run
/lp networksync
We currently have 3 paper servers and one waterfall server. They are all connected using a MariaDB server and the message-service is set to SQL.
Here is some config entries you might find useful. They are the same ...
Have you given the groups weight?
https://github.com/lucko/LuckPerms/wiki/Command-Usage:-Group#lp-group-group-setweight-weight
A higher weight means the group is more important than an inherited group of lower weight
I believe negate permissions will always take priority. Instead of negating the permission in world_nether and world_the_end. Just set the permission for world.
More specific permissions should always take priority. So this seems to be a bug.
No, I did not give the groups any weight.
give them weights and then try
Try removing the global bit at the end of the command - I think that will probably fix your problem.
Yes, the rename is still planned (see #1668) - caching contexts so they can be used between different LP instances isn't something I want to implement in the plugin itself, although of course there's no reason why an external plugin couldn't do this.
Well, exactly what the title says. Vault hasn't been updated for 1.15 so I guess what I'm asking is do I have to wait for the 1.15 version to come out? Or is there like an alternative to Vault for 1.15? Or an early build type thing?
Plugins typically donโt need to be updated. Which is the point of a plugin. If you are not sure if it works, try it out. And Vault is especially Version independent and works just fine on 1.15. And most likely will still work 10+ years into the future.
I can confirm EssentialsXChat + Vault work fine on 1.15.
Is there any update to this issue
I'm getting this error spamming my console when using various plugins.
https://pastebin.com/E92YzFha
Using the latest luckperms (5.0.52)
Common v5 issues
Plugin x spams errors about LuckPerms
If the error contains `Caused by: java.lang.NoClassDefFoundError: me/lucko/luckperms/...
10/10 for reading the error messages Andre.
Basic troubleshooting has been passed. They also have the legacy API extension.
Please read the error messages before copy pasting unrelated canned answers.
10/10 for reading the error messages Andre.
Basic troubleshooting has been passed. They also have the legacy API extension.Please read the error messages before copy pasting unrelated canned answers.
I was told to it was a bug and that I should put it here
That comment didn't meant you, all good. (It was about a comment that has been deleted)
Please update to latest, which is 5.0.52 atm if you havent already and post error logs that were produced with that exact lp version
That is on the latest version, the developer of MyPrefix (the plugin that caused those errors to emitted) has updated his plugin and these are the error i get now;
https://pastebin.com/Vd9bx3J4
Issue in vks plugin. He is setting a nullworld as guessed yesterday. But that doesnt make sense to me. Not a lp issue I suppose
Since @vk2gpz is probably too busy making his 1000th plugin, I'll add the things he said to @MackenzieMolloy on Discord:
then you can ask them to make sure that "null" for "world" parameter is supported for setPlayerPrefix, method. convention is that if "null" is specified for "world", the prefix should be applied to the player regardless of the world the player is in.
null is valid option there.
other permission plugins will apply prefix regardless of world if null was specifi...
Is this confirmed in the official Javadoc of Vault?
Yes andre, see the link I provided soem comments earlier.
Guess needs a small change here, unless my thinking is too easy:
https://github.com/lucko/LuckPerms/blob/master/bukkit/src/main/java/me/lucko/luckperms/bukkit/vault/LuckPermsVaultChat.java#L226
Yes andre, see the link I provided soem comments earlier.
Guess needs a small change here, unless my thinking is too easy:
https://github.com/lucko/LuckPerms/blob/master/bukkit/src/main/java/me/lucko/luckperms/bukkit/vault/LuckPermsVaultChat.java#L226
LuckPerms seems to already handle it as in the two below examples:
https://github.com/lucko/LuckPerms/blob/242993763c22b2d20e181422628d8ba01a6311f4/bukkit/src/main/java/me/lucko/luckperms/bukkit/vault/LuckPermsVaultChat.java#L236...
vk2gpz said:
NPE is coming out from
if ((key.equalsIgnoreCase(DefaultContextKeys.SERVER_KEY) || key.equalsIgnoreCase(DefaultContextKeys.WORLD_KEY)) && value.equalsIgnoreCase("global")) {
Fixed in the above commit.
no, i have no interest in talking to those who just ignore the specification of Vault.
i do not have any explicit support for LP.
they're the one claiming that LP works with Vault... which clearly does not since they do not follow the specification of Vault.
it's fine for them to claim that "LP is not like other perm plugins"
but he needs to learn that if he claims that LP is supported by Vault, they need to follow Vault's specification.
@vk2gpz It was j...
Also, to make things clear: To my knowledge does vault is not supporting LP, but more LP is supporting Vault... It's a minor, yet important details if you ask me.
And if Vault actually does support LP: Cool.
The latest commit has fixed my issue on the test server - let me try it in production.
The latest comment has also fixed my issue in production - Thanks for the fix.
For the past 2 days I was doing permission related things on my server(I'm new), however, permission-EX stopped working and I found luckperms which was better, however when I added permissions for the /warp (essentials.warps.*/essentials.warp.list/essentials.warp) commands in essentials, it wouldn't work no matter what and later permissions such as /nick broke down as well, please help!
Make sure you removed PermissionsEx from your server as LuckPerms won't manage perms as long as it is still on the server.
You could also migrate your permissions from PEX to LuckPerms.
Next, make sure you're using EssentialsX and not Essentials (Run /ess version to proof this. If it only displays that Essentials was reloaded, then you're running the wrong version).
Essentials is not supported as it is outdated. Switch to Essenti...
Thanks for the fast reply, however, i believe that Permission-EX is not the problem because I'm also testing this on a separate server with only luckperms and basic plugins.
after running the command /ess version as instructed, the server replied with(sorry I don't know how to add a screenshot):
EssentialsX version: 2.17.1.0
LuckPerms: 4.4.1
Vault is not installed. Chat and permissions may not work.
You are running an unsupported server version!
Does this mean I need to install ...
This part here seems interesting:
You are running an unsupported server version!
What server version and what server type are you running?
And it wouldn't hurt to try using Vault too :)
I dont't believe there is any start up errors as im only using
BackToTheRoots (1.8 PvP)
Core Protect
EssentialsX ver 4.4.1
LuckPerms
WorldEdit
I am also hosting the server on minehut
This part here seems interesting:
You are running an unsupported server version!
What server version and what server type are you running?
And it wouldn't hurt to try using Vault too :)
Erm I'm sorry about this but I don't know what server type I am currently using, however, I DO know that the server is hosted on Minecraft version 1.15.1 (because minehut only hosts its servers on the latest version of Minecraft).
If you may could you please(i know this is unrelated)...
You can use /version to get the info about the server, like version, type, etc.
And Vault is a general API used by many plugins. It allows to connect multiple plugins with each other by providing a simple API.
Like f.e. a plugin manages money and now Essentials wants to know the money of Player X. Instead of having to hook into the API of x plugins to retrieve the balance, does it just use vault and get it through it.
This is kinda how Vault acts... Just imagine it as a major plugin ...
A little update: I have installed vault and rebooted the server, instead of saying (i dont remember the exact words :P) 'There are no available warp for you', it now says 'you do not have access to that command'.
Make sure you actually have the right permissions set.
A list of all permissions from EssentialsX can be found here
You can use
/versionto get the info about the server, like version, type, etc.
Thanks, I did that in-game and it replied that I am running Paper, and I am 3 versions behind :(
Make sure you actually have the right permissions set.
A list of all permissions from EssentialsX can be found here
Yes, I'm sure that I am using the right permission sets, because 'the sets' worked in permission EX and I actually copied them directly from that page you've sent and pasted it into the luckperms online editor(very cool).
this is why I told @MackenzieMolloy not to just copy & paste conversations...(by doing so, it will lose the context) I made those comment in response to your dev team's comment saying that I should not pass "null" and I need to fix my plugin even after I pointed out that that's what Vault informing other developers that it is a valid value, and was not made against you @lucko. Anyway, you did find the place to put those 32 characters. My estimation of 3 min job was rather accurate ;) Glad ...
Since you are using Minehut, I would consider contacting their support. They like to edit plugins so they don't cause any issues with their infrastructure and may likely cause issues. LuckPerms v4 is quite old now and I'd highly recommend you upgrade to v5 but I don't think that will be possible for you.
I'd also recommend using another host which gives you more control over your server.
LP v4 exports the primary group as /lp user switchprimarygroup . However on v5 that command was changed to /lp user parent switchprimarygroup . Which means importing v4 data errors at the end:

Thank you for your suggestion. I added weights to the groups and that indeed "fixed" the issue.
However, upon inspecting my config.yml it turns out primary-group-calculation: parents-by-weight was set instead of primary-group-calculation: stored. I don't remember having set this, maybe it was the default at some point in time. Setting it to stored fixed the issue without needing to give weights to the groups.
primary-group-calculation: parents-by-weight has been the default for over 2 years.
It has come to my attention that many users forget to remove their old permission plugin when migrating or try to use two perm plugins.
Since LP already detects that (for migration purposes) I think it would make sense to warn players that another permission plugin is installed at that theรฝ need to remove it (after the migration if they want to migrate) when they use LP commands and at the end of the migration command.
Maybe also display a warning to players with the log permission when...
Something like [Migration] Done! Remember to stop your server and remove your old permission plugin, to make the migration take affect. perhaps?
And when running a normal command something like Hey. You still have another permission plugin installed. If you want to migrate from that, please migrate, else remove it, or LuckPerms won't manage your permissions
I wish there was a way to have prefixes/suffixes in chat without needing additional plugins except for the plugin itself that provides it (thus no Vault + <the actual plugin that provides chat formatting>). I try to keep the amount of plugins/bloat to a minimum.
LuckPerms is a permissions plugin. Not a chat plugin. Adding chat functionality to LP would be unnecessary bloat.
Also there's a difference between many plugins and bloat.
Having many plugins that each do one thing and that as good as possible is a lot better than having 1 plugin for many things and them only working half heartedly
I wish there was a way to have prefixes/suffixes in chat without needing additional plugins except for the plugin itself that provides it (thus no Vault + <the actual plugin that provides chat formatting>). I try to keep the amount of plugins/bloat to a minimum.
The reason behind why LuckPerms doesn't provide chat management is simple: It's out of scope.
LuckPerms is a permission plugin (keyword is permission) and managing chat is something no real perm plugin should do.
Also, al...
Yes, I did not mean that LuckPerms should provide this functionality too. What I meant was that I'd like to have only one additional plugin that provides the formatting and have it work without needing Vault too.
Vault exists so that plugin devs don't need to individually support every permissions plugin in existance. Which would be insane to be honest. As Vault provides common functionality to get prefixes and such. It makes a lot more sense to just require Vault. Because then you instantly support every permissions plugin (that also supports Vault, which is essentially all). Vault also has 0 impact on your server as it does nothing by itself.
It is also needed if you want to use economy between t...
Oh, well the first paragraph here made me think it was different at some point (e.g. determined automatically based on server type detected at run time).
Oh. Wow. Thanks for the find. That is mightly outdated!
Okay looks like I have to contact minehut, but thank you for the support!
Most likely Cloudflare blocking your requests. Not much I can do about that though..
Hello, I need your help to be able to correctly go to version V5 of the plugin. Here is my configs as a whole.
confi.yml: https://pastebin.com/5v5YkYu4
default.yml: name: default
joueur.yml: https://pastebin.com/TXEVvBt8
Currently I am using the extension you provided. However as you said it is only temporary so I would like your help to make the transition correctly.
Very nice work on this new version! Congratulations !
Just make joueur a parent of default.
always stay at
[16:39:17 INFO]: __ [16:39:17 INFO]: | |__) LuckPerms v5.0.56 [16:39:17 INFO]: |___ | Running on BungeeCord - Waterfall [16:39:17 INFO]: [16:39:17 INFO] [LuckPerms]: Loading configuration...
no more message.
then
[16:44:39 INFO] [LuckPerms]: Loading storage provider... [H2]
[16:44:39 INFO] [LuckPerms]: Loading internal permission managers...
[16:44:39 INFO] [LuckPerms]: Performing initial data load...
[16:44:39 INFO] [LuckPerms]: Successfully enabled. (took 321986ms)
no more problem .
first run
A quick note to this. It seems to only be an issue when using the API. Dispatching a command from any server works fine. I need to api to force an update as well.
Note in the config extract you posted above:
# If LuckPerms should automatically push updates after a change has been made with a command.
auto-push-updates: true
after a change has been made with a command
This doesn't automatically happen with the API - if you want to push your changes to other servers via the messaging service, you need to request this explicitly.
Something like this...
LuckPerms luckPerms = LuckPermsProvider.get();
public void add...
Thank you so much. This has solved all my problems.
I would suggest having a new API option to enable auto-push for the plugin as long as it isn't disabled in the config...
Something like this maybe?
// We made the entire ServiceProvider mumbo-jumbo here
LuckPerms api = provider.gerProvider();
/*
* Enable that LP should push updates, if nodes have been changed through the API.
* This would be ignored if you set "auto-push-updates" to false in the config,
*/
api.enableAutoPush(true);
It's intentionally this way - means you can make a number of changes (e.g. for multiple groups or users) and then push an update only once.
Why not just have a little timeout (like a second) before syncing automatically.
And if an automatic sync is not wanted it could either be cancled or a second overload of the save method that accepts a boolean to control that behavior.
Because quite frankly I can't think of a single reason why you wouldn't want to sync.
Also this reduces the complexity of API usage and also improves performance slightly as it reduces the syncs in most use cases.
Just my little opinion, but I would find it very strange to configure an api via config.
It's something a plugin developer needs to know while developing, so making it dynamic only adds to the problems.
What if one api developer expects it to autosync and another expects it not to? Would only lead to more confusion and make it more complex.
Explicit is better than implicit, especially in this case :)
I'm not saying there shouldn't be any explicit way. But I'm saying this API needs to be easier to use and also start making assumptions on the average use case.
It's not getting easier if there is some config for it, that's all I'm saying :)
And to be honest I haven't used the api before so I wouldn't know.
But to make it easier the most obvious way would be to make an additional argument for saveGroup.
Just an additional bool that controls if it should push after saving.
Also I'm not a fan of api's making assumptions that lead to a worse performance.
An API should be optimized for the average usage. And that is just a few added or removed permissions within a short time (average usage in regards to making changes). So having the auto sync trigger after a short timeout is appropriate.
I'm also against adding a config option like Andre suggest. And instead have it be controlled by the already existing config setting.
While I think that the API has been improved greatly from v4 to v5 I still think it has one major flaw:
Simplicity
In other words my main issue is that even to do simple things you need to use many aspects of the API and construct many intermediate objects.
So my main suggestion is to add overloads to all methods that fetch data and ask for a QueryOptions object. That overload would just not want one at all and do the same thing and just use a reasonable default value for it (like ...
Hey, MongoDB works differently than other databases, and whenever I want to use a cluster with a URI it simply won't work. Would you please add URI support instead of just an address?
Hello,
i have a problem with LP.
My server version: Paper-45 (1.15.1_R01 Snapshot)
LP: v5.0.39
LP blocked towny and granted jobs permissions. (jobs reborn)
permissions: worker.miner.1: value: true level: 1 worker.miner.3: value: true level: 3
This permissions gets a player, if they reach level 1 and 3, but its doesnt work with LP. LP block this.
Same with custom townypermissions in the townyperms.yml
What can i do?
I don't quite understand what you're trying to do... From where is that code-part you showed (Also better use code blocks)
I hope its better now.
You get permissions on the plugin jobs reborn, but its don't work... because LP block it..
Maybe, maybe not. Did you first try to contact the dev of the Jobs reborn plugin?
Because I'm pretty sure that it isn't LPs fault and either a misconfiguration on your end or a plugin issue with Jobs Reborn.
Hi! Upon installing luckperms and running the server, I have been having the following issue. When trying to run a luckperms command I recieve a message saying "An internal error occured while trying to perform this command." When I looked into the issue further, the console had said the following:
[16:08:50] [Server thread/INFO]: [LuckPerms] Disabling LuckPerms v5.0.39
[16:08:50] [Server thread/INFO]: [LuckPerms] Closing storage...
[16:08:50] [Server thread/INFO]: [LuckPerms] Shutting dow...
Please share the log file through https://hasteb.in as not everyone wants to download files.
In addition does the part you show nothing special. Only that LP disabled itself, which is normal on server shutdown.
And finally did you not mention your server version, type and other information.
I quickly checked your log and from what I saw does something/someone cause plugins to disable.
This happens after BetterInvisibility was enabled:
[16:08:50] [Server thread/INFO]: [BetterInvisibility] Enabling BetterInvisibility v1.1.0
[16:08:50] [Server thread/INFO]: [0;34;1m[[0;36;1mBetterInvisibility[0;34;1m][m [0;37;22mPlugin Version [0;36;1m1.1.0[m
[16:08:50] [Server thread/INFO]: [0;34;1m[[0;36;1mBetterInvisibility[0;34;1m][m - Server running version [0;33;1mv1_...
Just edited the post to include more info. Now that I think of it, betterinvis was disabling itself even before I had added luckperms. I'm not sure if it would be relevant/cause a conflict though since the plugins seem very different in function.
Ok, this is easily explained.
BetterInvisibility only works for 1.8 - 1.14, you are using 1.15.1, therefore it disables itself.
Somehow this results in a chainreaction and also disables vault.
And since vault is relevant to luckperms it also disables luckperms.
Solution: Disable the plugin until it's ready for the version you are using :)
Ok, this is easily explained.
BetterInvisibility only works for 1.8 - 1.14, you are using 1.15.1, therefore it disables itself.Somehow this results in a chainreaction and also disables vault.
And since vault is relevant to luckperms it also disables luckperms.Solution: Disable the plugin until it's ready for the version you are using :)
Wrong.
If a plugin doesn't work for version x and disables itself due to that (Uses PluginManager#disablePlugin(this)) then it w...
Thanks, I deleted betterinvis and its working perfectly right now! You're both life savers :D
Wrong.
I deleted betterinvis and its working perfectly right now!
Somehow not wrong ;)
Wrong.
I deleted betterinvis and its working perfectly right now!
Somehow not wrong ;)
A plugin disabling other plugins doesn't proof that it causes a "chain-reaction".
Maybe the author (for some reason) loops through all plugins and disables them?
My point is still right that just because plugin X got disabled, does plugin Y not disable itself too unless it depends on it.
Just to do a little research I decompiled the plugin.
Seems he just used the wrong method.

Anyways my point was that it hasn't anything to do with luckperms and all with BetterInvisibility.
And as the "somehow" should say: It wasn't anything I could explain why. Just the symptom.
@LodtheFraud Since this issue got resolved, can you close it please? :)
This is still happening on latest release, seems to be how the groups are calculating permissions in general.
Going from Java 8 to 11 / 13 is shooting the following on startup. All other plugins are fine.
https://i.imgur.com/OkysfE7.png
Unsure if it's something I should worry about or simply ignore.
Luckperms 4.4.31
Duplicate of #952 - yep you're safe to just ignore it.
Please add support for +
In this case a placeholder ends with +, meaning we insert a space " " automatically if it's not empty
Placeholders, in general, shouldn't contain any characters other than alphanumerical ones (a-z and 0-9) as for issues like you experience right now.
You should report this to the dev of the plugin too, as it is against any common way of making permissions in a plugin work.
I recently restarted the server and I went to edit some more permissions with LP Editor and The dropdown for every rank showed no results. All help is appreciated. The dropdown says the list is empty even though I have defined lots of nodes for each rank. I am running PaperMC 1.15.1 Build 43.
The editor can and will only show permissions that have been checked recently. If none shows, then most no permissions where checked when running the editor command.
Try running /help on the server before creating a new editor session.
This could perhaps also be related to latest change of the editor (https://github.com/lucko/LuckPermsWeb/commit/dce60098c265cd6f4bea69a5a0ab6a1b7d503745) which doesn't display permissions, when the permission field is empty.
I'm still stuck on what to do. It worked on the latest version before the server restart. Doing /help didn't help much. Thanks
Did you actually write the permission?
It shows "List is empty" when you didn't type anything and only start suggesting once you typed a few letters.
Sorry about that. The perms show when I do that. With my previous experience, the would show without typing anything. That solved my issue!
Like I mentioned in my previous comment was this changed recently.
Hi, I have an issue with EazyNick. Can you please add a support for EazyNick plugin? everytime I use LuckPerms and EazyNick Iยดve got error to console:
`Could not pass event PlayerNickEvent to EazyNick v1.231
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[server.jar:git-PaperSpigot-"4c7641d"]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:78) ~[server.jar:git-PaperSpigot-"4c7641d"]
at org.bukkit.plu...
Greetings. I recently tried to test whether permissions work properly, but I couldn't seem to be able to interact with anything. For example, I couldn't eat steak and I couldn't interact with an Oak sign. The error that is throws is: You are not permitted to use/interact with . Thanks for your help!
It's also not LPs job to add support for those kinds of plugins. They need to support LP themselves. Or just vault.
LuckPerms itself doesn't restricts anything. You can use the Verbose feature to see what permissions are being checked, and so what permissions you have to give yourself.
Thanks. I will try that now
The issue you encounter is most likely with WorldGuard.
WorldGuard does to my knowledge not use permission, with the exception of bypassing flags.
You have to set the flags of the region to allow the actions you want.
But this is for sure not an LP related issue.
Slaps self. Sorry for wasting your time. I forgot to allow essentials.warp.* and essentials.build.*
@Andre601 placeholders hasn't anything todo with permissions. Second placeholders with a + is normal just take a look at placeholderAPI Wiki
@Andre601 placeholders hasn't anything todo with permissions. Second placeholders with a + is normal just take a look at placeholderAPI Wiki
Just fyi: I made the wiki so I know it all too well, and if you look closely will you notice that none of the displayed placeholders contains a + (Ctrl + F, then search for "+" and the only thing you'll find is the names of the plugins)
LuckPerms always gives error when server close
https://i.ibb.co/DY3SQMX/image.png
Did you try to delete the lib folder and let LP redownload it?
Just some idea:
Maybe have a (outcommented) section that lists very common errors as such #952.
How should I add those tho?
I agree it would perhaps help, but I think the template shouldn't be too much at once, even if it is just hidden comments.
Maybe we can also link to these from the FAQ wiki page?
I've added a comment about checking the FAQ in the bug report template.
The question template already links to it and the feature request template seems not worth to add it.
When activating "admin mode" (somewhat similar to op/deop), it seems permissions are sometimes delayed. In the following log, /gm 1 adds the player to the admin group, then I attempted to place a block, resulting in the WorldGuard checks.
[21:52:34 INFO]: Dark_Arc issued server command: /gm 1
[21:52:34 INFO]: [LP] VB > dark_arc - worldguard.region.bypass.Halzeil - undefined
[21:52:34 INFO]: [LP] VB > dark_arc - worldguard.region.bypass.* - undefined
[21:52:34 INFO]: [LP] VB > dar...
Freshly installed Spigot 1.15.1 that i made with buildtools, got the old groupmanager/ folder and jar file and vault/cmi and luckperms
after the server started up once, i /stop it, started it again.
then typed in-game lp migration groupmanager true, and it looks like it's doing a bunch of groups and users. but the console is flooded with exception errors.
>ver
[15:41:28] [Server thread/INFO]: This server is running CraftBukkit version git-Spigot-492a779-d208733 (MC: 1.15.1) (I...
[lucko/LuckPerms] New comment on issue #1937: Migration from GroupManager fails \(exception errors\)
Your latest.log does not contain any errors.
Also, https://hasteb.in is prefered over downloading a file.
[lucko/LuckPerms] New comment on issue #1937: Migration from GroupManager fails \(exception errors\)
Oh for cryin... i dunno how the wrong one ended up there, i am sure i checked before including it.. ok
[lucko/LuckPerms] New comment on issue #1937: Migration from GroupManager fails \(exception errors\)
Do you use GroupManager from EssentialsX or the original one?
Because I think the original one might not even work with LP.
[lucko/LuckPerms] New comment on issue #1937: Migration from GroupManager fails \(exception errors\)
This is the one i had working okay on my spigot setup for 1.15.1,
https://www.spigotmc.org/resources/groupmanager.38875/
If you prefer i use a different build for 1.15.1 feel free to link to it, ill try that instead.
[lucko/LuckPerms] New comment on issue #1937: Migration from GroupManager fails \(exception errors\)
Looks like ther isn't even a build from the EssentialsX team
Also, that version you use seem strange and not like the original one either, so perhaps the issue is changed API stuff by that dev?
I can only suggest to use the original one to make sure it's really supported by LP.
[lucko/LuckPerms] New comment on issue #1937: Migration from GroupManager fails \(exception errors\)
Ok, feel free to link me to the one that luckperm supports, and i will try to work it with that one.
pressing /minecraft: and tab, shows luckperms permissions have been namespaced under minecraft.

Git-Spigot-037559e-752cf95
LuckPerms v5.0.39

I have a custom spigot which generates the config files at /config/ instead of /plugins/ so basically my entire configs for server etc is on my /config/(plugin-name) instead of /plugins/(plugin-name).
Luckperms commands doesn't work at all since I have done that, may I get some fixes? (Using latest version) thanks!
Side-effect of LP using brigardier (library from Mojang used for command suggestions in 1.13)
"Custom".
That is an actual setting in spigot to change the name of the plugins folder.
And I don't think LP breaks because of that.
What plugins are you even using?
Also error messages please
Hello, how do you think I do this?
"Custom".
That is an actual setting in spigot to change the name of the plugins folder.
And I don't think LP breaks because of that.
What plugins are you even using?
"Custom, This is an actual setting in spigot to change the of the plugins folder" To clarify that my spigot has a lot of optimizations, potion modifier, new commands etc. To test out if there was any plugins breaking it I decided to just run WorldEdit, Vault and LuckPerms. Still doesn't work.
But anyways who cares about what my spigot has, I just need this fixed if possible.
Can you delete the contexts.json file?
ยง7ยงl[ยงbยงlLยง3ยงlPยง7ยงl] ยงcA database error occurred whilst loading permissions data. Please try again later. If you are a server admin, please check the console for any errors.
Hi Luck,
I have LP install and it is working great. :)
I'm coding a plugin and I'm trying to run the command "lp user playername promote playerranks" when a player clicks on a menu item. The command /ranks opens a menu and displays all the ranks that a player can buy with in-game money. If they have enough in-game cash, they can promote to the next rank.
The command works fine when I type it on the command line but when the command is called from within my method I get the e...
Not quite sure, but what about using their UUID instead?
Not quite sure, but what about using their UUID instead?
I tried that too, but I think I got the same error. I will try again and let you know.
BINGO! That worked!!
@Override
public void onClickedInMenu(Player player, Menu menu, ClickType clickType) {
Player commander = Bukkit.getPlayer("MCMaricopaAZ");
String command = "lp user "+ player.getUniqueId() +" promote playerranks " ;
Common.dispatchCommandAsPlayer(commander, command);
}
[13:52:58 INFO]: [ServerPlugin] Command lp user 652bf4fa-761c-3307-8fda-4c2ea1487944 promote playerranks
[13:52:58 INFO]: [LP] LOG > (MCMaricopaAZ) [U] (brookee20...
I directed you to the actual section:
https://github.com/lucko/LuckPerms/wiki/Default-Groups#configure-inheritance (Note the #configure-inheritance)
There must be an earlier error. Most likely during startup
English
Hello, I would like to have my rank read out for my scoreboard (sidebar), but I cannot find any method for this. Do they even exist?
German:
Hallo, ich mรถchte fรผr mein Scoreboard (sidebar) meinen Rang auslesen lassen, jedoch finde ich dafรผr keinerlei Methode. Gibt es diese รผberhaupt?
Yeah you're right, my fault.
You need to use the LP legacy version from here: https://ci.lucko.me/view/LuckPerms/job/LuckPerms/
I am using LuckPerms legacy version. I did every single type of research
Are you using a Forge/Spigot fusion, like Kauldron?
"LuckPerms-Bukkit-Legacy-5.0.63.jar".
As the server platform/jar. Not the LP plugin jar.
Send me discord please. I did my research and still couldn't find it and could you clarify what you meant with your question above?
He clearly asked you, if you run a modded server with plugins (a mixture of spigot and forge if you will)
One type would be Kauldron.
Also the Discord is linked on the README.md or on the Wiki.
Oh, no. 1.7.10 spigot forked. And thanks
Hi I'm using luckperms in my spigot server 1.15.1 and I save all the data as YAML format. My problem is that user folder don't add user data unless I gave them a rank, like admin or stuff. By the way, if I check user data on the server for default user, the information is correct but don't generate the file.
Sorry about my english, I'm from Argentina, greetings.
This is intentional.
LP doesn't save any user-information if they only have the default group assigned. This was made to keep storage space low as you don't need to save a user that only has the default group.
We also recommend to not edit groups and users manually through the yaml files.
Use the web editor instead.
Would it be possible to get some messages for players when their group changes so they know their group has been updated? I made a fork of this repository so I could edit the config, which is found here: https://github.com/Jaimss/LuckPerms/blob/master/bungee/src/main/resources/config.yml
Essentially I added this to the Extra Settings Section:
`# Toggle on/off rank messages.
allow-group-change-messages: true
#Customize the Messages that get sent on group change:
#/lp user {name} promo...
This was requested before and was denied, because it is out of scope for a permission plugin.
It is the job of other plugins to inform a player if they retrieved a role (e.g. for donating).
And due to the nature of LP in terms of how translations work would this also be not quite useful.
This is something only a few people requested so far and nothing that imo should be added as the majority doesn't want this.
Ok, thank you. I'll close this issue then.
Are you looking for placeholders? If you use something like featherboard, you can use the placeholders here.
That is what I use at least.
For the group, I think you would need to use %luckperms_primary_group_name%.
Hey, no, I would like to program this into eclipse.
Your rank or your prefix? Check out the wiki there should be an example of how to do this. https://github.com/lucko/LuckPerms/wiki/Developer-API:-Usage#retrieving-prefixessuffixes
You're better of reading the whole page actually, there are a lot of other things needed to get the prefix in the end. Everything should be explained there.
I want the rank on the scoreboard to speak:
Your rank
-> Owner
(at the owner)
-> Player
(at the player)
-> Guest
(at the guest)
So I want to have a query there that queries the rank of the player
Hi lucko,
thank you for this awesome project!
I just tried to use regular expressions in the context of worldnames.
Should this work? This repo is well structured but also sophisticated and I was not able to find this in the code.
I am used to give worldnames some suffix "world_001" but things like "R=world_\d{3}" or similar are not working.
Thank you in advance
Duplicate of
- #1870
- #1792
- #819
@BrainStone thank you for opinion.
-
This request is about using multiple "world" keys for each rule.#1870 -
Is about adding a context based filter for#1792permission infocommand - for ingame commandline output.
This is a duplicate of#819 -
Includes the filter from#819#1792and for thesearchcommand.
My request is different. It is about using the supported regex syntax R=<expr> with the world.
Specified in https://github...
Apologies, the wiki is incorrect there. This was previously a supported feature but was since removed to make way for the contexts system. (https://github.com/lucko/LuckPerms/wiki/Context)
Now, instead of having "world specific" or "server specific" assignments, we just have context specific assignments.
Currently context specific assignments work only on case insensitive matching.
I'd like to ability to specify to not apply to a certain world. I'm trying to restrict the creation of automata (from Magic by NathanWolf) to 1 specific world. Since I load and remove worlds on the fly, this would mean constantly updating permissions. What I'm looking to accomplish is deny use of the spell unless the world is the one specific one I've chosen.
22.01 14:54:14 [Server] INFO Running LuckPerms v5.0.63 by Luck.
22.01 14:54:14 [Server] INFO - Platform: Bukkit
22.01 14:54:14 [Server] INFO - Server Brand: Paper
22.01 14:54:14 [Server] INFO - Server Version:
22.01 14:54:14 [Server] INFO - git-Paper-240 (MC: 1.14.4) - 1.14.4-R0.1-SNAPSHOT
22.01 14:54:14 [Server] INFO - Storage:
22.01 14:54:14 [Server] INFO - Type: MySQL
22.01 14:54:14 [Server] INFO - Ping: 39ms
22.01 14:54:14 [Server] INFO - Connected: true
22.01 14...
Hey, I'm using "prefix stacking" but is there a way to have certain users only display one prefix and ignore the rules set in the config? EG. a staff member only having [STAFF] tag instead of [Prison] [Novice] [STAFF]
If not, could this be considered a suggestion? thanks!
I think you could deny the other prefixes for that rank...
Also, you should ask this in our Discord as responses there are generally faster.
Also, you should ask this in our Discord as responses there are generally faster.
They did, but I had no idea if it was possible, so I told them to open the issue.
Bungee Error
08:43:54 [INFO] Enabled plugin HubBasics version 6.9.5 by Fabricio20
08:43:54 [INFO] ยงb ยง3 __
08:43:54 [INFO] ยงb | ยง3|) ยง2LuckPerms ยงbv5.0.63
08:43:54 [INFO] ยงb |_ ยง3| ยง8Running on BungeeCord - BungeeCord
08:43:54 [INFO]
08:43:54 [INFO] [LuckPerms] Loading configuration...
08:43:54 [WARNING] Exception encountered when loading plugin: LuckPerms
java.lang.UnsatisfiedLinkError: sun.nio.fs.LinuxWatchService.inotifyInit()I
at sun.nio.fs.LinuxWatchService.inotify...
What Java version do you use?
Do you make sure that LP can download files? It downloads specific dependencies on first startup.
I am currently using mineos in freenas ill post more information soon
this is the java information that came up.
Are you using CraftBukkit?
Try to update to Spigot or Paper (second one is recommendet)
one sec I thought I was using spigot
I was using spigot but switch to paper to see if it would fix it and still got the same error. https://hasteb.in/eraqazeg.md
From my understanding is the UnsatisfiedLinkError that LP throws caused by a library missing.
This library could either be one from Java (most likely in this case) or from a dependency that LP downloads.
Make sure that LP is able to download the files.
Stop the server, delete the lib folder in the LuckPerms folder (if present) and start the server again.
But like I said is this most likely a missing library from Java itself.
What system is the server running? Linux? Ubuntu?
Then it's probably an issue with either FreeBsd or Java.
im going to backup all my files delete this jail and start all over and see if that works.
Allow users to append a group at the end of the /lp user promote command:
/lp user {name} promote {track} {final-group}
If the track is laid out like: default->vip->donor->staff and I do `/lp user {name} promote track1 donor.
If the user was in the group default, it would be cool if they moved through VIP and on to donor in one command.
/lp user <user> parent set <group> and /lp user <user> parent add <group> exist for that.
The promotion-command is for promoting a user across a track. Everything else can/should be handled by the above commands.
When I try to create an editor page this error comes up and the link doesn't get made:
https://pastebin.com/wzVQdaZi
Strange. Haven't seen this one before. Which version of LuckPerms are you using?
It is only on that server my other backend servers are able to generate a link
Please upgrade to the latest version (https://luckperms.net) and try it again.
Ok I will get back to you on that
I have added the latest version and the link still doesn't generate
https://pastebin.com/Nk5XhPbX
Thanks for that. This is probably something @lucko needs to fix.
Ok. It's ok on other servers so it isn't that big a problem just though I would bring it up
Just curious - are you able to generate an export with /lp export ?
Hello, I followed the tutorials my I don't understand I have a bungeecord I would like to separate the creative server and entirely survive
"server: creative"
"include-global: false
When you followed the Installation guide for BungeeCord should you have a remote database setup and running.
In addition, should the version of LuckPerms for Spigot, Sponge, ... be on every backend server to handle their respective permissions.
What you can do now is setting permissions with contex (i.e. setting essentials.fly for the...
Thank you Brian that should work for what I need ๐
I succeeded in starting all over again thank you for your response
Bungee - 1451
LuckPerms - 5.0.63
storage-method: PostgreSQL
messaging-service: redis
auto-push-updates: true
The error went away only after entering the networksync command.
21:14:30 [WARNING] Error dispatching event PermissionCheckEvent(sender=RUSROBOTX, permission=bungeecord.command.server, hasPermission=false) to listener me.lucko.luckperms.bungee.listeners.BungeePermissionCheckListener@1e044120
java.lang.IllegalStateException: No permissions data present for player...
If that is the case, feel free to close this issue then.
So when restarting my server I get this error printed on my console:
[21:22:31 ERROR]: Error occurred while enabling Prison v3.2.0 (Is it up to date?)
java.lang.NoClassDefFoundError: me/lucko/luckperms/LuckPerms
at tech.mcprison.prison.spigot.permissions.LuckPermissions.(LuckPermissions.java:20) ~[?:?]
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_212]
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:6...
Are you using LP v5?
Then take a look at the migration guide on the wiki about moving from v4 to v5.
We would need additional information.
- What is the Bungee version (the MC version, not build number)
- LP config (Remove username and password from the login cridentials before sharing (preferably through https://hasteb.in))
Bungee version 1.15.2 (build 1451)
https://pastebin.com/vGph2G37
One more error
[16:45:30 WARN]: [LuckPerms] LuckPerms already has data for player 'Jakubson' - but this data is stored under a different UUID.
[16:45:30 WARN]: [LuckPerms] 'Jakubson' has previously used the unique ids [5ea61e81-30c1-4c2e-84c8-776010fb95c0] but is now connecting with '520068b1-e9a8-4679-bf50-6ba37df55eb5'
[16:45:30 WARN]: [LuckPerms] The UUID the player is connecting with now is Mojang-assigned (type 4). This implies that one of the other servers in your network is not...
The error tells you exactly what is wrong:
LuckPerms already has data for player 'Jakubson' - but this data is stored under a different UUID.
The user has a different UUID than when he joined last time, meaning that something is different this time.
The most common issue is, that ip-forwarding was not properly setup, or that the user joined directly to the server, rather than through the proxy.
@Andre601
For authorization, I use the jpremium plugin. It assigns a unique new generated uuid to the user. And during authorization, the same uuid is always shown. However, luckperms sometimes throws such an error. It does not always happen randomly. https://github.com/Jakubson/JPremium/wiki/Frequently-asked-questions#what-is-fixed-unique-id
ip-forwarding is true in bungeecord config and bungee is true too in spigot.yaml
So I have this weird thing that if I remove parent (group) from player they need to disconnect from the server and come back in order for that group to be removed.. so they basically have the removed groups permissions until they disconnect...
Is this feature of LuckPerms or any way I could fix it so that if I add or remove groups from players they would immediately have the new permissions?
Issue seems to be with the worldguard, other permissions update but worldguard bypass stays if they had that permission..

After clear install
Full logs https://pastebin.com/xHCysa5K
So today i tried doing something with DeluxeMenus, PlaceholdersAPI and LuckPerms. I tried giving myself a temporary permission using thecommand "lp user %player_name% permission settemp permission.test2 true 2s". This should have given the permission for 2 seconds.
What I found out tho is that something is broken. When i use this placeholder: "%luckperms_expiry_time_permission.test2%" having "update: true" and "update_interval: 1" the countdown is broken.(update: true and update_interval b...
This is normal behaviour as LP checks temp-perms roughly every 3 seconds, therefore the temp-perm may be set longer than intended.
More info: https://github.com/lucko/LuckPerms/wiki/Advanced-Setup#temporary-permissions
LP 5.0.63
Spigot 1.15.2
Consider the data
"meta": [
{
"key": "griefdefender.accrued-blocks",
"value": "2500",
"context": {
"server": "global"
}
},
{
"key": "griefdefender.bonus-blocks",
"value": "0",
"context": {
"server": "global"
}
}
]
I would expect the following code to modify an existing meta node on a permission holder
MetaNode.builder().key(key).value(value).cont...
I am getting the same issue. It doesn't happen every time, but the majority of the time. I just end up having to terminate the server.
LuckPerms doesn't have an auto update feature, so not sure what you turned off!
As far as I can tell the import is now working properly. The issue with the legacy importer was fixed in b73b73e2217be236ad93d8dac9a22e5d7144b1cf.
The new import/export format is not intended to be "unzipped" and manually read or edited. It's possible that you corrupted the file by doing that.
Please see here: https://github.com/lucko/LuckPerms/wiki/Storage-system-errors
Most likely an issue with your MongoDB server.
Vault is the de-facto method for chat plugins to retrieve prefix/suffix data.
More plugins does not necessarily mean more bloat - in this case Vault (an abstraction layer) actually decreases the bloat required to obtain such data.
I put together a completely new build without plugins. Installed only jpremium and luckperms. New databases. The situation is similar.
Sounds like this is something that your placeholder plugin could provide. :)
I imagine it would also be quite easily done using PlaceholderAPI's JS expansion (https://github.com/PlaceholderAPI/Javascript-Expansion/wiki) - although you didn't specify which placeholder plugin you were using!
Then perhaps your jpremium plugin is the cause?
Since you use this do I assume that your network is running in offline mode.
In this case is the fact that the UUID might be different a normal thing as UUIDs work differently than in online mode.
This is all I can (and will) tell you as I'm not really interested in helping with a cracked (offline mode) server. Sorry for that.
Thank you for your PR. I've made an alternative fix in e9d72df890864a364cca30c82337c80647dab17e - just a little bit clearer that this is handling an empty buffer!
Thanks for reporting, this should be fixed in the above commit.
[lucko/LuckPerms] New comment on issue #1937: Migration from GroupManager fails \(exception errors\)
Try the latest LP from here: https://luckperms.net/
Should be fixed already.
There was a reason for doing this, I can't exactly remember what it was though...
Might no longer be necessary, I think it was to do with working around a CraftBukkit quirk.
This could probably best be done by just using the "highest" prefix stack option, and then setting appropriate weights for each prefix.
Should be fixed in latest.
I've changed the placeholders (see above) so negative times won't be displayed.
However, technically those permissions will still be there until they are removed 1-3 seconds later. This is a documented quirk of temporary permissions. If you need finer control (accuracy greater than 3 seconds), then my recommendation is to find a plugin which will set transient permissions through LP, and then remove them a number of ticks later. (Vault supports this)
You can download the latest expansion version, with the above fix, from here: https://ci.lucko.me/job/LuckPermsPlaceholders/
From an API design perspective, I prefer the removal of the existing (replaced) node to be explicit.
i.e.
user.data().clear(NodeType.META.predicate(node -> node.getMetaKey().equals("griefdefender.accrued-blocks")));
user.data().add(MetaNode.builder("griefdefender.accrued-blocks", "5000").build());
However, the API design doesn't affect the way the storage is implemented - since both systems are abstracted from each other. Even if an API method were added which allowed meta...
Without seeing your Verbose logs, it might be that WorldGuard is listening to the Command preprocess event and/or the gamemode change event on a priority "sooner" than HIGHEST, and is therefore checking permissions before your plugin applies admin permissions.
Using /lp verbose paste will let you see the stack traces of the checks, which will clear that up.
As for delayed updates to WorldGuard bypass permissions - this is a WorldGuard issue and is not being caused by LuckPerms...
Issue is likely being caused by JPremium.
LuckPerms uses UUIDs to uniquely identify players (I mean duh that's the point of them). If plugins (JPremium) are randomly changing players uuids, or modifying them in an unsafe manner on login then it should be expected that other plugins and systems will not work properly.
Not much I can do - I suggest reporting the issue to JPremium's author.
Sorry for the delayed reply - could you give me a small example I can test with? I can't really follow your explanation above.
Ideally something like:
set
permission.xto true,permission.xto false in contextworld=world, observetrueresult when checkingpermission.x(bug)
Hello, is there anything new on this system? I think it's still important (automatic menu, need to remove time etc etc...), thank you.
Hey! I have a question. I want to have a system on my server to give active players new ranks. So, how can i give them a role, without replacing the previous rank?
I mean, players with the "default" role get an "upgrade" to "Iron".
Thats working.
But when my team reach the required onlinetime, they get the "Iron"-Rank and this rank is displayed.
Can i sort ranks with priority or something like this?
Displaying what rank is shown depends on many factors like if a group inherits from another one, if it has specific prefixes/suffixes set, what the weight is, etc.
We can't really give you a solution because we don't know your setup yet. Do you use tracks? Do the groups have weights? Does iron inherit from default or other groups? etc, etc, etc.
Spigot 1.15.2 (Jenkins 2596)
LuckPerms 5.0.70
Description
Beginning with Spigot 1.15.2 (Jenkins 2596), missing dependency declarations are reported in the log on server start-up as WARN messages.
Reference: https://hub.spigotmc.org/jira/browse/SPIGOT-5546
The relevant log entry is:
[22:03:03] [Server thread/WARN]: [LuckPerms] Loaded class net.milkbowl.vault.permission.Permission from Vault v1.7.3-b${env.TRAVIS_BUILD_NUMB...
Erm, Vault is defined as a loadbefore...
https://github.com/lucko/LuckPerms/blob/master/bukkit/src/main/resources/plugin.yml#L19
Then this perhaps is a bug on Spigot's end, considering LP has loadbefore, yet this warn appears?
No, loadbefore is an inverse softdepend: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/plugin/PluginDescriptionFile.html#getLoadBefore--
Specifying another plugin here is strictly equivalent to having the specified plugin's getSoftDepend() include this plugin.
Yep - that's intended - reasoning is explained in an comment here:
LuckPerms then hooks with Vault later when it enables.
Ok, so the fault is this
Group Default has 'permission.x' set to false
Group Default has 'permission.x' set to true in world = world
This has the behavior that x is only true in world;
In a higher group such as vote3 i have permission.x set to true in both world nether and world_the_end
The above does not work, the permission check returns false.
I am trying to create a Pixelmon server for me and my friends, but LuckPerms isn't being recognized as a mod when the server is launching. I have tried different versions but all of them do the same thing.
[Server thread/INFO] [FML]: FML has found a non-mod file LuckPerms-Sponge-5.0.70.jar in your mods directory. It will now be injected into your classpath. This could severe stability issues, it should be removed if possible.
Somehow overlooked I didn't put the spongeforge in the mods folder.
Can you add a tab to add commands for certain worlds because I want youtube rank flying in lobby not survial
You can add via contexts permissions per world / per server
This is already a thing. See the Context page about how.
I get no Error message in console...and everything Seeems to work...but no when i sync..the updates for the suffix don't take place in the game.
Your issue lacks information for us to actually help you solving it.
Please provide information like:
- Steps you took
- Your current configurations of LP (Share through https://hasteb.in and make sure to remove sensitive information like passwords)
- What is your server type?
- What other plugins do you use?
โข /lp group default meta setprefix 100 &G[Player] followed after it said it set it to the context of global...i did /lp sync...logged out of minecraft and logged back in..still no change
โข current version: 5.0.39
โข Server type: Sponge Forge 1.12.2
โข No other plugin.
Your issue is, that LP does not manage the chat whatsoever... You need a separate plugin for managing the chat (Nucleus is recommended for Sponge servers).
You can check if LP did its job, when the prefix is showing for a player when using /lp user <user> info
Also, if you're using a normal server and not a server network, then the sync command is pointless as it is meant to be used on server networks and not normal servers.
Despite multiple comments about this, none of the solutions worked on my server...
Mods installed:
Pixelmon
PixelExtras
Worldedit
I honestly don't know where the Worldedit config is so that could be the problem... Worldedit shows up in my lp tree, but when I try to do //wand, I end up with the message, "You are not permitted to do that, are you in the right mode," which I don't understand at all... So I've been trying to figure it out by searching it up numerous...
Are you in the right mode?
It probably asks if you're in creative as WE isn't really a survival mod.
My server is automatically set to Survival... so yes, that is the problem. But I don't how how to set it to creative. (I am new with servers)
Obviously, I can do /gamemode 1, but still, in creative, I can't do the command, so I am guessing the gamemode when the server was created is the problem here.
The game mode doesnโt matter.
Itโs referring to the mode in its own config.
In any case nothing to do with LP.
Reach out to WE support.
I can't reproduce this.
Groups setup as follows:
>lp group default permission set permission.x false
[14:47:25 INFO]: [LP] Set permission.x to false for default in context global.
>lp group default permission set permission.x true world=world
[14:47:36 INFO]: [LP] Set permission.x to true for default in context world=world.
>lp creategroup vote3
[14:47:46 INFO]: [LP] vote3 was successfully created.
>lp group vote3 setweight 10
[14:47:52 INFO]: [LP] Set weight to 10 for group v...
Hello,
Im here to request a feature to pause temporary permission when the player is not online
thanks
LP v5.0.70
SpongeForge 1.12.2-2838-7.1.8
/lp export doesn't export actions, not sure if intended or not
Used Versions
Paper-87
LuckPerms 5.0.70
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by me.lucko.luckperms.common.dependencies.classloader.ReflectionClassLoader (file:/home/mcserver/25599/share/plugins/LuckPerms-Bukkit-5.0.70.jar) to method java.net.URLClassLoader.addURL(java.net.URL)
WARNING: Please consider reporting this to the maintainers of me.lucko.luckperms.common.dependencies.classloader.ReflectionClassLoader
WARNING: Us...
I don't quite understand what the issue is here. What "actions"?
I have LuckPerms Bungee on the bungee proxy and Standard LuckPerms on the Spigot Hub world.
I set the group Admin to have the permission "prefix.10.&l&8[&eAdmin&8]&r" and now it's showing the prefix twice!

This is not LPs fault.
It is most likely caused by whatever Chat plugin you're using.
If you use essentials, make sure you aren't setting the chat format as {prefix}{displayname} as displayname will show prefix/nickname/suffix.
This is intended, actions aren't saved as part of the export process.
Sorry, this is beyond the scope of LuckPerms for the time being. You could perhaps find another plugin which can manage this.
Possibly something (similar to) like this: https://dev.bukkit.org/projects/ontime
It sounds like tracks is what you're after.
Not really much I can do about this issue for the time being.
The solution to switching from a loadbefore to a soft-depend will break plugins which integrate with permission plugins by only depending on Vault - this is not a regression I want to have.
I've made some suggestions about how this could be resolved sensibly here: https://hub.spigotmc.org/jira/browse/SPIGOT-5546?focusedCommentId=35859&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-35859
...
The server we (third party, Tau, and I) seems to have it functioning as expected. No clue if this is because of either one of the other 2 having changed how our groups are or what's up, but it's functioning (Proximyst is in the nether; could also use the permission in practice):

I'd say it's likely a configuration error on our end which we've fixed at some ...
Negative nodes should be prioritized or the option to weight nodes. Let's say I have '*' permission in group Owner. For some reason, I would like to make a node false. In my case, I go for essentials.build . It does not work.
It should work as more detailed permissions (essentilas.build) override wildcards (* or essentials.*)
My idea is, that you either don't have Essentials AntiBuild (You shouldn't. That plugin is trash) or that the permission is wrong)
By default does LP calculate and manage the permission as follows:
- More detailed permissions override wildcard (as explained above)
- Permissions a group/user has override permissions they inherit.
- Permissions with world/server context override th...
Hello my serveur stop when i add the plugin with no error
We require more information for us to help you.
Please provide this additional information:
- Server type (Spigot, Sponge, Paper, ...)
- LuckPerms version ("Latest" is not a version)
- The latest log of your server (upload it to https://hasteb.in please)
- Other plugins you use.
In addition also explain what exact steps you did, as "Server stops when I add the plugin" doesn't give us any clue what exactly you did.
[23:16:38 INFO]: [LuckPerms] Disabling LuckPerms v5.0.39
[23:16:38 INFO]: [LuckPerms] Closing storage...
[23:16:39 INFO]: [LuckPerms] Shutting down internal scheduler...
[23:16:39 INFO]: [LuckPerms] Goodbye!
[23:16:39 WARN]: java.util.ConcurrentModificationException
[23:16:39 WARN]: at java.util.HashMap$ValueSpliterator.tryAdvance(Unknown Source)
[23:16:39 WARN]: at java.util.stream.ReferencePipeline.forEachWithCancel(Unknown Source)
[23:16:39 WARN]: at java.util.s...
If you then enter any command you get this error permanently and you can no longer write anything in chat.
2020-02-03 17:11:42.313 [main] FATAL - Unbehandelter Fehler beim Ausfรยผhren des Kommandos "say > Shop.unkreativmc.net" in say: java.lang.NullPointerException
at cn.nukkit.Player.isPermissionSet(Player.java:504)
at me.lucko.luckperms.nukkit.inject.server.LPSubscriptionMap$LPSubscriptionValueSet.lambda$getContentView$1(LPSubscriptionMap.java:179)
at java.util.stream.ReferencePip...
Please use https://hasteb.in for sharing errors.
GitHub issues are bsd for this
My server occasionally issues such an error, which tells me to lower the maxLifetime value. Although I have set it to 30000, it still issues such a prompt. When I lower the value to a lower value, it will revert to 180000. Is this a loophole or my problem?
[15:01:08 WARN]: [Craft Scheduler Thread - 19] WARN com.zaxxer.hikari.pool.r - HikariPool-1 - Failed to validate connection com.mysql.jdbc.JDBC4Connection@7fde312 (No operations allowed after connection closed.). Possibly consider using ...
So you set it in LP?
You shoulslower it in LP and make sure it's around 30 seconds lower.
Remember that the time for wait_timeout in your database is in seconds while it is in milliseconds for LP
When I restart the server after setting it below 30 seconds, he will automatically reply for 180 seconds
https://pastebin.com/z5jU80di
Hello, my server get crashed and i see this log.. please check this
[22:28:51] [Paper Watchdog Thread/ERROR]: The server has not responded for 19 seconds! Creating thread dump
your server/JVM is basically so overloaded that the timer that's supposed to run every second took 9+ seconds to actually run, not an LP issue
Basically, ill update a users group and when they relog, it reverts the changes and puts their group back to the previous one.
LP Version: LuckPerms-Sponge-5.0.39
Sponge Version: spongeforge-1.12.2-2825-7.1.6.jar
I'll post it again:
For rename: Have it bulkupdate by default and a flag to disable that behavior. So that the most common use case is the default.
same problem here, most minecraft hostingยดs has the wait_timeout in exactly 30 sec, could you please make a new update so we can lower the maxlifetime ? or maybe just remove the "max min lifetime" setting and leave it without restrictions of a min value ?
Even if I update the latest version of the plugin, this problem still occurs
[12:24:06 WARN]: [Craft Scheduler Thread - 38] WARN com.zaxxer.hikari.pool.r - HikariPool-1 - Failed to validate connection com.mysql.jdbc.JDBC4Connection@1ed8335e (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value.
[12:24:06 WARN]: [Craft Scheduler Thread - 38] WARN com.zaxxer.hikari.pool.r - HikariPool-1 - Failed to validate connection com.mysql.jdbc.JDBC4Conne...
When I set the value below 30000 it will automatically restore ...
[13:08:17 WARN]: [me.lucko.luckperms.lib.hikari.HikariConfig] luckperms-hikari - maxLifetime is less than 30000ms, setting to default 1800000ms.
is what i say, they need to remove that min value, or just remove it so we can make it lower than 30000
I think they should remove the minimum value
While I think that the API has been improved greatly from v4 to v5 I still think it has one major flaw:
SimplicityIn other words my main issue is that even to do simple things you need to use many aspects of the API and construct many intermediate objects.
So my main suggestion is to add overloads to all methods that fetch data and ask for aQueryOptionsobject. That overload would just not want one at all and do the same thing and just use a reasonable default value for i...
I tried copy and pasting some code from the wiki, and there were errors!
That's because you shouldn't copy-paste stuff, as stuff like that will happen.
That's because you shouldn't copy-paste stuff, as stuff like that will happen.
The wiki is actually outdated on many things. And quite a few examples use the old class names.
This has nothing to do with copy and pasting being bad etc. The docs are just not up to date.
I'm the Dev of our LobbySystem. Please keep in mind that I use for you probably strange methods of loading my permissions, just haven't found and other way to load my permissions, cause I load my permissions dynamically and don't ask "hasPermission(permission)" with Strings....
Field pluginField = LuckPermsApiProvider.class.getDeclaredField("plugin");
pluginField.setAccessible(true);
LuckPermsPlugin lpplugin = (LuckPermsPlugin) pluginField.get(LuckPerms.getApi());
PermissionRegis...
The wiki is actually outdated on many things. And quite a few examples use the old class names.
So are the Javadocs then, I presume?
either building against a different version of LP than you have installed, or, probably more likely, you didn't setup your dependency info in plugin.yml, and so your plugin is enabling after LP does
That's an hikari thing, not a LP thing, there is pretty much 0 reason to have a connection lifetime less than 30 seconds, that somewhat defeats the whole purpose of pooling connections and just creates more work for the client (LP) and the server itself.
I'd suggest looking at what the actual connection timeouts are on the mysql server, and speaking to your hosting provider if you're seeing this often, that generally means that something is closing the connection in an unexpected way, or t...
@electronicboy I indeed have setup everything correctly
main: mainclass...
version: 1.0
name: LobbySystem
author: DasBabyPixel
website: website...
softdepend: [LuckPerms]
commands:
lobby:
shouldn't be a softdepend if you require LP to be installed,
But, beyond that, need more information about your setup; logs? lp version?
Why on earh are you loading the API like that?!?
Get it like described here: https://github.com/lucko/LuckPerms/wiki/Developer-API#obtaining-an-instance-of-the-api
Instead of integrating directly with the LuckPerms internals, just register your permissions with Bukkit! This means all permission plugins (including LuckPerms) can pick up your data. :)
You can do this...
- In your plugin.yml file, as explained here: https://bukkit.gamepedia.com/Plugin_YAML (preferred)
or
- Programatically:
for (String permission : api.getKnownPermissions()) {
try {
Bukkit.getPluginManager().addPermission(new Permission(permission));
...
Check your logs for errors. :)
Seems updating to the latest version fixed this issue. Sorry for disturbing
Hey, small question.
I was planning to add DiscordSRV so when players link their minecraft account to Discord, they automatically get the rank 'Novice'. From there on, it should sync in-game ranks with Discord ranks.
If I were to implement this now, anyone who has a higher rank then 'Novice' would be set back to 'Novice' once they link their accounts.
Is there any better solution that would work out for me? For example;
- Only Strangers that link their account get Novice.
- Any...
This is mostly DiscordSRV's job.
Just make sure that the mc rank has the perm discordsrv.sync.<role id> set and that the bot has a role with manage roles perms that is above all others.
But once they sync their minecraft account with discord, it runs the console command to give them the Novice rank. Even people who passed Novice.
I actually only want people with the ''Stranger'' rank to get promoted to Novice.
I actually only want people with the ''Stranger'' rank to get promoted to Novice.
Then set up permissions accordingly.
And we can't help you here as this isn't at all related to LP and relies on DiscordSRV, so you're better of asking on their Discord for assistance.
You need to set the permission to False in the higher up group.
Thanks for that information, i'll play around with it!
I've been experiencing issues were a players rank is set or they receive a permission just for it to disappear later. After looking at the logs it appears in the actions log but doesn't save to the database. Using split storage, ranks and tracks are YAML, everything else is MariaDB.
SpongeForge 7.1.8
LP 5.0.73
I want to be able to add a useSSL configuration option because my server keeps showing this warning.
[13:24:35 WARN]: Fri Feb 07 13:24:35 CST 2020 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You ne...
Logs and screenshots
https://hastebin.com/ibenefelom.sql - Debug of event
Images show actions logging the permission change, second shows that the users perms weren't updated.


How about actually providing info?
I just clicked by accident sorry, i dont know how to delete it. So i gonna write here. I have a problem a plugin called grief defender in the last update they decided to transfer all their player info to contextual data in luck perms, the migrator worked perfectly but my server is a rankup server and when someon rankups and after that the player info of grief defender update the player returns to the previous parent. I talked to the creator of grief defender and told me that grief defender do...
I'm making a badge selector using BossShopPro and LuckPerms.
I do want notifications/logging to be enabled for other purposes, but I don't want to see when a user switches his/her badge.
Could it be possible to add a -s argument to commands so that it doesn't show the logs for certain commands?

Only admins can see those logs. And you can turn them off for yourself too.
I understand that, but if I do want the logs enabled for other purposes. I basically have 2 options;
- Ignore those badge switch logs
- Disable all logs/notifications
I cannot rename default. I tried doing /lp group default rename member. It works temporarily but eventually, member is another existing rank and default is still there. Every time I tried reloading through the server, loading through luckperms, or restarting the server, it won't work.
Can verify this issue happens to me as well
This is because you're not supposed to rename it.
LuckPerms always has a group called default, since that's the group everyone gets.
You have a few options to change the behaviour of default. You can either change the display name (It's still called default in LP but will display the other name for every plugin that gets it through Vault) or edit inheritance.
More Info:
https://github.com/lucko/LuckPerms/wiki/Default-Groups
Hi, I have a question.
What chat script to put for Nukkit to display prefixes?
This has been happening for my server as well.
Have you guys true installing this? https://ci.lucko.me/job/extension-default-assignments/ seems like it fixed the issue for me so far
That would make it even weirder.
I asked the hosting service provider and he told me that connecting to Mysql is an internal network, it should not be a problem with their server, and I tried to update my mysql version, but I still get a warning.
I believe a feature to silence specific tracks would heavily benefit people who have larger servers, and/or servers that have features like this.
Also having an issue with this as well...
Hello I'm using the plugin in my network and all is fine. My suggestion is if you can add an option for user data removing if the player don't join the network in like 3 months or whatever time I want? With this, I clear my database of useless data.
Sorry for my english...
I don't think this is a useful option as it is outside of LPs main purpose imo.
Am now experiencing the Towny/Luckperms desync problem again with LuckPerms version 5.0.72.
I have not tried these versions as I can't find the jars but another Towny admin says v5.0.23 works for them. So assume something changed to bring this back?
Still not working. My server has one track named default and even when I add luckperms.user.promote.<track>.<old/new-group> it does not let me execute the command. And I do have the option enabled in the config.
My default track goes default--->member--->trusted---->moderator--->admin---->owner
I want it so that the user inheriting trusted or higher can promote/demote players up to the group below them.
i.e. for moderator, I put, luckperms.user.promote.default.trusted, luckperms.user.demo...
Still not working. My server has one track named default and even when I add luckperms.user.promote.. it does not let me execute the command. And I do have the option enabled in the config.
My default track goes default--->member--->trusted---->moderator--->admin---->owner
I want it so that the user inheriting trusted or higher can promote/demote players up to the group below them.
i.e. for moderator, I put, luckperms.user.promote.default.trusted, luckperms.user.demote.default.member, and...
Hello, I have a problem, I have the plugin EzRankPro, and I have multiple ranks, I want to accumulate the rank between the normal rankup rank and Vip rank this is my problem: (for example) I'm rank B and I want to upgrade to rank C, so I have to use /rankup, but, if I use (if a player buys the rank vip) /lp user (user) parent set vip this remove the rank B and I cant upgrate to C, but if I use /lp user (user) parent add vip this accumulate the rank and it works well.
This is my main proble...
To my knowledge does addtemp just add it, as the name implies.
The issue is most likely based on how the weights of your groups are set.
This is incorrect.
You can have addtemp accumulate the time. See https://github.com/lucko/LuckPerms/wiki/Command-Usage:-Parent#lp-usergroup-usergroup-parent-addtemp-group-duration-temporary-modifier-context
There's a caveat on Sponge that's very easy to miss:
The permission xxx also adds all permissions that start with xxx..
That's why when you add the node luckperms.user.promote you also add all other nodes that start with luckperms.user.promote, like luckperms.user.promote.default.default.
The way around this (or if you only want one node and no child nodes on Sponge) is by setting the node you want (xxx) to true and xxx.* to false. Then only xxx is true....
That depends on your chat plugin. Ask them for support.
There is a way of delete old player data? /lp purge PLAYER? Or auto delete players that dont join the server in X time?
Anytime anyone tries to log on, I get this:
https://pastebin.com/PXzQLsyz
I have tried restarting the server with no luck of it fixing.
I'm sure the problem isn't in LuckPerms. Read this article related to this error: https://github.com/lucko/LuckPerms/wiki/Storage-system-errors#luckperms-cannot-connect-to-my-mysql-server
Yeah, you were right. I had to recreate the MySQL database because I guess something went wrong? Would you know of any way to grab the old database information without having to redo all perms?
`[LuckPerms] Failed to init storage implementation
[11:52:59] [Server thread/WARN]: org.h2.jdbc.JdbcSQLNonTransientException: IO Exception: null [90028-199]
[11:52:59] [Server thread/WARN]: at org.h2.message.DbException.getJdbcSQLException(DbException.java:502)
[11:52:59] [Server thread/WARN]: at org.h2.message.DbException.getJdbcSQLException(DbException.java:427)
[11:52:59] [Server thread/WARN]: at org.h2.message.DbException.get(DbException.java:194)
[11:52:59] [Server thread/WARN]: ...
Thanks, I'm new using this plugin, I defined the weights of all my groups and now works well :)
Yeah, you were right. I had to recreate the MySQL database because I guess something went wrong? Would you know of any way to grab the old database information without having to redo all perms?
You can export tables of LuckPerms with phpMyAdmin function called "Export":

or if you don't have PMA, you can do it with command prompt through SSH:
https://stackoverflow.com/questi...
Much rather use 3 back ticks to create a code block instead of just one.
The server was up and running for several months before this error occurred.
Is there a way to fix this error or export data?
Looks like the database file somehow got corrupted.
Do you have a backup of the file? Else it's looking really bad.
There are no backup files because the plug-in is always running well. This error occurred after the server automatically rebooted in the early hours of this morning.
Looks like the database file somehow got corrupted.
Do you have a backup of the file? Else it's looking really bad.
I only expected that there would be a problem with MySQL database and gave MySQL backup, but I didn't think that LP's local data would be damaged.
So, if I don't have a fix or I can export the data then I might have to see god in advance.
The file got corrupted while it was being written to or at least open. So my guess would be that the server either crashed or was forcefully shutdown.
And recovering corrupted data is really nothing we can help you with. You might have luck reaching out people more invested with the h2 database format.
And as a note: If LP can't read the data while starting it also can't export anything from it, because that would require being able to read the data.
The plug-in has a file named luckperms-h2.trace.db. Is this useful?
Timings are not are reliable way to find any cause of lags or similar. You would need to use a proper profiling plugin lik Lucko's Spark.
I don't think so. But I'm not very knowledgeable about the topic.
Its may be hard to add a function that can automatically fetch and download a newer version of LuckPerms. But, a small note to say that whether there is a newer version of LuckPerms will be very nice.
Hope it will not cause may troubles.
An auto updater is not something I want to add - I personally think that's much better being a manual process.
Update notifications is something I have considered, but feel that they're a bad idea for two reasons.
- The project has new "development" versions released quite frequently - it's would be impractical to update for each release.
- Most of the "development release" updates are not critical to the operation of the plugin - it's fine to just track the latest "stable" / "releas...
Looks like the database file somehow got corrupted
Basically this - it's not a LuckPerms issue/bug, unfortunately therefore not something I can help with / fix.
You might be able to fix your database file using the H2 recovery tool.
http://www.h2database.com/html/advanced.html#using_recover_tool
LuckPerms doesn't track the last join time of players, so implementing this isn't possible.
(it's also not something I'd like to store - seems a bit out of scope for a permission plugin)
Thanks for the suggestion, but sorry, this isn't something I plan to add.
The wiki is actually outdated on many things. And quite a few examples use the old class names
Examples please? As far as I know everything has been updated now.
So are the Javadocs then, I presume? Some stuff I saw on the Javadocs contradicted what the wiki said
The JavaDocs are likely to be correct if there's a contradiction. Could you tell me what the contradiction was and I'll correct it.
I don't see why negated nodes should be given priority over true nodes.
The system of "more specific" wildcards / permissions having priority makes sense in my opinion.
I think it would be a beneficial thing to have an optional context option for the /lp import command to import the data of an export-file in a specific context.
That would be especially useful in cases where a user switches from a network using LP with separate storages to one with a central, remote-database.
The issue you face there is that - to my knowledge - the import command overrides every existing perm-setup, meaning it will remove/destroy any previously set perms in the database, ...
I've just set up my server and have configured all of my essentialsX permissions, however I am only able to do so when I amOP myself.
I would rather not have to be OP and use the /lp user permission set luckperms.* true command.
I have only executed the command above, other than that there are no groups or users that have any luckyperms permissions.
Am I missing something or have I stumbled across a bug?
I am using LuckPerms v5.0.72 on Spigot 1.15.2
Did you literally used <your username>?
If yes: ๐คฆโโ
You obviously have to replace <your username> with your own player name.
Obviously I did not. I used my own username.
It's more just to show the plugins and server version
After installing LuckPerms, I restarted my server. The server crashed and shut down!
Then, I removed LuckPerms and restarted my server. Everything worked well!
My server is using Paper 1.12.2. I hope the issue can be solved and I can continue using LuckPerms as I like the features that LuckPerms provide!
The JavaDocs are likely to be correct if there's a contradiction. Could you tell me what the contradiction was and I'll correct it.
My bad. After double-checking, it all made sense. Thanks for your time though. I guess the wiki wasn't made for beginners. Your ExtraContexts plugin helped me quite a lot but I just couldn't get my own one working (the tab complete works but everything else doesn't).
That's because you shouldn't copy-paste stuff, as stuff like that will happen.
That ...
Without any logs or similar can we get 0 help.
Please upload them to https://hasteb.in
I'm quite sure it's not LP "crashing" the server.
And with restarting you mean stopping the server, adding/removing the plugin and starting again? Because adding/removing a plugin and then restarting will cause issues.
According to the guidelines:
Download the LuckPerms-???-x.x.x.jar file that corresponds to your platform. You can find the latest versions here.
Navigate to your mods/plugins directory. This is usually either /plugins/ or /mods/. Then place the LuckPerms jar in this directory.
Fully stop & start your server, and allow the default configuration to be generated.
I followed it and restarted my server after uploading LuckPerms to the plugin folder.
Like I thought is not LP "crashing" the server. It doesn't even crash at all.
The cause of your issue is AuthMe, as it disables itself when something isn't properly configured:
[09:47:17] [Server thread/WARN]: [AuthMe] Aborting initialization of AuthMe: [InjectorReflectionException]: Could not invoke method 'setup' for fr.xephi.authme.permission.PermissionsManager@11b55135
[09:47:17] [Server thread/WARN]: [AuthMe] THE SERVER IS GOING TO SHUT DOWN AS DEFINED IN THE CONFIGURATION!
...
But if I removed LuckPerms, server don't shut down!
But if I removed LuckPerms, server don't shut down!
Please read the logs/console feed next time, as it is clearly mentioned in CAPS what causes it and why.
So you mean AuthMe have conflict with LuckPerms?
AuthMe shuts down the server, because of a config-setting that tells it to do so.
It has to be something around Vault from my knowledge, so you have to change the settings. Please contact the AuthMe support as this is something on their end and not ours.
It has to be something around Vault from my knowledge
However, it is about some sql problems. I fixed the issue and it works well. Thanks for your support!
I have a custom website setup with launcher for my network. I wrote a simple php script so users can buy ranks on the server, it calculates the accout balance and sets the luckperms db luckperms_players primary_group to whatever the bought rank is. The script changes the group name in db, but it doesnt apply to the server. Changing it myself from phpmyadmin has the same effect. I've granted my mysql user all permissions for the db, restarted the server, refreshed the plugins and tried /lp net...
LP caches the permission, group and userdata.
It doesn't update its cache, unless told so, which can be done in two ways:
- Setup sync-minutes in the luckperms.conf
- enable messaging-service (Won't be useful in your case)
I personally suggest to better have a plugin, that is hooked into your store-system and into the LP API to modify the groups a user has, rather than directly editing the ...
LP caches the permission, group and userdata.
It doesn't update its cache, unless told so, which can be done in two ways:
- Setup sync-minutes in the luckperms.conf
- enable messaging-service (Won't be useful in your case)
I personally suggest to better have a plugin, that is hooked into your store-system and into the LP API to modify the groups a user has, rather than direc...
This actually has a few use cases with forge mods, which some will check for operator. Would be nice to have a node set to each rank to define it, most famously, FTBLib requires OP for claims bypass, as an example. Not sure how hard this would be , but since it is an already existing feature i figure it was worth a shot asking.
but what i've noticed, if set a rank on user with default group, it does as i've said. But if i rewrite it on user with admin group, it sets it it db, and after some time, resets it back to admin.
This would have 0 usages as Sponge will automatically disable the OP system when a permission plugin is loaded.
I would check the wait_timeout setting of your database and compare it with what you have set in LP.
LP's config has the value set in milliseconds while MySQL has it in seconds, so keep that in mind.
https://github.com/lucko/LuckPerms/wiki/Storage-system-errors
I would check the
wait_timeoutsetting of your database and compare it with what you have set in LP.
LP's config has the value set in milliseconds while MySQL has it in seconds, so keep that in mind.https://github.com/lucko/LuckPerms/wiki/Storage-system-errors
just did that, i've run sql command to set the wait time to 28800 and got the default lp time back, it removed the pool warns, but the problem is still there, also im not sure about the sql wait time. if i use sqld --v...
i guess the problem is actually in the wait timeout, the issue is it kinda doesnt want me to change it https://imgur.com/cjOK3jV
I've managed to fix the wait_timeout https://imgur.com/Cwqj5ry checked it with both just typing mysqld --verbose --help as root and logging into mysql via terminal as the user i use for website and lp config. Both are at 28800. still no effect. Restarted, waited a min, nothing.
Except such mods even with sponge and luckperms still require op.
Then it's an issue with the mod and not LP.
Like mentioned will sponge disable the OP-system, which is out of LP's control.
An auto-op system for a server that disables OP is useless.
After setting the database information, it is stuck in the loading configuration file when restarting
servers:paperspigot 1.8.8
It's not an issue with the mod, since mods are not plugins and thus by design do not target the sponge framework but instead use forges native permission systems which generally is just ops and op levels.
Secondly, the feature already exists - it has a valid use case in sponge due to the aforementioned reasons. I'm just asking or suggesting it be enabled for sponge as well. If you have ever ran a modded server you would understand, mods don't give a damn about sponge. No one makes a mod an...
Setting "storage-method" in config.yml to "MySQL" (along with address/database/username/password) works perfectly. The database tables get created and permissions are stored successfully.
However, if the value for "storage-method" is set to "MariaDB", which is actually what I am connecting to, it results in the following ClassNotFoundException error during startup:
[Server thread/INFO]: [LuckPerms] Loading configuration...
[Server thread/INFO]: [LuckPerms] Loading storage provider... [...
I set up everything and tried it out, but the prefix isn't working at all. Instead of "&4[Owner]" it just adds the number 4 in front of my name

LP is showing that the prefix is there, that's more going to be on your chat plugin setup
not an LP issue, I'd suggest speaking to the people behind your chat plugin or asking for support on the discord
how do I change that?
Check your chat plugin configuration? Not much we can suggest without that information.
its also not working without the chat plugin
LP doesn't modify chat, it just stores/provides that information for other plugins, it's up to you to install/configure a chat plugin to fetch that info from LP
You need a chat plugin to display prefixes.
Do you also have Vault?
Maybe read the FAQ on prefixes: https://github.com/lucko/LuckPerms/wiki/FAQ
Whichever one fits your needs, and supports Vault (assuming you use a Bukkit based server).
I just need a few examples of good plugins, supporting LP (spiggot)
There is some examples on the wiki of plugins to use, this issue tracker is for issues with LP, not for discussion/support, please use the discord for that.
The LuckPerms wiki. Scroll up, you'll find it (I also linked to it earlier).
You'll find the chat plugins on the prefix page.
Ok - another thing, the permisiions arent working, i can switch between the groups and will still have every permission, could be because i'm an op?
You should not use Op when debugging permissions. Please read the FAQ, almost everything you've asked is answered there.
Speaking to luck.
Bulk update replacing permissions is broken.
Does LuckPerms use Redis as a message broker or as a caching system too? I want to reduce connections to Database by using redis.
It just uses it as a messaging broker. Caching is done internally.
The database connections are due to LP using a connection Pool to improve performance. Having multiple connections shouldnโt be an issue whatsoever.
Hi everyone, I just want to know how it is even possible to have this thing in a simple rankup command on my prison server:
https://gist.github.com/maxlehot1234/a53e6abf6914397b1580c49ece1fa4b5
Sometimes, Luckperms start to "lag" (maybe?) and display its help command.
Sometimes, LP say that I already have the group...
How I can fix this?
Weight, permissions, track and everything was correctly setup.
I can't post the setup here for differents reasons, but I can by PM (discord)
I...
This is very clearly your rankup plugin creating a loop.
Report that issue with them. It's most likely a misconfiguration on your part.
Ok but how you explain the fact that LP display all commands info?
I would check the
wait_timeoutsetting of your database and compare it with what you have set in LP.
LP's config has the value set in milliseconds while MySQL has it in seconds, so keep that in mind.https://github.com/lucko/LuckPerms/wiki/Storage-system-errors
any other solutions sir ?
Because the rankup plugin is executing LP commands.
Taking it this was never looked at? Still having this issue and no idea why. No error on startup. It rolls back a players group to what it was previously. Should I move to mysql or something?
@VOrlando520 Are you running GriefDefender on your server? I noticed that @hutchy50 is and I am as well. Not sure if it could somehow be related.
I took a look at @varnithian97 's Github profile, he is running GriefDefender too. Is it a coincidence that all of us with the issue seem to be running GD?
Yes I use griefdefender as well
Everyone that uses GD, could you try to see if the issue persists without GD?
I can assure you it is not GD. I'm running the following on my production server with none of these issues.
SpongeForge: 1.12.2-2838-7.1.10-RC3994
LuckPerms v5.0.73
GriefDefender 1.2.6 B1
I'm not claiming it is GD. I just want to find out if there's a connection.
It could very well be that it's a bug in LP that only triggers with GD present (as they use special permission magic).
Also what storage types is everyone using?
The default database storage that ships with lp
For me this issue was present when using both YAML and MariaDB. I will note that the first reports of this issue on my server was after installing GD and it was my first suspect with it's change to using meta data to store claim blocks. Since this issue happens somewhat uncommonly testing without GD on a test server may be difficult.
This is occurring on two of my Sponge servers too, notably after scheduled restarts. Using the default H2 database storage option.
Like others here, I am using GriefDefender.
The issue only began after the 12th, when I updated LP from 5.0.55 to 5.0.78, but I also updated my GriefDefender at that time too (as the GD update introduced the migration of GD data to LP userdata).
SpongeForge: 1.12.2-2838-7.1.8
LuckPerms: 5.0.78
GriefDefender: 1.2.5-B16
I tried replicating the issues pr...
As an update. This morning I had two further player reports of LP related issues:
The first was that GD claimblocks had seemingly rolled back, whilst I have logs of them being distributed correctly via /acb
The second was a player who had a rank set on the 13th and has played every day since- just for his permissions and prefix to vanish. Interestingly, he still had the group.rankname permission from past purchases, just not the one from 4 or so days ago.
This is rather troubling. I ...
As an update. This morning I had two further player reports of LP related issues:
The first was that GD 'bonus claimblocks' had seemingly vanished, whilst I have logs of them being distributed correctly via /acb
The second was a player who had a rank set on the 13th and has played every day since- just for his permissions and prefix to vanish. Interestingly, he still had the group.rankname permission from past purchases, just not the one from 4 or so days ago.
This is r...
Possibly related to #1977
Hi, I'm writing here because I searched online but didn't find anything to this relatively easy question:
I gave to my staff (of course) the luckyperm.group.* (which, as you know, gives the ability to set groups permissions) but since this staff is in a lower rank (I also put his group to a lower position in track than my owner rank) I want him to not being able to modify my perms... which he can.
How do I remove from him the permission to modify perms on a specific group (in this case the ...
Take a look at the wiki page about argument based command permissions.
Oh sorry I always say it wrong, anyway thanks
After discussing this with a few people on the GriefDefender discord, user WhatsTheBadNews
#1060 believes that downgrading to 5.0.67 resolves the issue.
After discussing this with a few people on the GriefDefender discord, user WhatsTheBadNews#1060 believes that downgrading to 5.0.67 resolves the issue.
@PulzHF I've now confirmed, the issue still happens for me on 5.0.67
We are getting that issue from time to time aswell. It happens only on adding a group to a player after a /rankup. When a restart happens some hours later, the added group is gone.
But that is pretty much the only big permission operation on our server, so guess it can happen with meta etc and group removing aswell.
Need to say, that we got that issue with one of the latest LP4 builds and all LP5 builds. But as it just happens every 3 weeks or so, I wasn't worried and didn't reported it
Could it be something relating to the new build for grief defender? I
realized my issue came into effect after upgrading gd to the new meta data
storage.
On Mon, Feb 17, 2020 at 5:34 PM John notifications@github.com wrote:
We are getting that issue from time to time aswell. It happens only on
adding a group to a player after a /rankup. When a restart happens some
hours later, the added group is gone.
But that is pretty much the only big permission operation on our server,
so gue...
I wonder if @bloodmc has any input on this
Probably a race condition when calling. user.save() too fast in a row. The new call could overwrite the old one.
I wonder if @bloodmc has any input on this
He does and is actively talking to Luck about it.
He said:
yea reported to Luck, ill see what he says
ill see if Luck can provide a debug build showing trace for meta unset
because it doesnt make sense how GD is causing meta not even related to it to be lost
also the strangest part is, its random
which tells me its most likely related to race conditions in caching
GD doesnt handle LP storage but it does call saves due to issu...
Good to know. I wasn't aware that Luck knew... I just pinged him on Discord about it xD
Hi,
LuckPerms isn't connecting to MySQL SSL. We can manually connect to the MySQL database using the MySQL command, LiteBans which is also using MySQL SSL works just fine on the same machine, LuckPerms still has issues with a different machine, the LuckPerms and LiteBans databases are setup exactly the same.
Thanks.
Thank you for getting back! I will give this a try and let you know.
I would appreciate an option to re-enable legacy export of "list of commands", it is very beneficial to make mass edits using Sublime text editor.
@MinecraftAdmin probably best to open a new issue for that. There are quite a few people who want the legacy export back.
Also, the export was afaik never meant to be editable?
It was meant as an easy backup-method and for switching storage.
And if you want to f.e. import info with context, take a look at #1991 as suggestion and perhaps give your opinion on it.
Hi
I am running a bungeecord server cluster so I set luckperm's backend data storage to MySQL.
Since I have the MySQL instance running on the same server. Using SSL for data connection is unnecessary.
Unfortunately. the hikari lib which is used by LP to maintain DB connection pool keeps generating lots of useless warnings. Making the console output ugly and difficult to read.
According to the warning message. I think it can be turn of by setting useSSL=false in Initializing the ...
I am also having the same issue, I am using MySQL database and connected 6 servers together but when I import a permission file it imports successfully and also saves everything but after some time it will randomly remove some permissions out of no where/
Head over to the storage system errors page of the wiki.
It has a section about your issue.
Head over to the storage system errors page of the wiki.
It has a section about your issue.
Many thanks!
But why not have those two options default commented in config.yml ?
It's quiet a common issue when using an external DB storage.
I am considering raising a pull request to do some enhancement.
Because it is insecure. And insecure by default is a bad practice.
Keep in mind it works without the setting. It just prints a warning.
Now if disabling SSL is the default then MySQL servers that do use SSL are being used they are being used insecurely. Because no one (except a very select few people) will ever touch that config unless needed.
As I wrote before.
It just a suggestion which NOT enabled by default.
But it really help people like me save time on searching WiKi for solution.
Also, I agree with you that "insecure by default is a bad practice."
But have you read the code or comment above? It's nonsense having SSL enabled on local database backend.
But have you read the code or comment above? It's nonsense having SSL enabled on local database backend.
But it also isn't bad if you still have it.
When I setup my database did I never receive the SSL warning, even tho it was a locally installed database, so I would say that a normal installation would have this option active by default. Not sure tho.
But have you read the code or comment above? It's nonsense having SSL enabled on local database backend.
Of course I saw that. While I do agree that it doesn't matter I consider it irrelevant concerning whether it should be enabled by default or not.
And the current behavior of trying to use SSL but falling back to no SSL and printing a warning is the right behavior. Even if 99% of people weren't using SSL, because a warning is about a billions times better than a serious vulnerabili...
Comment style fixed.
Thanks for the advice.
Never mind. debate and collision generally make things right.
Thanks for your guys effort on the whole eco-system.
Sorry for the late reply here, I've had a busy couple of weeks!
Definitely seems like GriefDefender is the common cause here - unless anyone can say otherwise??
I've just replied to @bloodmc on Discord, hopefully a solution can be found. :)
I am not using the GriefDefender Plugin but still facing same issues!!!
when I go to delete a prefix it tells me I do not have the permissions to do so
I assume with "Luckperms gui" do you mean an in-game GUI?
In that case please contact the author of the plugin as we do not provide support for unofficial LuckPerms Add-ons.
@AshuGuptaGamer I mentioned to you on Discord that this issue does not apply to you. Your problem is probably something else. Either open a new issue or respond to people when they are trying to help you on Discord.
This happens when downloading the LuckPerms Placeholder from PlaceholderAPI cloud.
when reloading, I get an internal error (in chat) and following error in console:
Using LuckPerms for bungee on a Waterfall server.
Using Paper.jar (1.15.2)
org.bukkit.command.CommandException: Unhandled exception executing command 'papi' in plugin PlaceholderAPI v2.10.4
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:47) ~[patched_1.15.2.jar:git-Paper-112...
Fixed: I forgot to install LuckPerms on the spigot server as well, this meant PlaceHolderAPI didn't know what the expansion was used for. hence the error
Alright I have a mostly functional draft in progress but a few things still need to be done:
Fix command completions.
Possibly make brigadier completions work (I wouldn't very much prefer that).
Fix the build (shadowed and relocated libraries aren't on the output jar)
Verify the code works on 1.15.2 and possibly the latest snapshot (20w08a as of now, should be possible due to the lack of technical changes in mostly recent versions)
Ask the config format question. Fabric doesn't have...
[14:39:26 INFO]: [LP] Running LuckPerms v5.0.78 by Luck.
[14:39:26 INFO]: [LP] - Platform: Bukkit
[14:39:26 INFO]: [LP] - Server Brand: Paper
[14:39:26 INFO]: [LP] - Server Version:
[14:39:26 INFO]: [LP] - git-Paper-112 (MC: 1.15.2) - 1.15.2-R0.1-SNAPSHOT
[14:39:26 INFO]: [LP] - Storage:
[14:39:26 INFO]: [LP] - Type: MySQL
[14:39:26 INFO]: [LP] - Ping: 92ms
[14:39:26 INFO]: [LP] - Connected: true
[14:39:26 INFO]: [LP] - Messaging: Sql
[14:39:26 INFO]: [LP] - Insta...
From the logs above I extracted two Important messages.
No operations allowed after connection closed.
Connection@3ce53f45 marked as broken because of SQLSTATE(08S01)
It seems that either you set the database connection timeout value too low or the connection reaches the max limit that your database allows. Which results in a connection forced closed.
Check you DB with following SQL
SHOW VARIABLES LIKE '%timeout%';
SHOW VARIABLES LIKE '%max_connections%';
SHOW STATUS LIK...
Caused by: java.net.SocketException: Network is unreachable: recv failed
Not an LP issue, your server was unable to reach the network
I have setup the servers as they should be and have done the commands necessary through console but it still hasint giving me any options I can force change my account to different groups from the server console but i cant do it from my own rig even though i have all the permissions set as they would be its very confusing! It allows me to create groups but i cant add parents it keeps telling me i dont have permission!
Hereโs the error that showed up in console. https://pastebin.com/fM33Jbb4
Here are some updates, been talking to the moderators.
https://prnt.sc/r5i6tj
https://prnt.sc/r5i7l0
https://prnt.sc/r5i7ms
https://prnt.sc/r5i7qs
eletroniccat also said our SSL is busted, but it's not as we are still able to connect to our MySQL databases over SSL from any of our machines, i.e LuckPerms is the only plugin having issues with MySQL.
please hurry the fuck up we're losing money BECAUSE IT'S 3 DAYS DOWN
Here are some updates, been talking to the moderators.
https://prnt.sc/r5i6tj
https://prnt.sc/r5i7l0
https://prnt.sc/r5i7ms
https://prnt.sc/r5i7qs
eletroniccat also said our SSL is busted, but it's not as we are still able to connect to our MySQL databases over SSL from any of our machines, i.e LuckPerms is the only plugin having issues with MySQL.
please hurry the fuck up we're losing money BECAUSE IT'S 3 DAYS DOWN
May I draw your attention to:
https://github.com/lucko/LuckPerms/blob/9f7d431d34867038c2abc252d876a9ca424b72a0/LICENSE.txt#L16-L22
Regarding your issue, this wiki page is most relevant.
https://github.com/lucko/LuckPerms/wiki/Storage-system-errors
LuckPerms delegates absolutely all connection handling with MySQL to HikariCP and the underlying JDBC driver.
Aside from possibly tweaking the Hikari configurat...
Hello! I love this plugin. However, since I installed it, I cannot use /trigger for anything. When I use it, it says:
You cannot trigger this objective yet.
Any ideas?
Thanks.
Looks like this:

Any ideas how to fix this?
This is not caused by LP.
Check your chat plugins (if you use any) and maybe your World Management plugin, if you have multiple worlds.
Thanks for the advice Andre!
There is probably a permission behind the command. Have a look at using the verbose feature to determine if there are any required permissions you need to add.
Make sure you have all server using luckperms and that they are using the correct versions of luckperms. Then make sure all servers are connected to the same database to allow for much easier syncing. If all is setup correctly then you should be able to add the groups/permissions normally and it should all work.
Which version are you using? Might be more helpful for luck to actually work it out. If he knows the details.
Where did you execute the said command? If you tried to do it in-game it would have failed and you would need to do it in the servers console.
If said command does not work in the console, please show us screenshots of what it does say it console.
How do I give access to commandblock/@ for permissions???
I am able to do it successfully both in-game (as long as I am OP) and from the console.
My user permissions show that I have full luckperms permissions but I still require OP to make any changes.

Permission is not luckyperms.*
Where does it tell you that the perms start with luckyperms?
The wiki does: https://github.com/lucko/LuckPerms/wiki/Permissions
What is it supposed to be?
Well this is dumb... Made a typo. Thanks!
Would you mind explaining what you did to fix, just incase anyone else has the same problem in the future? :)
Lag on Bungeecord.
LuckPerms 5.0.78
ERROR: https://hastebin.com/lerokiyeme.cs
Which version are you using? Might be more helpful for luck to actually work it out. If he knows the details.
Since switching to the griefdefender-sponge-1.2.6-PERM-TEST1.jar a week ago I've not experienced this issue.
Blood said this one 'disabled cache in LP provider'/'disabled save call' but he could tell you better than me.
When that GD change actually helps, its a lp issue in cache/save management that needs to be fixed
We get the following response on bungeecord startup when we try to use another plugin with luckperms:
`> 18:12:05 [SEVERE] [LuckPerms] Exception occurred whilst loading data for fc123b5f-c423-411f-9f10-9c616fb61083 - red_man234
18:12:05 [SEVERE] java.lang.NullPointerException
18:12:05 [SEVERE] at me.lucko.luckperms.common.plugin.util.AbstractConnectionListener.loadUser(AbstractConnectionListener.java:67)
18:12:05 [SEVERE] at me.lucko.luckperms.bungee.listeners.BungeeConnectionListen...
- What BungeeCord version (and type) are you running?
- What is the "other plugin"?
- Any other errors?
- Is the BungeeCord in online or offline mode?
1.#1486 (latest build 23 hours ago)
2. The other plugin is a custom written plugin my dev codded to link discord bot with the bungee network.
3. No
4. Online
I already have . and minecraft.commands.trigger
I don't think /trigger is a minecraft command as I can't remember any command like that.
So you should double-check that you have the right permission (Use Verbose like Omega suggested) for the command.
Maybe LP is in conflict with another plugin? A common mistake people make is to not remove the old permission plugin, if they switch/migrate from it (f.e. from PEX)
I removed PEX after migrating
/trigger triggers a scoreboard objective. It's used in datapacks.
Does /minecraft:trigger work?
Same deal in verbose? Can you actually show us some output?
Please do /lp verbose record, type the command, /lp verbose paste then send the link here.
Keep in mind that the score needs to be allowed to be triggered beforehand. And that every time
@Turbotailz Ok! Let me try
@BrainStone Yes, I enabled all the scoreboard objectives
A simple idea, you should make a command, like /lp chat group , and all online members of that group will see the message. Or like /lp chat track for all members or groups of that track!
Chat functionality is not job of a permission plugin.
There are plenty of chat plugins available that will offer such features.
Hey guys so I love luck perms and its features but every time I get finished setting up everything through the /lp editor (I've tried just in game set ups as well) It comes out great and the way I want it to look, work e.t.c. But every time I restart the bloody server it all gets reset!!! of course I'm using /lp applyedits yet when I restart the server it all gets reset. Its very stupid in my opinion. My storage method is mysql. It seems to work fine on both my lobby and kit pvp server throug...
I know this isnt your problem but I want to ask anyways. Im using BungeeTabListPlus on my BungeeCord but Im getting this warning message. Do you guys know what this means?
[WARNING] Exception encountered when loading plugin: BungeeTabListPlus
java.lang.LinkageError: loader (instance of net/md_5/bungee/api/plugin/PluginClassloader): attempted duplicate class definition for name: "net/luckperms/api/LuckPerms"
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassL...
You should ask the dev of BTLP about this as it is an issue with their plugin.
How about some info?
We can't read minds (yet), so, unfortunately, you have to tell us your issue.
Yes I know and I did. I noticed that this happens on more than one plugin. Maybe I really should be asking if there was any changes to the API on new releases of LuckPerms?
The only big changes where when v5 was release which was breaking in terms of the API.
But other than that shouldn't there be any (major) changes that would affect the developers of other plugins.
Otherwise Luck would've mentioned this in an announcement or made a release on Spigot, Sponge, etc.
Ah forget my last comment, GD used its own simple cache which caused it. Will give that build a try
Yeah, you are right. But thanks for your help :D
Hi, I'm trying to put a space between my prefix and ign. I can't seem to figure out how to do it. I'd like it to say; [Prefix] ign instead of [Prefix]ign.
Either set the prefix itself with a space "[Prefix] " or configure your chat plugin format to add a space between the prefix and username.
So is this a LP issue now? Like LP doing wonky stuff with saving data?
Or is a GD issue? Like the cache overriding changes LP applies itself?
GD cache overwrote already made changes. Not a lp issue. But please leave it open a bit to let other GD users to confirm
I can't close it anyways. ;)
Hi, I've been experiencing repetitive crashes for about 8 months (since I use LuckPerms). I run 5 servers (versions 1.12.2, 1.13.2 and 1.15.2) on a BungeeCord and I use the last version of LuckPerms for Spigot on each of them.
At the beginning the issue occurred like once a month so I used to ignore it but since the last two months it's been terribly annoying because it occurs almost every day and is getting worse as the time passes. Most of the time it hap...
Nothing to do with LP, lp just has threads running in a pool to allow processing stuff, your server quite simply just took too long to tick, you'll wanna use a sampler or something to view what is going on, Paper does have better logging for recentish versions, there was also some plugin that adding a better watchdog for spigot/bukkit, no idea what it was
You probably mean Spark which can be used to profile your server and see what causes lag.
Thank you, I will test that.
I want to use the /scoreboad command and when ever i do lucyperms said i dont have permissions to do so. So when i go into lucky perms to find the line to give me that permission i cant find it anywhere. I need to use this command for the mod Ancient Warfare 2.
Oh also i use Nucleus for my normal server command
I want to use the /scoreboad command and when ever i do lucyperms said i dont have permissions to do so. So when i go into lucky perms to find the line to give me that permission i cant find it anywhere. I need to use this command for the mod Ancient Warfare 2.
What now? lucyperms or lucky perms? (It's LuckPerms btw)
In addition does LuckPerms not handle /scoreboard so the error message about missing permissions is for sure not from LuckPerms itself.
To find out what perm...
That Worked thank you! also i cant spell XD
Recently on my server, a friend joined my game, but they did not have access to any commands. When I looked at their group, it says that they are in group.default and all the commands on it are working. However, my friend can't use those commands so I'm hoping this issue can be fixed. Maybe I'm just doing something wrong
Thanks
I don't understand why i have this error .. ''[LuckPerms] Failed to init storage implementation'' on MySQL
i have setup
- Db
- User who have acces to this db and grant him the perms
- Setup the config file with the user login info
i don't know what im doing wrong ..
Once again you have left out the most important part - the console errors. Please send them here.
So some players are having perms like /invsee and else from plugins such as essentials and more and it had a lot of issues on my server and it is only happening with luckperms and when I switch to group manager or pex 0 issues please fix this ASAP
You give us zero information.
How should we fix something without knowing what the issue is?
We don't know your setup, nor can we read your mind.
I agree, but understandably, the vast vast majority of plugins have followed the example given by the Vault project when implementing Vault in their plugins.
It's not a problem I'm in a position to fix, so I had to work around it in LuckPerms.
I can't reproduce this - do you have any other plugins which provide permissions or interact with providing permissions? Seems like something is removing the PermissibleBase from Player objects.
If the MySQL server is timing out connections after less than 30 seconds, then it is definitely a problem at their end.
Can anyone else confirm?
Not enough info here for me to be able to help. But no, I doubt there's any underlying issue/bug here.
Sorry, not something I plan to add.
Agree, this is quite awesome. Fabric seems to become more popular.
Thanks for reporting, should be fixed in the above commit.
Understood - however I think this would be better suited as functionality in the bulkupdate command.
#1836
There are methods in Forge to check permissions, so your argument there is flawed. :p
Sponge (and it's API) has no concept of OP - so it's not possible for a Sponge plugin to manipulate the operator status of players.
Try deleting the plugins/LuckPerms/libs folder and try again. Failing that, please could you send your full startup log.
I suspect this issue is related to character encoding - the regex used to match quote arguments needs to be improved.
It's used only as a message broker.
If you want to limit database connections - firstly make sure you actually do need to reduce them (are you trying to solve a specific problem?) - then try tweaking the connection pool settings.
Maybe you need to be opped?
One of the things I want to integrate is the richer brigadier tab completions which fabric does support (since it's almost 100% vanilla internally). Of course you already have the tree built already for the bukkit module so I just need the parser for commodore files which I have mentioned in this issue:
https://github.com/lucko/commodore/issues/8
I'll try to parse this a bit more smartly so I can actually use Player selector argument.
It depends.
Easiest way to work it out is to use verbose.
https://github.com/lucko/LuckPerms/wiki/Verbose
Would have happened because either:
- permission check was made after the player disconnected
- one of your other plugins is modifying UUIDs in an unsafe manner
Can you send the full startup log?
Any errors in your console? Can you send your full log so we can have a look?
Maybe your server provider is resetting the database on restart?
Use the verbose command to debug.
java.lang.NullPointerException: address
Check your config formatting, make sure you've provided an address for the database.
Try debugging the issue using the verbose command.
Lazily copying the parser is what I'd do. ;)
If down the road I (or someone else) has time to properly modularize commodore and split the parser off, we can always refactor.
I mean how?
When you want to import data at a certain context into an already existing database how could bulkupdate ever be useful here?
(Unless you mean bulkupdate allows importing data too. But the question would remain as to why not just give import the functionality so the data gets modified before it hits the database)
The thing is the permission check succeeds. So I don't see anything on the LP side that's going wrong here.
Sadly vanilla commands are handled very wonkily on Spigot. Maybe try reaching out to their support.
I would love to try my hands on that.... But issue is, that I don't quite get how to make a gradle project with multiple modules in IntelliJ (Without the default src/main path)
you can take a look i think i have setup all correctly
https://hastebin.com/ebayatosiy.shell
try using just localhost instead of localhost:3306, or, throw it in "quotes"
i have tried to set it just to localhost but same error, nothing change
someone ??? i have this problem for 2 days i ve tried everything the people say me to do but nothing work .....
Running LuckPerms v5.0.83 by Luck.
- Platform: Sponge
- Server Brand: SpongeForge
- Server Version:
- SpongeAPI: 7.1.0-ea50f0c2 - SpongeForge: 1.12.2-2838-7.1.9
- Storage:
- Type: MariaDB
- Ping: 0ms
- Connected: true
- Messaging: Sql
- Instance:
- Static contexts: server=dev
- Online Players: 1 (1 unique)
- Uptime: 1m 6s
- Local Data: 1 users, 9 groups, 0 tracks
Setting a permission to a group or user specifying a context and then...
i want to die i solve my problem by reinstalling the plugin i was on the point to punch someone in the face
Does it work if using /lp user KaiNoMood permission checkinherits test.permission world=world?

Yes, that command does work. Still, the "hasPermission" method issue persists.
I tested with similar setup on my network and can confirm itโs not working.
**Greetings !
Currently if you give a player a timed permission (/lp user permission settemp
The timer will still count even if the player leaves the server.
I feel like it would be really great if you gave the option in the config to disable/enable the Time Count if a player leaves the server. I'm sure it'd be helpful to a lot of people using settemp Permissions !
If you end up implementing that, Please make sure to Tag me (Spam me if needed) cause i really need such a featur...
I compiled from Github branch v4 the previous version of Sponge (v.4.4.27) and tested it with that version on a new LuckPerms database (H2). The issue is present on that version too.
Running LuckPerms v4.4.27 by Luck.
- Platform: Sponge
- Server Brand: SpongeForge
- Server Version:
- SpongeAPI: 7.1.0-ea50f0c2 - SpongeForge: 1.12.2-2838-7.1.9
- Storage:
- Type: H2
- File Size: 0.06MB
- Messaging: None
- Instance:
- Static contexts: None
- Online Player...
Can you try to debug with verbose?
Velocity Version: 1.1.0-SNAPSHOT
Luckperms Version: 5.0.79
Other plugins installed: Catalyst, Anvil (Both found on AnvilPowered GitHub)
Issue: Ever since updating to version 1.1.0 of velocity and updating luckperms there have been a few issues. Initially, there was an issue with 5.0 of velocity when setting permissions for a player or a group would kick up to 4 random players at once. After updating we were able to set permissions but the issue of random timeout's has been present since...
Sorry I actually performed several tests and the issue seems a different one and it involves custom ContextCalculators. I think it is less messy if I just close this issue and open a new one after I gathered all the details.
The permission check may be succeeding, but the code might be checking for op too.
I don't see how this would be LuckPerms related. What makes you think that it is?
Upon first setting up my server LuckPerms was one of the first things I began setting up. I typed in the command to set all my permissions to true in the console. It came back with the error saying "Error whilst saving user data".
I tried a bunch of other things such as creating groups or tracks. Same error. It's always along the lines of "whilst saving".
I'm not too sure how better to explain that, I've ran it in Verbose mode and everything seems fine, LuckPerms is my only permissions ...
My suspicions are based off of the issues that were present before i updated to 5.0.79.
If there is an error while saving data then there must be some issues with whatever data storage you use.
Please check the console for stacktraces (this error usually has some) and provide more info like the LP version, server type and version, other plugins you use and the output of /lp info
In this section there is the following example code:
public class CustomCalculator implements ContextCalculator {
@Override
public void calculate(Player t, ContextConsumer contextConsumer) {
contextConsumer.add("gamemode", t.getGameMode().name());
}
@Override
public ContextSet estimatePotentialContexts() {
ImmutableContextSet.Builder b...
I can't use /lp user [user] parent add [group] (command-no-permission message) with ***** and luckperms.* permissions, all other commands like permission set or editor or applyedits are ok. Tested with argument-based-permissions enabled and disabled.
Server: paperspigot-1.12.2 (b-1648), LuckPerms 5.0.83
luckperms info:
Running LuckPerms v5.0.83 by Luck.
- Platform: Sponge
- Server Brand: SpongeForge
- Server Version:
- SpongeAPI: 7.1.0-ea50f0c2 - SpongeForge: 1.12.2-2838-7.1.9
- Storage:
- Type: H2
- File Size: 0.03MB
- Messaging: None
- Instance:
- Static contexts: None
- Online Players: 1 (1 unique)
- Uptime: 4m 22s
- Local Data: 1 users, 1 groups, 0 tracks
How to reproduce
Fresh installation of the server as shown with the...
Could you run /lp verbose paste after attempting to run the effect command and send the link here.
That contains IP addresses. Can I DM it to you on Discord or somewhere else privately? Sorry.
Yes, you can send the link privately if you like.
- Go to https://keybase.io/encrypt
- Set the recipient to
luck - Copy "the secret messge" plaintext and post it here.
-----BEGIN PGP MESSAGE-----
Version: Keybase OpenPGP v2.1.13
Comment: https://keybase.io/crypto
wcFMAxavkAf6LzVtARAAjcqvGYbbB6RynPvrSR612NPLuOHuJNY4RhMHcgE8ajIi
sxFeHTqvA66c8ZZTaCc30+kaHI1YG8dUJ3lgerNhDjiJUJmF5udlWiNAxi/Umzqf
hHHx1P/sLT+jvFzZj7gtobok51t2pzT7rNobZOPl3gRH1j5iy3f+3/DiIYXfDSxR
cUKtDSxIO1/skw6d2Fdme/QvawQNspRinFRnyvT6b1PZUPb/hD/HHiA627lHnH4O
/MWlc/xVb/6S91VooVvxEK3iSgv5LVM/940D8DWWBZHcdIsPEIDQr7H+Pi1G2W7M
37IV2ME5Ub+Zhizv9KamRRccXtuH9mFR5TdEAt9LQnA01nHlv/jE0wdUO3fUcELK
...
Hmm ok interesting.
I suspect the issue is with this line:
if (subject instanceof Identifiable)
Could you try removing that from your test to see if it works?
Yeah, that works.
The reason I added if (subject instanceof Identifiable) is because in my actual code, also used in Spigot, I actually need the UUID object.
I didn't want to use UUID.fromString(subject.getIdentifier()) for performance optimization.
The Player interface in Sponge extends both Subject and Identifiable, and I just needed the UUID object, so I used Identifiable.
Is there any reason the Subject is not actually the Player object (or at least User)?
Do you have any...
Can you show the actual response of the command?
And you can always use Verbose to debug stuff and see what may be checked.
Is there any reason the Subject is not actually the Player object (or at least User)?
Yes - there are (usually) two implementations of Subject for a given unique player present at runtime.
- One is the actual
PlayerMinecraft object - the one Sponge mixes into to implement it's API - this object will implement Identifiable and other interfaces. - The other is an object provided by the Permission Service (LuckPerms in this case) which actually implements the permission methods.
...
Or even just this will work:
@Override
public void calculate(@NonNull Subject subject, @NonNull ContextConsumer consumer) {
CommandSource commandSource = subject.getCommandSource().orElse(null);
if (!(commandSource instanceof Identifiable)) {
return; // not a command source or identifiable
}
Identifiable identifiable = (Identifiable) commandSource;
// TODO: do something with identifiable to calculate contexts
}
Ah I get it, I just assumed the Subject object was the actual Player object, as that's the "behaviour" in Bukkit as you get the actual Player object.
Thank you very much for your help!
Response is command-no-permission message.
I can use any other command, but not this.
Response is command-no-permission message.
This isn't a valid response at all as LP never returns this. So either another plugin is sending this (And blocks LP for whatever reason) or you messed something up.
Provide actual information, like screenshots and such.
I mean this message from lang.yml

I can use any other LuckPerms command, but not parent command.
I was using the LP Web Editor then I had to remove a few groups and re-add them because weights weren't setup correctly (The weights were for the web editor to look organised so I can manage it), so I deleted them, re-added them and saved the data and ran the command it gave me. Then I saw that those specific groups I re-added were just removed, not re-added.
After further investigation, The timeout's were caused by my plugin.
What was happening?
Each time a player was sending a message in chat, I was getting their prefix, suffix, name color, and chat color from LP. So each time it was hitting up LP about 4 times.
After : https://github.com/AnvilPowered/Cat...
If there is an error while saving data then there must be some issues with whatever data storage you use.
Please check the console for stacktraces (this error usually has some) and provide more info like the LP version, server type and version, other plugins you use and the output of
/lp info
I'm not too sure what I'd be looking for with stacktraces. Could you explain that a little for me please?
Here's the all the plugins I'm running;
, then switch the host.
This is for sure not "through MCProHosting", if you refer to the storage-type LP currently uses (Which is set to YAML in your case.
You can switch the storage type following this wiki page and if MCP doesn't allow you to switch storage type of a plugin (Which wouldn't make sense), then switch the host.
I'm receiving an error "unexpected error occurred whilst writing to the file" when I try to export it
@BrainStone thanks for the suggestion.
There must be more to this error than just that.
As I mentioned earlier should you check the console for stacktraces... They should be pretty obvious to spot and if not: Google "Stacktraces Java" to see how one looks like. This is basic server-management 101
There must be more to this error than just that.
As I mentioned earlier should you check the console for stacktraces... They should be pretty obvious to spot and if not: Google "Stacktraces Java" to see how one looks like. This is basic server-management 101
java.nio.file.NoSuchFileException: /opt/service/plugins/LuckPerms/yaml-storage/users/38703788-e609-426c-9344-f09c8435c09c.yml
This is what the stacktrace is saying. I searched around and found one article on it, and the fix was...
Looks like LP can't find a file (Maybe was deleted?)
Try restarting the server and maybe remove the lib/libs folder in the LuckPerms folder to let it re-download any required libraries.
Looks like LP can't find a file (Maybe was deleted?)
Try restarting the server and maybe remove the lib/libs folder in the LuckPerms folder to let it re-download any required libraries.
At this point everything seems to be working as it should. Somehow when restarting my server though it changed the world seed so I'm gonna have to backdate that. There were a few missing libraries.
Fixed in the above merge ^ this can be closed (and preferably moved to the LuckPermsWeb repo) ๐
So yesterday I started to make new ranks for my server. I had added every rank and prefix yesterday so I could begin adding permissions today, but now there's no way to add new permissions through the web editor; I can only edit existing ones.
Can you explain in more detail, please? Maybe provide some screenshots?
Yesterday there was (if I remember correctly, my memory is really bad) a field where you could write down a permission and then add it by pressing ENTER or by pressing a big button in the down right corner, but now there isn't any of this. And this happened all within 12 hours.
I did push a new change just a couple hours ago, but it shouldn't have affected that at all.
What browser are you using?
Also please send your editor URL in case it is a more isolated issue.
I am using Firefox version 73.0.1
Editor URL: https://editor.luckperms.net/FxAuL8ryi7
That's odd, it is working fine for me with that browser version.
Can you hit ctrl + shift + i, go to the console tab and see if there are any errors?
Can you please hard refresh the page with ctrl + shift + r
I hard refreshed it and same error happens once I go back to a group
Can you try in another browser?
I tried it in Microsoft Edge, but the same thing happens there
Huh, interesting. Wonder what happened. It worked in every mainstream browser for me, even Safari ๐ค
Well that is very odd indeed
I'm gonna guess it's a caching issue. We've just recently set LPWeb up on Netlify so there may be some teething issues to sort out for future deployments.
Probably that yeah. Well I hope that the issue gets sorted out at some point so that this thing doesn't happen often. Good luck with future developing of this awesome and easy-to-use plugin.
-MrLaturi
Weird. Those lookups shouldn't matter. As LP caches that data.
Only time that might become an issue is when you're spamming several thousand requests a second.
It shouldn't be thousands a second, shown in this class is how many times I'm requesting the data
Space nick problem
Comand /lp user "xxx xxx" parent add rand
Dont work
This is not an issue as player names (not nicknames) can't have spaces in them.
So you have to use the actual player name or their UUID.
I want to give rang a player "Czesลaw Miลosz" this nick xbox
Several times a day Luckperms loses connection to my MariaDB storage. I have changed databases several times but it still happens. None of the other plugins I use have had a connection problem only luck perms do. I have even tried using one of the databases one of my other plugins is on which works correctly but luck perms still lose connection to it.
"23:04:09] [luckperms-scheduler-worker-21/WARN]: java.sql.SQLTransientConnectionException: luckperms-hikari - Connection is not available, ...
[18:01:37] [luckperms-hikari housekeeper/WARN]: [me.lucko.luckperms.lib.hikari.pool.HikariPool] luckperms-hikari - Thread starvation or clock leap detected (housekeeper delta=1m28s149ms938?s513ns).
[18:01:38] [Paper Watchdog Thread/ERROR]: ------------------------------
[18:01:38] [Paper Watchdog Thread/ERROR]: The server has stopped responding! This is (probably) not a Paper bug.
[18:01:38] [Paper Watchdog Thread/ERROR]: If you see a plugin in the Server thread dump below, then please rep...
That is something that @lucko has to look into
Dont work
Could you elaborate more?
How I can use LP where get/setPlayerInfoString is used? I need it to Towny plugin.
I try it with /lp user pvvvo meta set towny_default_modes local but it doesn't work, (It should put me in towny local chat for default) I even talk to the developer of Towny and he said me this:
yes so you should ask Luck how you can use LP where get/setPlayerInfoString is used.
Please allow us to export using the old export format.
Some of us keep track of our permissions changes via github, and the old format made this absolutely beautiful when it comes to debugging recent changes, issues and problems.
The new JSON format unfortunately, as much as I understand it's the new system, simply is very difficult to use with our tracking systems.
Example: https://i.imgur.com/TGd8M68.png
Please allow a command syntax to export using the old format <3
This would b...
Woops, thanks for reporting :)
I don't really think there would be any real need to add any more support for the old export format.
The new one is more compact and allows LP to handle all the actions for the import slightly faster (from what I know)
Right now does LP have support to import exported files from v4, but I don't think there will be anything more to that.
This suggestion is simply for exporting in the old format for maintenance reasons, nothing to do with importing from it / supporting it.
I'm a simple syntax could be added for those of us who wish to examine an old export style file.
I have multiple servers and for prison I give one group not all perms so that they don't have all prison ranks. However in the lobby I want to give them all perms.
Unfortunately this just doesn't work! Even when I check the permission and it says it's set to true?!
That is a really bad idea to give all users the * permission. It could give them access to LuckPerms and, well, obviously that's not something you want in any situation.
Giving * to all is, like Turbo mentioned, one of the most stupid ideas ever.
You could then also just give OP for the same effe t.
Better setup your permissions properly.
You can track changes in the same way with the new json based format.
It's a .json.gz file, which you can extract using 7zip to get just .json - then changes should be easily readable / identifiable in that file.
Yeah no no I kno, it's just more readable and pretty in the old format :(
JSON is most definitely a readable format!
Sorry it's not really worth re-adding this just for this reason. The code to generate commands based on nodes wasn't very nice, which was one of the reasons for moving away from this system in the first place.
No worries, had to try lol <3
Assuming lack of reply is positive - closing for now.
Sorry, this is something that's out of scope for LuckPerms at the moment.
It could be quite easily added by another plugin though, hooking into either LP or Vault.
Check with verbose - Andre linked the wiki page for it to you above.
Nothing there suggests a LP issue. Check the thread dump after that error message to see the probable cause.
You're correct. The meta set command is equivalent to calling setPlayerInfoString in Vault.
If it's not working then check with the verbose command to see what's going wrong.
https://github.com/lucko/LuckPerms/wiki/Verbose
Nothing to worry about for now.
Nothing significant has changed recently so I'm not sure what would have caused it. I wonder if the issue is with your permissions configuration instead?
I meant that it would only be for the owner rank!
Im trying to give these permissions only to owners and admins. But its not working and I have no clue why. I have already checked the permissions many times and I'm out of ideas at this point!
I'm not really sure what you are saying the issue is, but check for inheritance issues maybe? I have run into issues with my owner/admin classes inheriting things from each other.
This might not be the issue though. Explain what is actually happening, please.
Please answer to your already existing issue (#2042) instead of opening a new one.
Just because an issue is closed doesn't mean you can't answer there.
Ok, I figured it out! I had renamed the lobby server to hub and never changed the server name in the config file for the lobby. So I gave it to the hub server but since that was still called lobby it didn't apply them obviously. Thank you!
Glad the issue got resolved.
Please remember to close the issue, if you have no more questions or issues.
I am getting an InterruptedException on Velocity after running the shutdown command.
This can be reproduced on a fresh installation of Velocity v1.0.5 and LuckPerms v5.0.88 by simply installing LuckPerms and running Velocity.
java.lang.InterruptedException
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.reportInterruptAfterWait(AbstractQueuedSynchronizer.java:2014)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awa...
Not solved for me either.
I can't give a player a rank that has spaces in the nick name (Xbox Account)
Hey Guys,
I already had this bug with PermissionsEX and thought it would work with LuckPerms, but it doesn't.
So if I give myself the Admin Rank I've got in on the Lobby-UUID only and not on the other Servers like CityBuild. I know you can fix that problem with RedisBungee, but I wanted to ask if there's another option (a free one).
This sounds more like a request for support which would be far more suited for the discord
Check that you actually setup BungeeCord properly, as in enabling bungeecord in the spigot.yml on all servers and enabling ip-forwarding in the config.yml of the BungeeCord.
Servers, that aren't setup properly will create and use their own UUIDs based on the name of the player, rather than using the one provided through ip-forwarding, as this is how Offline-mode servers work.
To anyone finding this, I found that the recent version of worldguard is checking for node groups.name not group.name like everyone says. make it plural and it will fix this.
Or even better, report to the devs of WorldGuard as this is most likely not intended and can be seen as a bug.
hello there
I recently started a sky blocks server I added a plug-in to let people to do /shop called economy shop GUI. I added luck perms to allow people to do /shop and added it to the default but if people leave the server then join again it says you do not have to permission and I have to reload the server for them to have with the permission /Re-confirm can you help?
Any errors?
Any messages when they join?
What is your server setup? Is it a network?
You miss out crucial information for us to actually assist you in your issue.
When trying to import my h6.json.gz it gives me this error: https://hastebin.com/imuyoverej.cs
I tried with the command: /lp import h6 and /lp import h6.json.gz and get the same error
Is this fixed?
Or why did you close it?
Is this fixed?
Or why did you close it?
wasn't an issue actually, just me being stupid
I am not a native English speaker. If there is something wrong with my expressions, I hope it wouldn't trouble you. ๐
I have tried both MySQL and MariaDB as Storage Method, only to find errors, while other plugins using the same database work greatly. When I issued perms info, finding it seems that LuckPerms has connected with the database. But it was said "Table 'minecraft.perms_players' doesn't exist. " when I attempted to join the server.
BTW, I have googled and found it tha...
@BrainStone I have tried before and it doesn't work yet.
Well the issue is that LP can't connect to your MySQL server. It can't even reach it. So it is 100% your configuration. Not the plugin or Hikari.
I have confirmed it more than 3 times, to make sure the configuration is correct.
And I have said that after the server said Done (8.272s)! For help, type "help" or "?", it was said by perms info that LuckPerms had connected with MySQL.
> [18:04:05 INFO]: [LP] - Storage:
> [18:04:05 INFO]: [LP] - Type: MySQL
> [18:04:05 INFO]: [LP] - Ping: 25ms
> [18:04:05 INFO]: [LP] - Connected: true <- HERE
> [18:04:05 INFO]: [LP] - Messaging: None
Beside...
I have assigned two roles, one for owner, and one for mods; however, not of this works. When I check info, it says that all of the prefixes are there and the permissions are set, but when i type /kit plot (from essentials) then it will say "{USERNAME} was denied access tot his command"
, Grief prevention, Holograms, LuckPerms, Vault, WorldEdit, and WorldGuard.
Then use verbose mode to check whether you have set the correct permissions
I am currently using the Tebex Webstore under this address: http://craftingforchrist.tebex.io/
I am having current issues on my Tebex store that I cannot use the luckperms plugin using "lp user parent add" command in my package.
When I get a free dummy package configured with this command applied, it won't apply and I can't see why it wouldn't be working.
I emailed tebex and got the following response.
"Hey there.A s far as I know, this is just a limitation of luckperms, and is not some...
As for prefixes, there is a FAQ entry on that exact subject, make sure to read through it and see if it helps
https://github.com/lucko/LuckPerms/wiki/faq#why-are-prefixessuffixes-not-working
The fact that you have connections dying during startup is sketchy af, would suggest that either the mysql server is slow as heck or you're having connection issues to it in general
as for the other warning, looks like the connection failure likely caused the tables not to be setup properly, I would look into diagnosing the first set of issues and then just drop the lp tables and try again, schemas are here if needed, https://github.com/lucko/LuckPerms/tree/master/common/src/main/resources...
Thanks for your tips. Importing schemas manually helps.
The fact that you have connections dying during startup is sketchy of, would suggest that either the MySQL server is slow as heck or you're having connection issues to it in general.
As for connections, I think that there shouldn't have been a problem.
There are some reasons:
- The server was newly created, as well as the database.
- The server enables few plugins using the database, all of which are not heavy-weight pl...
Spigot 1.15.2 (Jenkins 2645)
LuckPerms 5.0.91
[17:36:25] [Server thread/ERROR]: Error occurred while enabling LuckPerms v5.0.91 (Is it up to date?)
java.lang.NullPointerException: null
at com.google.common.collect.ImmutableMap.copyOf(ImmutableMap.java:391) ~[spigot-1.15.2.jar-2020-03-08-1937:git-Spigot-6de3d4b-fc24934]
at me.lucko.luckperms.common.query.QueryOptionsImpl.(QueryOptionsImpl.java:58) ~[?:?]
at me.lucko.luckperms.common.query.QueryOptionsBuilde...
java.lang.NullPointerException: null
at com...
Same issue as #2051 - please try to search before creating issues and use existing ones to report issues if possible :)
I assume this was introduced in this commit https://github.com/lucko/LuckPerms/commit/bb3afa21a41281aa2813e58e2779b1b2727d550c
You'll have to use an earlier build in the meantime.
The dev build 1006 is fine. So yes, one of the three commits in build 1007 is the culprit.
Confirmed fix in LuckPerms-Bukkit-5.0.92 (build 1008).
I think MetaData can be simplified with using just one key to one value by default. I have never seen using one key for multiple values and I think most of the developers are using 1key<->1value. This would save some space without .get(0).
Sorry, my bad. I did not notice it. So then there is nothing to improve.
Can we see the bungee version get this aswell:
https://github.com/lucko/LuckPerms/commit/e07f8c0fbe8e7be13b3e60ebb010b3167114d160
/lp user {username} group set {group} was an easy to understand addition. With its removal comes unnecessary confusion. If I were to give access to a staff member and said, "change this users group" they would look through 2 routes:
/lp group {groupname} add {player} - not a thing.
/lp user {username} group set {group} - now not a thing.
With the first obviously being the easiest to understand and the second being very self explanatory.
They are referred to as "groups". When ...
Describe the issue
MinimalApiProvider throws an exception on getTrackManager
LuckPerms javadoc does not have a throws that indicates this behavior
https://github.com/lucko/LuckPerms/blob/95d2832884ac10020e7eec13c54f01381bce186d/api/src/main/java/net/luckperms/api/LuckPerms.java#L106-L114
Exception:
java.lang.UnsupportedOperationException: API is not fully loaded yet - current implementation is minimal.
at me.lucko.luckperms.common.api.MinimalApiProvider.exception(Mi...
The important part of that exception is
API is not fully loaded yet
The MinimalApiProvider is only in use for the period of time between LuckPerms starting to load & LuckPerms fully enabling.
So it seems like either the full LP enable process hasn't happened yet, or something stopped the LP enable process from completing.
The MinimalApiProvider has been removed in this commit: fbac03e372cada4e41256132d77164753fc8fd9f
This is unlikely to fix the issue, but should make the cause more visible (as now the API just won't be available at all)
Basically, when I try to remove permissions or parent groups, it has no effect.

Logs:
[19:12:16 INFO]: ptrcnull issued server command: /lp user ptrcnull parent info
[19:12:23 INFO]: ptrcnull issued server command: /lp user ptrcnull parent clear
[19:12:23 INFO]: [LP] LOG > (ptrcnull@freebuild) [U] (ptrcnull)
[19:12:23 INFO]: [LP] LOG > parent clear
[19:12:23 INFO]: [Lu...
I'm using LuckPerms with 4 Paper and 1 Waterfall server, all on v5.0.92.
Snippet of config:
server: freebuild
use-server-uuid-cache: false
storage-method: mariadb
data:
address: "333.444.555.666:3306"
database: <db name here>
username: <username here>
password: <password here>
pool-settings:
maximum-pool-size: 10
minimum-idle: 10
maximum-lifetime: 600000
connection-timeout: 5000
properties:
useUnicode: true
characterEncoding:...
messaging-service: none
This should be an actual messaging service, as unlike v4 v5 sees "none" as just that: None (v4 did then auto use sql when database was mysql/mariadb). I suggest setting it to sql.
In addition check the consoles of all your backend servers and the proxy for if they received the update ping send by the LP instance, where you executed the command from.
Oh, I migrated from v4 and there wasn't anything about this in the docs.
Nonetheless, the issue was still present on v4... I'll try setting an actual messaging service.

Waterfall:
>.... [20:58:19 INFO]: ptrcnull executed command: /lpb user ptrcnull permission info
>.... [20:58:29 INFO]: ptrcnull executed command: /lpb user ptrcnull permission unset test.permission
>.... [20:58:29 INFO] [LuckPerms]: [Messaging] Sending log with id: fb03e08d-da81-4308-a60c-75b1cb2e7952
>.... [20:58:29 INFO]: [LP] LOG > (ptrcnull@bungee) [U] (ptrcnull)
>.......
It did load the messaging service config on all servers though.
Waterfall:
[21:00:18 INFO]: __
[21:00:18 INFO]: | |__) LuckPerms v5.0.92
[21:00:18 INFO]: |___ | Running on BungeeCord - Waterfall
[21:00:18 INFO]:
[21:00:18 INFO] [LuckPerms]: Loading configuration...
[21:00:19 INFO] [LuckPerms]: Loading storage provider... [MARIADB]
[21:00:19 INFO] [me.lucko.luckperms.lib.hikari.HikariDataSource]: luckperms-hikari - Starting...
[21:00:19 INFO] [me.lucko.luckperms.lib.hikari.Hi...
v5 sees "none" as just that: None
I think you're wrong:
https://github.com/lucko/LuckPerms/blob/8725ace73939c8c16629f35d17e5c7654a5c855a/common/src/main/java/me/lucko/luckperms/common/messaging/MessagingFactory.java#L56
This issue is particularly interesting. If the issue persisted on v4, the only issue I can think of is with your database user lacking permissions to update or delete records from the database.
Do the grants look right? (MariaDB 10.2.29)

i'm playing on a pixelmon server and i have myself set as an admin and everything works, except for the pixelmon commands, i can't find those in the lp editor permission tab either
Either check the documentation of the Pixelmon mod(?) and if that doesn't help, use LuckPerms' Verbose command
How can I grant permissions to a group on gamemode spectator and survival? But so that the player in the group could not use creative, adventure.
This entirely depends on your Server setup and not LP itself, as it doesn't manage the gamemodes of players.
If you use a plugin like Essentials(X) that manages the /gamemode command, check its documentation for the command permissions.
If it is the default vanilla command, then the permissions would be minecraft.command.gamemode
Note that vanilla /gamemode doesn't have permissions to restrict it for specific gamemodes only, while EssentialsX does.
This entirely depends on your Server setup and not LP itself, as it doesn't manage the gamemodes of players.
If you use a plugin like Essentials(X) that manages the /gamemode command, check its documentation for the command permissions.
Yes, I have essentialsX, but I did not quite understand where to enter the permissions.

I issued such permissions for the players. But it still doesnโt work
No . at the end. Also be sure to click save and to run the command.
No
.at the end. Also be sure to click save and to run the command it shows after clicking save.
it's worked, thank u <3
You're welcome. Feel free to close this issue.
the only issue I can think of is with your database user lacking permissions to update or delete records from the database
I was thinking the same, that or maybe your database is in some sort of read only mode?
Does updating permissions work ok? Or is is just removing that one group?
BungeeCord doesn't have a PlayerCommandSendEvent event like Bukkit does, so implementing this isn't easily possible.
Safe to ignore the error -- the above commit stops it from being printed to the console.
maybe your database is in some sort of read only mode?
I don't think so, other plugins work just fine
Does updating permissions work ok?
Yup, setting permissions works
Or is is just removing that one group?
Removing anything doesn't work, no matter if it's a single permission node or a player's parent group
Have you checked your DB server's error logs to see if there's any errors there? Also, could you try making a new user & the same database and see if it persists, then new user + new database, then new database + same user. That way if all except one of those configs work it'll narrow down the issue, if all of them do not work then maybe either a bug with your MySQL version in particular, or something like that.
I only have some small issues to iron out now (See the great todo list in LPFabricPlugin). And a real test in production (to verify the dependency system works properly on fabric), then I'll open this up to let you all tear my PR to shreds lmao.
I am using the newest version of Luckperms but in version 1.15.2 even when all my perms are in there they dont get the permission. I have essentials.hat enabled for all my groups and nobody can do /hat. Same goes for all of my moderator perms (Litebans permissions) I closed my server from 1.14-1.15 and when i reopped I put the new version of the plugin into my folders, it worked fine before.
Console errors server freeze when using the plugin quests: https://hastebin.com/dujucemeno.shell
I reported this to the author this was his reply: https://gyazo.com/e7f84db4d94364ddfe31484cd5b28f39
The author of the Quests plugin already made a PR himself that tries to fix the issue: #2060
`LuckPerms api = LuckPermsProvider.get();
User user = api.getUserManager().getUser(UUID.fromString(spielerUUID));
InheritanceNode groupNode = InheritanceNode.builder(teamName).build();
user.data().add(groupNode);
api.getUserManager().saveUser(user);
api.runUpdateTask();`
Actually this code should be used to update the permissions. But I have to type ingame /lp editor or reload Luckperms to update permissions.
As you can see, this.permissions is already a ConcurrentHashMap, so I'm not sure what creating a copy would do to fix the problem?
Iterating over ConcurrentHashMap.entrySet() is thread safe.
About the issue itself, I'll reply here: #2062
Strange, it's not obvious to me that either plugin is to blame.
The call that the Quests plugin is making to getEffectivePermissions seems to be perfectly safe (although arguably could be avoided for performance reasons, but that's besides the point)
And the LP implementation of that method seems to be ok too, so I'm not sure.
Does the crash ha...
Strange, it's not obvious to me that either plugin is to blame.
The call that the Quests plugin is making to
getEffectivePermissionsseems to be perfectly safe (although arguably could be avoided for performance reasons, but that's besides the point)And the LP implementation of that method seems to be ok too, so I'm not sure.
...
Ah I hadn't seen the timings report - makes sense.
Doesn't seem to be an LP issue then. :)
Seems the underlying issue isn't being caused by this - so I'm going to close. Thank you for attempting a fix though! :)
I'm sorry, this might not be specifically a LuckPerms issue, but I do need help.
Issue: Players are shown suggestions for commands they don't have permissions for. When they start typing "/", they get 3 suggestions for all plugins. I'd like to know how I can make it so players are only shown suggestions for commands they are able to use.
Running Paper 1.15.2
Thanks in advance.


This is - as you mentioned - not related to LP.
The issue is, that the plugins themself don't properly handle the commands (e.g. assigning a permission to the command through the plugin's plugin.yml) or similar.
A relatively good plugin would hide the command, when you lack the permission, which is a bit rare tho.
A solution for this would be to use a plugin that blocks the command suggestions if you lack permissions.
I can't suggest any specific one, but I'm sure a quick Google search ...
- Not an LP issue, as LP generates the link (as shown in your second screenshot)
- Check your plugins. It could be one like an anti-ad plugin, that prevents links from being shown in chat (And handles this extremely poorly)?
- No need to censor the editor link. Nobody can harm your server through it unless they have console-access or can use the applyedits-command of LP.
@lucko Yes, but iterating over unmodifiableMap().entrySet() is not currently thread safe:
We should create a new instance because, right now, it's merely wrapping the original collection. Here's a somewhat-similar example: https://stackoverflow.com/questions/19726337/concurrentmodificationexception-in-unmodifia...
I suspect that the problem arises when the getEffectivePermissions() call occurs too frequently (either by the same player or multiple) as a result of it being used in Quests' event listeners. While it is, of course, possible to address the issue with a workaround on my end, the underlying issue appears to be with LuckPerms as I have explained in https://github.com/lucko/LuckPerms/pull/2060
We should create a new instance because, right now, it's merely wrapping the original collection. Here's a somewhat-similar example
It's not a similar example, because it is wrapping a HashMap, not a ConcurrentHashMap.
I might restate that this issue results in a server crash, not an exception, so it's my understanding this really shouldn't be left for other plugins to pick up on.
As explained on the other issue, I don't think this actually is an issue, and also don't think...
I wrote _somewhat-_similar, recognizing that.
What do you suspect the cause is then?
<sub>Sent with <a href="http://githawk.com">GitHawk</a></sub>
electronicboy's suggestion on the Quests issue seems the most plausible to me.
I own a Spigot server, and I get this error in the log every time I try and run the server with LuckPerms in the plugins folder. In game I get "[LP] error occurred whilst loading permissions data. Please
try again later. If you are a server admin. please check the console for any errors".
My server is running on 1.15.2 and MY LuckPerms version is LuckPerms-Bukkit-5.0.94.
thanks!
There should be an actual error like a stacktrace.
Please provide your logs through https://hasteb.in as we can't see your Server setup, nor read minds.
Hello,I have a problem with this plugin.
When I added this plugin to my server, this started to showing in my console
[LuckPerms] Disabling LuckPerms v5.0.72
[2K [20:21:12 INFO]: [LuckPerms] Starting shutdown process...
[2K [20:21:12 INFO]: [LuckPerms] Closing storage...
[2K [20:21:12 INFO]: [LuckPerms] Goodbye!
When I tried to join I have this message
io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: no further information:
Please help...
Trying to remove a test permission:
# tail -f a3db90093614.log | grep test.permission
2617882 Query INSERT INTO `luckperms_messenger` (`time`, `msg`) VALUES(NOW(), '{\"id\":\"<uuid>\",\"type\":\"log\",\"content\":{\"timestamp\":1584314514,\"source\":{\"uniqueId\":\"<uuid>\",\"name\":\"ptrcnull@bungee\"},\"target\":{\"type\":\"USER\",\"uniqueId\":\"<uuid>\",\"name\":\"ptrcnull\"},\"description\":\"permission unset test.permission\"}}')
2617886 Query INSERT INTO `luckperms_actions`...
Also, this is on a new user with current database, same as the old one, it's weird that it works on messenger and actions and not user_permissions though
Just to be 100% sure, the <uuid> is something you've redacted for this issue, right, not a literal <uuid>?
Yup, redacted for clarity.
Does this happen on latest? I see above you're 2 builds behind
It was the latest when I was creating the issue... I'll update, I guess
Have you been able to come up with any exact steps to reproduce the issue? If you install a fresh server and fresh database of the same version, etc?

Okaay. Apparently on a new database the issue no longer occurs.
root@server:~/ptero/db# du -sh minecraft/
2.3G minecraft/
root@server:~/ptero/db# du -sh luckperms/
768K luckperms/
Can this... cause this issue?
I'm assuming you mean https://github.com/PikaMug/Quests/issues/1121#issuecomment-599201817 which, to me at least, doesn't read as a suggestion and more of an analysis of the timing report. Anyway, given that we have three conversations on the topic going at once, maybe the issue is starting to lose focus.
It has been alluded to that this may ultimately be considered an exploit. Assuming I've been correct in my assessment, it would only take a server running LuckPerms + any plugin(s) which ...
Sorry for bumping such an old issue, but I have the same problem.
LuckPerms is added to depend:
name: ChatManager
version: ${project.version}
author: ptrcnull
main: me.ptrcnull.chatmanager.ChatManager
depend: [LuckPerms]
and I'm getting the API instance in onEnable:
@Override
public void onEnable() {
LuckPerms luckPerms = LuckPermsProvider.get();
getProxy().getPluginManager().registerListener(this, this);
}
Somehow, it...
Hey Luck, I had an idea:
Would it be possible to allow something like

in order to be able to take advantage of spacing when using placeholders like %luckperms_prefix_element_highest_on_track_staff%?
As it is right now, using that placeholder will return the prefix that is highest on that track in chat, but spacing from the meta-formatting section will not be applied to it, ...
I'm not sure what I'm looking at there, what are those folders?
These are MariaDB's database files, I think.
Still not sure what you mean by can that cause an issue, what's the issue? The size?
Well, that's the only thing apart from the amount of tables that differ between databases, so that was my guess.
[22:19:25] [main/INFO]: Booting up Velocity 1.0.6-SNAPSHOT (git-5c6163d8-b195)...
[22:19:25] [main/INFO]: Connections will use NIO channels, Java compression, Java ciphers
[22:19:25] [main/INFO]: Proxy is running in offline mode!
[22:19:25] [main/INFO]: Loading plugins...
[22:19:26] [main/ERROR]: Exception in thread "main" com.google.common.util.concurrent.ExecutionError: com.google.common.util.concurrent.ExecutionError: java.lang.NoClassDefFoundError: Lme/lucko/luckperms/api/LuckPermsA...
When starting with Java 11, I get a warning on start-up relating to LuckPerms while running LuckPerms 5.0.94 and PaperMC 1.15.2 (Version 136)
C:\srv\minecraft-server>C:\srv\minecraft-server\jdk-11.0.6\bin\java.exe -Xms10G -Xmx10G -XX:+UseG1GC -XX:+UnlockExperimentalVMOptions -XX:MaxGCPauseMillis=100 -XX:+DisableExplicitGC -XX:TargetSurvivorRatio=90 -XX:G1NewSizePercent=50 -XX:G1MaxNewSizePercent=80 -XX:G1MixedGCLiveThresholdPercent=35 -XX:+AlwaysPreTouch -XX:+ParallelRefProcEnabled -D...
#952
Thank you for not checking about other issues with that exact error message and opening yet another duplicate.
My prefix worked very good, but last time i joined my server my prefix was gone, i typed "/lp user Freeze_Line info" and i had prefix "Owner" but when i typed "hi" i saw this "[world] hi" i don't know what happend and what to do.
LuckPerms does not handle the chat. Your chat plugin does. So there's an issue with your chat plugin, not LP (as you demonstrated with the /lp user Freeze_Line info command).
Reach out to the support of your chat plugin.
I will try it, thank you
#952
Thank you for not checking about other issues with that exact error message and opening yet another duplicate.
Sorry.
When I searched, I forgot GitHub defaults to only showing Open Issues and there were no current Issues Open with "Reflective" in them.
But i don't know why it stopped working, it worked before.


