#support-2

1 messages ยท Page 74 of 1

prisma hinge
#

Also you're saying is true

#

But you're also saying you allow non-premium players to join

#

Sus

urban carbon
prisma hinge
#

Then you don't allow non-premium players to join

urban carbon
#

I dont think

#

im not sure

#

im new to this

prisma hinge
#

Yeah I can tell...

#

Then in that case it's possible that Mojang skins servers are down

#

And the editor is unable to retrieve them

urban carbon
#

ok

#

so its not me

tame hollow
#

works on the demo

prisma hinge
#

Hmm.... wouldn't that be on the client side of things?

#

Skins resolution/lookup

tame hollow
tardy glacier
tame hollow
#

tell me why i should use it over minotar and maybe i will :P

tardy glacier
#

my friend makes it peepoClapJamminMoment

prisma hinge
#

Yeah but it needs the client to reach the API, right?

tardy glacier
#

they got mojang api cooldown override

#

which im sure minotar has too tbf

tame hollow
#

idk what you mean fefo lol

prisma hinge
#

Web

tame hollow
#

you mean the browser

prisma hinge
#

Yeah whatever you wanna call it lmao

#

!issues for me

wintry cloudBOT
tardy glacier
prisma hinge
#

@tardy glacier what do you think of my idea? eyesshaking

tardy glacier
#

Where is it

#

Oh

#

Nice

prisma hinge
#

Over the rainbow

#

Way up high

tardy glacier
#

I saw it.

#

It's a fine idea, I guess

prisma hinge
#

My main goal is debugging

#

Obviously

#

Because people love to fiddle around with config and "I didn't touch anything"

#

(is that the right word? Fiddle)

prisma hinge
tardy glacier
#

That's a cool idea fefo

#

I'll check your fork to see how it's goin

#

Doesn't seem like a hard thing esp since the config classes are so easy to use already

high raven
#

no fefo

#

bad idea

#

just make lp debug which dumps all data (except users) into a json and ships it to a web viewer

#

and then lp debug --full which includes users

#

by everything I mean editor data, but also config and server startup and other plugins involved

#

@tame hollow could make a web viewer for that right

#

UwU

tame hollow
#

well yea

prisma hinge
#

I mean yeah ig that's something that could be done, but I've been thinking of a command to check the current value of a specified setting to make troubleshooting easier by spitting a ton of info

high raven
#

well that's the point

#

except instead of limiting it by one value

#

it's all sent and then we can CTRL+F on a webpage

tardy glacier
#

Oooo

prisma hinge
#

what's the point of that then?

high raven
#

easy troubleshooting?

prisma hinge
#

we can just keep saying "send an editor link", "send your lp config", "send startup logs" etc

high raven
#

yes

#

but that's a lot of things

prisma hinge
#

if we're gonna ctrl f anyway I don't see a point in that

high raven
quaint idol
#

all the info at once

#

DIscordSRV has a similar system

#

it makes life so much easier

#

ask for 1 command and what the issue is, we can usually solve it

prisma hinge
#

I'd rather see a screenshot of a specific setting status, one I'm suspecting could be messing with something

high raven
#

Why ask them to run a command to check for one specific value in the config? what if you want to check 4 or 5?

#

then you have to ask to run 4 or 5 commands

#

is it not more efficient to have them send everything with one command

prisma hinge
#

Again, if I'm going to Ctrl F anyway it's the same as just asking to send the config

#

What's the point in that

high raven
#

but it is not

prisma hinge
#

How is it not

high raven
#

it will send everything so we can cross reference and check startup logs while also checking lp info and group names and literally everything at once

#

we don't need to keep asking for more thigns

#

"send lp debug link and we'll tell you what's wrong" is much easier than

#

send console log

#

send lp info

#

send config

#

etc etc

quaint idol
#

(with back and forth time in between each)

high raven
#

yeah exactly

#

and then the web viewer can have good navigation function

#

so you can open the config with one click and go to the editor with another and fly around looking at all possible causes for a problem

prisma hinge
#

mkay

#

comment all that you just said on the issue ๐Ÿ˜›

#

you cheeky bastard literally copy/pasted everything xD

high raven
#

yes

tardy glacier
#

Does luckperms have tests of any kind somewhere that I'm missing

#

If not I'm very interested how luck tests things

high raven
#

he doesn't

tardy glacier
#

Especially with so many support platforms

high raven
#

I know for a fact he just commits and lets users test

#

sometimes will load it up on a local server first

#

no tests at all

tardy glacier
#

Very interesting

#

Must be nice to be so confident in your code PepeLa

high raven
#

and tbh I've seen him test things once and once only - the verbose command command

prisma hinge
#

He did throw some unit tests around

high raven
#

ah

#

standard make sure things work tests

#

nothing for new features tho lol

tardy glacier
#

Cool thanks for the info

prisma hinge
high raven
#

oh really haha

tardy glacier
#

Link broken

#

For me at least

high raven
#

aber it was a bad commit

tardy glacier
#

Oh

quaint idol
#

(and link not broken >:) )

tardy glacier
#

Mobile being stupid I guess

high raven
#

no

#

private channel

tardy glacier
#

Oh ok

prisma hinge
#

Cool Kids Channel

quaint idol
#

lowkey feel like aber deserves access to the role to get him that channel though

high raven
#

nah he's totally useless

tardy glacier
prisma hinge
#

lol no

high raven
#

also _11 you don't have to suggest the same thing twice a day

#

we see your messages

