#issues
1 messages ยท Page 5 of 1
Having this problem too. Seems like it started with most recent release.
This error comes up several times on a fresh Spigot installation using OpenJDK11.
`[Server thread/INFO]: This server is running CraftBukkit version git-Spigot-f56e2e7-07e504c (MC: 1.13.2) (Implementing API version 1.13.2-R0.1-SNAPSHOT)
[Server thread/INFO]: Debug logging is disabled
[Server thread/INFO]: Using 4 threads for Netty based IO
[Server thread/INFO]: Server Ping Player Sample Count: 12
[Server thread/INFO]: Generating keypair
[Server thread/INFO]: Starting Minecraft server o...
when a user tries to join a big error gets into the console.
also on startup the same issue appears it always worked but since last update it fails to work.
here is the debug report : https://hastebin.com/raw/hesamoweci
and console log parts:
https://pastebin.com/QWJ1Hwnu
The error is nowhere to be found.
Would be nice to just have the error.
More than likely your ca-certificates aren't installed properly, on debian based distros, make sure that the ca-certificates-java package is installed, and run update-ca-certificates -f
@electronicboy Thanks for the reply!
I actually just found the problem. The current stretch debian version is running an old ca-certificates-java version (20170531+nmu1) which had a bug.
I manually downloaded and installed the version 20180516.
Now everything runs fine.
oops the logfile was broken here is the snipped errors : https://pastebin.com/dgm2g2Fq
On start-up, my bungee server has an error with the latest version of UTF8:
`20:27:33 [SEVERE] [LuckPerms] Failed to init storage dao
20:27:33 [SEVERE] java.sql.BatchUpdateException: Unknown character set: 'utf8mb4'
20:27:33 [SEVERE] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
20:27:33 [SEVERE] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
20:27:33 [SEVERE] at sun.reflect.DelegatingConstructorAccessorImpl.n...
MySQL server version? Looks like it's not actually the latest version
What message appears when you run the /lp applyedits command?
And which version of LP are you using?
Version 4.4.2
The message that appears when running /lp applyedits is a positive. It says permissions added/or removed depending on what I am doing...
Could it be this setting below as the perms I am adding are world specific but its a bungee server:
If users on this server should have global (non-world specific) groups applied
apply-global-world-groups: true
So I am guessing this should be false. The dev has LP on every server. Do I need to go in and change config on each one? ...
That setting shouldnโt affect anything. It just means that if a group has the world global that it also gets applied. Which is what you want typically. And youโre running 4.2.2 which is severely outdated. Please update the plugin. Latest is 4.3.73 or something like that.
When you do that I suggest you rename your old configs and let the new one generate. As there have been quite a few changes to the config.
Yep, you need to update your MySQL server version.
Can you show the full log that includes the error?
I need to know when during the servers operation that message is being printed.
Error Log: https://pastebin.com/8DPZyfWg
Loads Default, Mod, Admin but not Owner and Vip.
Happend while i ran "listgroups", after i manually deleted TABS from the yaml files
Is that the full error? Seems to be some info missing from the top.
Line 3247 - you can see that your server has started shutting down (LuckPerms has disabled) - but your server is still accepting logins.
That's why you're seeing those errors.
Seems to be an issue with the com.razorblur.mcguicontrol plugin causing your server to stop responding (it's doing some sort of database request on the main thread.
I'm guessing the SpigotLib plugin is what's shutting everything down.
[01:04:11] [pool-27-thread-1/INFO]: ============== SpigotLib Crash R...
I'm also experiencing this issue. Though I'll test with 4.3.79 once I get the chance. One thing I'd like to notice is that my 1.13.2 server doesn't experience this issue at all which is running build 4.2.89 while my 1.12.2 server is running 4.3.73 which does experience the issue. So there is a possibility that something happened between 4.2.89 and 4.3.x which caused this issue to appear.
In this case I think the best option would be to go back to the previous version, in which the failure does not occur
Where can I get this version?
You could go to the Release Tags and build against a specific commit, or you could try the version history on the spigot resource page.
Thank you very much, tomorrow I will check it
It used to be on the jenkins, but sadly it appears the only the 10 most recent builds are kept on there. I had uploaded it onto my server on the 8th of September 2018 so I assume it was based on this commit https://github.com/lucko/LuckPerms/commit/eca6b09b18a97ec0cad14a62cd6b6c1f4e5c761d
So from what i understand, it came from the "&" in the files
- &8[&4Owner&8]:
priority: 1
above is wrong
this should be the right way, but prefixes are still not shown.
- $8[$4Owner$8]:
priority: 1
Did you edit the files manually (Added the stuff manually) or did you made it through commands/the web editor?
Because editing files manually isn't recommended from us, because errors like the one you reporting can (and will) appear.
We really recommend to actually use the commands or the web editor.
And to your issue: Mind sharing the group-files with us? preferably through hastebin or a GitHub-gist.
at First i used the Web-Panel, but i accidentally copied the TAB, so deleted them manually.
I tried replacing ChatEx with EssentialsChat but it didn't change anything, i just don't get why the Prefixes aren't there.
Using LP v4.3.79
I currently have the following permission in default.json
"context": { "gp_claim": "0c1ceb06-b8cc-47fd-8a45-cc1b16e196ea", "used_item": "minecraft:wooden_sword" }, "data": { "griefprevention.flag.entity-damage": true }
The transient permissions use the following contexts [gp_claim_default=BASIC, gp_default_holder=holder]
GP makes the following permission call
`Tristate value = GriefPreventionPlugin.GLOBAL_SUBJE...
I agree with Luck here, it doesn't really make sense to add a rate limit when LP provides 2 solutions to this problem.
- Use a filter
- Use
/lp verbose recordas this will not send any data to the client other than the URL to view data after paste.
Also, a rate limit would only apply to Spigot/Paper servers. For Sponge servers, contexts may be used so even though you may see duplicate permissions, it doesn't mean it is the same lookup.
This is definitely not the case on Sponge servers. If you set a permission, you do not have to remove it to change it. Not sure how it works for Spigot/Paper servers.
It doesnโt work for spigot servers :P
Yep, it wouldn't be satisfied.
[15:40:25] [luckperms-0/WARN]: [LuckPerms] Exception thrown whilst performing i/o: owner
So yeah, your owner.yml file has bad formatting, around this area:
[15:40:25] [luckperms-0/WARN]: java.io.IOException: while scanning an anchor
in 'reader', line 5, column 3:
- &8[&4Owner&8]:
^
expected alphabetic or numeric character, but found [(91)
in 'reader', line 5, column 5:
- &8[&4Owner&8]:
^
I suggest deleting that section of the file ...
I don't get an Error anymore, but Prefixes stilll don't show. I don't Know Why
Deinstalled ChatEx, Installed your VaultChatFormatter. Everything works perfect now.
Thank you for your Help
LuckPerms Bungee 4.3.73 seems to randomly hangs/crash bungeecord without any further response.
Log: https://haste.jartexnetwork.com/idusimozis
Bungeecord version https://ci.md-5.net/job/BungeeCord/1390/ (https://github.com/SpigotMC/BungeeCord/commit/9a2acc826e4cc37642219f718cdb8c1eca0c8703)
I am not sure this really crash has to do with luckperms as I never had any issues with luckperms before, but because I only saw this luckperms error I thought it could have something to do with it.
I'm not sure the two are necessarily related
I'm getting this error all the time in console even if that player is online and offline and sometimes for online players with "/find" it says they're offline..
Don't know what I did wrong and is it even my fault.. Users in that error doesn't have any permissions on the LuckPerms.
config.yml: https://pastebin.com/Wa5MLNWY
groups:
vlasnik.yml : https://pastebin.com/MtT1LYBy
skin.yml : https://pastebin.com/JjVW3LvH
mod.yml : https://pastebin.com/XUhMQR...
When permission entries contain long strings, such as a large shorthand node, the permissions display area overruns the editor width. This has caused the delete and edit buttons to appear off screen with a normal width browser window. My window initially cut off in the middle of the "contexts" column. My browser is around 90% the width of my 1920x1200 monitor, so about 1700 pixels wide.
This affects Chrome. I do not know if it affects other browsers.
Images speak volumes, so:

Using /lp group players permissions info in Minecraft chat

Hey,
I found a bug on LuckPerms with WorldGuard.
In the LuckPerms config.yml, I activated the "auto-op: true".
Which allows you to automatically assign OPs to a group or user, which receives permission "luckperms.autoop", and so far everything ok.
In WorldGuard in the config.yml I set "op-permission: false", which also allows who and OP, not to have WorldGuard permissions.
But the bug is not working, if luckperms and on the server, as soon as I removed the plugin luckperms, World...
After downloading the latest LuckPerms and latest Bungee I cannot get LuckPerms to load as it comes up with the follow error.
`17:53:54 [WARNING] Exception encountered when loading plugin: LuckPerms
java.lang.NoClassDefFoundError: com/google/common/collect/Streams
at me.lucko.luckperms.lib.text.serializer.LegacyComponentSerializerImpl.<clinit>(LegacyComponentSerializerImpl.java:47)
at me.lucko.luckperms.lib.text.serializer.ComponentSerializers.<clinit>(ComponentSerializers.java:...
I should note, I just tried the version before the dependency update (v4.3.80) and it loads just fine.
A few people in the Discord have reported this as well @lucko
Build 856 should be used in the mean time until this bug is resolved.
The issue is that there's also a HEADER.txt file which contains license text.
Even though this is the same underlying licence, the code used by GitHub to detect licenses sees this as being ambiguous.
I did think about reporting it here: https://github.com/benbalter/licensee
A ha - just seen your screenshot. I had the wrong impression then.
Thanks very much :)
Hmm interesting.
Any errors in your console when you run the command in-game? Could you try using the latest build: https://luckperms.github.io/ ?
Could you restart your proxy, and then try logging in.
If the error still shows, could you send over the full log?
Going to try to reproduce
I use WorldGuard 7 on spigot 1.13.2, but I do not think this makes the difference.
It is a problem of LuckPerms not of WorldGuard.
Because if I remove the LuckPerms plugin, Worldguard blocks OP, if the option op-permission: false.
If instead of luckperms and on the server, WorldGuard no longer blocks OP.
Yeah, it is working fine in 4.3.80.
Thank you and congratulations for this awesome plugin :-)
Added this line so 1000 per second bots wouldn't crash server, but sometimes server crash with this error randomly not from bots, how to fix it?
Added line in:
https://cdn.discordapp.com/attachments/241667244927483904/539473496758157333/unknown.png
Crash error:
https://hastebin.com/fakelewohi.sql
I did it couple of times and still receiving this.
Hello,
i am trying to use the API but I don't know how to add a permission to a user + the permission is timed to 24h.
Can anyone help me?
Thanks!
Have a look here: https://github.com/lucko/LuckPerms/wiki/Developer-API
Also the Javadocs are very helpful.
Hello,
I recently noticed a big problem with your plugin. After I added permission on the server (survival) in my BungeeCord network, another server on the other dedicated server (skyblock) doesn't allow players to login. I think that this is due to a big ping to the server with the MySQL database. On the thread dump you can see that the server disconnected the players because of your plugin: https://pastebin.com/vsbzDGz1
`[07:47:19] [luckperms-0/INFO]: [LP] LOG > (nickname@survival) [G...
If the database ping is the issue, it's really not LPs fault.
Ping to MySQL database is about 120 ms. I do not think it is a lot.
That's a lot.
What does /lp info show? It should tell you the ping LP sees.
Just tested this. I'm running this on Spigot 1.13.2, LP version 4.3.73. Denying myself bukkit.command.op and then allowing it resulted in an allow. This functions as @PrincessRTFM described in their post.
Commands were run in this order:
/ess version
/perm user Foxtrek_64 permission set bukkit.command.op false
/perm user Foxtrek_64 permission set bukkit.command.op true
/perm user Foxtrek_64 permission info

/lp info
If you could, give us these values or post a screenshot like I did.
I run LuckPerms on a 1.8.8 Spigot server.
Please run the commands suggested in my last comment and provide us with the output of those commands.
Additionally, please provide us with the behavior your experience when trying to set a permission node to true when it had been previously set to false, as well as what you expect to happen.
If you send me the UltraPermissions jar I can take a look at implementing it. :)
Seems like that Bungee isn't able to connect to the database. There also appears to be some logging output missing there?
Perhaps check the actual proxy log file to see if there's any more info
That database ping is fine - LuckPerms does all of it's database work async so it won't have any effect on the MC server performance.
You've only provided a very small part of the crash log - so I can't comment on the actual cause. Nothing here suggests it's LuckPerms though.
You can use the setExpiry method to specify how long a permission should last for.
e.g. for your 24h example:
.setExpiry(24, TimeUnit.HOURS)
Everything else you need to know is covered on the wiki page linked by @BrainStone
If the error still shows, could you send over the full log?
Haven't been able to reproduce this - if anyone has any ideas feel free to re-open.
A haaa, I had forgotten this was added already! ๐
Since this commit, this behaviour should already be happening: https://github.com/lucko/LuckPerms/commit/d28170cc3f03583edc3d8cbca1427133bdf99445
Also, talk of the web editor is irrelevant - I've hidden those comments.
Sooo, yes, seems like a bug if your'e not seeing this behaviour already. @TheRealLogical Can you make sure you're using the latest version, and then give us the commands you tried to run.
The exception itself (it's not a crash) should be resolved in the latest version.
As for dealing with bot attacks, I don't see that as being a LP problem. It will load user data for any user who connects, as you would expect.
Either you need to get an anti-bot plugin which can cancel the connections before they are handled by plugins on the server, or enable online mode and let Mojang do that for you.
I think you're getting the WorldGuard op-permission option confused with deop-everyone-on-join and block-in-game-op-command.
The op-permission setting, when set to true, will allow server operators access to WorldGuard even if they don't have the permission for it - when it's false, the system just works as normal with permissions - if they have the perm, they can use the command, otherwise they can't.
I'm still totally lost with this issue. I've done a number of tests to try to trigger bad behaviour with LP's permission attachment handling - resulting in the fix above - but that still doesn't seem to have fixed the issue.
I've also compared the difference between the current version and the versions that are supposedly fine, but can't really see anything significant.
As I said, I really need steps in the style of [this](https://github.com/lucko/LuckPerms/issues/1330#issuecomment-4520...
I'd have to talk to TechsCode because I believe I am not allowed to share the jar :(
Err yeah, he'd probably prefer if you didn't post it publicly, but you can PM it to me on Discord if you like.
Isnโt there a public API?
About the logs: Had to capture off of the console as it stopped recording them. I know I need to fix this. It seems about a week ago, all my servers stopped logging.
Also, for the bungee version, it seems having '#' as the first character of the password causes an issue.
I currently have the bungee version successfully connecting to a MySQL on another machine. To do that, I had to remove the '#' from the password.
The bungee will connect to the MySQl that the servers are conne...
That's not the problem.
Op-permission: false, only works if I remove luckperms from the server.
So the problem is in luckperms.
And I have not * on worldguard
Can't you fix it?
Try setting worldguard.* to false for your admin users.
I speak of the op, not of groups. I can not add permissions to the OP
It seems that Luckperms, sees OP as *
I don't want OPs, has WorldGuard permits, for security reasons
Then do what Luck suggested and deny worldguard.*
There's no point in denying permission.
How do I deny WorldGuard.* to the OP?
You can only deny on a group or player, not on OP.
I don't want OPs, has WorldGuard permission, for security reasons
That's fine, but simply setting op-permissions to false won't do that. By default, Bukkit gives operators access to all permissions - which is what's happening here.
How do I deny WorldGuard.* to the OP?
You can only deny on a group or player, not on OP.
Just deny it for all players (the default group)
Yes, but as I have already told you, it only happens if LuckPerms is installed, if no luckperms is not installed, OP and locked by op-permission: false
We have already told you the steps that produce it or that seem to produce it (in a margin of 90%).
The last thing you could do, to try to help you find the error, would be to invite it one day that you can to the server.
It is provided with the necessary tools for testing, (configurations, op, rank admin and it indicates the steps to follow so that the error occurs at the moment)
Ok I see the issue, seems to be related to LP's implementation of the isPermissionSet method.
My testing shows this as being fixed in 4.3.87 - https://luckperms.github.io/
Thanks for reporting the issue, please re-open if it's still not fixed. :)
Even "keep trying this" x times until the issue appears is fine - I understand it only happens sometimes.
However, I have never used Towny before and don't even know where to start with that. I don't have hours to spend messing around with the plugin just hoping to stumble upon the issue, which is why I need instructions.
Make a clean server, containing only LuckPerms & Towny with default (or very close to default) configs and try to reproduce the issue. If you're able to, explain how a...
This is not a crash log, this is thread dump. The server worked fine when it happened, it was 20.0 TPS, but it wouldn't let the players to join. What other information do you need?
I can send you: JFR, full thread dump and server log.
Okay, thank you very much :)
The full thread dump would be useful if you have that :)
When i try to login to my local server to test some stuff luckperms doesnt let me join,

I am creating a bungeecord network and using LuckPerms. I have made a bungeecord network with LP before and it worked fine. I followed all of the instructions in the GitHub for setting up with a network. I am using the same configs and jars from the previous server (besides the bungeecord proxy), and I have no clue why it doesn't work.
So I'm getting some huge errors when I type /lp editor, here they are...
[00:50:42] [pool-7-thread-1/WARN]: java.lang.RuntimeException: java.net.UnknownHostException: bytebin.lucko.me: Temporary failure in name resolution
[00:50:42] [pool-7-thread-1/WARN]: at me.lucko.luckperms.common.web.StandardPastebin.post(StandardPastebin.java:156)
[00:50:42] [pool-7-thread-1/WARN]: at me.lucko.luckperms.common.web.StandardPastebin.postJson(StandardPastebin.java:123)
[00:50:42] [pool-7-thread-1/W...
Hi,
What version of luckperms are you using?
Hey, I ended up updating the plugin but it didn't work at all.
I'm using a dedicated machine and I tried on a normal mc server from a host and it worked fine, please help me, I don't know what's going on with my server.
It's not resolving the host with most plugins, also with vault, buycraft and etc.
Please tell me or give me a hint on what could be happening with my server.
It's giving very similar errors with most plugins, such as this...
[02:24:39] [Thread-20/INFO]: [HeadsPluginAPI] null
java.net.UnknownHostException: freshcoal.com
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184) ~[?:1.8.0_191]
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[?:1.8.0_191]
at java.net.Socket.connect(Socket.java:589) ~[?:1.8.0_191]
at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:666) ~[?:1.8.0_191]
at sun.net...
Here too...
[02:24:08] [Thread-12/ERROR]: [MinePacks] null
java.net.UnknownHostException: api.curseforge.com
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184) ~[?:1.8.0_191]
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[?:1.8.0_191]
at java.net.Socket.connect(Socket.java:589) ~[?:1.8.0_191]
at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:666) ~[?:1.8.0_191
Well. If multiple plugins throw similar errors than you can safely assume that there is something not right with your host.
Perhaps they block a connection?
I'm gonna take a wild guess and say that your version of Java might be outdated.
Yeah, this doesn't look like a plugin-related issue. I can't really see a pinpoint to an actual plugin error. Seems more of an actual minecraft jar or java version error.
So i created my group i then add a prefix to it, but the problem happens when i not only see the prefix but also the group name. How do i get rid of the group name, but still get the prefix in front of my name?
Entirely up to your chat format and chat plugin.
Btw. you canโt tag issues.
Hello,
As the title says, only luckperms is having this problem from 1 to 3 hours after I start the server. The error message appears around that window of time. No other errors. Just keeps repeating itself again after 1 to 3 hours between each message.
Yes, I already followed the "Storage system errors" in the Wiki.
I double checked the MySQL wait_timeout and it is 28800 (default). I didn't change the default in config.yml either.
Here is the [storage section from my co...
During this month, I will do everything possible to find the error.
I tried to play it on a clean server, from 0 and I could not reproduce the error.
I am very frustrated, but I will find what causes the error
Does it happen to be a MariaDB server?
Because if so, you should use the MariaDB storage type. And also it has several configs. I'm never sure which config it actually uses, so I'd check all.
Is MySQL 5.7+, in this case. I was using MariaDB before, it was fine (no errors).
I would like to ask, if as a developer of this plugin you can provide me with certain information, about which plugins may interfere or not be some relevant data that can help me.
07:55:05 [INFO] [LuckPerms] Performing initial data load...
07:55:08 [INFO] 07:55:08.054 [luckperms-hikari connection adder] DEBUG me.lucko.luckperms.lib.hikari.pool.HikariPool - luckperms-hikari - Cannot acquire connection from data source java.sql.SQLException: Access denied for user 'jacobal1_admin'@'cpc77299-basf12-2-0 cust104.12-3.cable.virginm.net' (using password: YES)```
Why is this not working?
hasteb.in htt...
Quite simple. Either you have the wrong password, wrong database or wrong server.
Since you probably are on a hoster, my guess would be that you just picked a database name instead of using the one assigned to you. Use the one it tells you to use on the hosterโs site where you got the username and password from.
well i created my own on the site
Hello, bug haven't been fixed:
[15:57:27] [Server thread/ERROR]: Encountered an unexpected exception
java.util.NoSuchElementException
at java.util.concurrent.ConcurrentSkipListMap$Iter.advance(ConcurrentSkipListMap.java:2316) ~[?:1.8.0_201]
at java.util.concurrent.ConcurrentSkipListMap$KeyIterator.next(ConcurrentSkipListMap.java:2351) ~[?:1.8.0_201]
at com.google.common.collect.AbstractMapBasedMultimap$Itr.next(AbstractMapBasedMultimap.java:1150) ~[spigot-1.8.8-8.jar:git-Spigot-21fe...
Haven't been fixed even without that line. Can you please try catch that error, so it wouldn't crash server?
`[15:57:27] [Server thread/ERROR]: Encountered an unexpected exception
java.util.NoSuchElementException
at java.util.concurrent.ConcurrentSkipListMap$Iter.advance(ConcurrentSkipListMap.java:2316) ~[?:1.8.0_201]
at java.util.concurrent.ConcurrentSkipListMap$KeyIterator.next(ConcurrentSkipListMap.java:2351) ~[?:1.8.0_201]
at com.google.common.collect.AbstractMapBasedMultimap$Itr.next(AbstractMapBasedMultimap.java:1150) ~[spigot-1.8.8-8.jar:git-Spigot-21fe707-e1ebe52]
at java.util.Colle...
Hi, i have a bug, when i set custom skins (/npc skin -t <uuid> <data> <signature>)
<img width="831" alt="2019-02-03 23 22 02" src="https://user-images.githubusercontent.com/22731705/52180635-a5ebf880-280a-11e9-9d47-c01a7c53771f.png">
Error: https://pastebin.com/WMuWtGMk
And when rename NPC
Error: https://pastebin.com/v8Y34DFt
The error message very clearly says what you need to do. And that it's not a bug.
Report it to the Citizens author btw. It's something they need to fix.
[00:11:13 INFO]: artur9010 issued server command: /lp applyedits oN1YroJ8Bqv
[00:11:13 WARN]: java.lang.RuntimeException: Got response: 404 - Not Found - Invalid path
[00:11:13 WARN]: at me.lucko.luckperms.common.web.HttpClient.exceptionForUnsuccessfulResponse(HttpClient.java:69)
[00:11:13 WARN]: at me.lucko.luckperms.common.web.HttpClient.makeCall(HttpClient.java:55)
[00:11:13 WARN]: at me.lucko.luckperms.common.web.WebEditor.getDataFromGist(WebEditor.java:152)
...
Hi. I have this problem.


I have already tried to remove the %prefix in the chat ex, the result is the second and third lines.
Appreciate the help!
It works like this if user have few perm groups or if use tracks
Hey! It would be a good idea to add the support capabilities of redis as a database. Redis is much faster than MySQL etc. and I use it in my applications.
Either you didnโt paste the whole command or waited too long after saving. The links/commands expire after a while (like a few days)
too long, 20-30 seconds?
I copied command by left clicking it in web editor
Then try to save again.
Did you maybe configure a custom data storage?
Though in any case this isnโt a LP issue as the data storage server returned the 404. If it persists Iโd recommend making an issue on lucko/LuckPermsWeb.
I mean a similar problem.
Crash report - https://pastebin.com/9STSHexM
My config - https://pastebin.com/7vLsQ9rE
Runing on ubuntu 18.04, version of server - 1.13.2 last build
PostgreSQL version of 11.1
Make sure youโre using an up to date version of PostgreSQL
Make sure youโre using an up to date version of PostgreSQL
PostgreSQL 1.11 is the latest version.

Iโm stupid ๐
I meant LuckPerms. An up to date version of LuckPerms.
Am) LuckPerms version of 4.3.87)))
[14:46:08] [Server thread/ERROR]: [LuckPerms] Failed to init storage dao
[14:46:08] [Server thread/WARN]: java.lang.RuntimeException: Property characterEncoding does not exist on target class me.lucko.luckperms.lib.postgresql.ds.PGSimpleDataSource
You need to remove the property that doesn't exist for your storage provider from the properties section in the configuration file
[14:46:08] [Server thread/ERROR]: [LuckPerms] Failed to init storage dao [14:46:08] [Server thread/WARN]: java.lang.RuntimeException: Property characterEncoding does not exist on target class me.lucko.luckperms.lib.postgresql.ds.PGSimpleDataSourceYou need to remove the property that doesn't exist for your storage provider from the properties section in the configuration file
Am, postgresql does not exists?

@electronicboy Thank You :+1:
I apologize for my stupidity ..
I commented out two properties and it works.
Thanks for the help!
I think, it may be something related to the use of this plugin in bungee
Moving discussion to #1416 - please don't open duplicate issues in the future, much easier to just keep everything in one place..
Should be fixed by the above commit.
Please re-open this issue if this isn't the case.
Very unlikely to be a conflict with another plugin - potentially something that integrates with Towny could affect it?
That's not the full log.
31.01 22:24:21 [Multicraft] Skipped 74 lines due to rate limit (30/s)
I need to see the full proxy log file.
Please just follow my instructions exactly - I'm not trying to be difficult, quite the opposite, I need the steps to be followed in order to help you.
Could you restart your proxy, and then try logging in.
If the error still shows, could you send over the full log?
Okayyy, sure if that works then great. :)
Please re-open when/if you have ^^ available. :)
Gonna take a wild guess that you're using CraftBukkit + offline mode.
Please make sure you are using Spigot or Paper, or enable online-mode.
Failing that, I need to see your server logs.
All servers connected to the same database?
IP forwarding enabled and setup correctly?
In what way is it not working? Can you login? Are user permissions syncing? Are groups syncing?
I need waaay more information in order to help identify the cause of the issue.
Entirely up to your chat format and chat plugin.
^^ - LuckPerms just provides the data to your chat plugin when requested. If it isn't being formatted the way you want, you need to dig into your chat plugins configuration.
Appreciate you taking the time to read the wiki before making an issue! <3
I'm not sure either. These errors aren't from LuckPerms, and I don't know enough about the way MySQL / the MySQL driver works to be able to give much more advice.
As it's not an LP issue, there's really nothing I can do. I guess in terms of practical advice, you could:
- Attempt to set the lifetime even lower
- Switch back to MariaDB?? (if it worked before then perhaps that's gonna be the easiest way to resol...
Bear in mind also that timeout errors can be a result of dodgy network connections - if the link between the servers is bad that could result in connections timing out.
Are you sure your MySQL server IP address (it's called host in the LP config) is correct?
Either way, this is a configuration error, not a bug.
Will do, Iโll tell you if it works afterwards.
I've checked the editor upload server logs and can't see any errors reported there - I added some extra logging, would you be able to try again?
Redis is not designed for (and in my opinion should not be used for) persistent data storage.
Very unlikely to ever be implemented as a storage provider in LuckPerms for this reason - sorry! :/
I use LuckPerms v4.3.87, last build on this moment.
ChatEx - v1.6.
So .. I have problems with the tracks and not only.
I have two tracks, a donor and a staff. So, if I set the donor track to the user and then install the track to it, the user will have the last group from the first track and the penultimate of the second in the chat. Two prefixes as in the first screenshot.

![im...
Well, around 17 plugins use that database, and all of them are fine. Only LuckPerms is having the issue.
My database logs show no signs of LuckPerms trying to reconnect.
As you said, you don't know enough about MySQL, this could mean you may have left out some important configuration (or correction) while setting up the JDBC? Several other plugins that I use have the autoReconect option in their code for MySQL.
The issue is closed, no need for me to keep poking. Just asking kindl...
Absolutely, I'm definitely not infallible - far from it. ๐
The reason I closed the issue is because as far as I can tell, there's nothing I can immediately change or identify within LuckPerms itself to resolve the issue.
The JDBC settings are fairly standard, and I'm using a very popular (and I would say generally well regarded) 3rd party library to handle connection pooling. I believe auto reconnect functionality is handled by Hikari in this instance.
If anything else comes up, or ...
It seems like that /lp user <user> info shows the right prefix. So that is what LP is passing to ChatEx. Which means it's a ChatEx configuration issue.
Ask their support for help.
And in general. If /lp user <user> info shows the correct prefix it's not LP messing up.
I'm having this problem too. The Towny dev says it's because of the Luck Perms caching. Does that have any meaning or relevance to this?
I went back to review all the content of this discussion and I think I will detail again what exactly happens.
After seeing the tests he did, using the gamemode command I can see that he did not do the tests properly. (It should be noted that the command you introduced wrong to not have essentials)
As many of us already know, the towny permissions are assigned in the file townyperms.yml and the permissions in LuckPerm go by a different path
First, I want to emphasize that the errors h...
Okayyy, sure if that works then great. :)
It is not ideal, but it works. Again, the LuckPerms on the servers can connect to the database on the host machine with the user and database name of '2'. It is the LuckPerms Bungee that does not like that name.
Hello
I'm trying to migrate from PP to LP, but have a small problem.
[LP] Migration Sub Commands: (/lp migration ...)
no available plugins to migrate from
I've have both LP and PP installed, and I followed the provided guide at the wiki.
Here is a complete log, of the start.
https://pastebin.com/LkfneQaz
On line 1523 I should have used the command correctly.
In the API there are calls to register a context calculator and calls to subscribe to events. I need a way to unsubscribe and unregister as well so my plugin works well with loading and unloading. Otherwise I cannot say that my plugin handles memory management properly.
A lot of people say you should never reload plugins. Personally, I reload my plugins individually 100 times before a server reboot is considered because of good housekeeping practices. To prevent any memory leaks I would l...
Based on what I have seen so far from the code I believe the easiest way to add this functionality without breaking existing API calls would be to make your system like the bukkit scheduler system. When you add a listener or something of that nature, return an integer key that can be used to remove the item later. Alternatively, allow people to unregister all "things" that have been registered by plugin X.
I tried to get the project up and running on my local computer, but was unable to resolve some of the issues with the project. If you're willing to help me get this thing set up I can take it the rest of the way and do these code changes for you.
@lucko ok.
I typed /lp group vip editor
I got that url: https://luckperms.github.io/editor/#IT0j5MUhCJ
Added permission essentials.compact
Typed /lp applyedits GWAuKJbmeu on server
Got 404
[18:10:41 INFO]: artur9010 issued server command: /lp applyedits GWAuKJbmeuv
[18:10:41 WARN]: java.lang.RuntimeException: Got response: 404 - Not Found - Invalid path
[18:10:41 WARN]: at me.lucko.luckperms.common.web.HttpClient.exceptionForUnsuccessfulResponse(HttpClient.java...
I'm attempting to migrate from Powerfulperms to Luckperms, but I just can't seem to get it to work.
I'm getting the following Error in chat when I'm attempting:
"Error - Couldn't find table"
I've now quadruple checked that the table name in chat is correct, as it appears in MySQL as with the standard name "players"
I'm running the latest version of both plugins (LP and PP) that is, of cause.
There doesn't seem to be a way to grab transient permissions from CachedData.
If I attempt to simply grab all cached data with contexts, I have no way of knowing if the results I am getting back are from transient or persisted.
When passing permission griefprevention.flag.interact-block-secondary.minecraft with context gp_claim_default=wilderness I receive UNDEFINED result when the node list shows the permission griefprevention.flag.interact-block-secondary being true.
[21:26:05 INFO]: Created node ImmutableNode(permission=griefprevention.flag.interact-block-secondary.minecraft, value=true, override=false, server=Optional.empty, world=Optional.empty, expireAt=0, contexts=ImmutableContextSet(contexts=...
Unregistering event handlers
Calling EventBus#subscribe returns a EventHandler instance. You can call [EventHandler#unregister](https://github.com/lucko/LuckPerms/blob/85d2f0b51f7378fcf024046c5c1c4ca9e163bfbb/api/src/ma...
All of the lookups from within CachedData take account of both enduring (non-transient) and transient permissions.
If you only want to query transient, or only enduring, you can't use CachedData.
PermissionHolder#hasPermission looks for an exact match, only ignoring value & expiry time. It doesn't account for inheritance or context widening.
Yep, seems to be a configuration issue with your chat plugin. :)
Kinda strange, because the driver used should be exactly the same.
If I can't use CachedData, I would have to construct all these methods myself to handle permissions/contexts like Sponge proxies do.
These proxies contain all the required functionality that I will need for Bukkit. If this proxy could be moved to a common interface where I could make the same permission calls as Sponge then I would have no is...
Which methods in particular? I'm happy to port some of them to the API, but I don't really want to expose the whole PermissionService implementation to all platforms.
I would need the following methods in a common interface to function the same
SubjectProxy
SubjectData getSubjectData()
SubjectData getTransientSubjectData()
Tristate getPermissionValue(@NonNull Set<Context> contexts, @NonNull String permission)
Optional<String> getOption(@NonNull Set<Context> contexts, @NonNull String key)
Set<Context> getActiveContexts()
boolean hasPermission(@NonNull String permission)
boolean hasPermission(@NonNull Set<Context> contexts, @NonNull String...
Closing in reference to #1424
All of the data you need to implement those methods is already exposed in the API - it's just in a slightly different format.
You can see how the Sponge implementations are made here:
https://github.com/lucko/LuckPerms/blob/master/sponge/src/main/java/me/lucko/luckperms/sponge/service/model/permissionholder/PermissionHolderSubject.java
https://github.com/lucko/LuckPerms/blob/master/sponge/src/main/java/me/lucko/luckperms/sponge/service/model/permissionholder/PermissionHolderSubjectData...
@lucko have you tested that fix on bungee cord?
I haven't tested but it should be absolutely fine.
One of the unregister methods as a blank method body. Is that intentional? I noticed that the register method in that same class is not left blank.
Version: LuckPerms-Bukkit-4.3.80.jar
Spigot: 1.13.2
My server is crashing from time to time. I think it is LuckPerms but I am not totally sure:
https://pastebin.com/raw/VwNjUsWu
https://pastebin.com/raw/8TRerhzs
https://pastebin.com/9hLqbatv
I've got prefixes setup for groups(triple checked)
The essentials chat menu brings up the edited version of the name including the prefix and all that but it doesn't actually display it in chat. No idea why. I've been messing around with it for a few hours now to no luck.
Can you send a link to that class?
Also I do not use sponge API but what I was browsing the code for that I noticed the register method would wrap the inserted context in a proxied sponge context wrapper or something like that.
That's correct, but the Sponge API doesn't offer a way to unregister calculators anyway.
It seems like the problem have solved itself.
I don't know what i'm doing different this time, compared to last time, but it is working now.
Thanks for fixing it man!
Hello, I have currently a pixelmon server (gen 7.0.1) and I have it running on spigot/bukkit. I am basically running spigot/bukkit with mods for 1.12.2. So the problem I have is that I have luckperms on my server and I put the perms etc. on each rank and they work. When I put forge permissions like permissions from the pixelmon mod to luckperms they don't still allow the users to use the command or anything. Is there a way to get forge perms compatible to use on my spigot server? I have down ...
When adding LP API 4.3 as a dependency in dev, I get the error below on startup. However, If I depend on LP Sponge(latest) instead, it works fine.
java.lang.NoSuchMethodError: me.lucko.luckperms.api.Contexts.setContexts(Lme/lucko/luckperms/api/context/ContextSet;)Lme/lucko/luckperms/api/Contexts;
at me.lucko.luckperms.common.context.ContextManager.formContexts(ContextManager.java:149) ~[ContextManager.class:?]
at me.lucko.luckperms.sponge.context.SpongeContextManager.formContexts(...
It's most likely because you're shading the API into your project, instead of letting it be provided by the LuckPerms plugin.
I'm trying to connect to a MySQL server in order to use global ranks (BungeeCord network). However, I got this error when starting my SkyBlock server:
At first, I thought it was a connection error, however, it's consistent (it happens every time I restart the server) AND the MySQL connection works fine on both the lobby server and the BungeeCord proxy.
Does anyone know why this is happening?
LuckPerms also constantly spams this line into the console:
So you seem to have a couple problems here. However, it's this problem that's causing the connection to outright fail.
See line 30 where it reports the following:
[17:10:25 WARN]: Caused by: me.lucko.luckperms.lib.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: User JPIcG8LzOp already has more than 'max_user_connections' active connections
For this issue, read this article on the wiki regarding [storage system errors](https://github.com/lucko...
Hey ๐ I have a problem with variables
i have a rank vip+8 and plugin FeatherBoard, LuckPermsMVdWHook
The problem is that the variable does not work because of the character "+"
variables: {luckperms_group_expiry_time_vip+8}
Could this be corrected?
{luckperms_group_expiry_time<group name>}_
{luckperms_inherited_expiry_time<permission>}_
{luckperms_expiry_time<permission>}_
Unless the groupname actually is vip+8 than you're not really needing to add the +8
Hi Mattx8y,
For details on how to resolve the MySQL SSL error, please refer to this page:
https://github.com/lucko/LuckPerms/wiki/Storage-system-errors#mysql-ssl-errors
For details on how to resolve the max_user_connetions error, please refer to this page:
https://github.com/lucko/LuckPerms/wiki/Storage-system-errors#mysql-exceeded-max-connections
Hi daronhudson,
If you're wanting to use Essentials chat formating to display the prefixes from Luckperms. Please make sure you use EssentialsX instead of Essentials (the X is important) Also make sure you have vault installed as well. You can find the latest version of EssentialsX & EssentialsXChat here:
https://ci.ender.zone/job/EssentialsX/
Upon attempting to have permissions synced via mysql I use the same config on multiple servers. Although one server will not run LuckPerms and throws this error
`[05:46:27] [Server thread/INFO]: [LP] Loading storage provider... [MYSQL]
[05:46:27] [Server thread/ERROR]: Error occurred while enabling LuckPerms v4.2.17 (Is it up to date?)
java.lang.reflect.UndeclaredThrowableException
at com.sun.proxy.$Proxy20.init(Unknown Source) ~[?:?]
at me.lucko.luckperms.common.storage.StorageFactory...
Hi GGNoPotato,
You are running a very outdated version of Luckperms. Please update ALL servers to the same version of luckperms from the following link:
https://luckperms.github.io/
Also, since you're using multiple servers make sure you're using the Luckperms-Bungee version on the bungeecord server & the Luckperms-Bukkit/Spigot version on the spigot servers.
Hi thanks for quick reply.
Even after updating it still does not work. Cant seem to figure out why...
New error:
[06:04:18] [Server thread/INFO]: [LuckPerms] Attempting to apply relocations to hikari-3.3.0.jar...
[06:04:18] [Server thread/INFO]: [LuckPerms] Loading storage provider... [MYSQL]
[06:04:19] [Server thread/ERROR]: Error occurred while enabling LuckPerms v4.3.94 (Is it up to date?)
java.lang.NoSuchMethodError: org.apache.logging.log4j.spi.LoggerContext.getLogger(Ljava...
Both servers are running same spigot version, while one works the other doesnt. I tried disabling one server to see if it was somehow conflicting but it had no change.
Because you are behind so many versions. It might be best to update your configs for all servers runnings Luckperms as well. Make sure the bungeecord server is runnings the same Luckperms version as well.
Currently im just trying to get it running on the one server first then I was going to add the bungeecord version. All the mysql instances are disabled and it still wont load for some reason...
After disabling all plugins and testing 1 by 1 it seems the latest versio of Staff+ breaks it...
https://www.spigotmc.org/resources/staff-the-ultimate-moderation-plugin-1-7-1-13.41500/
Not sure why, but removing it fixed my problem.
I don't understand
Group name is vip+8 and I can not change the name of this group so it can be fixed?
Why can't you change the name of the group? There is a re-name command, Just keep in mind with the rename command you need to also update the groups of all users who are in that group, but that can easily be done with bulkupdate
Ok, I'll think about it.
But could you fix it? Just asking ๐
It's not a LuckPerms issue.
How do you use the LuckPerms pluginmsg messaging feature?
I have LuckPerms on all of my servers and the proxy, and I have the messaging services all set to pluginmsg, but it still doesn't work.
What is your storage type?
This will only work, if all instances of LP share the same database (MySQL, MariaDB, etc.)
It won't work with file-based storage-systems (yaml, json, ...) or the default H2 storage.
Also you can use the default sql messaging service, when using a MySQL-like database (This is default when MySQL or MariaDB are used)
I don't have an available MySQL database. Is there a way I can use a messaging service without one?
No.
Since the messaging service only tells the other LPs to refresh their cached data from the database.
And since files won't be updated accross servers, this wouldn't change anything.
Currently, the API is available on maven, but there's some specific platform agnostic code that exists in common that is only usable as a dependency if one were to manually add a platform jar to their repo. I'd rather be able to depend on the common core from maven.
I know that @bloodmc uses it quite extensively
I actually just removed all usage of common so I won't need this =).
So the issue here seems to be that when adding multiple permissions at a time, the editor will trigger this failure. The log snippet shows a successful use of the editor, when addding a test permission, but then a failed use when editing a group.
LP Info
Running LuckPerms v4.3.94 by Luck.
Platform: Bukkit
Server Brand: Paper
Server Version: git-Paper-524 (MC: 1.13.2) - 1.13.2-R0.1-SNAPSHOT
Storage:
Type: MariaDB
Ping: 0ms
Connected: true
Messaging: Sql
...
I could deploy the common code to Sonatype snapshots or something like that - although I'm intrigued as to exactly what parts you're using?
If it's just small bits, certain methods or hooks, these could be exposed in the API.
[WARNING] [LuckPerms] User bc7ee6b4-a219-3f2e-8e68-85e7ab62db82 - FNGaming doesn't have data pre-loaded, they have never been processed during pre-login in this session. - denying login.
[INFO] Disconnecting com.mojang.authlib.GameProfile@c9d61f1b[id=bc7ee6b4-a219-3f2e-8e68-85e7ab62db82,name=FNGaming,properties={},legacy=false] (/46.217.73.209:51515): ยง7ยงl[ยงbยงlLยง3ยงlPยง7ยงl] ยงcPermissions data for your user was not loaded during the pre-login stage - unable to continue. Please try again later...
Server: Paper version git-Paper-474 (MC: 1.13.2)
LuckPerms Version: 4.3.73
DeluxeChat Version: 1.13.2
Group information: https://pastebin.com/raw/mbTzHgmJ
There's an issue with my chat format being displayed due to a permission issue with LuckPerms. With help from Imortalshard in Discord we've ruled out DeluxeChat being the cause of this (so far).
To give you a rundown, the default group having the permission chatformat.default (with contextual data matching the ...
Appologies, I should really use the search function more often when filing a report. Duplicate / Not-A-Bug.

Conversely, not sure why the test permission worked, but the rest didn't.
`[07:10:53] [Server thread/INFO] [nucleus]: FrostEffects ran the command: /lp log notify off
[07:10:53] [pool-4-thread-1/INFO] [STDERR]: [me.lucko.luckperms.common.command.CommandManager:execute:219]: java.util.concurrent.CompletionException: java.lang.IllegalArgumentException: No enum constant me.lucko.luckperms.api.LogEntry.Type.U
[07:10:53] [pool-4-thread-1/INFO] [STDERR]: [me.lucko.luckperms.common.command.CommandManager:execute:219]: at java.util.concurrent.CompletableFuture.encodeThr...
I'm not too sure what to suggest.
You might be able to use the verbose command whilst using DeluxeChat & writing chat messages to see what's going wrong.
Luck - Last Sunday at 23:21
Fng I'm assuming you're FNG12358 on github
Fng - Last Sunday at 23:21
yes
Luck - Last Sunday at 23:21
are you using craftbukkit?
or spigot?
Fng - Last Sunday at 23:21
yes
craftbukkit
Luck - Last Sunday at 23:21
is your server in offline mode
Fng - Last Sunday at 23:21
yes its cracked
Luck - Last Sunday at 23:22
ok, you need to either make it online mode (not cracked) or use spigot/paper instead
Fng - Last Sunday at 23...
This is a caused when other plugins incorrectly shade the SLF4J logging library. Not something LuckPerms is causing or can fix.
Yep, this isn't a LP issue. You'd need to ask the author of MVdW placeholders to fix this.
If you want to use plugins alongside mods, I recommend using Sponge.
https://www.spongepowered.org/
Bukkit + Forge isn't really supported anymore. If permissions aren't working as you expect them to, then this is likely an issue with the server software you're using, or something to do with the way Pixelmon is checking for permissions.
java.lang.OutOfMemoryError: GC overhead limit exceeded just means your server is running out of memory.
Nothing in any of those logs will tell you specifically which plugin is causing it. No reason to believe it's LuckPerms.
As for practical advice, I suggest removing plugins, especially those written by less reputable authors, which you've updated or installed recently, and see if that fixes the problem.
Alternatively, you can more frequently restart your server, to try to prevent it from getting to a point where it runs out of memory.
Hey lucko,
Cheers for your reply.
I ran verbose and received the following:
[LP] VB > camm_ - chatformat.default - undefined
It's stating the permission is undefined for my user, which means not true nor false, correct?
My groups are:
[LP] - Primary Group: default
[LP] - Parent Groups:
[LP] - > default (server=survival)
[LP] - > default
The group I'm in has the correct permissions:
[LP] default (Settler)'s Permissions: (page 1 of 1 - 3 entries)
`> chatf...
If you remove the context from the chatformat.default permission (i.e. the server=survival part (you can do this easily on the web editor)), does it work? This might potentially be an error with your contexts.
Hey Turbotailz,
I removed the permission and re-added it without context to the default group: LP] Set chatformat.default to true for default (Settler) in context global.
Still doesn't wanna play.
Perhaps the fact that you have the default group set twice (once with context and once without) causes this weird behaviour?
Are you on Discord? Might be easier to help you if you join our support server https://discord.gg/luckperms
@Andre601 I thought that, but I can't actually remove the default parent:
> lp user CAMM_ parent remove default
[LP] camm_ no longer inherits permissions from default in context global.
I assume the above would remove the default parent with no contextual data, however it still displays both groups.
@Tur
Are you on Discord? Might be easier to help you if you join our support server https://discord.gg/luckperms
I am in the Discord already :)
After adjusting all the groups/permissions to remove contextual data and have everything global, and trying some troubleshooting with Unlucky Mods on Discord, the problem still persists.
The permission chatformat.default being added directly to myself works, verbose and in-game chat confirms this. The same permission being added to my primary group, doesn't work, verbose and in-game chat confirms this.
I'm really not sure what else to do, adding permissions per player per ran...
The error continues with version 4.3.94, updated yesterday.
The most affected nodes that LuckPerm tries to control are:
- towny.town.spawn.town
- towny.town.resident
- towny.chat.general
- towny.chat.town
- towny.chat.local
4. However, LuckPerms does not have to register these permissions, nor mark them as denied, because these permissions are controlled by the townyperms file
You're misunderstanding how the townyperms file works. Everything is still controlled through LuckPerms.
Just to reiterate what I've said already:
Even "keep trying this" x times until the issue appears is fine - I understand it only happens sometimes.
However, I have never used Towny before and don't even know where to star...
Yup - basically your server can't connect to the network/internet and access bytebin.
Caused by: java.net.ConnectException: Network is unreachable (connect failed)
Detect https://github.com/lucko/LuckPerms/wiki/Installation#craftbukkit-and-offline-mode
Should be possible by using reflection (or otherwise) to parse the implementation version string & read the offline mode config setting.
OhGodTriplePost
Issue is resolved, took Turbo's advice and just wiped everything and set it up again. Everything is exactly the same but at least it works now.
Cheers to everyone for your help!
This should stop for new or users with 0 knowledge this error and stop wasting time to search.
[Thu, 21. Feb 2019 12:12:47 CET WARN] Thu Feb 21 12:12:47 CET 2019 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 se...
This makes it insecure by default? Doesn't seem very sensible to me.
it says right there in the warning message:
Establishing SSL connection without server's identity verification is not recommended.
No it says too you have to disable it and you can re-enable it by change the config. I only see you are think it makes it insecure but you are wrong with this way of thinking.
You're misunderstanding how the townyperms file works. Everything is still controlled through LuckPerms.
I know how the towny permissions works perfectly.
And I keep telling you, that your plugin does not have to control these permissions.
Because in this way LuckPerm can not differentiate between which users have ranges in towny and which do not.
I can not assign permissions of assistant, mayors or other towny ranks through LuckPerm.
https://pastebin.com/hKNFz7QP
I'll take ...
I also don't see a reason, why the config would have useSSL with a default value of false.
There are only a very few people that report issues with SSL and adding the config option manually isn't that much of an issue.
Most MySQL systems always have SSL active by default, since in most cases they are hosted by a Server-host.
And since those databases are often used by multiple people with multiple different IPs a SSL connection is a must have to make sure, that a secure connection is given.
I only see you are think it makes it insecure but you are wrong with this way of thinking.
Also as I stated just now, do most people run their server on a host.
And in those cases is the MySQL database most likely on a separate server with separate IP.
Having SSL-check disabled by default would give a potential for people, to abuse that.
And I keep telling you, that your plugin does not have to control these permissions.
It's not doing anything special to "control" them.
- Causing the / t spawn error -
Here's a log of me testing the first "error" you described.
I ran though the steps 10 times, worked fine every time.
[14:26:30 INFO]: Done (9.021s)! For help, type "help"
[14:26:30 INFO]: Timings Reset
[14:26:30 INFO]: [TownyChat] -******* TownyChat enabled *******-
[14:26:31 INFO]: [Vault] Checking f...
int permsamount = Main.lp.getUser(target.getUniqueId()).getOwnNodes().size();
List<Node> perms = Main.lp.getUser(target.getUniqueId()).getOwnNodes();
this is the way im getting the permissions but it shows other stuff aswell which i dont want how would i fix this?
do what you need. i dont understand you it is stupid dont use simple settings.
The issue is you only deployed LuckPerms API 4.3 but I'm depending on 4.4 which doesn't exist on maven.
setContexts was added in 4.4 which is why i'm getting NoSuchMethodError
This can be closed as I am only using API now.
The only sensible option would be to explicitly enable SSL and certificate verification.
The inexperience of some shouldnโt be the reason for insecurity of many.
Because if we did that it would be like saying we canโt use passwords anymore because some people forget them.
Insecure by default is a very bad idea. And a much bigger issue than some people struggling setting up the plugin.
I also believe that if you canโt find the solution to a problem which solution is explained in th...
Do you use MySQL storage using LuckPerm for bungee and for spigot?
I start thinking that I'm crazy or something
the next time I try to provoke this error I will document everything as detailed as I can
Suppose I have a track that looks like the following:
default -> donator1 -> donator2 -> donator3
With the way I set up perms (following Microsoft best practice), groups represent roles, and as such, those groups only have as many permissions as is required to fulfill that role and nothing more. This means, the default group, which acts as my member role, will only have those permissions required by the entire playerbase regardless of staff membership, donation, and so forth.
An ...
your perm groups should inherit the previous group as needed. this means any promotion along that line will maintain previous perm groups.
your perm groups should inherit the previous group as needed. this means any promotion along that line will maintain previous perm groups.
That's a very good point, @ktole1999. And that matches the recommended configuration. The issue is if you want to automatically promote without them manually being added to the lowest group of the track, then one needs to make the lowest group of the track the default group. This works well, as long as there is only one track - users will be p...
Iโd like to point out that if you promote someone on a track that they are not on, they get the lowest group in the track added to them.
I really think this would have been far better suited to be discussed on the Discord.
In general itโs best to talk about suggestions in a Discord if available.
I agree Discord may be a better place to have a discussion.
My server has three tracks, one for graylisting, one for staff, and one for donors. The setup that works for me is:
Track | Path
---------+----------------------------
Greylist | default -> greylist
Staff | chatmod -> mod -> admin
Donor | donor
And I have both chatmod and donor inheirt the greylist group, and it works well for me.
Hello, Maybe you guys can help me.
When I try to use a sign I made with essentials, i can only use them as a server OP. Nobody can use them even as owner with all-perms. The only way I can use the signs is if i'm op'ed from the server cmd. Even when i give myself in-game all-perms. as my personal account, warp signs wont help. I even went through the config. files and checked everything to the best of my ability. Please help. Here are some picture for you to see the perms. of all group...
for starters you can remove the * from your perm nodes. not needed. just use the base node: essentials
@ktole1999 I'm assuming you're referring to the owner permissions?
Any perm.* reference should be changed
Sent via the Samsung Galaxy Sยฎ 6, an AT&T 4G LTE smartphone
-------- Original message --------
From: ShadowAngel25 notifications@github.com
Date: 2/27/19 8:34 AM (GMT-06:00)
To: lucko/LuckPerms LuckPerms@noreply.github.com
Cc: Bebo ktole1999@hotmail.com, Mention mention@noreply.github.com
Subject: Re: [lucko/LuckPerms] Can't Use Signs (#1443)
@ktole1999https://github.com/ktole1999 I'm assuming you're referring to the owner permissions?
...
@ktole1999 incorrect. That only works on Sponge.
And in regards to your problem @ShadowAngel25 I'd highly recommend you debug your permission issues with Verbose.
Also please keep in mind that LuckPerms is not responsible for the actual permission nodes. When you're having issues with plugin's permissions, ask for help on their support places.
Hello, Maybe you guys can help me.
When I try to use a sign I made with essentials, i can only use them as a server OP. Nobody can use them even as owner with all-perms. The only way I can use the signs is if i'm op'ed from the server cmd. Even when i give myself in-game all-perms. as my personal account, warp signs wont help. I even went through the config. files and checked everything to the best of my ability. Please help. Here are some picture for you to see the perms. of all groups....
Essentials pretty much always means Spigot/Bukkit
Hello, Maybe you guys can help me.
When I try to use a sign I made with essentials, i can only use them as a server OP. Nobody can use them even as owner with all-perms. The only way I can use the signs is if i'm op'ed from the server cmd. Even when i give myself in-game all-perms. as my personal account, warp signs wont help. I even went through the config. files and checked everything to the best of my ability. Please help. Here are some picture for you to see the perms. of all gro...
As I said, check out Verbose https://github.com/lucko/LuckPerms/wiki/Verbose
I'm sorry, but i have no idea how to debug this stuff with verbose so idk what youre talking about. I looked at verbose but i don't understand it. I know that commands are fine because I can use the signs as owner with the essentials.* node. So i'll just talk to the developers support about this.
Most likely an issue with either your login cridentials being wrong or the settings in LP/MySQL not being setup properly.
Whatever it is, it not really is an issue caused by LP itself.
Well, I checked my settings, they seem good to me. So how exactly is this not a LP problem? You didn't give an explanation...
It doesn't need to be a fault on LPs side, since a missconfiguration on your MySQL database (for example a too short lifetime for connections) can cause that too.
And the error clearly states, that LP tries to connect on an already closed connection, which means that either the setting in the config of LP or the one in MySQL is set wrong.
I already linked the page about common errors in storage systems and yours could be one of 2 listed errors.
Ok, wasn't saying it "had" to be LP's fault, I just needed a better explanation, thank you, I will speak with my host.
Just use /lp verbose on <your IGN> and use the signs, to see what permissions are checked.
You can then disable verbose again after that with /lp verbose off
LPs verbose can return permissions with three values:
trueThe user has permission to use the command/function.falseThe user has the permission, but it is denied.undefinedThe permission isn't set for either the user and/or the group.
With node you mean the permission of a user?
In that case you may want to use me.lucko.luckperms.api.PermissionHolder#getPermissions
I never used the API, so I can't say if that would be the right/better way to do.
It would be a good thing to join the Discord and ask in the #api channel for support if ...
So I need to access the User data for x player and I'm facing a problem where the User class cannot be found by getting it using the player's UUID. So I need a way to "force load" the player data into LuckPerms cache or whatever...
Please reply to this ASAP. Thanks ;D
Ok, it was literally because I was missing :3306 on the address, the config file states that can be omitted, this description needs to be updated based on my experience.
unable to get instance of API inside a plugin running on the proxy (BungeeCord) all servers including the proxy are running LuckPerms, and my proxy plugin is depending on LuckPerms plugin.
Here's the error
`18:40:24 [INFO] Enabled plugin LuckPerms version 4.3.99 by Luck
18:40:24 [WARNING] Exception encountered when loading plugin: ProxyQueue
java.lang.IllegalStateException: API is not loaded.
at me.lucko.luckperms.LuckPerms.getApi(LuckPerms.java:54)
at ca.pureplugins.gg.dawn.P...
Donโt shade the API in.
Update your MySQL server.
to what version.
I have currently
8.0.15
Latest. Though itโs weird that MySQL 8 is having issues with that.
MariaDB [(none)]> create database minecraft character set UTF8mb4 collate utf8mb4_bin; ERROR 1115 (42000): Unknown character set: 'UTF8mb4'
idk if I miss something
I try /lp editor and get this in the console:
[15:32:58 WARN]: java.lang.RuntimeException: java.net.SocketTimeoutException: Read timed out
[15:32:58 WARN]: at me.lucko.luckperms.common.web.StandardPastebin.post(StandardPastebin.java:155)
[15:32:58 WARN]: at me.lucko.luckperms.common.web.StandardPastebin.postJson(StandardPastebin.java:122)
[15:32:58 WARN]: at me.lucko.luckperms.common.commands.misc.EditorCommand.execute(EditorCommand.java:110)
[15:32:58 WARN]: ...
The server behind the editor is currently experiencing issues.
I can't give you an ETA on when it will be back.
I apologize for the inconviniece.
Known. backend is offline
Thank you much for the update.
Was just wondering about this, same issue. ๐
Interesting. I think it would be cool if the Minecraft server itself hosted the editor. That would extend the life of the plugin significantly, and it could just snag any open port to run the editor out of. I wouldn't expect such a setup to cause problems with hosting providers, either.
It's designed like that on purpose. Because most servers don't have the luxuxy of being able to have any additional port they like. Especially when using hosters.
The solution with using an external datastorage allows everyone to use the editor without any additional setup.
Also the editor and the bytebin backend are open source aswell. There's a rough guide on how to set it up yourself and how to change the URLs, so it works with your selfhosted instances.
Oh, I see. That makes sense, thanks.
It's possible to that with LP too, as I've mentioned.
Yep, that's what I said lol. Great to see projects this old (and relatively small) being very well maintained!
is it still down?
As i still cannot access it
me too u.u so i think is still down X)
@BrainStone where is the guide for host editor please? :o it's quite interessting :)
@Turbotailz thnaks you ! :)
All is working, the game directs me to my hosted interface etc.
Clicking the link to open the editor/verbose/tree takes me to my webpage.
After that, I get this message.

No errors/messages are shown in the server console.
Luckperms v4.3.99
Spigot server
is this possible on a windows machine , as my server for the time being is on a windows machine
Yes it is possible to host it on a windows machine, I just now have it runing (only with 1 minor error that stops the whole lot working)
okay i just installed ubuntu
You shouldn't need a full install of ubuntu, gitbash etc works fine to set it all up, I did the entire setup using windows and nothing else. You just need to have your own webserver to host the editor/verbose/tree pages. Apache webservers are great for that.
When you try to start the editor (/lp editor) and an error appears in the server console (502 Bad Gateway) and a link to the editor is not generated.
Pastebin: https://pastebin.com/9LCDweki
I think that is related to another issue: https://github.com/lucko/LuckPerms/issues/1448
Web-site is already working, command operational.
Thanks for reporting - all fixed now :)
Thanks for reporting guys - I'm sorry for the inconvenience.
Should all be resolved now.
What was the solution, out of interest?
loadUser method - for anyone looking at this in the future. :')
Going to close for the reasons stated above - I'd rather just keep the default settings.
May be fixed by 2cf919a17a72d3cdfaf0880275a767a3808e9523
Are those errors showing on startup, or just periodically whilst the server is running?
okay im confused about the proxy, do i need it or not
No. It just allows you to have the bytebin available at a nicer URL
ive asked in the discord channel and havent had any help with it ive tried #getPermissions but that also has alot more information that i dont need all i need is all the players permissions with group perms
The getOwnNodes method should do what you need.
You can then extract the permission from the Node object using the getPermission method.
Call node.getPermission().
what would i do though?
List<Node> node = Main.lp.getUser(target.getUniqueId()).getOwnNodes();
node.getPermission();
would it be like this?
While server is running, I have increased max connections and idle connections, no errors yet, will report back.
I have this issue on LuckPerms 4.3.99
I have to use /lp sync everytime so players can for example if they are rank assistant get the assistant nodes on their town..
LP is kicking a player with colors in the message, the server itself is what is logging the actual kick (with the colors)
I had set vault-unsafe-lookups: false (I didn't really want to, but it was the recommendation of all the errors by LuckPerms spit out below. I did some more reading about those errors and it seems the LuckPerms devs all agree it is the cause of other plugins. This likely caused the errors I was getting above. Can you help me to know who I should be contacting? WorldGuard? Citizens? So many different plugins are listed below I'm not sure which ones I should be approaching. Thanks!
https...
For some reason, whenever I update the default group permissions in GP it does not take effect until AFTER I restart server. Here is the code
public boolean setPermissionValue(PermissionHolder holder, String permission, Tristate value, Set<Context> contexts) {
DataMutateResult result = null;
ImmutableContextSet set = ImmutableContextSet.fromEntries(contexts);
final Node node = GriefDefenderPlugin.getInstance().luckPermsProvider.getLuckPermsApi().g...
I am using version 4.3.73 for my game servers... I took all of the nessasary steps to migrate from PEX to LP, although when I run /lp listgroups I do not see any of our old PEX groups.
-First I connected all our serverโs PEX filed into the same database
-Then I downloaded LP on each server
-After, I ran the migrate command
-I then ran the bulk update command
-After that I ran the export command
-I deleted all PEX files
-I shut down all of our servers and configured LP onto the same da...
Did you remove PEX at the end?
Did you remove PEX at the end?
@Andre601 Yes, although I did not remove the PEX folder just in case it didnโt work, only the .jar
<sub>Sent with <a href="http://githawk.com">GitHawk</a></sub>
Sorry about closing it, that was a mistake
<sub>Sent with <a href="http://githawk.com">GitHawk</a></sub>
I managed to refresh the cache myself which I assume is the correct way to handle caches on Bukkit?
if (result.wasSuccess()) {
if (holder instanceof Group) {
final Group group = (Group) holder;
group.refreshCachedData();
for (User user :GriefDefenderPlugin.getInstance().luckPermsProvider.getLuckPermsApi().getUserManager().getLoadedUsers()) {
if (user.inheritsGroup(group)) {
...
What if there was an option to disable the stack trace data that is displayed on hover? Or if you could enable that with the command e.g. /lp verbose debug <filter> or something and have stack trace disabled by default (most users likely won't care about this anyway).
Worldguard seems to be the culprit, removing it solves all my console Error spam. I will pursue that path for now. Thanks.
So...
my problem is that I'm currently working on a bigger project and now the time comes to use luckperms as permission system. I'm developing a Mod and Plugin which run on SpongeForge. When I now try to run the server and then connect via client to the server, i get this error:
[19:55:43] [User Authenticator #1/ERROR] [Sponge]: Could not pass ClientConnectionEvent$Auth$Impl to Plugin{id=luckperms, name=LuckPerms, version=4.3.99, description=A permissions plugin, url=https://luckperms....
Don't shade the API.
In fact never shade any API, unless told otherwise.
The Javadoc (and your IDE) should help you figure out which method is the correct one (I don't know by heart)
in my project I added the API Maven repository in my gradle build, but then i need the binaries at runtime so luck perms can function, so I added the normal luckperms sponge jar to the run/mods folder... whats with that the problem?
after several days, in a clean server I have managed to make the errors appear.
However, it is really complicated to occur and even more if the test I'm doing only with 2 accounts.
-> On my test server I can make the error, every, much, much, much time by entering commands
-> In my online server, as the number of users interacting with the plugin is much greater, failures occur with greater ease and speed.
Disappointingly I have not been able to take a series of steps to produce the...
ive already looked at it ive found out how to get the nodes but it shows other stuff aswell i just want the list to show like perm.test.1, permtest2
How did you add the API to the project (in gradle)?
Now is the best time to familiarize yourself with Java Streams. Easiest way to bulkedit lists and collections in Java.
And how to get the permission from a node should be trivial to figure out with your IDE.
This is a question I see quite often in the Discord - someone comes from PEX and gets worried when they don't see a permissions.yml file. So instead of accepting the learning curve and learning a new system, they decide that remaining with what they know, even if it's detrimental for the server, is better than the objectively better system. This FAQ entry would provide some insight into why LP doesn't default to flat file permission systems with a hope of dissuading someone from using it wi...
I added the api for my Addon with gradle:
repositories {
mavenCentral()
}
dependencies {
compile 'me.lucko.luckperms:luckperms-api:4.3'
}
and I've then added the binaries with the mods folder... so i moved the LuckPerms-Sponge-4.3.99.jar in the SpongeForge/run/mods folder
I am using BungeeCord and if someone changes his Minecraft name his rank on the spigot servers is gone but the rank on the bungeecord stays.
Is the bungeecord option turned on in the spigot.yml on your spigot settings? If this is false, the spigot server may get the wrong UUID information.
This is likely a configuration error.
in the wiki there is a migration section. https://github.com/lucko/LuckPerms/wiki/Migration that explains it.
Citizens / WorldGuard yes.
The latest set of warning messages aren't related to the first ones. :)
i have this error in console java.lang.NoSuchMethodError: org.apache.logging.log4j.spi.LoggerContext.getLogger(Ljava/lang/String;)Lorg/apache/logging/log4j/spi/E
and in minecraft when i connect from the bungee i get a database error occured whilst loading permissions data. please try again later.
This gives like 0 information for us.
Please provide the startup log for your BungeeCord through https://paste.helpch.at (And maybe also Spigot log)
Commit https://github.com/lucko/LuckPerms/commit/3726f6de4132c64e07e25b9b33c3da7acddbfcd1 broke jenkins builds due to missing license header in common/src/main/java/me/lucko/luckperms/common/util/CaffeineFactory.java
https://paste.helpch.at/meduxogave.coffeescript is the startup log and i dont have luck perms on the bungee yet
Hiya,
The latest luckperms does not allow for the security options necessary to manage a secure MySQL installation as of versions that have been out for a good while now (at least a year). Please refer to below.
Every time luckperms accesses secured MySQL, the log generates this. This is normal for plugins that ignore secure vs insecure MySQL and there is no way to stop these.
[07:35:18] PST 2019 WARN: Establishing SSL connection without server's identity verification is not recommen...
I think you have to use compileOnly instead of compile in the dependencies section, so the api doesnt't get included in the build
The configuration file has a connection properties for specifying properties like that which lets you specify any connection properties you want, including useSSL
LuckPerms has an option to disable SSL verification which you have to add manually to the config.
This is explained in the MySQL SSL error of the storage error-page on the wiki.
Hi guys,
I am currently running on Sponge with Nuclius and LuckyPerms. But I have a problem where when a player types something in the chat you will see his name twice.
https://prnt.sc/mvuqkz
Can someone help me out?
Kind regards,
Maxs
Entirely up to your chat plugin. Which is Nucleus in your case.
Do you know where in Nucleus I can edit this. I cant find it
Curently (version 4.3.75) if I select split storage and configuring it to save only groups and tracks into my database (postgres) - all other luckperms_* tables are being created. Specifically user_permissions, actions and users. And since they have no functionality with such configuration and only cluttering my DB schema it would be such a great addition to skip tables creation for not configured data types.
I have checked the code and see that SqlStorage.init() method have no parame...
i get this error on using luckperms with bungeecord
it's werid like the error is happens on randomly player
it's start spamming when that player online, it's stopped spamming when that player loggout
`21:55:59 [ๅด้] ?T?? 10, 2019 9:55:59 ?U?? net.md_5.bungee.event.EventBus post
??i: Error dispatching event PermissionCheckEvent(sender=migitpigie, permission=bungeecord.command.list, hasPermission=false) to listener me.lucko.luckperms.bungee.listeners.BungeePermissionCheckListener@aeab9a1...
I assume this is related to and resolves #1458?
What BungeeCord version do you use?
What LP version do you use?
Is your BungeeCord in online or offline-mode?
Ah woops, sorry I missed this. :(
Fixed already by d1511e43f2e1d4e900e119756cc87ba76ded9a17
At what stage did the migration fail?
Were all of the groups migrated successfully before you tried to use the export/import commands?
This isn't a LP error, it's most likely being caused by the hotloading your IDE is doing.
Setting to compileOnly might be a good fix. :+1:
You may find that running with a flat file storage system causes LuckPerms to run much slower than usual, and it will complain of such in the server console.
This isn't true - it won't have an impact on the speed at which LP will run.
I'm happy to add a FAQ entry for this, but I believe it is already covered somewhat by the benefits/drawbacks section of this page.
ไฟฎๆนๆฐๆฎๅบ็ผ็ ไธบUTF-8ๅณๅฏ่งฃๅณๆญค้ฎ้ข
Fix this by changing the database encoding to utf-8
Enabled yaml file but can't get any of the permissions to work
name: default
permissions:
- ftbutilities.homes.max: <10>
- ftbutilities.homes.cross_dim
- command.ftbutilities.tpa
- command.ftbutilities.tpaccept
- command.ftbutilities.sethome
- command.ftbutilities.home
- command.ftbutilities.delhome
- command.ftbutilities.back
- command.ftbutilities.warp
- command.ftbutilities.setwarp
- command.ftbutilities.delwarp
Have also tried adding :true to the end to no avail
Been trying to setup perms for awhile if anybody can help would be greatly appreciated
We do not recommend to manualy edit permission.
Use ingame commands or the web editor.
Also there's the verbose command of LP that helps you to find out what permissions are checked for what plugin.
Check the wiki for more info.
I agree with @SimonOrJ - most likely a config issue.
Please follow the steps outlined here.
https://github.com/lucko/LuckPerms/wiki/Network-Installation
:)
Please try updating to the latest version of the plugin to see if that resolves the issue.
You can define extra connection properties in this part of the config file.
You're quite right - however, this would require splitting up the schema files. :/
I'm not too keen on doing this, and would rather just have redundant (empty) tables - the effort required to tidy this up doesn't justify the benefits imo. Hopefully you see where I'm coming from.
Can you set this option to true
Then restart your proxy, try logging in, and then provide the newly generated log file.
The ftbutilities.homes.max: <10> line seems like incorrect formatting? I don't know what you're trying to achieve there though.
As Andre said, if you're not comfortable editing the files directly, I suggest using commands or the web editor.
This is already the case.
sorry for late, so i just have to open it login and give you logs?
because it's randomly picking players
I feel like some subcommands should be changed / have an alias like:
/lp listtracks -> /lp tracks
/lp listgroups -> /lp groups
Also a universal /lp delete command would be easier to use, like /lp delete <group/track>
This is a fantastic plugin and is very easy to use, these are just some suggestions
It just feels a bit more intuitive to me
Hey its there a way to purge inactive players data?
Define inactive players.
Also why exactly are you concerned with that?
The database will take up a few MBs max
Like... A player who does not connect to the server for more than 90 days(exemple) ... There is an automatic way to "clear" on the user?
No. As LP does not track the last login of a player.
If you have a plugin tracking that, you can potentially use the LP API to clear the data.
But again. There's no real point in doing that.
When testing things for my server I tried using the /lp group <group> permission set pixelmon.command.pokegive true command to give my admins the /pokegive command, and it went through. But when attempting to use the pokegive command it did not work. It worked only once I used the /lp user <user> permission set pixelmon.command.pokegive true to give myself access. I ampart of the admin group, so it should have worked, But it doesn't, and if I run the group command again it says that the admin...
Hey, i am kinda "new" to spigot peogramming, and i wanted do connect my Chat plugin with Luckpers. i e. I want to get the prefix from the User/group.
Hwo do i do this?
I have no clue!
I use Eclipse and i dont know how to "connect" the API to Eclipse.
Use the Vault API instead. Thatโll mean you automatically support any permission plugin that supports Vault too (essentially all of them) and using it is easier and a lot more streamlined for chat plugins. And there will be a lot more people being able to help.
Hello i have a litle problem with luckperm with SQL in deed:
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
[05:00:32 WARN]: at sun.reflect.GeneratedConstructorAccessor264.newInstance(Unknown Source)
[05:00:32 WARN]: at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
[05:00:32 WARN]: at java.lang.reflect.Constructor.newInstance(C...
I submitted this error to both citizens2 and worldguard. Worldguard said the latest update just hides the issue, but the root cause has to do with citizen2 and luckperms.
Citizens2 told me it was a worldguard issue, but also a luckperms issue. Probably worth a look at.
https://hastebin.com/dojavitiko.sql
Latest Paper 1.13.2
Latest Luckperms 4.3.109
Latest Citizens2 Citizens-2.0.24-b1625
Latest Worldguard 7 Beta 3
Essentially, this LuckPerms warning stacktrace shows:
com.google.common.util.concurrent.UncheckedExecutionException: com.google.common.util.concurrent.UncheckedExecutionException: java.lang.RuntimeException: The operation to load user data for 'cfa4fcb1-a786-23fc-b956-33914c7bb373' was cancelled by LuckPerms. This is NOT a bug.
The lookup request was made on the main server thread. It is not safe to execute a request to
load data for offline players from the database in this context.
...
Another possible solution (which would enable proper permission checks for NPCs) could be to get LuckPerms to load the data too when an NPC is spawned/added. Not sure which events LP is listening on exactly but I would imagine it just uses one of the join/login events, could NPCs call these when the "join" (spawn)? (Although I would imagine that this would cause issues on server start as every NPC would then join at once :thinking:)
But at the same time it could enable plugins that listen ...
Greetings!
I recently had a hacker on my server somehow bypass UUID auth, can we have a toggle feature to remove all permissions if the UUID doesnt match with the original UUID the user used to log in?
https://hastebin.com/ohuqebubev.makefile
this is the new logs when i open debug-login
i will give one more log when the error shown up
Is this cracked server? (offline mode)
Is this cracked server? (offline mode)
obv he does
I mean it's your own fault/risk when the server is in offline/cracked mode.
Because there is virtually no real method to fake a UUID with a cracked account on a online server, since the account will be checked on login, if the UUID is a legit one (and probs even if the name is the same)
get a better Auth plugin, or code one yourself (thats what I did for mine ;p)
do they realize thats what can happen in offline mode?
Hello, I was having an issue with UUIDs after switching my network from offline-mode to online mode, Is that not possible? Is there a way to do it? Am i missing something?
The UUIDs are different. And players are identified by their UUIDs. So naturally that won't work.
And to my knowledge there's nothing that can be done that isn't manual work.
As I mentioned in Discord, I think this would be better handled by an authentication / 2fa plugin.
Thanks for the suggestion, but on this occasion I don't think it's something I'd like to add to the plugin.
I don't think LuckPerms should be coding special cases to handle Citizens NPCs. I also agree it is not WorldGuard's fault.
I personally think the most sensible solution is for Citizens to provide its own Vault implementation which handles lookups for NPC UUIDs, and delegates all other calls to the existing provider.
It wouldn't necessarily be special cases for Citizens NPCs, rather special cases for anything that isn't an actual player, which theory any number of plugins might use - Citizens just being the big noteworthy case.
A Vault permissions provider like that could make sense as well, though...
This isn't a LuckPerms error.
See here for more info: https://github.com/lucko/LuckPerms/wiki/Storage-system-errors
The API documentation is available here: https://github.com/lucko/LuckPerms/wiki/Developer-API
Unfortunately, I can't provide general programming help. You can search online for how to import other jars into your Eclipse classpath.
Very unlikely to be a bug, you can use verbose to try to work out what's going on. :)
Allow us to import Ultra Permissions groups and perms. To see the plugin, look here:
https://www.spigotmc.org/resources/ultra-permissions.42678/
This has been requested numerous times. But due to Ultra Permissions not providing an API it is not possible.
Not only does it not have an API, the internals are organised in such a way that makes it pretty much impossible to extract data without a lot of supporting code.
It's also a paid resource, which I'm certainly not prepared to purchase. :wink:
That log doesn't contain any of the errors?
I'm going to be revising the aliases soon, although, it will most likely be to remove a lot of them.
Tried to find my previous comment on this - but haven't been able to. Basically, the issue with adding aliases is that it can be confusing/misleading when the aliases do weird things.
For example, there's an alias from /lp user <user> set <permission> to the actual command, /lp user <user> permission set <permission>.
However, users can mix this up, and run `/lp user <user> set pe...
Will happily accept a PR for this.
Could anyone tell me what this error means?
https://pastebin.com/aUXkHDfQ
Using the LuckPerms Legacy, since I am using a 1.7.10 paperspigot build.
Can't join the server since it says "Luckperms has a issue with the database" or something like that.
Hello, I think i may know what's causing this issue, It's the remapped hikari, I will send you an edited version of it, But keep in mind this is not from the official build and it's something me and my dev made.
P.S unzip it, Delete the remapped-hikari that is generated by the plugin and replace it with this one. And start your server, If your database is working the server should work just fine
Did you try migrating while using a database? I assume so since you said " PEX filed into the same database"
If that's the case, Store everything on permissions.yml pex file without using a database. Then migrate.
My plugin has a non-default permission. I need to use the command that checks this permission in console. How can i do it with console?
I may have set up my groups wrong, but I am having trouble adding multiple prefixes. If I set a format to be the highest on track, it'll set the player's rank to the highest group inside of the parented group. How would I set it so it shows all of the prefixes they have?
Since the error doesn't shown up for a long time
i used the lastest build, maybe it's fixed, i will reopen this issue when it's happend again
i'm sorry that i didn't catch the moment that the error start spamming up
it's ended when the target player logout, i will try to catch the moment
https://hastebin.com/kelusoyeke.rb
Give them all of the groups that you want them to have a prefix for, From my experience, Giving someone the highest rank in a track does not give them multiple prefixes, Because the priority is always gonna be the top rank prefix, Unless you give them multiple ranks. From another track
/lp user (name) permission info.
/lp group (name) permission info.
Please read the wiki before posting an issue!
Have you ever tried /lp user CONSOLE permiossion ?
Or did you read my issue carefully?
there is no such thing as console permissions, /lp user CONSOLE will edit the user called "console" not the actual console.
So i wrote this issue to add console specific permissions.
It isn't possible to take away or give console a permission. Permission is where you can type any administrative commands.
The console isn't a player or group. It has full access to all permissions, and you can't change that.
If a command doesn't work from the console, then that's because the command itself refuses to work on the console. For example, a command like Essentials' /suicide refuses to work on the console, because the console isn't a player and can't die. This has nothing to do with permissions - it's just how the commands work.
If plugin.yml's permission's 'default' is set to false, console can't use the command with LuckPerms
@lucko Hello, thanks for the information ๐
Neither there is a way to make it possible. Luckperms will not be able to give console permission to do it
lmao, I don't trust you. I just need a official answer on what the error means exactly, and from someone who is apart of LuckPerms.
Yep I completely understand! But let's hope you get your problem fixed, Because I don't know if the version you're using is still supported
I have the plugin purchased and yes it does have an API, But adding a migration from it takes ALOT of time and not many users use ultra permissions, So it isn't really worth it. but if it's really important, I'm sure if you pay someone to do it manually you can find plenty of people.
Itโs not even have login message when the error start spamming, can you make a debug for this, like kicking that player when the data not existsing
If you manage to find a link to the API, that would help. Saying it's offering an API and actually offering one are two different things. And I honestly can't find it.
The guy already sent a link above. You need the plugin before you use the API obviously.
That's a link to an update note. And the plugin. Not the API itself. Which needs to be accessible externally. Else it's utterly pointless.
Just wishing to know what the error means.
luckperms doesnt use the slf4j logging It uses default bukkit logging, Atleast in that version, Can you try loading it up with no plugins other plugins? (I think Vault is required)
And tell me if the error is still there
There actually is API notes attached to it.
Nope, it isn't. The plugin itself is the API, you cannot use the API without the plugin, As they mentioned in their discord server
Which makes it useless.
If you join his discord server, you can get the API directly.
I know there are similar issues out there but I am a newbie at all this stuff so didn't understand a word of it. The server boots completly fine but when a player joins the real issue occurrs: [LP] An database error occurred whilst loading permissions data. Please try again later. I looked in the console and found this: https://pastebin.com/XbsVfY3y. I don't know what is happening at all I've had my server for a few days now and it has worked completly fine so...
Can you please update to the latest version of LP https://luckperms.github.io that may fix it
like was mentioned if console cant run command then that command is meant to run in game by player
Hello, I also got the error myself just today. Something hung my server up soon thereafter.
[01:18:46] [Netty Worker IO Thread #7/WARN]: Error dispatching event PermissionCheckEvent(sender=[redacted], permission=[redacted.perm.node], hasPermission=false) to listener me.lucko.luckperms.b
ungee.listeners.BungeePermissionCheckListener@143d9a93
java.lang.IllegalStateException: No permissions data present for player: Babybread - 61aa3342-21e6-41a5-8f71-cda7da2cda44
at me.lucko....
Hello, I also got the error myself just today. Something hung my server up soon thereafter. The [redacted] player has been playing on the server for a while, so their data definitely exists on the server.
[01:18:46] [Netty Worker IO Thread #7/WARN]: Error dispatching event PermissionCheckEvent(sender=[redacted], permission=[redacted.perm.node], hasPermission=false) to listener me.lucko.luckperms.b
ungee.listeners.BungeePermissionCheckListener@143d9a93
java.lang.IllegalStateExcept...
Note: I Have this error only in my hub, also I've tried the "Storage system errors". But it works correctly on other servers.
my error: https://pastebin.com/NjRQpQVX
It doesn't matter when it works on other servers.
When it doesn't work on that server, then it doesn't work.
Double-check that you followed the same steps, that you use the same version (preferably latest) and that everything listed here is correct:
https://github.com/lucko/LuckPerms/wiki/Storage-system-errors#luckperms-cannot-connect-to-my-mysql-server
Please update to the latest version
https://luckperms.github.io
That alone will fix many problems.
I updated it for every server, and bungee seems to be having that issue now. Storage system errors I fixed earlier and I've had Bungee issues earlier too. Is Hexacord incompatible?
Update: I even tried switching database (Everything from cannot connect to the database).
What storage method are you using? Are you sure the database is working? You can test it with another plugin and see if it works.
MySQL, other plugins it works. I've never had issue that i need to make thread here.
It is working with other servers and plugins.
Use MariaDB Instead of MySQL, And double check if you entered your data right, If that doesn't fix it guess you have to wait for Luck to see the issue here
I could if my eu host would have that option, my us host (only for 1 server and its for other kind of server) may have it as it is multicraft?
I checked it alot of times.
MariaDB works with any MySQL database. Its just a better storing method for LP than MySQL
Oh, i've always though they were completely different.
Nope, it works fine with any database
Okay, rightnow i'm not at home, i can try later.
whenever i try to use placeholder api i will get the error of ERROR:me.lucko.luckperms.sponge.service.reference.CachedSubjectReference Cannot be cast to org.spongepowered.api.service.permission.subject in virtual chest I am trying to use placholder apis %rank% or whatever it is and get that idk if it would just be the 1 thing as ive had nothing else to test it in but will later
I am not truly certain how to explain this issue further except with a bunch of photos.
I am using VaultChatFormatter (because I thought the problem existed only within EssentialsXChat) with the following format: format: "{prefix}{name}{suffix}&7:&r {message}"
I have configured prefix stacking to work as such:
prefix:
format:
- "highest_on_track_staff"
- "highest_on_track_donor"
- "highest_on_track_local"
duplicates: first-only
...
Does papi have support for sponge?
Also have you downloaded LuckPerms sponge from jenkins?

Unsure if this is an issue, given that the prefix displays properly in game with the UTF-8 symbol.
Sponge
Luckperms 4.3.109 has happened on multiple previous version.
Error : https://pastebin.com/EQk4yRDi
I'm unsure on what file I need to edit to fix the issue.
Hi there, I've been loving LP so far, and I have a suggestion for the devs. Can you please add a addtemp command so that we could add more time into a temp permission that already has a time? right now we only have settemp, where if we wanted to settemp the same permission, it doesn't do anything
There is a setting in the config that defines, what LP should do, when you set the exact same temporary permissiion again.
Default is denying it, but there is an option, to actually let LP add the time to the remaining one.
Also you can append one of those keywords after the time to override the default behavior
Still, tried to switch to MariaDB.
This is already possible with the following command:
/lp user <user> permission settemp <permission> <true/false> <duration> accumulate
Oh my, I'm very sorry for not reading the wiki first haha. I thought by the name of the command "set" there wouldn't be any feature like that. Thanks for the help everyone!
hi i have this error when i change group for some user
[19:50:32 INFO]: [LP] LOG > parent remove voyageur server=survie
[19:50:32 WARN]: [LuckPerms] Unable to pass event NodeRemoveEvent to handler us._donut_.skuniversal.luckperms.LuckPermsListener$$Lambda$2565/907807372
[19:50:32 WARN]: java.lang.reflect.UndeclaredThrowableException
[19:50:32 WARN]: at com.sun.proxy.$Proxy125.isUser(Unknown Source)
[19:50:32 WARN]: at us._donut_.skuniversal.luckperms.LuckPermsListener...
Nevermind isn't a issues about luck perm :/
Hi, would you consider this idea as valid?
What will be the disadvantages?
I'm currently struggling on spawn permissions, where I deny in some region things that are handled by worldguards block permission - and becomes overwritten by them.
Of course this is a priority thing from worldguard - but in general I'll have so much use cases where I want to apply permissions for some special group within a special region :+1:
thank you in advance
The plugin ExtraContexts already turns WG regions into contexts
Hi
I love the web editor but I'd love an option to have the list of groups to appear in a vertical list to the left instead of a horizontal tab on the top.
And options to sort that list by name would be nice too, as of now i notice it goes by the weight of the group and then alphabetical.
Thanks for an amazing plugin!
//Etrisa
[lucko/LuckPerms] New comment on issue #1486: Vertical list instead of horizontal list in web editor
This is being worked on :)
Can you send over your full startup log please.
(sorry for the huge delay in replying - I've been very busy with other things ๐ )
Is the server that can't connect on a different host / different machine?
Could perhaps be a firewall issue?
Either way, unfortunately (or maybe fortunately?!) this isn't a LuckPerms bug/issue.
All of the guidance I have for this issue is listed here:
This is a PlaceholderAPI issue - make sure you're using the latest version, and failing that, speak to the author and ask them to update the plugin to support newer Sponge API versions.
Make sure this option is set to false
Failing that, double check you're using the latest version. (it looks like you are already though)
https://luckperms.github.io/
Latest version of LP?
You can try running these MySQL statements to change the charset. If you first ran LP with a version newer than https://github.com/lucko/LuckPerms/commit/2cb5e437fd65200eefe9a39f418d94da6a14c167#diff-eda03aa13dd70ab596751634e727f2b5 , this change will not have applied.
ALTER TABLE luckperms_user_permissions CONVERT TO CHARACTER SET utf8mb4;
ALTER TABLE luckperms_group_permissions CONVERT TO CHARACTER SET utf8mb4;
First error is fixed already in the latest version.
The second isn't a LP error. :)
If plugin.yml's permission's 'default' is set to false, console can't use the command with LuckPerms
This is normal.
Test plugin:
package me.lucko.test;
import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;
import org.bukkit.plugin.java.JavaPlugin;
public class TestPlugin extends JavaPlugin {
@Override
public boolean onCommand(CommandSender sender, Command command, String label, String[] args) {
sender.sendMessage("succe...
Sorry for not replying here - I looked into this after your last message and think I found the issue.
I'm assuming this was resolved by that fix.
Hi there, I'm currently using:
paper Build #577
luckperms v4.3.73
PlaceholderAPI 2.9.2
I've download luckperm's placeholder on PlaceholderAPI, and now I'm trying to test out the placeholder.
I've tested %luckperms_groups%, it returns an empty line and a 'member'
then i set a temp permission on a user with /lp user playername permission settemp insertpermissionhere true 24h
after that, i tested the placeholder %luckperms_check_permission_<permission>%, and it says yes, which means...
The configuration was outdated. These options were not present. However, the issue is fixed after migrating to a new configuration file.
We've had this reported via a customer (I am from Tebex/Buycraft), but we've recently released a new feature called 'push commands' - this means rather than polling for commands to run, we push them to the server over http.
As a side-effect, multiple commands will run near-instantaneously (basically as fast as the server can do it!).
When this happens with LP commands, it looks like the LP permission handles the command, but the DB isn't being updated:
[12:00:31] [Server thread/...
LP handles its commands async. Everything else would be insane. Though that has the downside, that commands ran too quickly will get lost.
If I remember correctly there was a rationale behind it why the commands donโt wait for eachother in the background. @lucko will have to answer that.
In the meantime if a fix is urgent, just wait. Or use the API.
A fix for this would be great @lucko or perhaps a config toggle as it's causing quite the issues for our production environment, where we execute several commands at once via BuyCraft.
Though that has the downside, that commands ran too quickly will get lost.
Definitely not intended
Thanks for confirming @lucko - if you want any info about what we're doing to generate the commands, let me know.
[19:54:59 WARN] [me.lucko.luckperms.lib.hikari.pool.PoolBase]: luckperms-hikari - Failed to validate connection me.lucko.luckperms.lib.mysql.jdbc.JDBC4Connection@572267e7 (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value.
Annyone nows how to fix this one, my console is getting spammed with it.
Will do it at some time later, currently busy.
Thank you for the response.
does it getting fixed in lastest version?
-There is no way to create multiple groups on a single file from the console/game
-Manually trying to set up more than one grup on a YAML combined permissions doesnt work at least with any sintax i could think of.
-There is no real documentation for the sintax of yml files; people shouldnt have to guess how the plugin reads the config file in order to setup the groups.
I understand you 'dont recommend to us' manually editing permission files, but its something many server owners want, sp...
I'm sure you'll appreciate that this is a very large plugin and not everything can possibly be documented thoroughly. There is a brief description of how it works in the config, which to be completely honest, covers it well enough in my opinion.
So how exactly does it not work for you? Maybe describe the steps you have taken so far to come to this conclusion.
On the other hand, it's generally not a good idea to blindly edit files without knowing how they're meant to be written. Genera...
Hey, yes, i understand, and im sorry if my initial comment was a bit harsh. I've tried to create a combinedgroups file, creating a yaml file named yaml-combined.yml and then i placed more than one group using the normal sintaxes using the examples you provide on the webpage, but the lastly listed groups overwritte the first ones, for example from the yaml parser:
https://yaml-online-parser.appspot.com/?yaml=name%3A VIP
prefix%3A 'vipprefix'
sufix%3A 'VIPsufix'
permissions...
There isnt anywhere that says what parameters you can include for a group in the config file, or which structure they should follow, how to make temporary/worldbased permissions /group paths/ etc.
This is mainly because it isn't meant to be edited by file.
Either use the commands or what Turbotailz suggested, use the web-editor.
Also there is a storage setting in the config to have all groups in one single yaml file (that doesn't mean you have to create a yaml file with -combined i...
Thanks for the last explanation, that helped.
I have the latest version of LuckPerms for Spongeforge.
I have been configuring/sorting out the commands each group can use for my Pixelmon server, up until trying again just now. None of the basic minecraft commands such as minecraft.command.ban even show up on the "Permission" section and none of my pixelmon.commands are showing up either.
The only commands it is allowing me to mess with are with Nucleus commands and also luckperms itself, nothing else is showing up. I want to add n...
The permissions listed in the drop down of the web editor are just a suggestion. So you can use any permissions.
The permissions that show up there are the permissions that have been checked since the server is running. To populate the list, you can run /help.
So you also need to save the changes. In the top right corner is a save icon. Click that and then run the command it shows you on the server.
Hello,
My luckperms database keeps getting d/ced randomly and kicks a bunch of people https://pastebin.com/00Wx3dGJ
Once it loses connections it also drops connections from other servers for a couple of seconds not allowing them to connect on there too.
Servers use separated databases for luckperms but are on the same machine.
Any ideas why this is happening ?
Right, its randomly being disconnected, some days it might happen, others might not. Once it does disconnect it throws a lot of IOException errors which disconnects people.
Whatever the reason is, it is not a fault on LPs side.
It is a most likely a misconfiguration on either the LP side (config.yml) or on your database's side.
LuckPerms does nothing wrong here. The error only points out that it lost connection to the database, due to a timeout.
I linked the part of a wiki that lists the possible causes of this, but again: It's not an issue on LuckPerms side and more a misconfiguration.
The documentation is open source, so if you feel some sections could be improved or added, any contributions would be most appreciated.
The log is also showing
[14:51:30] [Connect Thread/INFO]: [Connect] Lost connection to the cloud, reconnecting
so your server is losing connection to LilyPad too - suggesting that more general networking problems is the cause.
Not really much I can do to help - perhaps an issue with your hosting provider? Or is the database on the same server as Lily Connect - maybe that box is overloaded?
I need to see a full log (with this step https://github.com/lucko/LuckPerms/issues/1462#issuecomment-471543139 applied already) to attempt to work out why this is happening.
The error stack track doesn't give me much to go by.
hey lucko, seems it's not happen again after i changed bungeecord to Travertine
i will check for a while, maybe @SimonOrJ can reply the problems
This server is running Paper version git-Paper-610 (MC: 1.13.2) (Implementing API version 1.13.2-R0.1-SNAPSHOT)
> [10:53:29 INFO]: Server permissions file permissions.yml is empty, ignoring it
> [10:53:29 INFO]: [LuckPerms] Enabling LuckPerms v4.4.4
> [10:53:29 INFO]: __
> [10:53:29 INFO]: | |__) LuckPerms v4.4.4
> [10:53:29 INFO]: |___ | Running on Bukkit - Paper
> [10:53:29 INFO]:
> [10:53:29 INFO]: [LuckPerms] Loading configuration...
> [10:53:30 ERROR]: Error occurred while...
Can you show your full startup log please.
Yes, sorry I had read this ticket, but then forgot to reply.
I'll look into this & try testing myself, then get back to you. :)
java version "1.8.0_202"
Java(TM) SE Runtime Environment (build 1.8.0_202-b08)
Java HotSpot(TM) 64-Bit Server VM (build 25.202-b08, mixed mode)
:/home/container$ java -Xmx2400M -jar paperclip.jar
System Info: Java 1.8 (Java HotSpot(TM) 64-Bit Server VM 25.202-b08) Host: Linux 4.9.0-8-amd64 (amd64)
Loading libraries, please wait...
[14:10:59 INFO]: Loaded 0 recipes
[14:10:59 INFO]: Starting minecraft server version 1.13.2
[14:10:59 INFO]: Loading properties
[14:10:59 INFO]: Defau...
Can you try deleting the LuckPerms/libs/ folder and restarting your server.
While player using /afk with feature AFK tab list modification enabled, using LuckPerms, the command for adding suffix is incorrect. A priority is not specified.
Expected behaviour: Running /lp user <player> meta addsuffix <priority> Afk
Actual behaviour: Running /lp user <player> meta addsuffix Afk
The right command is /lp user <user> meta addsuffix <priority> <suffix> but I don't see a reason why you use such a weird way, just to display people as AFK in the tablist(?)
I've tested a few versions.
4.3.8 On ore appears to be the last working version
4.3.75 Also on ore is where the breakage begins.
I also tested the latest and oldest available versions on Jenkins (that I could manage to find)
4.4.4 and 4.3.108 and neither of those worked.
Tested with
Nucleus: 1.9.2-S7.1
Sponge: 7.1.6-RC3616
Steps to reproduce:
/lp creategroup mod
/nucleus setupperms mod mod
/lp group mod permission list -> just for listing perms, also...
Hey! I recently had to change LuckPerms storage method because of this. MySQL server is stable, the server is used by other plugins, and they all work well. My maximum-lifetime was set to 10 minutes, exactly like MySQL wait_timeout (yeah, it should be less, but it shouldn't kick everyone from the server). Server log: hastebin
[lucko/LuckPerms] Issue opened: #1497 Trying to set up mysql storage and getting this error bungee\.
Like the title says I'm getting errors when starting my bungee server up with Mysql storage settings
12.04 05:02:40 [Server] INFO Attempting to apply relocations to mysql_driver-5.1.47.jar...
12.04 05:02:40 [Server] INFO Attempting to apply relocations to hikari-3.3.1.jar...
12.04 05:02:40 [Server] INFO Loading storage provider... [MYSQL]
12.04 05:02:40 [Server] SEVERE INFO me.lucko.luckperms.lib.hikari.HikariDataSource - luckperms-hikari - Starting...
12.04 05:02:40 [Server] SEVERE IN...
Add a way to restrict groups to set the parent of user that are only in specific groups.
For Example:
The Group Moderator has following permissions:
- luckperms.user.parent.set
- luckperms.user.parent.set.user
- luckperms.user.parent.set.default
- luckperms.user.parent.set.modify.others
- luckperms.user.parent.set.usecontext.global
Overall there are 4 groups:
Default, User, Moderator and Admin.
There are two User:
UserA --> group Moderator
UserB --> group Admin
Now, as fa...
As far as I'm aware can you actually prevent that by using argument based command permissions.
Just enable this option here, restart the server and use the Verbose-command to find the right permission for the command:
https://github.com/lucko/LuckPerms/blob/4fa6cd25773c38f2bb82ca52a8398183b1b55ec9/bukkit/src/main/resources/config.yml#L276-L283
Steps to reproduce:
- Using Sponge's
PermissionService, create a newSubjectCollectionusingcollection = service.loadCollection("foo")(name doesn't matter). - Create a subject using
subject = collection.loadSubject("bar")(name doesn't matter). - When a player logs in, run
player.addParent(new HashSet<>(), subject.asSubjectReference())which will return false, meaning it failed to add the parent.
I would like to use a custom SubjectCollection for representing a town's cus...
I tried connecting the plugin to my database on a webserver. I had the exact same config as my other server and that one worked, but for some reason it doesn't work on my second one:
`14.04 00:32:59 [Multicraft] Received start command
14.04 00:32:59 [Multicraft] Loading server properties
14.04 00:32:59 [Multicraft] Starting server!
14.04 00:32:59 [Multicraft] Loaded config for "Default"
14.04 00:32:59 [Multicraft] Updating eula.txt file
14.04 00:32:59 [Server] INFO ---------------------...
I'm testing migration of PEX
I see the following:
PEX:
rank-a:
options:
default: true
prefix: '&a'
permissions:
- blah
Is being translated into LP like:
default.yml
(empty file)
rank-a.yml
name: rank-a
permissions:
- blah
meta:
- default:
value: 'true'
I wonder why LP would not prefer to make a default.yml, place the rank-a permissions into this one and make this default rank have a displayname "rank-a"
I think this will ...
LP just takes the meta values from pex. Some might be not used then (like the meta default)
However, this is intentional since PEX allows you to set multiple groups as default.
And since LP only really has 1 default, this would cause issues.
Technically it may be possible to have multiple default groups in PEX, but practically, seriously, I would not know why anyone would like to have that.
[lucko/LuckPerms] New comment on issue #1499: Cannot add custom subject as parent to user \(Sponge\)
The common storage system in LP doesn't support adding anything other than groups as parents for users/groups, which is why parents with a collection other than user or group is only supported for custom subject types.
[lucko/LuckPerms] New comment on issue #1499: Cannot add custom subject as parent to user \(Sponge\)
Are there any plans to fully support it in the future?
So, I know there is another closed case of this, but none of the solutions worked on my server.
Facts first:
I installed these Mods on my Server (Spigot 1.13.2):
Dynmap 3.0
EssentialsX 2.16.1.125
EssentialsXChat
LuckPerms 4.4.1
Vault
WorldEdit 6.1.9
I set the ''no-op-permissions: true'' in the WorldEdit Config.
WorldEdit doesn't show up in the lp tree, but when I type in /plugins it's shown as installed.
And I certainly do not know how to re-add them there or something.
I ...
Worldedit doesn't define permissions in its plugin.yml file, meaning that LP won't know about any permissions that worldedit uses until WE actually does a permission lookup, I'd suggest referring to the documentation: http://wiki.sk89q.com/wiki/WorldEdit/Permissions
Well, just add the permissions to the appropriate groups. They are very well documented on the WE docs.
And as a little explanation, /lp tree shows all permissions that have been checked since the server is running. If a plugin isnโt showing up there that doesnโt mean itโs not working. It just means no permissions of it have been checked so far.
And if youโre struggling with English, try https://deepl.com
Worldedit doesn't define permissions in its plugin.yml file, meaning that LP won't know about any permissions that worldedit uses until WE actually does a permission lookup, I'd suggest referring to the documentation: http://wiki.sk89q.com/wiki/WorldEdit/Permissions
That helped, thank you!
Well, just add the permissions to the appropriate groups. They are very well documented on the WE docs.
And as a little explanation,
/lp treeshows all permissions that have been checked since the server is running. If a plugin isnโt showing up there that doesnโt mean itโs not working. It just means no permissions of it have been checked so far.And if youโre struggling with English, try https://deepl.com
Ahh, thank you for the explanation!
I have no idea what I'm doing wrong, I've set up the groups, I've set up the group's prefixes, but they arent displaying the prefixes in game - What it says is [world] (ign) >> ______
The plugins we have installed are:
BF - Folder
CoreProtect - Folder
Essentials - Folder
HolographicDisplays - Folder
LuckPerms - Folder
Multiverse-Core - Folder
OpenInv - Folder
PlayerHeads - Folder
PluginMetrics - Folder
Updater - Folder
WorldEdit - Folder
WorldGuard - Folder
bStats - Fo...
You need to have Vault installed.
LuckPerms provides the prefixes through Vault so that other plugins can use it.
I downloaded the vault.jar but it still seems to not be working
[lucko/LuckPerms] New comment on issue #1499: Cannot add custom subject as parent to user \(Sponge\)
If I'm honest, probably not.
I'd accept a good PR implementing this, but it's not something I have time to work on myself - sorry!
It's probably not LuckPerms that's timing out the players - I'd guess something else is causing high network latency, or the server is overloaded in some other way.
I don't think there's a LP bug here.
This issue really exists because your MySQL server is a really outdated version - I suggest you upgrade to a newer version...
However, I've pushed a workaround fix for this in the above commit.
Indeed - this is possible with argument-based permissions, as linked above. :)
Indeed you're right - however I want to keep the migration script fairly simple. The transition of the default group should be a manual process imo - as there are a number of approaches to handling default groups in LP.
You need to install a chat formatting plugin too. ;)
https://github.com/lucko/LuckPerms/wiki/Prefixes,-Suffixes-&-Meta#displaying-prefixes-and-suffixes
Caused by: me.lucko.luckperms.lib.hikari.pool.PoolBase$ConnectionSetupException: java.sql.SQLException: null, message from server: "Host '198.50.247.177' is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts'"
Soooo, I guess you need to do that ;)
(this isn't a LP error)
Luckperms 4.4.5
SpongeForge 1.12.2-2768-7.1.6-RC3652
GriefPrevention 1.12.2-4.3.0.662
I currently having issues with the meta set command using YAML setup.
When running the /lp group default meta set griefprevention.initial-claim-blocks 0
I get the following expected entry into the permission file:
`meta:
- griefprevention.initial-claim-blocks:
value: '0'But when I do /lp group default meta set griefprevention.blocks-accrued-per-hour 0 It changes the above option to:permi...
Use the meta add option because meta set replaces all existing entries with the provided one.
I can't tell if that works that way, and have no experience with griefprevention and if you set stuff through the meta-option, but it's worth a try.
There doesn't appear to be a meta add, only in reference to meta addprefix?
Hey, I've been unable to reproduce this so far using the latest dev build of LP.
Which version were you testing with?
Testing was done on build 4.3.109
Do let me know if you'd like this tested on the latest builds @lucko
I am getting this with latest version of paperspigot 1.12.2
Error: https://paste.helpch.at/sigetataji.md
Server Version: https://gyazo.com/de7a302666ef6ae68eaab1368441d7ca?token=bef4736d23321a04b6dc4a6a682875e3
I had the same issue with my 1.12 server.
Re-downloading the spigot version again and restarting the server with it fixed it for me.
Could you try that?
I am pretty sure its because of latest version of paperspigot due to it start happening right when I updated it
my old paperspigot version is https://gyazo.com/f38cda569362de515c73e13a9c4d6136
Like I said: This issue was fixed for me when I stopped my server, re-downloaded the latest version from Spigot and then started the server again with it.
https://pastebin.com/8MwLU3Zf
happend again
it's seems after logout
i don't see anymore login after this
please reply me if you needed any info
hello, the errors from #1462 start spamming again
https://pastebin.com/8MwLU3Zf
it's seems after logout
i don't see anymore login after this
please reply me if you needed any info
Can you add a command like "/lpb list <maybe server-name>" to show the list of online-players like:
<prefix><groupname 1>:
&f<user1>, <user2>
<prefix><groupname 2>:
&f<user3>
...
BungeeCord have a "/glist" command an Bukkit a "/list" command but without a group-order.
I think it would be great, if the staff (or the player too) can check the player-groups with this feature without a staff-tablist or other external list plugins.
When using /lp verbose on LuckPerms will show permission checks of plugins in the console or in-game, depending on where you run the command.
The issue here is, that this can get quite spammy and the permissions you actually searched for can get go down in the flood of permission checks.
This is because some plugins check permission every single tick (f.e. Scoreboard plugins).
My idea is to add an option, to make Verbose only show permissions in chat/console that had a recent change.
...
No need to make a new issue, I'll reopen the other one.
#1462
I need to see the log entry when LuckPerms processed the login for the ggka user.
It will look at bit like this:
[LuckPerms] Processing pre-login for b01f0239-fe4b-4c89-9a49-371823eabc3c - MCIDT
I think this would be better implemented by a separate plugin.
I don't think the usecase is enough to justify including it in LP.
I'm not so sure about this.
Verbose is meant to be, well, verbose. It's in the name!
Actually implementing the change detection system isn't super straightforward either - I don't think it's worth it personally.
Filters solve this issue perfectly - you can filter right down to a specific plugin / player very easily. "Most people" not knowing or being too lazy isn't a good reason to implement this.
LuckPerms - Lazy People edition whenโข
20:05:38 [่ณ่จ] [ggka] disconnected with: ยงf[Proxy] Lost connection to server.
20:05:38 [่ณ่จ] [ggka] <-> DownstreamBridge <-> [duel] has disconnected
...
20:05:50 [่ญฆๅ] Error dispatching event PermissionCheckEvent(sender=ggka, permission=bungeecord.command.list, hasPermission=false) to listener me.lucko.luckperms.bungee.listeners.BungeePermissionCheckListener@2a79d4b1
java.lang.IllegalStateException: No permissions data present for player: ggka - e1f86c95-1917-4796-833f-8c7f36c6db76
...
LuckPerms - That's In The Documentationโข
im not sure
hexacord always disconnecting the player whos using 1.7
do you recommend me to use travertine?
anyway i think it's would able to do a debug for this?
Back to topic, i think this would be hard on server but on web interface well that's another thing
Version Franรงaise :
Hey Salut,
Je vous avez dรฉjร envoyรฉ un message privรฉ sur spigot, et je me suis dis en re-lisant l'affiche de LuckPerms, qu'il fallait ouvrir un ticket sur Github. Donc avant de commencer, dรฉsolรฉ de vous avoir mp :/
LuckPerms (j'utilise la version 4.4.7 sous Spigot 1.8.8) est incompatible avec deux plugins prรฉsent sur mon serveur : UUID Spoof Fix et Staff+.
Elle empรชche de lire les donnรฉes liรฉ ร l'UUID d'un joueur qui se connecte sur une base MySQL.
Elle provoque l'err...
Please provide any information from the console.
When there is a database error, a error in console is pretty much guaranteed.
But I can already tell that the issues with LP are most certainly caused by your mentioned, incompatible plugins.
waterfall build 276
LuckPerms 4.4.4 (I understand I'm out of date, but did not see this fixed in issues)
Tracks/groups:
owner track: owner (highest group)
staff track: staff -> admins -> execs
player track: default -> champion
I have two accounts: Main and Alt
When Main is set to owner, and Alt is set to execs,
Alt can successfully issue the command:
/lpb user Main parent set default
However, Alt is not able to issue the command:
Yes please - not sure what would've fixed it, but I haven't been able to reproduce despite testing various different approaches.
My test code is:
var console = server.getConsoleSender();
function dispatchCommand(command) {
server.dispatchCommand(console, command);
}
Commands.create()
.assertOp()
.handler(function(c) {
for (var i = 0; i < 50; i++) {
dispatchCommand("lp user c1d60c50-70b5-4722-8057-87767557e50d permission set test-" + i);
}
})
.registerAn...
I suspect this may be because the execs group has or inherits the * permissions from somewhere? That's something I didn't account for when implementing the feature, and is fixed in the above commit.
Maybe it goes some way to solving the issue?
However, assuming in this case, execs has permission to all LuckPerms commands, they'll still be able to use the parent clear command on someone with the owner group and clear all of their permissions.
I'd argue that it isn't really a s...
I'm sorry, but I just confirmed execs does not have, nor does it inherit * or luckperms.*
With that, I'd counter your argument that this still is a potential security issue. Rogue admins removing the owner is a problem. Not in my case, but still.
As the title says. Just a placeholder that returns the group that a player is on within a track. e.g. Staff track has Helper, Mod, Admin, Owner. Player is Mod. Placeholder will return that the player is Mod.
Possible Placeholder:
%luckperms_group_on_track_<track>%
Or I could be completely overlooking something and this already exists.
Thanks for the help, I hope you consider my request :)
%luckperms_first_group_on_tracks_<tracks>%
%luckperms_last_group_on_tracks_<tracks>%
Well those only show the first and last group on a track. I want to see the players current group on a track.
Read description of those from the placeholder page.
I'm just gonna reply to counter your thing here AeSix, realistically how can you say its a security issue, when if your worried about them removing the owner rank, you can give it yourself back and demote the admin, with this magic device called "Console". It seams with your concern of an admin being able to remove an owner rank would only be a problem if this magic device does not get created! ah wait, it already exists!
I believe the way that description can be misinterpreted, but it definitely doesn't do what it implies. That literally only shows the first and last group of a track, not the players position within the track.
Aloowing setting contexts for weights eg. server=bungee world=skyblock etc.
This might be possible using the web editor.
if the weight permission has a context it will get ignored completely as of now
@JE201506 It would be nice if you could refrain from being antagonistic. I understand you believe to have a greater amount of knowledge and skill, apt to administer a game server. I've done nothing but reported an issue. Yes, I know the console exists.
I provide support for multiple communities, and I can assure you, that level of knowledge and skill is not the norm. I also know that there are a lot of people who run Minecraft servers who a) have limited to no access to console, b) do ...
I'm trying a migration from Pex.
The basic setup is:
Groups:
default
group1 (inherites default)
group2 (inherites group1)
group3 (inherites group2)
staff (inherites group3)
admin (inherites staff)
When migrating, LP saves admin/staff users like:
uuid: whatever
name: AdminPlayer123
primary-group: admin
parents:
- admin
I noticed that staff/admin doesn't inherit the some of the default permissions.
According to the wiki, if I'm correct. the staff players should be m...
When adding a player to a group, existing metadata will not be exposed to plugins, despite appearing as inherited in /lp user <user> meta info.
Steps to reproduce:
- Create a group with
/lp creategroup <group> - Set a meta item onto the group with
/lp group <group> meta set <key> <value> - Add the player to the group with
/lp user <user> parent add <group> - Run
/lp user <user> meta info, and verify that the meta added in step 2 is shown as inherited. - Call `player.g...
its still not fixed with travertine
I keep getting this error: java.lang.IllegalStateException: API is not loaded. every time I try to run a command in my plugin.
My plugin gets the API from the LuckPerms.getApi() static method and uses it from there, but it does not load apparently...?
Make sure youโre depending on LP in your plugin/bungee.yml. Also donโt try to access before your onEnable
@lucko @liam-wiltshire
This is absolutely 100% still a problem.
BuyCraft push commands simply do not work with LuckPerms.
Disabling push commands returns everything to perfection.
Latest test environment:
PaperSpigot: Build 624
LuckPerms: Build 4.4.16
BuyCraft: Latest as of https://github.com/BuycraftPlugin/BuycraftX/commit/8b38fe51767b9868d705bd86df4d86f55a818ae4
Title. Any help? If it helps, I use GTXGaming server hosting.
The console always has permission to run every command.
Permissions of towny perms that do not belong to towny ranges, I have activated them through LuckPerm to all users.
Would you mind explaining what you mean by that?
Hello,
I've recently switched to BungeeCord LuckPerms (downloaded from luckperms.github.io) and I put it in BungeeCord. I'm not sure if I should do that, OR just put it in all of my servers but I'm just double checking just to be positive so I don't mess up. Thanks!
Hello. I noticed something interesting while using LP. It works just fine, Using MariaDB. But when i add this plugin https://www.spigotmc.org/resources/staff-the-ultimate-moderation-plugin-1-7-1-13.41500/
I get this error
https://pastebin.com/1Vzw0aAy
https://pastebin.com/94NmCg8L
And obviously i cannot just the server because
ยง7ยงl[ยงbยงlLยง3ยงlPยง7ยงl] ยงcA database error occurred whilst loading permissions data. Please try again later.
Using old versions of StaffPlus fixes the issue. But not sure why the latest version causes the Database not to work.
If adding a plugin causes LP to throw an error, then it's clear that it probably isn't a LP issue and should be reported to the plugin dev of the other plugin ;)
I got the same problem on my Spigot 1.14 server
Hello, I have found after long night of research that the Messaging portion has a small error which causes a failed 'Networksync' in game.
When you set 'messaging-service: sql' in the configs whether it is on spigot server or in bungee it causes the error recorded in the screenshots below.
When you set 'messaging-service: none' it assumes that you are using sql based on that you have MySQL set as DB. and it works flawless when all servers configs are matching.
if using 'messaging-s...
Which LP version are you using? I remember a big like that way back. And what you describe seems to work just fine for most people, if not all.
I have 3 groups: default, Premium, Ultra. They are connected to parent groups. How can I do that for example in default-perms: teamspeak.default, premium-perms: teamspeak.premium and ultra-perms: teamspeak.ultra. That is all permissions for only 1 group.
But if I have Ultra Rank, he'll take rank.default, rank.premium, and rank.ultra.
How can I do the rank.premium only for Premium and not for Premium and Ultra?
Simply set permissions to false if they are inherited.
E.g: in the premium group, set teamspeak.default to false and in the ultra group, set teamspeak.premium to false.
Server version 1.13.2
LuckPerms Bungee version - LuckPerms-Bungee-4.4.17.jar
Luckperms Spigot version - LuckPerms-Bukkit-4.4.1.jar
When moving players from one server to another Luckperms appears to be opening threads which are then not closed or not closed within a long time at least.
My test has been the following:
- Open all servers and let players join the hub server.
- Let players join the queue to the main server which starts sending them over as it is currently empty.
- Using
watch -n1 "ps huH p <pid of waterfall server> | wc -l"I can see the number of threads increase dramatically from the normal leve...
Can you generate a java thread dump please. :)
Can you post your server startup log here please :)
We need /lp user USERNAME parent settemp GROUPNAME 1m
I want a player to go to the group I want for 1 minute and then go back to the previous group.
I want to turn off the player's entry into more than one group because i don't need this. That's is ranks problem.
Executing command on console was fine. but player executing command that they have permission to will result in lost connection.
The text "You do not have permission to execute this command!" also turn white when using affected version of luckperms, not sure if those info will help
BungeeCord : latest
Errors only occur when using LuckPerms 4.4.18+
No error while initialize
This is error when I try to execute /find
https://gist.github.com/Porama6400/53cf73b98f6b42f29e4fdd48ae00...
I've exactly the same problem. Same error.
I did that and it pointed to another plugin, sorry about blaming you guys. As the error didn't happen without luckperms it appeared to be the issue at first but it appears I was mistaken. The other plugin has been updated and it has solved the issue.
Thanks for giving me the tool to solve it though!
Luck Perms 4.4..17 works, 18/19 give this problem
Waterfall 282
Luck Perms 4.4.18
BC2 2.1.6.855
After logging in and typing a chat message, nothing shows in the ingame chat, my bungee discord bot DOES carry it to discord. But that error is what spams the console. Reverting to 4.4.17 fixes, so it appears to be with 4.4.18. I did test 4.4.19 this morning and got the same error though.
Reported it to BC2, was told it was a LP bug
@Cosido Based on your logs, seem like It's a duplicated report
I've reported it earlier today, here
https://github.com/lucko/LuckPerms/issues/1525
I mean, we have some similar errors in the log, but the reason were getting them is entirely different.
I dont have problems with disconnecting or commands, or permissions, I have problems with chat being carried. If Im told they are duplicates, Im sure it will be closed by someone who has a bit more information. Thank your for the response though
When you think about it, it's probably the same.
This is LuckPerms, it grant people permisson.
What do chat and command have in common, which handle by luckperms? ;) It's permission <3
Itโs a duplicate. Same exact error as the other report.
And for future reference, post your case on the existing issue. And only if told to make a separate issue, make a separate issue. Not the other way round.
Creating duplicates creates unnecessary noise that makes keeping track of bugs easier.
Oh and it wasn't even just one plugin, apparently Plan has the same issue too.
I have the same error. Here are the relevant parts of the log.
https://hastebin.com/azekalevon.cs
First stack happens after user with wrong MC version tries to join.
Second stack happens when a player runs custom command that uses TextComponent to get the result.
It never mentioned LuckPerms once, so it took me a while to find out that LuckPerms is the culprit of the issue. I'm not sure if the logs will help in debugging the problem, but it should help on knowing what libraries ar...
Why not use addtemp? This should work perfectly (if group priorities are set up properly)
Why not use
addtemp? This should work perfectly (if group priorities are set up properly)
i have inheritance so 1 player should be given a maximum of 1 group.
I think the fact that the messages of permission are no longer coloured and they may be White may finally help.
Hello, i'm new on gitHub because i need your help ! When i place a crafting block only in the overworld
crafting co processing unit
crafting storage 1k
crafting storage 4k
crafting storage 16k
crafting storage 64k
i can't break them. disapear and replace... i didn't know what mod/plugin do this bug :(
AE2 codder said me it was a permission plugin, and i'm using luckPerms and universe guard... Somebody have an idea ?
Minecraft Version: 1.12.2
AE2 Version: appliedenergistics2-rv6-s...
I'm not sure what inheritance has to do with adding another group
If you setup weight and inheritance correctly then there should be absolutely no issue with using addtemp.
Higher weighted groups override lower ones by defalt
I'm not sure what inheritance has to do with adding another group. Just add the second group and all should work properly, provided you set group ~properties~ priorities (weight) properly
If you setup weight and inheritance correctly then there should be absolutely no issue with using addtemp.
Higher weighted groups override lower ones by defalt
ฤฐ have +30 ranks and +30 kits. i need single group set.if this is not the case, the authority of the kit that I have assigned to eac...
I myself am a beginner, I hope not zagnobite.
The problem is that I cannot register op on the server due to LuckPerms [Server thread / INFO] [minecraft / DedicatedServer]: [LP] Please note that itโs not a problem. Please edit user data directly.
And your issue is........?
For general support should you join the Discord because while support is given on GitHub too, it's much faster and easier on Discord.
Luckperms
ะะต ัะฐะทัะตัะฐะตั ะฒัะดะฐะฒะฐัั op ะฝะฐ ัะตัะฒะตัะต ะผะฐะนะฝัะบะฐััะฐ ัะตัะตะท ะบะพะฝัะพะปั
Can you please talk english here?
Use a translator if you have issues.
I have problems with English, so Iโll use a pre-translator with Google,
I can not register op on the server minecraft, because Lp swears at something in the console, could you tell me what it is swearing at and how to fix it?
Sponge disables OP as soon as a permission plugin is installed.
So you can't use OP
Is it possible to somehow configure it through permission?
And I also registered permissions for the admin group, then I added myself through the console there, and it was still forbidden to use commands.
In the perm settings, the default group is prescribed, other permissions are tied to it, but commands are still not available
once you add user to admin group from console do /lp sync then use in game editor to set perms if needed.
i need single group set.if this is not the case, the authority of the kit that I have assigned to each group will interfere.
I would like you to rethink the setup. I'm not sure what you're ultimately trying to do, but that sounds like a badly configured set-up or a bad plugin.
Consider the following:
- Group
defaulthas permission:kit.basic= true- weight of 1
- Group
silverhas permission:- inherits
defaultpermissions kit.silver= true- weight o...
- inherits
I can't reproduce this.
Test code:
var command = {
"process": function(source, arguments) {
var result = source.getOption(source.getActiveContexts(), "test");
logger.info("meta lookup result for 'test': " + result);
return CommandResult.success();
}
}
registerCommand(command, "testmeta");
Outcome:

In step 5 - the correct result is being returned for me. (see 3 lines up in the screenshot ab...
p.s. sorry for the really rate reply to this issue - I've been super busy with other work recently and haven't had a chance to work on stuff as much. :]
^ should be the case.
LuckPerms doesn't control the consoles permissions in any way.
This isn't particularly easy for me to implement, and to be honest I don't see the benefit, especially as pointed about above, this sort of behaviour is already possible when priorities are defined correctly.
Sorry, but yeah, I don't think it's something I'd be interested in adding to the plugin.
Hello I am trying to setup my network and when i am adding staff ranks I need to set them up on each and every server locally, this means that I need to go onto every server and add all the ban permssions etc. It could be a LOT easier is there is an option to add them to the bungeecord version of LP and it synchronizes it across all the servers.
I know there is a sync command but as far as I know it syns all the permissions and I would like to specify what commands are being synced because ...
Check the wiki page โNetwork Installationโ. It explains how to set up LP so the permissions sync across all servers.
The sync command doesn't just sync the permissions.
It performs an update task that, depending on what is set as a messaging-service, sends a ping to all LP instances on the different servers and tell them to update their storage of players, groups and permissions so that groups and permissions can be synchronized.
But this is also a thing that LP normally does on its own when a permission, group or user...
I want to give my "builders" group permissions to "essentials.time" permission in my multiverse world called "creative" but not in my main world called "world"
When I use sync like that with a remote database does it remove any other permissions that are not in the list of permissions that i am syncing from?
The syncing will only work if all instances of LP share the exact same database, meaning that they share the same set of permissions, groups, etc.
Again. Check the page I linked because it explains how you properly setup LP with everything needed to work on a server-network. The issue-tracker isn't really for general support.
I get that this is not for general support but what i am getting is not what i ment. I will try to explain better.
I would like a main permissions list per group that syncs across all servers.
So [A] is the main server or bungeecord and B and C are backend game servers.
I would like it so when i want to change a permission for for example mods i would go into the lp editor of [A] that will push an update to [B] and [C]. But when i am making changes to [B] to give a mod plot kick permis...
If you have a proper network setup, you can have per server and per world permissions, no issue.
The wiki page Contexts is your friend.
And in general suggestions are always better first discussed on the Discord. Because chances are itโs either already implemented/possible (in a slightly different way than you imagine) or has been asked before and either been put on the to do list or rejected.
Per server 'ranks', eg. skyblock & prison have different 'ranks'
Would make it possible for eg. BungeeTabListPlus to sort them correctly. Instead of having none-ranked with ranked players at the top. (because they have a rank with a high weight on the other server)
Aswell as displaying the right primary group on the right server
Hello,
I have this error on my BungeeCord server:
https://pastebin.com/YBc8A0fp
I use WaterFall for my proxy, and spigot 1.8.8 for my servers.
I've tried with a normal BungeeCord and it's the same.
(online-mode: false)
Thanks :)
As title says. Adding a config option that allows you to limit the number of prefix's that'll be shown in game. Example being if you have 7 prefix groups or tracks listed in your config, LP limits it to only show the highest 3 that a player has.
Hard to tell what the underlying issue is without the full log file.
Feel free to re-open if the Staff+ author is unable to resolve this.
You can check with the verbose command.
LuckPerms isn't doing anything to specifically block those actions.
I suspect this is a duplicate of #1462.
Can you set this option to true
And then try reproducing the issue again.
If you're able to, then please send over the log file from that period.
The developer of the plugin seems to be inactive. Older versions of the plugin solves the issue, But I am positive staff+ isnt the only plugin that isnt compatible with LuckPerms.
https://github.com/lucko/LuckPerms/issues/1356#issuecomment-451901393 we had this issue and it was also caused by having an incompatible plugin, Luckily our developer fixed it
Yep, that issue was with an external logging API though, not sure LuckPerms was necessarily to blame.
Soo, latest version of Staff+ causes the problem? I can try testing myself to see if it can be reproduced?
Sure, go ahead. Using MariaDB and staff+ installed on my server caused the error.
Is Staff+ configured with MySQL too? Perhaps the same issue as the one you linked if that's the case.
In both cases it seemed to break LuckPerms, With mySQL and without
I'm not sure if it's connected to lucky perms, but mb. This is by log part with errors. As you can see there are a lot of messages about Current Thread: luckperms-worker
[11:25:48] [Spigot Watchdog Thread/ERROR]: ------------------------------
[11:25:48] [Spigot Watchdog Thread/ERROR]: The server has stopped responding! This is (probably) not a Spigot bug.
[11:25:48] [Spigot Watchdog Thread/ERROR]: If you see a plugin in the Server thread dump below, then please report it to that auth...
That is the interesting thing about thread dumps: They list all threads that were running at the time of the crash.
Just because LP is listed doesn't mean it has to do with LP itself.
In fact the first 10 or so threads are normal server threads.
Hey Luck,
we use a method to give players temp perms via your API. But without "lp sync" vault doesnt check this perm. More Informations here (i9hdkill via Discord):
And because I can only connect to my postgresdatabase with ssl, there is currently no way for me to use postgres.
Either make useSSL work with Postgres or give me the ability to use my own connectionstring(instead of building the connection string in luckperms)
It would be much better if you would provide actual information why useSSL doesn't work.
- What are the errors?
- Are there even any?
- What did you try?
- Did you check the wiki for any ideas/options?
- You should check the storage system errors page.
If you can answer those questions and perhaps provide more information maybe then we will be able to assist you.
Basically we are adding a temp permission via api and refreshing the group where the permission was added. The usecase is, that this temp perm should apply to all users on this server, as this group is the basegroup off all existing groups. We probably have to refresh all groups, but that sounds like too heavy hitting. In my opinion this permission add should somehow reflected instant in the cache(Its even in the db/yml)
Hello,
I found the problem. I am currently using the JPremium plugin which allows to authenticate the premium players automatically. This plugin forces the server to set the premium UUID to the player. So I think LuckPerms did not have the same UUID.
You want me to send you logs with debug-logins: false?
I have already had a discussion with the Staff Member on the Luckperms discord server. I spoke with ImmortalShard and he/she wasn't able to assist with this issue as they have not noticed it before.
I have reset the config and there are no errors in console. However as soon as I add my details for my database, the below error starts to occur.
This error is being produced within my Proxy server console. My other servers (game servers) use the spigot version of luckperms and are connect...
First of all, please wrap the error log in ```.
So:
```
Error
Error
```
Turns into
Error
Error
In case you haven't tried that yet, try deleting the libs (or lib ๐ค) folder inside the luckperms folder.
I both have a similar problem. In the console I got this:
`[luckperms-hikari connection adder/WARN]: Wed May 15 11:26:48 CEST 2019 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 need either to expli...
Oh, I didn't see that. Thank you
Maybe have an update with the v4 api and announce the breaking changes before updating at a later date?
Also what are the changes in general?
I noticed that at least on sponge and bukkit, /lp import handles commands randomly, seems like it's async.
As groups should be created first, this often leads to group not exist errors. Using /lp import the second time fixes that, as all groups are created by now.
We imported all of our servers with 40k lines+ and I noticed after two servers that group assignments etc are missing. Luckily I realized that after a few servers, but some people might miss that and now have completely destroye...
I think you need to send through an import file for anyone to replicate this error.
Hello,
I am having some issues after completing the self hosted web setup. I received the following error:
Either the URL was copied incorrectly or the session has expired.
Information:
Ubuntu 18.04
Nginx
Mariadb
BitByte is proxied behind nginx as well.

