LuckPerms

LuckPerms

41.4k Downloads

Bug with Essentials Spawn when using storage format: mysql

codibez opened this issue ยท 3 comments

commented

I had an issue on my server earlier today when trying to set a spawn per group so that the default group will go to a certain location when using /spawn and all the other groups will go to another. When it wasn't working the storage type I was using was mysql instead of the default format H2. I went about going through all the plugins trying to figure out why it was sending every group to the default location instead of the setspawn I set for the certain group.

After changing the storage format from mysql back to the default H2 it started to work again so the proper groups would go to the proper /spawn location. Not sure why it works with one storage format and not the other but that is what fixed it. Wanted to bring it here to bring it to the attention of someone so that if there is a flaw in the code somewhere or something else it could possibly be fixed.

Best regards,
Codi / lowheartrate

commented

I'm using mysql and I don't have that problem.

EssentialsX 2.0.1-b474
LuckPerms 3.1.53

commented

@cwkfr I am using EssentialsX 2.0.1 and LuckPerms 3.2.20 - I am using this version as I am running spigot 1.12

commented

It would've been because the data was different on each storage type. That's it.

The Essentials spawn system works off primary groups. So, you either need to set those for each player, or change the calculation method to parents-by-weight, and setup group weightings.

https://github.com/lucko/LuckPerms/wiki/Configuration#primary-group-calculation