tardy glacier
#

Was that commit link in the pebkac channel

high raven
#

nah lol

quaint idol
#

nope

tardy glacier
#

Aw too bad LOL

quaint idol
#

we do have other channels besides that you know

tardy glacier
#

I know ofc

#

brb

quaint idol
high raven
#

that censorship didn't actually censor lol

#

just made the text read better from far away

tardy glacier
#

Patreon voice ๐Ÿคก

prisma hinge
#

actually lol

quaint idol
#

fixed ๐Ÿ˜›

mighty yarrow
#

Give me access to turbo simp channel

#

I know there's one ๐Ÿ‘€

high raven
#

there is not

#

well, my DMs i suppose

mighty yarrow
#

hmmMhmmm

#

!chat

wintry cloudBOT
prisma hinge
mighty yarrow
#

Nien

tardy glacier
#

Hi samosa

keen spade
#

If I make a new LuckPerms db in mysql/maria and relaunch will the plugin generate the schema, or is there something I need to run to prime the db?

high raven
#

LP does it all

#

just give it an empty db (no tables premade) and it'll make all of them

#

if you make some but not all, or delete one or two, LP will be unable to make the rest

keen spade
#

Okay cool.

#

I had one already but I ruined it.

#

So I made a new one and re-launched.

high raven
#

actually i can probably be more specific

#

don't make any tables that LP needs in the DB - things that by default start with luckperms_

#

everything else can probably be in there just fine

keen spade
#

I was using a LP specific db.

#

But I do appreciate the clarification

#

Hmm

#

[00:43:03] [Server thread/INFO]: [LuckPerms] Performing initial data load... [00:43:03] [Server thread/WARN]: java.util.concurrent.CompletionException: java.sql.SQLSyntaxErrorException: Table 'LuckPerms2.luckperms_groups' doesn't exist

high raven
#

did you change the default in the config

#

for table prefix

keen spade
#

Nope.

#

The only change I made was to give it the db/creds.

#

Then I ran it.

high raven
#

ok, does your LP user have full db perms

keen spade
#

Blew up the DB, and setup a new one.

high raven
#

like, all of them

keen spade
#

It does appear to

high raven
#

ok send the full startup log then pls ๐Ÿ˜„

keen spade
#

Looks like it did make one table

prisma hinge
#

what is it with this issue

high raven
#

yes, sometimes it does weird things

prisma hinge
#

it's always exactly the same whenever it pops up

high raven
keen spade
#

Haha

prisma hinge
#

I don't lol

high raven
#

ok

tardy glacier
#

Hm

keen spade
#

What issue is it?

high raven
#

ocelot send that full startup logf

#

send the LOG

#

reEEEEE

keen spade
#

Fefo knows the ISSUE not the cure.

high raven
#

i have seen the issue too

keen spade
#

I'm not sending my log I heard you can doxxxx me

#

(Hold on)

high raven
#

but it's had different causes

#

!paste

wintry cloudBOT
#
Please use pastebin!

Seeing a paste of the problem makes everything so much easier! Use https://bytebin.lucko.me/ for easy pasting!

For console errors:

Pastebin any relevant segments of the console log. If it's a startup error, this includes the entire startup log!

Other errors:

Pastebin the entire LuckPerms config file (passwords removed) as well as any other relevant files!

keen spade
#

Logs ^

prisma hinge
#

YOU DON'T HAVE VAULT INSTALLEWD

keen spade
#

Oh

#

Hahaha

#

Fuck.

prisma hinge
#

WHY DOINT0'A YOU AHOEA VAUTLKT INSTALLEC

high raven
#

hahahaahahahaa

prisma hinge
#

not that it's going to change anything lmao

keen spade
#

I didn't even know it was a requirement.

#

HOW WAS I SUPPOSED TO KNOW

high raven
#

fefo

#

join vc syscraft

#

we can yell at him together

prisma hinge
#

lol can't now

keen spade
#

I prefer to be berated via text, thank you.

prisma hinge
#

3 in the morning Larry ๐Ÿ™ƒ

high raven
#

join and listen wtf

prisma hinge
#

also can't, I'm delighting my ears with some beautiful Doom soundtrack aPES_LulLaugh

high raven
#

damn

#

ok whatever

prisma hinge
keen spade
#

Yeah he yelled at me for that, too

#

I'm trying to fix an old server.

#

So I'm updating things slowly.

high raven
#

!latest

wintry cloudBOT
#
Latest version

5.2.94

prisma hinge
keen spade
#

Just to be clear:

#
  1. Dropped LP into the /plugins dir
  2. Modified config.yml for LuckPerms to use mysql with username/pw and LuckPerms db.
  3. Ran the server, did some stuff. I then broke the permission by accident.
  4. Made a new db with the name LuckPerms2
  5. Saw errors
prisma hinge
#

doesn't sound much of a fix to me tbh

keen spade
#

I DID make a whole new db.

#

Sorry I was typing that to Larry

#

Who kept saying "just make a new one again"

prisma hinge
#

lmao

keen spade
#

Okay Larry suspects it's the number 2.

#

So I'm going to try LuckPermsNew

tardy glacier
#

try LarryPerms

prisma hinge
#

try all lowercase

high raven
#

THAT IS WHAT I SAID

#

I AM TELLING HIM THIS

#

LIVE

prisma hinge
#

LARRY

high raven
#

and he says NO

prisma hinge
#

SECOND WARNING

#

GOLDEN RULE #1 BE NICE