https://hastebin.com/jicedenuru.md
Only happens when I switch to MongoDB
from h2
SRV VER: CraftBukkit version git-PaperSpigot-8b18730 (MC: 1.8.8) (Implementing API version 1.8.8-R0.1-SNAPSHOT)
Works fine on localhost also i am using mongodp from cloud.mongodb.com
Try to delete the libs folder in the luckperms folder.
[19:34:49 INFO]: Booting up Velocity 1.0.0-SNAPSHOT (git-b881e9cf-b130)...
[19:34:49 INFO]: Connections will use NIO channels, Java compression, Java ciphers
[19:34:49 INFO]: Proxy is running in offline mode!
[19:34:49 INFO]: Loading plugins...
[19:34:50 INFO]: Loaded 3 plugins
[19:34:50 INFO] [velocityutils]: Enabling VelocityUtils version 1.1.0
[19:34:50 ERROR]: Some errors occurred whilst posting event ProxyInitializeEvent.
[19:34:50 ERROR]: #1:
java.lang.NoClassDefFoundErro...
Make sure youโre on the latest LP and velocity version.
So I updated luckperm from 4.4.4 to 4.4.24, lol
server version: git-Paper-1490 (MC: 1.12.2)
hastebin link: https://hastebin.com/atigocahej.rb
I'm getting this error sometimes, then server crashes, even if there's no players on the server.
Not caused by Luckperms. Check the log for errors before that crash
Whenever I try to open the online editor, it just gives me a list of commands in minecraft. When i try using /lp group editor it gives me this error in the console,
22.05 22:10:15 [Server] WARN java.lang.RuntimeException: Connection returned response code: 401 - Unauthorized
22.05 22:10:15 [Server] WARN at me.lucko.luckperms.common.commands.impl.generic.other.HolderEditor.paste(HolderEditor.java:167)
22.05 22:10:15 [Server] WARN at me.lucko.luckperms.common.commands.impl.generic.other.Ho...
What LP version are you using?
Im Running LuckPerms v4.0.18.
Update. This is almost 2 years old if I remember correctly.
Oh shoot really? Ok ill try that.
It worked thank you so much. I am an idiot
Hello, we are having some issues that whenever someone prestiges or even reaches our last rank before they prestige, it takes all their perms and their chat format and everything. Here is the config here. Our whole luckperms file is 1 GB and would be way too much to even upload to Mega, I am not sending you 838 ranks each file individually so all I can send is the config.
How are the players ranked up?
99% an issue with your rankup plugin doing weird stuff on the last stage(removing the users group and don't adding the last one or your last group is broken without having the previosu ones). Either provide info on how the plugin is doing that or even better, ask the plugin dev of your rnakup plugin for help
The thing is, we use this as rankup plugin too :P sooo something wrong with LuckPerms. They rankup by doing /mru or /rankup and it takes away their last ranks and adds the next rank to them.
@RisenCloud check if they get the new group.
They do, it's the same config we have had for almost 4 years. Same groups, same perms, everything. Just now it starts to glitch.
i just started my server and this happened
Minecraft: 1.12.2
SpongeAPI: 7.1.0-366290f8
Sponge: 1.12.2-7.1.5
SpongeForge: 1.12.2-2768-7.1.5
Minecraft Forge: 14.23.5.2768
LuckPerms: 4.3.75
`[14:44:58] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: __
[14:44:58] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: | |__) LuckPerms v4.3.75
[14:44:58] [Server thread/INFO] [net.minecraft.server.dedicated...
Try updating your version of LuckPerms, your version is very old.
Try updating your version of LuckPerms, your version is very old.
updated to 4.4.24 still doesnt work
Your config is broken. Says so clearly in the error.
Hi there, can we have a command to be run when the player no longer has the permission?
Using luckperms api in your own plugin, yes
Using luckperms, i don't think so
There is no reason for a perm plugin to have this.
I am currently having an issue when I run the command /lp group editor - It just displayed the luckperms version with nothing else. I have used LuckPerms on a vanilla server so I am familiar with how it works overall.

SpongeForge Version 1.12.2-2768-7.1.5
LuckPerms Version 4.3.75
Any help would be greatly appreciated!
Just noticed there was an issue between LuckPerms and another Sponge Plugin. Removing the plugin has granted me the ability to use the /editor. Please set this to solved/remove it if need be.
Also make sure you update. Your version is fairly outdated.
And if that message appears it means you don't have permissions.
Sorry in advance if this has already been answered (I'm a clown when it comes to this kinda stuff so that doesn't help either), but it doesn't seem LuckPerms is assigning myself to a rank. If it is, there's no prefix being displayed no matter if I de-op myself, restart the server, or join and quit.
Here's the pastebin
Bungeecord version: latest
Luckperms version: 4.4.24
https://pastebin.com/K0fSrYwM
Not an error. Just a warning. And itโs because your Java is too up to date. Itโs recommend to use Java 8 for Minecraft.
But I'm using java 11 for bungeecord.
And bungeecord won't listening on port.
As I mentioned, itโs not an error. And it goes away when you use Java 8. Which you should.
And it not listening on the port is not a LP issue.
Hi i have a little problem lol : https://imgur.com/enToFMP
Check your log for errors. Especially during startup
I wonder if there is any kind of prefix string for essentials.
e.g : [Rank]
LP only provides prefixes and doesnโt display them.
If /lp user <user> info shows the correct prefix, itโs not LPโs fault.
it works if I type it in the console but when I try to type it in game it doesn't even give me a response, and my bungeecord console is spammed with errors of luckperms.
and no other bungeecord command works. and /server doesn't give me a response but works when I type a server behind it.
What error...?
That might be tad useful, you know?
it is a really long error
do you want the hole thing?
No. I'll just telepathically read it. Now problem!
Set to true - but yes, sounds like it's an issue with JPremium.
You need to report the issue to the author of that plugin. :)
You can define your own connection options in this section of the config.
Seems like your configuration file is missing the database property.
Make sure the YAML is indented properly.
Check your browsers console when opening the page.
I'd guess this is probably caused by a Nginx misconfiguration.
This is most likely being caused by another plugin shading SLF4J incorrectly. Try running with only LuckPerms installed, if it works then you know the issue isn't being caused by LP.
Sounds like an issue with your rankup plugin, not LP.
Sorry, not something I plan to include in LuckPerms itself at the moment.
As has been pointed out above, this can be done using the API - you could either write your own plugin to do this, or ask someone else to make one for you. :)
@lucko I tries the useSSL option but it doesnโt work with postgres
I'm not familiar with how SSL works with PostgreSQL.
However, the options specified in that config section are just what LP passes on to the database connection pool.
If the option isn't working, then it's an issue with the PostgreSQL driver or your SQL server.
I donโt think you understood whatโs been asked here.
The thing is, imagine you have like 10 lines for your prefix stacking. For some players thatโll result in only a few prefix and others get more than letโs say 3. Now the request is to add a way to limit the sum of shown prefixes to 3 or less. No matter if there would be more than 3.
MrCreepysBro Today at 10:28
Luck, I guess you didn't understand what I meant in my GitHub suggestion. I'm fully aware about the stacking feature. However, what I was suggesting was if you have 6 groups on your stacking format, and someone is apart of 5 of them, having an option to only show the highest 3 rather than all 6 prefixes since currently in the plugin, there is no way to do that
I asked here before if it was possible and was told from one of your mods that it wasn't and to mak...
Maybe specifying the same key (like highest) has the effect that the second takes the second best match, etc.
When using the online editor, LuckPerms auto fills only a fraction of the permissions from plugins. For example, only a few Craftbook perms appear when typing craftbook.mech.* but not the ones that I need such as craftbook.mech.elevator.
Here's a screenshot of the problem.

This is working as intended.
Luckperms cant possibly know every single permission available on your server, it only keeps track of permissions that have been checked since the last server restart.
If you want to populate the list, you could try running /help but this probably won't bring up everything.
After updating to the latest version, one of my staff members was unable to login and was sending this error to console. http://prntscr.com/nu78hk
Shortly after trying to reupdate all plugins, it began happening to me aswell.
We need more information like what server version you run, if it is in online or offline mode and if it is part of a bungeecord network.
Also delete the libs folder in the LuckPerms folder and let LP download the jars again (restart the server for that)
This is a bungeecord network, the version is 1.8.8 . I also deleted the lib folder in the bungee lp folder + the hub servers lp folder and restarted both and am still receiving the same error on login after updating from 4.4.22->4.4.25
What happens in the bungee screen on login: http://prntscr.com/nuhhlp
The screenshot doesn't show the actual error itself (the stacktrace)
Weird, there were no changes between those versions that could cause that error. That error while setting a group should happen on 4.4.22 too.
Looks like you messed up the database config options or changed the db password. Check the startup log for details
I'm using essentialsxchat and when I try to use group formats with LuckPerms the displayname of the group automatically added itself to the format.
How can I fix this issue?
This is an issue related to your chat-plugin and not LuckPerms.
Please ask in the M.O.S.S. Discord for support with EssentialsX and EssentialsXChat
I have an issue can we resolve it in discord? Thanos#4755
I want add the minecraft.command.tell permission in the default group because I set apply-bukkit-default-permissions to false in the config.
>lp group default permission check minecraft.command.tell
[23:38:51] [pool-6-thread-1/INFO]: [LP] default has permission minecraft.command.tell set to true in context global.
But the command is refused when used by a player: "I'm sorry, but you do not have permission to perform this command. Please contact the server administrators i...
Try debugging with this: https://github.com/lucko/LuckPerms/wiki/Verbose
Chances are you are missing another permission.
I have a BungeeCord server that runs LuckPerms on it. When I set a prefix for a group and added myself to the group, it shows the prefix in every single one of my servers except for my Skyblock server. I have no idea if this is because of a plugin I have or just an error I had in the console.

 has LuckPerms, Vault and a Chat plugin supporting it install.
This seems to be the case for you. - [ ] LuckPerms is connected to the same database to receive the groups, permissions and prefixes.
All of that is a check. They all sync across, as you can see it is coming through on my Skyblock server, it just isn't showing the prefix.
Oh OK I see, thanks!
Apparently, the right permission is now minecraft.command.msg since idk which version of Bukkit (this wiki page seems out of date: https://bukkit.gamepedia.com/CraftBukkit_Commands) :man_shrugging:
Don't use bukkit. It's outdated.
I know, I use Spigot.
I put 2 dollars instead of 1 because why not?
So it sadly didn't have the discord rank go through.
Dracathio#2739
Thanks for making this plugin man, it's a great help ^,..,^
Hope I can hide in the Patreon channel soon.
Did you made sure you actually have your Discord account linked to Patreon?
Also the Issue-tracker is reserved for reporting bugs/searching help with the plugin LuckPerms.
Hello i instaled https://www.google.com/search?client=opera&q=bungee+report+send+to+discord&sourceid=opera&ie=UTF-8&oe=UTF-8
this plugin and luckperms not work :)
concole logs:
http://prntscr.com/nw5jj9
http://prntscr.com/nw5job


