Luckperms: MySQL string to long error

Created on 17 Nov 2018  路  4Comments  路  Source: lucko/LuckPerms

When trying to create a long permission list
https://hastebin.com/ibukixazey.sql

I'm not using the latest version of LuckPerms, as the one I'm using have worked perfctly until now.
But will updating fix this error?

question

Most helpful comment

Just add the perms seperately instead of just one huge perm...
The regex and wildcard system was meant to be used, to combine multiple perms, but not like 200 in one.

In your case could you simply give a perm like particlehats.particle.* and then allow/deny those you (don't) want to give.

All 4 comments

The provided perm is too long to be saved in the table.

The provided perm is too long to be saved in the table.

Yeah, but can that be changed?
I don't have much knowledge of how databases work.

Just add the perms seperately instead of just one huge perm...
The regex and wildcard system was meant to be used, to combine multiple perms, but not like 200 in one.

In your case could you simply give a perm like particlehats.particle.* and then allow/deny those you (don't) want to give.

You can also increase the field size in MySQL if you really wanted to, but yeah, Andre's suggestion is better. :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

RikoDEV picture RikoDEV  路  4Comments

TheoRetisch1 picture TheoRetisch1  路  3Comments

Alee-OneHit picture Alee-OneHit  路  3Comments

sfxworks picture sfxworks  路  3Comments

Eustiya picture Eustiya  路  3Comments