high raven
#

hahahahaa

#

to whomst

prisma hinge
#

u

tardy glacier
#

luckos golden rules holdheart

high raven
#

no, be nice to whomst

keen spade
#

I didn't say no!

#

I said I already made it!

#

So I'm gonna try it

prisma hinge
high raven
#

hey

#

don't yell

#

warning #69

#

be nice fefo

prisma hinge
#

nice

keen spade
#

Okay same error.

#

So now I'm trying all lowercase because Larry said so.

#

mysql> use LuckPermsNew; Database changed mysql> show tables; Empty set (0.00 sec)

#

Database changed mysql> show tables; +------------------------+ | Tables_in_LuckPermsNew | +------------------------+ | luckperms_messenger | +------------------------+ 1 row in set (0.00 sec)

#

For posterity.

#

It does create luckperms_messenger first apparently.

prisma hinge
#

that doesn't seem very lowercase lol

keen spade
#

No that was the old one.

#

Sorry, making a new db and starting again takes a sec.

#

My internet connection is garbage at the moment and the test box is slow.

prisma hinge
high raven
#

same error

#

more ideas fefo

prisma hinge
#

no, I'm just Regular Fefo

#

More Ideas Fefo went to get some cigs

keen spade
#

Yep

prisma hinge
#

weird thing is

#

as far as I know, the messaging table isn't the one created first

keen spade
#

mysql> show tables; +--------------------------+ | Tables_in_luckpermsthree | +--------------------------+ | luckperms_messenger | +--------------------------+

#

Yeah.

#

It's pretty odd.

#

This totally worked just fine before.

#

Until I swapped the dbs.

#

I just hosed the perms and was trying to get a clean db for a repeatable build.

prisma hinge
#

actually

#

@keen spade stop the server, remove the messenger table, set the messaging-service to none in LP config and start it again

keen spade
#

Okay, I can try that.

#

Need to wait one, i'm upgrading the db because Larry said it was old and I should feel bad.

high raven
#

mysql from 2015

#

when mariadb exists

#

who does that

prisma hinge
#

lol

#

oh well never mind

#

setting it to none silently sets it to auto kekw

#

set it to notsql for the sake of testing lol

keen spade
#

Oh that won't work?

#

Haha

#

Okay

#

I can try that.

#

Same thing, Fefo.

#

Alas!

#

I'll probably just recreate the tables manually from my old db for now.

prisma hinge
#

so strange...

#

full privileges, righT?

tardy glacier
#

i found the bug

prisma hinge
#

no balls

high raven
#

prove it aber

tardy glacier
#

pay me $50 USD

keen spade
#

Yeah Larry pay the man.

high raven
#

no ocelot

tardy glacier
#

no

#

EACH of you

#

pay

high raven
#

no troll

prisma hinge
#

"in my town the currency is stone. So you accept stones as payment? kekw"

tardy glacier
#

ive been lookin at the code but no idea

#

only fefo can solve this mystery

prisma hinge
#

ocelot

#

u there

high raven
#

yes

#

speak

#

i will relay

prisma hinge
#

ok

#

mind if I send you a "custom" LP build see what's going on? (I'll just add a heck lot of debugging prints lol)

high raven
#

no

prisma hinge
#

stfu

high raven
#

warning #420

#

be nice

keen spade
#

Nope Fefo not at all.

#

I'll totally try anything.

#

Happy to debug.

high raven
prisma hinge
#

okay good

#

I just need to add the crap first lol

keen spade
#

It's cool

#

I'm upgrading some stuff

#

I figure while I'm in here.

prisma hinge
#

compiling Loading

#

don't ask me why it's .90

keen spade
#

Haha

prisma hinge
#

I have no clue how this automatic versioning works lol

keen spade
#

9 is bigger than 8.

#

So that's nice :)

#

I'm right in the middle of an upgrade so it might be a few

prisma hinge
#

sure

keen spade
#

Okay Fefo, firing it up with the new jar.

#

Oh wait should I set the messaging-service back to auto?

prisma hinge
#

uuh sure ig

keen spade
#

Hm.

prisma hinge
#

I just added prints to the storage part, not the messaging

keen spade
#

Different error.

#

But I upgrade a bunch of stuff so now I think its me.

prisma hinge
#

Access denied for user 'minecraft'@'localhost' (using password: YES)

#

lol

keen spade
#

Haha

#

I missed that line. :)

#

mysql may be horked now.

#

Ahh was config issue. Whoops.

#

Okay fixed.

#

But same error.

#

Pasting

prisma hinge
#

okay what the fuck

#

it's saying that the {prefix}user_permissions table exists

#

when it doesn't

#

that's the one it uses to check if the tables are set up

keen spade
#

Yeah looks like messenger is the only one existing.

#

Still

prisma hinge
#

yeah that one is created separately

keen spade
#

Ahh

prisma hinge
keen spade
#

Sure can.

merry mulch
#

And prob delete libs

prisma hinge
#

Again, it's just some additional logging; if you want me to force-create the tables just tell me but you'll have to change the jar back lol

#

uuh.. no lol

keen spade
#

Haha

merry mulch
#

k

prisma hinge
#

no need for that

keen spade
#

Well that's a longer error.

#

Or more logging, at least :)

#

luckperms_messenger is the only table in the db again.

prisma hinge
#

what...... why is it listing the other ones....

#

the db is fresh I suppose...????

keen spade
#

It was, yeah.

#

I can make another one and try again if you want.

#

