LuckPerms | An advanced permissions plugin


#223

Was that on first startup?


#224

@Luck I can confirm that too, it is only on first use. Every other time is fine - though probably without that constraint!


#225

Strange, I do not get the error.

My guess is that another plugin/mod is packaging an older version of the H2 library. I'll see what I can do.


#226

Completely stop your server, then edit the file & start it again. There's not really anything I can do to fix this, as the exception gets thrown by the method retrieving all of the users. Catching it would just mean no users would be migrated.


#227

As far as I can tell from reading the error, the ps.setString(1, name); function isn't properly replacing the VALUES(?) like it is intended to, code line here. Perhaps on first load the incoming String group is null?


#228

name is definitely not null.
It would throw an NPE on this line if it was.


Called here:

It's almost certainly an issue with the H2 driver.


#229

Makes sense, but it seems odd to me that it would execute the statement with a parameter not filled out, even though you use the ps.setValue method (if this is even still an issue on the latest version).


#230

It's just hidden in the error, you can see that in fact the value "default" was inserted. :slight_smile:
org.h2.jdbc.JdbcSQLException: Unique index or primary key violation: "PRIMARY_KEY_F9 ON PUBLIC.LUCKPERMS_GROUPS(NAME) VALUES ('default', 1)"; SQL statement:
INSERT INTO luckperms_groups VALUES(?)


#231

Ahh, my bad, didn't realize that was there.


#232

Not having any luck at all still. So it looks like ill be re-doing all my permissions then. Could you send me a template of a perm file so I can go off of that?


#233

Is it possible to have specific permission to add users to specific groups? Like luckperms.user.parent.add.teamblue


#234

How to give a group all perms?


#235

That's explained right here (and also in the LuckPerms Wiki ...)


#236

Not just yet. (it's been heavily requested though, so maybe I'll add it soon.)


#237

I have figured out the previous question I have put but I am getting very frustrated setting these permissions up so I'd might as well ask for help here.

How do you let people have permissions for multiple groups at once? Some people have specific perms from specific ranks and not the other ones they are assigned to.

Is there a way to do this? I want a player to be able to have staff perms and donor perms at the same time while they are assigned to two or more groups.

I currently have players in so called; default group, helper & a donor rank. However, they only have access to the default rank only but it shows that they are assigned to the other groups with perms in those groups.

Anyway to fix? Or let a player have all 4 groups at the same time with those permissions?


#238

I am going to be testing this plugin out on my current Sky Factory 3.0.6 mc 1.10.2 server Thanks for this i will be back with feedback on this plugin thanks.


#239

Recently got LuckPerms (migrated from PEX) and keep getting the following message every 30 minutes or so (Not always the same user):
[LuckPerms] [WARN] User null - d0e6243d-a368-4aa0-aae0-7ad955e997d5 does not have any data loaded.

Using: LuckPerms-Sponge-2.17.60


#240

Use the "parent add" command instead of "parent set"

Other plugins are loading data of players who aren't online. Most of the time this is done on the servers main thread, which is bad.


#241

Oh... Do you happen to know a list of plugins that give this issue by any chance?
Or will I just have to find which one it is by deleting them one by one?


#242

Well this is the problem. I have kits set up on the default group denying them to all kits besides trainer. But then I have a donor kit that allows them to use other kits but the default group is overriding and wont let donor ranks get their kits. Any way to fix?