To be sure.

#

GRANT ALL PRIVILEGES ONluckpermsthree.* TO minecraft@localhost

#

From grants table

#

Just to confirm that bit also.

prisma hinge
#

this has to be the weirdest error I've come across with

keen spade
#

You and me both.

prisma hinge
#

yeah looks good

keen spade
#

I'm really cutting edge, here.

#

Top of the line errors.

prisma hinge
#

wait a second

keen spade
#

Am I doing something so obviously wrong that you just figured it out?

prisma hinge
#

I think I have a lead

#

but my lack of knowledge on databases doesn't help lol

keen spade
#

Haha

prisma hinge
#

OH MY GOD

#

I managed to recreate the issue LOL

keen spade
#

Hhaha

#

How?

#

Swapping to a new db?

prisma hinge
#

uuh I don't know how to explain this, but it basically scans the entire sql server for a table names {config prefix}user_permissions

keen spade
#

Wow.

prisma hinge
#

and it turns out that if the table already exists in another db on the same server and it happens to come before the "new" db alphabetically, it will say it's there

keen spade
#

Ha!

#

So if I make a kperms db it'll just work

prisma hinge
#

Should lol yeah

keen spade
#

Hmm

#

Wait k comes after l

#

Or no.

#

Before.

#

Man I'm getting tired.

#

kperms: same error.

#

So maybe even if it isn't alphabetically before the full scan is still making it puke?

prisma hinge
#

is it on linux?

#

maybe it's case sensitive

#

oh right

#

wait yeah I'm stupid kekw it scans the whole thing

keen spade
#

Yeah

#

Nice job cracking that one, Fefo.

#

That was a few hours off and on of fucking with it.

prisma hinge
#

Jesus...

severe mural
#

Arch Linux control freak power user has joined the chat

#

I see Linux and I become interested

prisma hinge
#

nothing to do with linux lol

severe mural
#

lol

prisma hinge
#

I'mma make a fix rq, test it and send it over then open a PR

keen spade
#

Sounds good!

#

Fefo you're the best.

prisma hinge
#

!bugreport time

wintry cloudBOT
keen spade
#

Do you want me to open the bug?

prisma hinge
#

Nah, I'm looking for a closed issue that referenced this problem

#

I am amazed by the lack of detail on issue titles lol

keen spade
#

Haha

#

This one?

prisma hinge
#

oh wow well my eyes missed that one

daring stirrup
#

feeefooo pr when!~?

keen spade
#

04:17:50] [Server thread/INFO]: [LuckPerms] Performing initial data load... [04:17:50] [Server thread/INFO]: [LuckPerms] Successfully enabled. (took 6612ms)

#

Victory!

#

Fefo for president.

prisma hinge
daring stirrup
#

but why did it always make the messagering table and not the others?

prisma hinge
#

because the messaging service simply does a CREATE TABLE IF NOT EXISTS or whatever

#

on its own, separate from the storage

prisma hinge
severe mural
#

the messaging service doesn't need a table if it's Redis either

prisma hinge
keen spade
#

Haha

prisma hinge
daring stirrup
#

Are all your prs on LP +1 and -1?

prisma hinge
#

Many are hahaha

#

Pull request successfully merged and closed

keen spade
#

\m/

#

Thanks again, Fefo.

#

Really appreciate the help.

#

Now I can continue debugging stuff at 1:30AM. :)

prisma hinge
#

The pleasure is mine! We'll never see that error ever again!!

daring stirrup
#

Yes we will

prisma hinge
#

And we can simply !update ;)

daring stirrup
#

Yes, but... we'll still see it ;p

prisma hinge
#

true that

keen spade
#

Hahah

severe mural
#

my guy be signing his commits

opaque star
#

Hello Everyone NPCDryadWave I have been creating groups and I am not sure if this is Luckperms but the prefix on the group constantly changes (colour and size) like an animation, if this is luckperms can someone please educate me on how and why this is?

daring stirrup
#

uh no?

opaque star
#

hmmm

#

okay thanks!

lunar cargo
#

Anyone know why every rank has two prefixes?

daring stirrup
#

essentialsx chat?

lunar cargo
#

ok thx

daring stirrup
#

do you use that?

#

!moss

wintry cloudBOT
#
Essentials

Make sure you are using EssentialsX and Vault for prefixes. For any other issues with Essentials, you should seek support in either #general or the official EssentialsX support Discord.

EssentialsX Discord
opaque nebula
#

In the essentials config

high raven
#

Fefo you're a legend

tardy glacier
#

Good morning Larry

high raven
#

Morning ๐ŸŒž

knotty goblet
tardy glacier
#

!errors take a look at this

wintry cloudBOT
knotty goblet
#

it works between my bungeecord and paper server when both is on one, i want to connect a third to the mysql from another server, this doesnt function

mighty spear
#

@knotty goblet

the address and login data is right
No, it isn't.

#

Your address is wrong

tardy glacier
#

jay peepoClapJamminMoment

knotty goblet
daring stirrup
#

what did you use for your address

knotty goblet
#

my ipaddress from the server i want to connect to

#

there is bungeecord luck perms

#

the bukkit luck perms on the other server on the same ip address with the bungeelp works

quaint idol
#

Jay why do you still have your christmas nick lol

mighty spear
#

Shush

vocal geode
#

Im really confused with stacking, could someone help me out here?
I have 4 tracks: law, outlaw, marketing, and staff. so basically the first three tracks are going to have a same meaning, since all normal player are going to have them. But how do i a add so there are 2 prefixes if someones is in staff track?
It should look like this: [Mod] [Default] <player>

prisma hinge
#

What have you tried?

vocal geode
#

well, in a config.yml played around with the stacking (forgot whats it called), but that just removed the prefixes entirely

#

Meaning i have no knowledge how that works

prisma hinge
#

By "What have you tried?" I mean what have you tried exactly, what did you put in config exactly, what did you change exactly, etc

#

Because maybe you were on the right path but made a miniscule mistake that fucked everything

vocal geode
#

i remembered editing the "higher" to something like "higher_to_track_law"

#

or something like that

#

*highest_on_track_law''

#

and added two of them

#

*highest_on_track_staff''
*highest_on_track_law''

prisma hinge
#

Looks about right

#

Screenshot the meta-formatting settings in config please

vocal geode
#

its back to default

prisma hinge
#

Also for updating it, after saving did you fully restart the server, run /reload or run /lp reloadconfig?

vocal geode
#

should i add weight first?

#

cuz all ranks have 0 weight

prisma hinge
#

You can do that anytime but yeah everything should have its own weight, and it'll be better for this if you do now tbh

#

Also, keep in mind prefixes/suffixes have their own weight, separate and independent from the group weight

vocal geode
#

what does weight mean exactly?

#

i never touched it

prisma hinge
#

Priorities basic

#

Basically*

#

!weights

wintry cloudBOT
vocal geode
#

Oohhhh awaaait

#

i added weight and now it worked...

#

It works, but only when im on the same track

#

whenever i change track, the prefix for staff goes

#

so i can do /promote without changing a thing

#

but when i set parent to different track, the staff prefix disappears

prisma hinge
#

What?

vocal geode
#

sorry, i figured it out

vocal geode
#

How do i /set my group without changing the prefix for the staff group?

vocal geode
#

Umm, are you familiar with command panels plugin?

prisma hinge
#

non

vocal geode
#

ahh... ok so basically it brings up this GUI, and i set it up when you click on the item youll recieve a rank on a specific track lp user %cp-player-name% parent set traveler
But, since there are another prefix for a staff, the staff prefix will be gone

vocal geode
#

So basically i need that whenever i do /lp user <player> parent set <group>, i dont want it to delete the "law" track group prefix

vocal geode
#

That just adds the perm temporarily

prisma hinge
#

?

vocal geode
#

i... dont see how its supposed to work

prisma hinge
#

Read the description of the command

#

Isn't that what you want? Keeping your parent groups on other tracks but changing your position on one only?

proper pulsar
#

@young lily let's move here

#

And waaaaiiit

young lily
#

Sure

proper pulsar
#

That's the whole error?!

young lily
#

Want the error here also?

#

No there is way more.

#

Lemme pate it on hastebin

proper pulsar
#

Ah ok. I need the full error

young lily
#

Oh my

#

hastebin wont let me save.

#

-,-

#

Is a txt file allright with you?

quaint idol
#

!paste we have our own pastebin ๐Ÿ˜›

wintry cloudBOT
#
Please use pastebin!

Seeing a paste of the problem makes everything so much easier! Use https://bytebin.lucko.me/ for easy pasting!

For console errors:

Pastebin any relevant segments of the console log. If it's a startup error, this includes the entire startup log!

Other errors:

Pastebin the entire LuckPerms config file (passwords removed) as well as any other relevant files!

young lily
young lily
prisma hinge
quaint idol
#

(or can just drop a text file here and the bot will auto upload it)

young lily
#

Lol

#

Thats all i get

#

xD

prisma hinge
#

send the bytebin link...

young lily
#

Got it

#

I would create

#

Wouldn't

quaint idol
#

Bukkit - Craftbukkit
๐Ÿ˜

prisma hinge
#

server.jar:git-Spigot-db6de12-18fbb24

#

smh 11

quaint idol
#

that's what the platform print at LP startup said ok ๐Ÿ˜ฆ

#

it's not my fault MD's a moron and still hasn't changed the impl name

proper pulsar
#

You get a connection timeout @young lily

young lily
#

Im aware

proper pulsar
#

So you 100% specified the wrong address

young lily
#

Cant be

#

Other plugins do connect

#

With the same credentials

proper pulsar
#

Show me a working address section and the LP one

young lily
#

Sec

proper pulsar
#

And are they on the same MC server?

young lily
#

Yes they are

proper pulsar
#

Ok

young lily
#

Just copied the important stuff

#

NTE = NametagEdit

tardy glacier
#

different usernames

young lily
#

I see

#

lol

#

Am i for real this blind?

#

xD

#

Lemme try

#

Still the same error

#

Hmm

tardy glacier
#

also no port specified for LP

#

tho i thought it adds it by default

young lily
#

It worked on my other server

#

Its weired

#

Now i do have the right credentials it still doesn't work

#

๐Ÿ˜„

#

@proper pulsar

proper pulsar
#

Well I can log in from my machine (remote that paste and change your passwords after this is over)

young lily
#

Sure

#

Do what you gotta do.

proper pulsar
#

Make sure both username and database are luckyperms

young lily
#

I did

#

I changed it

proper pulsar
#

That's how I managed to log in

#

Do you have a linux server you can run commands from?

young lily
#

Yes

#

Need access to it?

proper pulsar
#

No. But from there you can test it

#

Run mysql -h <ip> -u <user> -p <database>

#

Then enter the password and if that works you know you have a working configuration

#

*set of credentials

young lily
#

I gues it needs to be a different server from the mysql server

#

@proper pulsar

#

As i already said i could connect perfectly.

#

๐Ÿ˜„

#

And this is from a different server

proper pulsar
#

And from the same server?

young lily
#

Also

proper pulsar
#

Ok

#

if you still can't get it to work in LP try the storage type MySQL

#

*MariaDB

young lily
#

Allright

#

Tried that before

#

But with that wrong username

proper pulsar
#

Try it with the right one then

young lily
#

Nope, still the same

#

I did this time

#

java.sql.SQLTransientConnectionException: luckperms-hikari - Connection is not available, request timed out after 5001ms.

severe mural
young lily
proper pulsar
severe mural
#

^

young lily
wintry cloudBOT
proper pulsar
#

Can I see your full pool settings section?

young lily
#
pool-settings:

    # Sets the maximum size of the MySQL connection pool.
    # - Basically this value will determine the maximum number of actual
    #   connections to the database backend.
    # - More information about determining the size of connection pools can be found here:
    #   https://github.com/brettwooldridge/HikariCP/wiki/About-Pool-Sizing
    maximum-pool-size: 10

    # Sets the minimum number of idle connections that the pool will try to maintain.
    # - For maximum performance and responsiveness to spike demands, it is recommended to not set
    #   this value and instead allow the pool to act as a fixed size connection pool.
    #   (set this value to the same as 'maximum-pool-size')
    minimum-idle: 2

    # This setting controls the maximum lifetime of a connection in the pool in milliseconds.
    # - The value should be at least 30 seconds less than any database or infrastructure imposed
    #   connection time limit.
    maximum-lifetime: 1800000 # 30 minutes

    # This setting controls the maximum number of milliseconds that the plugin will wait for a
    # connection from the pool, before timing out.
    connection-timeout: 5000 # 5 seconds

    # This setting allows you to define extra properties for connections.
    properties:
      useUnicode: true
      useSSL: false
      characterEncoding: utf8

  # The prefix for all LuckPerms SQL tables.
  # - Change this is you want to use different tables for different servers.
  table_prefix: 'luckperms_'

  # The prefix to use for all LuckPerms collections. Change this if you want to use different
  # collections for different servers. The default is no prefix.
  mongodb_collection_prefix: ''

  # MongoDB ClientConnectionURI for use with replica sets and custom connection options
  # - See https://docs.mongodb.com/manual/reference/connection-string/
  mongodb_connection_URI: ''

proper pulsar
#

Storage type is mysql or mariadb?

young lily
#

mariadb

proper pulsar
#

@soft cosmos did you recently mess with connection strings?

Caused by: java.lang.IllegalArgumentException: Optional parameter socketTimeout must be Integer, was "30000;useUnicode=true;characterEncoding=utf8;useSSL=false"

https://bytebin.lucko.me/UhZ7ZuC452

wintry cloudBOT
#

Hey BrainStone! Please don't tag helpful/staff members directly.

young lily
#

xD

#

Maby if i use an older version

proper pulsar
#

Give that a try

#

Good point

#

I'm using .90 as of now and have a working MariaDB connection

young lily
#

Could you send me that build?

quaint idol
#

!downloads bottom link

wintry cloudBOT
quaint idol
young lily
#

Thanks

#

Hate to say it

#

But still not working

#

What?

#

Im on Spigot

young lily
#

@proper pulsar Any idea's?

proper pulsar
#

@young lily Sorry, no

soft cosmos
#

No, not recently

proper pulsar
#

@daring stirrup he was responding to my ping

wintry cloudBOT
#

Hey BrainStone! Please don't tag helpful/staff members directly.

daring stirrup
#

ah ok

young lily
#

@proper pulsar

#

I fixed it

#

I changed the timeout from 5000 to 30000

#

And it works now

#

Gues my MySQL sevrer is a bit slow

#

server*

proper pulsar
#

Wait. That wasn't an error during startup?

young lily
#

Well still it works

#

xD

daring stirrup
#

update

#

!update

wintry cloudBOT
daring stirrup
#

!latest

wintry cloudBOT
#
Latest version

5.2.96

opaque nebula
#

im having troubles with my servers on my bungeecord network and lp

#

ive already went thru the bungeecheck thing

quaint idol
#

in what way

opaque nebula
#

on one server, my perms are one way, and on the other, its totally different

#

and i am using a mysql server

quaint idol
#

/lp info from both a server with "correct" perms, and one with the different perms

quaint idol
#

that's /lp user <> info

#

I need /lp info

quaint idol
#

hmm ok not what I thought it was

opaque nebula
#

this is also what its doing in the editor

quaint idol
#

!bungeecheck

wintry cloudBOT
#
Running a network and getting UUID mismatches?

Please double check that:
1. BungeeCord config.yml has ip_forward and online_mode set to true
2. All backend servers' spigot.yml has bungeecord set to true
3. All backend servers' server.properties have online-mode set to false

opaque nebula
high raven
#

You did? Then restart the server, open a new editor, and it should be fixed

opaque nebula
#

i restarted the server that was incorrect, should i restart all of them?

high raven
#

Yeah turn all of it off, db included

opaque nebula
#

oh ok

opaque nebula
#

its till creating the other uuid things in the editor but the perms are all properly synced between severs

high raven
#

The UUID things are people that joined while the network was not configured exactly like this:

#

!bungeecheck

wintry cloudBOT
#
Running a network and getting UUID mismatches?

Please double check that:
1. BungeeCord config.yml has ip_forward and online_mode set to true
2. All backend servers' spigot.yml has bungeecord set to true
3. All backend servers' server.properties have online-mode set to false

high raven
#

So if it is now, you can run lp clear UUIDHERE and it'll remove them on restart or after a while

prisma hinge
#

LARRY NOOOO

#

D:

#

lp user <user|uuid> clear

opaque nebula
high raven
#

Ah yes fefo

#

And, I think so

opaque nebula
#

then it doesnt fix it

#

bc ive deleted them

opaque nebula
prisma hinge
opaque nebula
#

ok

opaque nebula
high raven
#

Clear them

#

Restart

#

all of it

#

If it still doesn't then those players are online and your server isn't set up correctly yet

opaque nebula
#

restart my entire network?

high raven
#

That will be guaranteed to remove all the UUIDs that you just cleared from the editor

opaque nebula
#

theres only 2 people online but it adds 9

#

ok

#

still there

#

i think i can live with it

#

unless you want me to get in a vc and screenshare

high raven
#

It shouldn't be possible for those to be there

#

If you did all of that

opaque nebula
#

do you want me to show in vc?

#

might be easier

prisma hinge
#

How I separate the range from the name

#

[Owner]Reportado NO
[Owner] Reportado YES

#

And according to the plugin using this: "" I can put it or something if but it's not

lofty gull
#

In order to link luckperm with a database it is necessary to create special tables in my database ?

wary forum
#

Sorry but my permission system not work. Text for wiki plugin: "shop.use - /shop". I'em add shop.use (world: uf-world) not workink. Please help

#

Context not working

severe mural
bitter heron
vocal geode
#

wheres the damn prefix?

ruby pollen
#

hello

humble cobalt
#

it wont show on the user iirc

vocal geode
#

what do you mean by that?

tardy glacier
#

That would be up to your chat plugin ivandpf

fringe copper
# bitter heron

I have followed the pinned steps, and my panel (Wisp) is able to connect and create database users, however when I try connecting via LuckPerms I get this error too. I have tried setting bind-address to 0.0.0.0 and MariaDB allows the user to connect from anywhere.

high raven
tardy glacier
#

larry peepoClapJamminMoment

high raven
#

Hai aber

fringe copper
#

Figured it out! In my mysql error logs there was a warning, "IP address '172.200.0.3' could not be resolved: Temporary failure in name resolution". I was able to fix this by adding "skip_name_resolve" into the 50-server.cnf file.

prisma hinge
#

hey would anyone be able to help me with something? this is my first time using luckperms and im not super tech savvy

vivid token
#

Anything in particular you need help with?

prisma hinge
#

so like i said this is my first time using luckperms and i created groups but 1. when i closed the tab and opened it again my groups werent there and 2. idk how to add my staff

#

Editor sessions are not persistent and they are local to the web browser

#

Each time you run applyedits, if you want to keep making changes you need to open up a new session

#

!editor explained in there

wintry cloudBOT
prisma hinge
#

!usage might want to give this a read too

wintry cloudBOT
prisma hinge
#

oh ok that makes sense. i was putting the url into my server each time i made changes so i think thats good

#

but how do i add my staff to each group?

#

ah ty!

#

this discord is so helpful

thick moss
tardy glacier
#

!errors read

wintry cloudBOT
prisma hinge
#

how to change the default group?

#

You don't

#

Everyone gets the group named default on first join

#

Use that one instead

#

how can I rename the default group then?

tardy glacier
#

change its display name

#

!default

wintry cloudBOT
prisma hinge
#

thx

thick moss
austere wing
prisma hinge
#

Oh my fucking god

austere wing
prisma hinge
#

Can you for the love of God disable reply pings???

#

And read the channel pinned message

austere wing
#

And why did he send me to this channel? luckythonk

prisma hinge
#

TO READ THE DAMN PINNED MESSAGE

#

Holy fuck

#

Make an effort

tame hollow
#

fefo chill kek

mighty yarrow
#

fefo i give hug

#

its ok bb

modern imp
#

He lads I have a Question, So I dont want to have Jr. Mods being able to ban head mods and head mods to be able to ban admins, so ranks above them I dont want them to ban, is their a way to do this in Luck Perms?

daring stirrup
#

no

#

up to your ban plugin to handle that

modern imp
#

hmm alright, thx for the info

prisma hinge
mighty yarrow
#

โค๏ธ โค๏ธ โค๏ธ

prisma hinge
severe mural
#

Hello

#

Imaging having a coffee an hour before going to bed lol

languid blaze
#

hey I have a question is there like a whisper command that whispers to a group instead of a user?

severe mural
#

nope

languid blaze
#

any plugin that can do that?

lone iron
#

hey guys I need a hand because even if I keep changing the permissions and I give them to someone they always tell me that they have no permissions

warm elk
prisma hinge
#

how to add essentials commands to bungeecord luckperms!

#

any help?!?

#

you need to install the lp bridge

#

the rest will setup automatically

#

this is a plugin>

#

?

#

go to luckperms page

#

you will see spigot jar and bungecoord

#

right

#

in order to make lp work on a network you need to install it on all subservers

#

and on the bungee

#

also make sure to give every server a name in the config

#

You need this setup for example to make bungecoord commands to work

#

and to be able to use bungeecoord plugins

#

spigot lp for all the subservers?

mighty yarrow
#

!bungee

wintry cloudBOT
prisma hinge
#

yes

#

lp needs to be on all servers

#

It is pretty straight forwards

#

install bungeecord lp, install it on all subservers

#

and connect them via mysql

#

done

#

the problem i dont have mysql

#

so...

#

just don't forget that you need to write every single config

#

mmh you can also use other storage options

#

like

#

but mysql is the best for networks

#

sqlite

#

this is

#

?

#

it is a storage that is hosted on the server

#

or you can use file storage

#

in the file storage

#

but well sql is the best and most secure one

#

you can read about this in the wiki

#

it is explained pretty good

#

if i give someone rank it is in the all servers?

#

yea

#

unless you set context

#

like I explained in general 1

#

how to do that?

#

you set them when you make the permissions

#

you can define worlds, servers and more

#

For example

#

you want a player to be able to build in world 1 but not world 2

#

i do it in game?

#

so you set essentials.build true world:1

#

It is easier to use the lp editor

#

especially when you are new to lp

#

in the lpb editor

#

i dont have a essentials permission

#

you gotta be in the helpful role

prisma hinge
#

ehm

#

sry was on other discord xD

#

you need to add those permissions manually

#

lp suggest permissions tho

prisma hinge
#

when you have a plguin installed lp hooks in and checks for the permissions

#

here you have all permissions of essentials

#

copy them and add them to the groups where you need them

#

OK THANNSK

opaque nebula
#

How do I set perms for specific servers on a bungeecord network

prisma hinge
#

@opaque nebula read general 1

#

I explained it like 3 times today xD

frail coyote
#

Hi, not sure if this is the right place to ask.. I have been trying out plugins for the first time so I'm not entirely sure what I'm doing lol. On my server I have KeepInventory set to true and it works in the overworld, but in the Nether (idk about the end yet) when I die I am dropping all my stuff. These are the plugins I have installed.. could it be a luck perms thing causing this?

mighty yarrow
#

did you do /gamerule?

frail coyote
#

yeah, /gamerule KeepInventory true

mighty yarrow
#

may wanna do it while in the nether too

frail coyote
#

lmao yeah that worked. Thanks ๐Ÿ˜‚ can't believe I didn't think of that

mighty yarrow
#

np

prisma hinge
#

hey.
i put prefix on to my rank lpb and it dosent show or do /nick

daring stirrup
#

you also need luckperms on your backend servers

prisma hinge
#

i have

#

(:

daring stirrup
#

screenshot /lp info and /lpb info

prisma hinge
daring stirrup
#

!sync

wintry cloudBOT
prisma hinge
#

i cant use mysql

daring stirrup
#

you need a database like mysql etc to sync your data

prisma hinge
#

i cant use mysql

daring stirrup
#

then put your prefixes with /lp and not /lpb

prisma hinge
#

and it put it in all servers

#

?

daring stirrup
#

no

#

because you don't have a database

prisma hinge
#

there is another way to do it without mysql

daring stirrup
#

mongo, mariadb, postgresql

prisma hinge
#

what is mongo

#

?

#

you don't need mysql man

#

luckperms has ways to communicate without this

#

redis, lilypad

#

redis

#

you don't need sql it is just the better option

#

what it is

#

look up the link

#

it is explained in the wiki

#

it host a service inside of your network

#

how to do it

#

I use this method to have an adminchat via bungeenetwork

#

sorry for asking a lot of questions

#

You basically tell your luckperms to use in in config etc.

wet plover
#

How do I make it so the ranks r on top of the tablist?
So like helper mod etc is on top or bottom and normal ranks are below it etc

prisma hinge
#

@wet plover this is a tablist thing not luckperms

#

your tablist defines the sorting etc.

wet plover
#

Wdym?

#

Oh

prisma hinge
#

it has nothing to do with luckperms

#

you need to define it in your tablist plugin

wet plover
#

How do I do it then?

prisma hinge
#

you need to look in the manual of your tablist plugin

wet plover
#

oh

prisma hinge
#

?

wet plover
#

Whats hat?K

#

that*

#

For the tablist?

prisma hinge
#

no

#

i need help too

wet plover
#

oh

prisma hinge
#

Read the wiki hehe not everything is in the preset configs

#

@wet plover what plugin you use?

prisma hinge
#
daring stirrup
#

redis isn't for storage

#

its messaging system

prisma hinge
#

for communication and change applies

prisma hinge
daring stirrup
#

you can use H2 but you cannot sync your data across different servers

wet plover
#

But its not for me

prisma hinge
#

Redis etc. are messaning services that inform other server instances of permission changes...

wet plover
#

Its a server Im helper on

#

Owner doesn't know how to do it

prisma hinge
#

it tells the other servers what to change in the storage

wet plover
#

I found a cmd like this /nte group (group) priority (number)

prisma hinge
daring stirrup
#

yes you'd need to do the command on every server

prisma hinge
#

are you guys even reading the wiki pages xD

#

I give up on you two

#

i read but its not what i need

#

it is the fuck xD

#

networksync

#

what do you think is network sync doing?

#

Settings for the messaging service.

If enabled and configured, LuckPerms will use the messaging system to inform other connected servers of changes. Use the command "/luckperms networksync" to push changes. Data is NOT stored using this service. It is only used as a messaging platform.

#

messeging

#

no rank

#

s

#

when you use local storage it transmit the changes via the server

#

if you use sql you don't need this cause everythign is connected to the same sql server

#

but if you use storage systems that are not connected you need something that transmit the changes