#support-1

1 messages · Page 385 of 1

foggy quartz
#

@lapis ibex

wanton stratusBOT
#

Hey Diamond! Please don't tag staff members.

foggy quartz
#

think u can help

lapis ibex
#

More info

foggy quartz
#

/lp group owner editor

#

not working

lapis ibex
#

What’s the error? Or if no error, what’s happening?

foggy quartz
#

i dont get a link

#

or anything

lapis ibex
#

What version of LP are you using?

foggy quartz
#

latest

lapis ibex
#

Number please

foggy quartz
#

4.1.25

lapis ibex
#

That’s not latest

foggy quartz
#

wait

lapis ibex
#

Please try the actual latest. You’ll find links in #welcome

foggy quartz
#

the werid thing i can /perm editor

wide bridge
#

The command /lp group <group> editor works fine for me

#

I am using a out of date version though... version 4.1.25 😛

foggy quartz
#

i updated and now my server is like this

foggy quartz
#

anyone know how to fix?

wide bridge
#

Maybe try restarting your server?

foggy quartz
#

nope

wide bridge
#

Maybe backup the permissions and files for users and have it generate a fresh new folder?

foggy quartz
#

yeah i tired that

#

but

#

i have a lot of permssions

wide bridge
#

Couldn't you download the files for it?

#

Or rename the folder for it LuckPerms-backup?

foggy quartz
#

I turned off all my other servers

#

And only the main

#

Still the same thing

#

I can delete the whole config

#

But that would reset everything

#

I tired

wide bridge
#

Do you get any errors when a user tries joining?

hasty tree
#

what does the error in the console say

hasty tree
#

You're still not running the latest mate

#

Are you removing the old jar files when you add the new one?

foggy quartz
#

yes

hasty tree
#

Well that console error said you were running 4.1.5

foggy quartz
#

yes i was testing out if my older version would have worked again

#

im adding the new one again to see if it fixes again

#

hopefully :/

#

before even trying to join

#

i got this

foggy quartz
#

I am having an issue where players that log in cannot immediately access some towny perms. If they relog they can access them. I tried this on a test server and it only happens when I'm using luckperms. Unfortunately I can't figure out why. any suggestions?

opaque obsidian
#

If I make the weight high does that make it the lowest or highest rank?

toxic wagon
#

@opaque obsidian The higher the number the higher the group / prefix is
@foggy quartz Make sure you're getting the latest from https://luckperms.github.io/
@foggy quartz What changes when they relog? Does thier group change? Does the perms get added to them?

foggy quartz
#

Nothing appears to change. Since townyperms are handled in a seperate file, It is hard for me to figure out what is happening, and there is no way for me to add the perms to lp.

toxic wagon
foggy quartz
#

Thanks for all the help guys! I think I got it going good!

foggy quartz
#

@toxic wagon it is

finite musk
#

Hello, I have a VIP rank and a inherit of the Default rank, the default rank has the prefix "&7" and the users that have the VIP rank temporarily have the prefix "&7" and in the chat that prefix appears, when I give it the rank permanently, do not inherit the prefix. Is it possible to deny the default rank prefix/suffix to the VIP rank? Thank you.

mental flax
#

U can set prefix with bigger priority to vip

finite musk
#

Yes, is already

tiny path
#

i need to install the bungee version on my bungee server and the bukkit for all the others server ?

finite musk
#

Bungee version is for permissions of BungeeCord and Bukkit version for Bukkit permissions, and with the same data in config, everything is synchronized.

tiny path
finite musk
#

You have Chat plugin?

tiny path
#

Nope, i dont think

finite musk
#

Use ChatEx or EssentialsChat

#

ChatEx its more simple

tiny path
finite musk
#

Or ChatControl, but is more extended

#

Install ChatEx

tiny path
#

EssentialsChat use to much ram, i prefer do the plugin by myself ^^

#

oka

lapis ibex
#

You need to remove PEX

#

You can’t have two permission plugins

tiny path
#

Ohh

#

sorry

#

i dont see it

#

@lapis ibex

wanton stratusBOT
#

Hey HYKROW! Please don't tag staff members.

foggy quartz
#

I still can't log into my server

lament vortex
#

Hi! I'm using bungeechat and luckyperms but it doesn't seem to fetch prefix and suffix. Should I put luckyperms on bungee server?

#

Luckyperms is on both servers that is available

foggy quartz
#

Can I get any hello please

tiny path
#

hello

foggy quartz
#

I already sent the console errors above

lapis ibex
#

@foggy quartz can you post it again? I can’t find it

lapis ibex
#

@lament vortex yes you need it on the bungee. I recommend reading the “Network Installation” page on the LP wiki

lament vortex
#

Thank you brain.

lapis ibex
#

@tiny path you still need a chat plugin

tiny path
#

oh okay

lament vortex
#

I forgot to do that :/

lapis ibex
#

@foggy quartz read the Storage Error Page on the wiki please

#

It should cover the errors you’re getting

tiny path
#

thankksss

foggy quartz
#

Mind sending me a link

lapis ibex
#

The wiki is linked in #welcome and has a navigation bar on the right

foggy quartz
#

I can't find the error page

lapis ibex
foggy quartz
#

Cheers

tiny path
#

can we set the prefix in the tab wwith luckPerms

#

?

lapis ibex
#

You need a plugin for that

tiny path
#

okay

foggy quartz
#

Hello!

#

How to setup a MySQL connection?

toxic wagon
indigo willow
#

So, I'm having an issue with my prison server and rankup system

#

So the global rank is default but when i rankup with /rankup and it transfers me to rank B it adds rank B to a Prison server but it doesnt work because its ignoring it and only sees default rank on prison when they have rank B

#

So is it possible somehow to make rank B only work on Prison and default rank wouldnt affect players on that server?

jagged current
#

Is there any difference from giving a group a meta prefix or giving a group a prefix permission?

frosty fractal
#

Hello i have a question if i want this plugin working and scyn with my bungee server should i put it in to the bungeecord or every server?

hasty tree
#

both

frosty fractal
#

Ok so in my bungee and every server?

hasty tree
#

but you need to make sure you download the separate version for bungeecord

frosty fractal
#

thanks 😃

hasty tree
frosty fractal
#

@hasty tree i read on the page you send but it says you have to set portforwarding and onlinemode true but if i do this i can't connect to my server?

wanton stratusBOT
#

Hey 'Beau | BeauvR'! Please don't tag staff members.

frosty fractal
#

sorry for tagging

#

i read on the page you send but it says you have to set portforwarding and onlinemode true but if i do this i can't connect to my server?

turbid dune
#

Damn nice plugin, especially the web editor is fantastic

tired turtle
#

I'm pretty sure Luck is happy, that you like it 😄

turbid dune
#

is it possible to copy configs from 1 server to another?

tired turtle
#

You mean the main config.yml?

turbid dune
#

no the perms storage

tired turtle
#

ahh. yeah. Should be possible to just copy-paste them.
Or use the export and import command of LP

turbid dune
#

ok thx 😃

hasty tree
#

or use a remote storage like mysql and link them all together?

west barn
#

Can I get some help?

#

Um, I've just being setting up a server and I've just tried to login today and I get the error message "Kicked whilst connecting to hub, LP permissions data could not be loaded...". If you couldn't already tell I am running BungeeCord, I did some research and found out it was something to do with backend servers or something like that? I have no idea on how to fix this problem so can anyone help me out?

hasty tree
#

what is the error in the console

west barn
#

com.mojang.authlib.GameProfile@4a278995[id=MY UUID,name=_gabe23,properties={textures=[com.mojang.authlib.properties.Property@3469c92]},legacy=false] (/MY IP) lost connection: ?7?l[?b?lL?3?lP?7?l] ?cPermissions data could not be loaded. Please try again later.

hasty tree
#

what about when you start the server?

#

were there any errors there?

#

what storage are you using?

west barn
#

Mysql

#

on my bungee server

#

to link across player data

hasty tree
#

check your start up log please

west barn
#

i cant paste the log here

hasty tree
#

put it on haste bin

west barn
hasty tree
#

i thought this was your bungee server

west barn
#

ill post that now

#

my bad

hasty tree
#

also you're using an old version, make sure you have the latest and try again

#

you can find the latest builds here - https://luckperms.github.io/

west barn
#

Ok thanks! ill browse there now

lament vortex
#

Hey, i've created a fresh new mysql db for my bungeecord server to store stuff in, but it's throwing an error

mortal timber
#

Anyone know how to convert groups from pex to luckperms per server groups?

lament vortex
#

Did you use the migrate command if you installed luckperms?

mortal timber
#

Yes

#

But thats making all groups global

#

and giving players the ranks globally

elfin egret
#

you can use the bulkupdate command after migrating to make things server specific

lament vortex
#

Hi luck! o/

elfin egret
#

hai

lament vortex
#

https://hastebin.com/wilekumoxa.vbs Got this after trying to initializing connection with mysql db if anyone can help. I put in the right credentials to login, yet it refuses to do so. This is for my bungeecord server only, the 2 other servers run fine with their dbs

#

also, i checked db. Nothing is in there. should i just do a local storage instead?

foggy quartz
#

Sorry i have yet some gamemode that will not restart on stop and freeze on Closing Storage

#

there is a solution?

mortal timber
#

./lp bulkupdate groups update server kitpvp

Would that make it so the groups are converted to kitpvp

tired turtle
#

no.

#

Or maybe yes...

#

Are they global? Or in any server-context?

foggy quartz
#

Sorry i have yet some gamemode that will not restart on stop and freeze on [LP] Closing Storage
there is a solution?

tired turtle
#

If no one answers it probably means no. There's no need to post it again

lament vortex
#

Hopefully my problem will be answered.. if not, i'll just use local storage

hasty tree
#

you will lose all benefits of having a network setup with global permissions if you choose local storage

lament vortex
#

I see.

#

Well, im using mysql on both of my other 2 servers, yet it's not logging in and yelling an error

#

im going to make another db, and see if that helps.

hasty tree
#

was there more to that error? I notice the ... 4 more above that

#

And make sure you have the latest build from jenkins

lament vortex
#

I have the latest version from jenkins, and multicraft rate limits so you can't see full log

#

and, i've seen those errors, i dont think its my case.

hasty tree
#

there is a file that stores your log

lament vortex
#

Ill upload that log.. what log is it?

hasty tree
#

err, the bungee one is like proxy.lock or something hold on

#

proxy.log.0

lament vortex
#

ah, yeah. that one

#

Should i upload it here?

hasty tree
lament vortex
#

kk

#

oh dear, forgot to [redact] some things, but hope it'll be fine

#

does hastebin delete your log after a time?

hasty tree
#

I'm not sure to be honest

#

It looks like you may have set up your messaging service incorrectly, Messaging service 'sql' not recognised.

lament vortex
#

hmph... I thought it defaults to sql if its set up.. I'll check config

hasty tree
#

nope, that's not a valid option. You probably want it to be bungee

lament vortex
#

alright

hasty tree
#

Though that doesn't explain your database issue and I'm not too sure how to fix it

#

Feel free to send through your bungee config (without password) and I can take a look

lament vortex
#

welp, i changed connection, yet it still refuses to connect.

#

the main bungee config?

#

alright

hasty tree
#

yes

lament vortex
#

Can i dm you it? don't wanna send it through this channel

hasty tree
#

Send it here and I'll delete it once I open it

lament vortex
#

alright

#

thanks!

hasty tree
#

ahh oops, I meant the luckperms config

lament vortex
#

oh, xD

hasty tree
#

Hmm, everything looks fine, you sure the bungeecord server is located on the same hardware as the mysql database?

lament vortex
#

Yeah! The host has a mysql db where you can create one and its there automatically.

#

the 2 other servers work fine with mysql.. not sure why it wont work

hasty tree
#

I'm just wondering if they are hosting the mysql and your backend servers on one machine and the bungeecord on another.

lament vortex
#

well, the node is the same for the 3 servers

#

so it must all be on the same hardware

#

and unfortunately, technical support is not available for the host. only support things <.>

hasty tree
#

do they give you an address for the mysql database?

lament vortex
#

Indeed, they give me the admin link to log in

hasty tree
#

for phpmyadmin?

lament vortex
#

yes

hasty tree
#

right

lament vortex
#

hmm.

hasty tree
#

Could I see the LP config for one of your other servers that is working?

lament vortex
#

Indeed, you can

#

aaaaa, its not deleted yet xD

hasty tree
#

sorry was looking at reddit 😂

lament vortex
#

it's okie

hasty tree
#

the database/username is not the same

lament vortex
#

? it's not?

hasty tree
#

change the bungeecord database & username to the same one on that spigot server

#

or sponge, whatever you're using

lament vortex
#

Oh, so they are supposed to be connected, not with their own dbs

#

?

hasty tree
#

that's the idea, yep

lament vortex
#

alright. will try that

hasty tree
#

makes it easy to set up permissions that are shared across all servers. I'd also recommend adding a server name instead of using global

#

that way you can set permissions per server if you need to

lament vortex
#

alright

#

Noooo!!!

#

It throwed out an error once more

#

i deleted both other dbs, restarted hub and backend servers.. yet im not sure

#

let me increase max connections

#

increased max pool size to 1,000

#

I got an error on one backend saying it cannot connect to same db...

#

mysql might be an issue? or bungeecord itself

#

connections not available :/

#

Caused by: java.sql.SQLException: Access denied for user '44971'@'localhost' (using password: YES)

#

??? sql doesn't want you to go in

#

im also trying to grant privileges, yet no succeeding..

hasty tree
#

It was the 44967 database that was working, right? Try that

lament vortex
#

I sadly deleted the 44967 db since i wanted it to be unassociated. xD rip

#

I'll remake it

#

remade both backend server dbs

hasty tree
#

there should only be one

#

unless you don't want to share permissions between servers

lament vortex
#

well, im trying to see whatever works

#

I need to just get bungeechat to fetch prefixes and suffixes from luckyperms

lapis ibex
#

@olive bramble Luck doesn’t accept donations

#

@lament vortex the recommended setup for that is having LP on the bungee and one DB

lament vortex
#

Alright. should i disable both LP on backend, and just put the one db username and pw?

hasty tree
#

keep LP on all servers, just connect them all to the same DB

lament vortex
#

alright.

lapis ibex
#

You need LP on every server toy want it to manage perms

lament vortex
#

I did that, yet it still yelled an error. let me try it again xD

#

Alright. I've configured both configs on backends to connect to the one DB. The bungee also is connected to this db. yet, the db is not functioning and refusing to allow connections, I've checked on storage errors, the list is all fine.

#

i see... it wont let me login... Im not sure why it's doing that

#

the other backend servers allowed access on phpmyadmin, yet it will not let me login on phpmyadmin to this one

#

maybe since its just a bungeecord server, mysql wants a real server? idk

#

It let me in earlier, just didnt show anything

#

So, it was the mysql db all along that was causing it. Im not sure why its refusing connections

lapis ibex
#

That means either the username or password is incorrect or the user doesn’t have permissions on the db

lament vortex
#

hmph

#

i am truely confused. MySQL has never been like this. Only this server in particular only refuses connections, yet i have permission and im deleting/remaking the db

wide lichen
#

so I'm running nucleus, and luckperms. It continuously tells me that I don't have permissions when I try to use /advancement, and /gamestage. I don't know what the problem is, and I can't seem to find a fix. I asked for help in the mod packs discord for SevTech and didn't get a very nice reply. I was basically told that it had nothign to do with them, to ask for help with the actual plugins. So can anyone here help me please

hasty tree
#

use verbose when using those commands to see what the permissions are
/lp verbose on <yourusername>

wide lichen
#

lol I typed that and my chest is just scrolling endlessly with all kinds of green and blue text

#

will it stop scrolling at some point?

hasty tree
#

/lp verbose off

#

you may need to add another filter to stop the spam

wide lichen
#

it just kicked me off the server

#

how do I do that?

hasty tree
#

otherwise you could try /lp verbose record and then try the commands, then /lp verbose paste and it should give you a link to the web viewer

wide lichen
#

should it take long to upload the results?

hasty tree
#

i have never used it, so i don't know

wide lichen
#

if it uploads to the server files, where would I find that?

hasty tree
#

It doesn't, it goes to the same place as the web editor

#

As far as I know, anyway

wide lichen
#

ok. let me check the web editor

#

ok so I ran it, and this is what popped up. maybe it'll make sense to you?

hasty tree
#

Jesus GriefPrevention is spammy, and all of that was during 1 second.
Alright, try this:

/lp verbose record <your_username> & !griefprevention
Try those commands you mentioned, /advancements and /gamestage
/lp verbose paste

Share the link it generates here.

wide lichen
#

ok. I have to wait for the server to come back up. after I ran just /lp verbose on, it kicked me from the server, and then dropped the server's tps to 2

hasty tree
#

huh, weird

#

probably from all those GP checks

wide lichen
#

most likely

#

ok. did all of that. waiting for it to upload

hasty tree
wide lichen
#

one sec

#

try that one

hasty tree
#

it says it is undefined, so you just need to add the minecraft.command.advancement permission

wide lichen
hasty tree
#

At this point you could probably just check this in game without using the web viewer

#

I'm not sure what that check permission is coming from

wide lichen
#

well I know I have the advancement command now. just wish I could find the permission for the stage

#

I have added those commands to the group owner, and to my knowledge they don't work

#

I even went out on a limb and did /lp group owner permission set commands.gamestage.* true and I still don't have the perms

lapis ibex
#

@wide lichen are you using mods?

#

Because for mod permission checks to work properly, you need the plugin “ForgedPerms” (or similar)

wide lichen
#

I'm only using 3. Nucleus, Luckperms, and GriefPrevention

#

I found the download for forgedperms, but what does it do?

lament vortex
#

Well, fo now, thank you turbo and brainstone. I appreciate it highly.

#

Hopefully, the SQL DB will sort itself out

wide lichen
#

hey @hasty tree turbo, you still online?

lapis ibex
#

@wide lichen it makes so that all permission checks from mods are managed by the SPonge permissions system

wide lichen
#

crash report @lapis ibex

wanton stratusBOT
#

Hey Shellbyy! Please don't tag staff members.

lapis ibex
#

net.minecraftforge.fml.common.WrongMinecraftVersionException: Wrong Minecraft version for essentialsmod

#

cough cough

wide lichen
#

what?

#

I thought I deleted that

lapis ibex
#

Obviously not

wide lichen
#

ok. I just deleted anything essentials in the mods folder. restarting now to see what happens

#

ok something went wrong again. ugh

lapis ibex
#

/home/minecraft/multicraft/servers/server4118/mods/EssentialsMod-0.5.jar

#

You need to remove that file

wide lichen
#

essentials is going to be the death of me

#

I literally do not see that file anywhere

lapis ibex
#

Are you sure you're checking the right server?

wide lichen
#

I only have one :/

lapis ibex
#

All I can tell you is that it's complaining about that file

wide lichen
#

that's what I can't figure out. how is it complaining about a file that isn't there

lapis ibex
#

idk

#

Maybe a mod automatically unpacks it

wide lichen
#

ok this is something new. it's says

03.05 01:23:57 [Server] Server thread/INFO The state engine was in incorrect state CONSTRUCTING and forced into state SERVER_STOPPED. Errors may have been discarded.
03.05 01:23:57 [Server] Server thread/WARN Can't revert to frozen GameData state without freezing first.
03.05 01:23:57 [Server] Server thread/INFO Saving worlds
03.05 01:23:57 [Server] Server thread/INFO Stopping server
03.05 01:23:57 [Server] Server thread/ERROR This crash report has been saved to: /./crash-reports/crash-2018-05-03_01.23.57-server.txt

#

what does it mean by can't revert to frozen GameData?

lapis ibex
#

Just means it crashed

wide lichen
#

ok. I'm going to delete all crash reports, and try again

slim ice
#

is there a wild card perm LP uses

lapis ibex
#

*

#

@wide lichen are you even reading the crash reports?

#
    nucleus : /home/minecraft/multicraft/servers/server4118/mods/Nucleus-1.3.6-S7.0-MC1.12.2-plugin (1).jar
    nucleus : /home/minecraft/multicraft/servers/server4118/mods/Nucleus-1.3.6-S7.0-MC1.12.2-plugin.jar```
#

And the reason the error didn't go away was because you were sending the same crash report instead of a new one

wide lichen
#

I feel that, that is an unfair question. I always read the crash reports before asking for help with them, but when you haven't been taught how to read them, then you're just looking at a jumble of words. So yes, I've read them, and no I don't understand then nor do I know I'm looking at. This is my first time owning a server

lapis ibex
#

Alright. it's quite simple

slim ice
#

I guess my issue is nucleus thinking I have a wildcard perm and I don't

lapis ibex
#

You can ignore anything that's not between Time: ... and A detailed walkthrough of the error, its code path and all known details is as follows:

#

Do you see these two lines?

wide lichen
#

yes

lapis ibex
#

The real error is between them

#

Always

#

Everything else is just analytics

wide lichen
#

so the error is always like just underneath time?

lapis ibex
#

@slim ice Did you give yourself the * or the nucleus (or nucleus.*) permission

#

Yes.

slim ice
#

no and I searched for anyone having those perms

lapis ibex
#

All three?

#

Also what's the exact error message?

slim ice
#

guess the * perm is not seen in the export, I do have the * perm, if I remove what other perm can I use so I can use LP

lapis ibex
#

You're on Sponge, right?

#

Then it's luckperms

slim ice
#

sponge and spigot

lapis ibex
#

Ok, then use luckperms.*

#

Because on Sponge luckperms is enough (or equivalent to luckperms.*) but not on Spigot, where you need luckperms.*.

slim ice
#

luckperms.* works on sponge also

lapis ibex
#

Yes

slim ice
#

thanks that fixed the nucleus message

lapis ibex
#

Btw for future reference, you can search for users and groups having specific permissions by running /lp search <permission>

#

And the web editor also displays all permissions (for all online players)

foggy quartz
#

Sorry i have yet some gamemode that will not restart on stop and freeze on [LP] Closing Storage
there is a solution?

lapis ibex
#

What storage type are you using?

foggy quartz
#

mariadb

lapis ibex
#

And what OS

foggy quartz
#

you already say to me to use mariadb in config

#

but that not solved

#

os centos 7

lapis ibex
#

What LP version are you using?

foggy quartz
#

latest

lapis ibex
#

And I can’t remember everyone, so sorry if I forgot you

#

Version number please

foggy quartz
#

[LP] Running LuckPerms v4.1.25.

lapis ibex
#

That’s not latest

#

You’ll find the project homepage linked in #welcome

#

It contains download links to the latest version

hasty tree
#

Spigot is probably due for another update

foggy quartz
#

But i already update different times luckperm

#

without any change

lapis ibex
#

Yeah. There have been loads of fixes and improvements

#

Did you try the latest (4.1.90)?

#

I think an issue related to the storage not closing has been fixed since

foggy quartz
#

I uploaded it right now

#

i will see

#

thanks

lapis ibex
#

If the issue persists, ping me

foggy quartz
#

Okok

gritty lava
#

Ohhh Man, i Love verbose! ♥️

hasty tree
#

it's a life saver for sure 😄

gritty lava
#

Certainly! But I still get in the way of defining filters, how can I put two filters together? User name and permission for example ...

hasty tree
#

it's described quite well on the wiki

#

but usually it's just /lp verbose on <username> & <permission>

slim ice
#

when I check a perm it says undefined, why?

lapis ibex
#

Undefined means that there’s no permission rule regulating it

#

@slim ice ^

slim ice
#

means it should work then?

hasty tree
#

usually a user won't have access to something if they don't have permission for it.

#

some plugins might allow things by default but not all of them.

slim ice
#

yes perms 101, I give the perm via group it don't work, only works if I give to a user

hasty tree
#

then that user likely isn't in the group?

slim ice
#

one would think, but list the users groups they are

lapis ibex
#

@slim ice generally speaking undefined means false

slim ice
#

if I give the perm to the group the user is in it works, if I give it to the groups parent it don't work

#

is that a sponge thing

lapis ibex
#

No. It shouldn’t be

#

When you check with verbose, is it false or undefined?

haughty plank
#

@lapis ibex @hasty tree Does LuckPerms work with Featherboard placeholders?

wanton stratusBOT
#

Hey Reyn! Please don't tag staff members.

lapis ibex
#

It should

haughty plank
#

Does LuckPerms work with Vault?

lapis ibex
#

Of course

haughty plank
#

Do I use MVdWPlaceholders?

lapis ibex
#

That I don't know

#

But the wiki should

haughty plank
#

Okay, thanks for the help.

lapis ibex
#

You're welcome

haughty plank
#

Wait, also, I have another question, I have many servers that run PermissionsEx, and I want to switch them all to LuckPerms and have 1 mysql database, and I want the permsissions to merge, is that possible?

lapis ibex
#

Sure

haughty plank
#

How would I do that?

lapis ibex
#

Do you want to keep the per server permissions?

haughty plank
#

Yeah

#

I want the per server perms in one db

lapis ibex
#

Ok. Then you first migrate all PEX permissions to LP while using a file based storage system (the default will do)

haughty plank
#

Yep, then what?

lapis ibex
#

Then you bulkupdate on each server so that you change the server for all permissions from global to the specific server

haughty plank
#

Okay.

lapis ibex
#

Then you export the permission data on all servers, connect them to the same database and import the data again

haughty plank
#

Could I have some commands?

lapis ibex
#

I'll give you the wiki links for all steps

#

One moment

haughty plank
#

Okay, sure.

#

Np

lapis ibex
haughty plank
#

btw thanks for taking your time to help me

#

Okay, Ill take a look]

lapis ibex
haughty plank
#

thanks alot

lapis ibex
haughty plank
#

Okay

lapis ibex
#

And you're welcome. It is my pleasure to help!

haughty plank
#

No problems, Ill let you know if i run into any issues 😄

#

thanks alot

lapis ibex
#

Btw you need to set the server name manually in each LP config

haughty plank
#

Okay, I can do that

lapis ibex
#

Ok

#

If you run into issues, feel free to ask

haughty plank
#

Okay, sure thing. Thanks for the help 😄

lapis ibex
#

You're welcome

haughty plank
#

Okay, I just migrated a few of my servers, so is it safe to remove pex once I have migrated ?

#

Will I lose anything>

#

@lapis ibex

wanton stratusBOT
#

Hey Reyn! Please don't tag staff members.

lapis ibex
#

It's safe

haughty plank
#

Ok thx

haughty plank
#

@lapis ibex Once I have migrated pex to lp on all servers, do I then link it to the database? or do I bulkupdate first?

wanton stratusBOT
#

Hey Reyn! Please don't tag staff members.

lapis ibex
#

First change the server of all perms, then export on all servers, then link to database, then import all

haughty plank
#

I'm sorry, I don't really understand

#

All I have done so far is run /lp migration permissionsex on all servers

#

then what do i need to do?

#

@lapis ibex

wanton stratusBOT
#

Hey Reyn! Please don't tag staff members.

lapis ibex
#

Go through all LP configs and Name the servers.

haughty plank
#

Yep

#

btw sorry for my dumb questions

lapis ibex
#

Then use bulkupdate to change the server context of all permissions on each server from global to the respective server

haughty plank
#

Yep, and then link to db?

#

@lapis ibex

wanton stratusBOT
#

Hey Reyn! Please don't tag staff members.

lapis ibex
#

Yes

haughty plank
#

Oh, okay. Thx

lapis ibex
#

But first export, then link, then import

haughty plank
#

What do you mean by export and import?

lapis ibex
#

Read the page on switching storage type

haughty plank
#

Okay, thx

lapis ibex
#

I linked it earlier

haughty plank
#

Okay

#

I'll have a look

#

😄

#

@lapis ibex Hey, I'm up to exporting and changing storage types, i have read the wiki page, and it says to run /lp export <file>
But I'm unsure what <file> is/

wanton stratusBOT
#

Hey Reyn! Please don't tag staff members.

haughty plank
#

would it be luckperms-h2.mv.db ?

lapis ibex
#

Anything you choose

haughty plank
#

Oh, okay.

lapis ibex
#

It’ll determine the output file name

haughty plank
#

Oh, okay.

#

I thought you had to write the name of the db file

#

okay

#

thx for that

lapis ibex
#

You’ll also have to use the same name when importing

haughty plank
#

Okay, sure

#

btw also just a quick question, would I keep chat prefixes from pex?

lapis ibex
#

Usually

#

And if not it’s usually an easy fix

haughty plank
#

Oh, okay

lapis ibex
#

You just need to have a chat plugin and vault installed

haughty plank
#

Yeah, I do on all servers

lapis ibex
#

Also for editing the perms I recommend using the web editor. It has a wiki page explaining the usage

haughty plank
#

Yeah, I've used it in the past, Its greate

#

great*

lapis ibex
#

Ah ok 👌🏻

haughty plank
#

Lp makes pex look terrible

lapis ibex
#

It does XD

haughty plank
#

xD

toxic wagon
#

LP makes all permissions plugins look terrible

haughty plank
#

Yeah ikr

lapis ibex
#

Why do you think PEX is discontinued. And its author recommends using LP instead?

haughty plank
#

Really, it is. I never knew pex was discontinued..

toxic wagon
#

Yeah it has been for a long time now

haughty plank
#

Oh, I never knew. Well, pex had no chance anyway at being the best perms plugin

#

lp is by far

#

This explains it all.

#

@lapis ibex Getting this msg in console: Caused by: java.sql.SQLException: Access denied for user 'u1637_KGFrOAArid'@'ns533758.ip-158-69-121.net' (using password: YES)

wanton stratusBOT
#

Hey Reyn! Please don't tag staff members.

lapis ibex
#

It means exactly what it says

haughty plank
#

How can access be denied? I have the correct pass and user

lapis ibex
#

Obviously not

#

Make sure the user is not for local host only

#

And has access to the database

#

Here's a page that might help you

#

@haughty plank

haughty plank
#

I think I have just fixed it, i realised there was a space at the end of my passwordd

lapis ibex
#

Ok. That's likely the issue

haughty plank
#

Yeah xD

#

@lapis ibex Now im getting this message in console when I try to import:

[08:35:55 WARN]: Caused by: me.lucko.luckperms.lib.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
[08:35:55 WARN]: at sun.reflect.GeneratedConstructorAccessor108.newInstance(Unknown Source)
[08:35:55 WARN]: at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
[08:35:55 WARN]: at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
[08:35:55 WARN]: at me.lucko.luckperms.lib.mysql.jdbc.Util.handleNewInstance(Util.java:425)
[08:35:55 WARN]: at me.lucko.luckperms.lib.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:990)
[08:35:55 WARN]: at me.lucko.luckperms.lib.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:341)
[08:35:55 WARN]: at me.lucko.luckperms.lib.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2186)
[08:35:55 WARN]: at me.lucko.luckperms.lib.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2219)
[08:35:55 WARN]: at me.lucko.luckperms.lib.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2014)
[08:35:55 WARN]: at me.lucko.luckperms.lib.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:776)
[08:35:55 WARN]: at me.lucko.luckperms.lib.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
[08:35:55 WARN]: at sun.reflect.GeneratedConstructorAccessor104.newInstance(Unknown Source)
[08:35:55 WARN]: at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

wanton stratusBOT
#

Hey Reyn! Please don't tag staff members.

lapis ibex
#

Same cause

haughty plank
#

[08:36:00 WARN]: at java.lang.Thread.run(Thread.java:748)
[08:36:00 WARN]: Caused by: java.sql.SQLTransientConnectionException: luckperms - Connection is not available, request timed out after 5000ms.
[08:36:00 WARN]: at me.lucko.luckperms.lib.hikari.pool.HikariPool.createTimeoutException(HikariPool.java:667)
[08:36:00 WARN]: at me.lucko.luckperms.lib.hikari.pool.HikariPool.getConnection(HikariPool.java:183)
[08:36:00 WARN]: at me.lucko.luckperms.lib.hikari.pool.HikariPool.getConnection(HikariPool.java:148)
[08:36:00 WARN]: at me.lucko.luckperms.lib.hikari.HikariDataSource.getConnection(HikariDataSource.java:100)
[08:36:00 WARN]: at me.lucko.luckperms.common.storage.dao.sql.connection.hikari.HikariConnectionFactory.getConnecti

lapis ibex
#

Please go over the checklist again. Something on it isn't right

#

Again. The page I linked explains what you need to check in order to fix this issue

haughty plank
#

Okay, sure.

#

I'll take a look.

#

Thx

lapis ibex
#

NP

haughty plank
#

@lapis ibex I had a look at the wiki, and it says to run a certain command, but when I run it I get errors

wanton stratusBOT
#

Hey Reyn! Please don't tag staff members.

lapis ibex
#

That’s an example command. If you use PhpMyAdmin, use that instead

haughty plank
#

I'm using Phpmyadmin, what do I need to do?

#

@lapis ibex

wanton stratusBOT
#

Hey Reyn! Please don't tag staff members.

lapis ibex
#

Make sure the user your using has access to the database

#

And also the host is set to % if the server is not running on the same machine

haughty plank
#

Oh, okay

#

Where do I set the host?

#

@lapis ibex

wanton stratusBOT
#

Hey Reyn! Please don't tag staff members.

lapis ibex
#

Where you manage the users

#

Anyways I’m off now

haughty plank
#

Oh, okay.

#

@lapis ibex I know you're off now, and I'm sorry, but I thought I should let you know that luckperms connects to the db and has made the tables in my database

wanton stratusBOT
#

Hey Reyn! Please don't tag staff members.

haughty plank
#

But still not working 😦

#

@hasty tree Are you able to assist?

wanton stratusBOT
#

Hey Reyn! Please don't tag staff members.

hasty tree
#

How many times does the bot need to tell you... lol

haughty plank
#

😄 Sorry

hasty tree
#

mind saying exactly how it's "not working"

haughty plank
#

Don't worry, I've just fixed it

hasty tree
#

rip

#

ok

haughty plank
#

Thx anyway

#

😄

indigo oak
#

Since when is LP 3.47 MB big (instead of 1.22 MB) and does it now directly shade in google common utility?

frosty fractal
#

Please help: > [13:14:47 INFO]: [LuckPerms] [ERROR] Failed to init storage dao

#

Moderator? support?

verbal dock
#

Can you please post full startup log? Which storage backend are you using?

frosty fractal
#

MySQL

#

i use

#

please help @verbal dock

verbal dock
#

Could not connect to address=(host=localhost)(port=3306)(type=master) : Connection refused

#

LuckPerms is unable to connect. Make sure the MySQL server is actually running. Are you running Windows or linux?

frosty fractal
#

linux but i have a new error should i send it?

#

13:31:21 [INFO] __ __ ___ __ __
13:31:21 [INFO] | | | / |__/ |__) |__ |__) |\/| /__
13:31:21 [INFO] |___ _/ _, | \ | |___ | \ | | .__/
13:31:21 [INFO]
13:31:21 [INFO] Loading version v4.1.90 on Bungee - BungeeCord
13:31:21 [INFO] Running on server version git:BungeeCord-Bootstrap:1.12-SNAPSHOT:fde2c3f:1310
13:31:21 [INFO]
13:31:21 [INFO] [LP] Loading configuration...
13:31:21 [WARNING] Exception encountered when loading plugin: LuckPerms
while parsing a block mapping
in 'reader', line 33, column 1:
server: bungee
expected <block end>, but found BlockMappingStart
in 'reader', line 94, column 3:
address: 127.0.0.1:3306

verbal dock
#

Ohhh, you are using Pterodactyl?

frosty fractal
#

yes

#

line 33 is server: bungee

verbal dock
#

while parsing a block mapping
That means there is something wrong with your config.

frosty fractal
#

and line 94 is address: 127.0.0.1:3306

#

yes on line 33 and 94

verbal dock
#

Pterodactyl is using Docker. Do you know what Docker is?

frosty fractal
#

i send you line 33 and line 94

#

yes i know

verbal dock
#

Docker containerises everything intoisolated containerd. 127.0.0.1 will therefore point to the container and not to your machine.

#

Where is the MySQL server running? Directly on your machine or in a docker container?

frosty fractal
#

On my vps where pterodactyl is running and pterodactyl has there own database there also

verbal dock
#

If it is running on the machine then you need to set MySQL address to your servers IP address. If the MySQL server is running in a docker container then you should set the address to the name of the container.

frosty fractal
#

machine it installed before i install docker

verbal dock
#

If you installed MySQL before you installed Docker then MySQL is not running inside docker. Using localhost will not work as it will just point to the bungee container. You need to set the mysql address to your servers IP address.

frosty fractal
#

Ok i try

#

it doesn't work

#

@verbal dock can you fix it if i send the config to you?

verbal dock
#

Please remove all passwords and IP-addresses from the config and pastebin it.

#

Yeah sure, you can either PM me it or post it here, either way you should never send passwords to anyone.

frosty fractal
#

@verbal dock ^

verbal dock
#

On line 88, remove teh word YAML

#

It should only say data:

frosty fractal
#

@verbal dock ^

#

Can you help?

verbal dock
#

@frosty fractal Yes, but I am in class so I can't respond instantaniously, so please don't ping.

frosty fractal
#

Ok sorry but do you know an solution?

verbal dock
#

The bungee server is still unable to connect. Can you please do the following command to see what MySQL is listening on: netstat -an | grep LISTEN | grep 3306

#

That command will print all listening sockets and then filter out the port 3306 as that is the only thing we are interested in.

#

It should print something similiar to:

tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN

#

If it does then do the command ip addr show docker0 | grep inet
This should print something similar to:

inet AA.BB.CC.DD/16 brd 172.17.255.255 scope global docker0
frosty fractal
#

inet 172.17.0.1/16 brd 172.17.255.255 scope global docker0
inet6 fe80::42:edff:fecc:d853/64 scope link

#

says it

verbal dock
#

172.17.0.1, that is the IP we want.

#

Edit the file /etc/mysql/my.cnf and locate bind-address and change this to the 172.17.0.1 address. If it is commented then un-comment it. Restart your mysql server with sudo service mysql restart Then use the same 172.17.0.1 address in your bungee mysql config. Docker should be able to connect after that.

#

This will make the MySQL server listen for connections coming from docker containers.

#

When using Docker each container is like it's own computer, and your server is the router. This is why trying to use address: localhost doesn't work. Docker containers can use the 172.17.0.1 to access the server, however from the servers perspective it will look like the connections are coming from another machine and not from itself. This is why we change the my.cnf file, to allow connections coming from somehwere else other than localhost.

frosty fractal
#

ok and on the config from luckperms i have to change to ip adres also to 172.17.0.1?

verbal dock
#

Yes

#

As localhost will just point to the container, and no mysql server is running there, while 172.17.0.1 will point to the machine itself.

#

😃

frosty fractal
#

my server is restarteing

#

Thanks it works!

#

now i have to set it to every server

verbal dock
#

Every server?

frosty fractal
#

Yes i think

verbal dock
#

Do you have multiple machines or do you mean multiple minecraft servers?

frosty fractal
#

No more minecraft servers

verbal dock
#

Ok good

frosty fractal
#

But a question

#

If i give someone on the lobby premissions syncs it with every server on the bungeecord?

verbal dock
#

If all minecraft servers are using the same database and the same tables then yes, they will have the same permissions on both servers. When giving someone a permission you can specify if it should be global or only apply to a specifc server.

#

However

frosty fractal
#

But now i can't use my panel anymore

verbal dock
#

It will not automatically update the permissions automatically, for that you need a messaging service. If you only have 1 bungee cord server then set messaging-service: bungee on all servers. 😃

#

The control panel stopped working? 🤔

frosty fractal
#

Yes

#

I think it can't connect to the database

#

Pterodactyl use database local host

verbal dock
#

I see

#

Change the bind-address in /etc/mysql/my.cnf to 0.0.0.0

#

This will allow connections from both localhost and docker.

#

However it will also allow connections from outside so you need to block the port 3306 in your firewall.

frosty fractal
#

With UFW?

verbal dock
#

Yeah

frosty fractal
#

How?

verbal dock
#

sudo ufw deny 3306

frosty fractal
#

and 25565 allow? for my mc server

#

or not?

verbal dock
#

I mean, sure,

#

sudo ufw allow 25565

#

and

#

sudo ufw allow <ssh port>

frosty fractal
#

Ok i have do it for every server

verbal dock
#

However, that is only neccesary if the firewall is set to block by default

#

sudo ufw status verbose

#

Do that

#

If it says Default: allow (incoming), then you don't have to add each one

frosty fractal
#

root@vmi180023:~# sudo ufw status verbose
Status: inactive

verbal dock
#

Oh

frosty fractal
#

it says this?

#

Sudo service ufw restart ?

verbal dock
#

no

#

sudo ufw default allow

#

That will allow everything by default

frosty fractal
#

root@vmi180023:~# sudo ufw status verbose
Status: inactive

verbal dock
#

sudo ufw enable

frosty fractal
#

after i do

verbal dock
#

Enable it first

#

Then do sudo ufw default allow

#

That will allow by default, safest

#

sudo ufw status verbose

#

Check what current rules exist

frosty fractal
#
To                         Action      From
--                         ------      ----
3306                       DENY IN     Anywhere                  
25565                      ALLOW IN    Anywhere                  
25566                      ALLOW IN    Anywhere                  
25567                      ALLOW IN    Anywhere                  
25568                      ALLOW IN    Anywhere                  
25569                      ALLOW IN    Anywhere                  
9987                       ALLOW IN    Anywhere                  
22                         ALLOW IN    Anywhere                  
21                         ALLOW IN    Anywhere                  
3306 (v6)                  DENY IN     Anywhere (v6)             
25565 (v6)                 ALLOW IN    Anywhere (v6)             
25566 (v6)                 ALLOW IN    Anywhere (v6)             
25567 (v6)                 ALLOW IN    Anywhere (v6)             
25568 (v6)                 ALLOW IN    Anywhere (v6)             
25569 (v6)                 ALLOW IN    Anywhere (v6)             
9987 (v6)                  ALLOW IN    Anywhere (v6)             
22 (v6)                    ALLOW IN    Anywhere (v6)             
21 (v6)                    ALLOW IN    Anywhere (v6)   
verbal dock
#

Oh wow

#

Ok

#

That should work

frosty fractal
#

The 255 ports are my minecraft server i add

verbal dock
#

Can you run sudo ufw status verbose?

#

What is the default?

#

Above the "To"

frosty fractal
#
root@vmi180023:~# sudo ufw status verbose
Status: active
Logging: on (low)
Default: allow (incoming), allow (outgoing), deny (routed)
New profiles: skip

To                         Action      From
--                         ------      ----
3306                       DENY IN     Anywhere                  
25565                      ALLOW IN    Anywhere                  
25566                      ALLOW IN    Anywhere                  
25567                      ALLOW IN    Anywhere                  
25568                      ALLOW IN    Anywhere                  
25569                      ALLOW IN    Anywhere                  
9987                       ALLOW IN    Anywhere                  
22                         ALLOW IN    Anywhere                  
21                         ALLOW IN    Anywhere                  
3306 (v6)                  DENY IN     Anywhere (v6)             
25565 (v6)                 ALLOW IN    Anywhere (v6)             
25566 (v6)                 ALLOW IN    Anywhere (v6)             
25567 (v6)                 ALLOW IN    Anywhere (v6)             
25568 (v6)                 ALLOW IN    Anywhere (v6)             
25569 (v6)                 ALLOW IN    Anywhere (v6)             
9987 (v6)                  ALLOW IN    Anywhere (v6)             
22 (v6)                    ALLOW IN    Anywhere (v6)             
21 (v6)                    ALLOW IN    Anywhere (v6)      
verbal dock
#

Ok

frosty fractal
#

this i get

verbal dock
#

Yeah

#

Both docker and your panel should work now

frosty fractal
#

thanks

#

now i try to set it on every server

verbal dock
#

Yup, tried to ping and the port is blocked from outside. Good.

#

👍

frosty fractal
#

how can i ping it?

verbal dock
#

Ping what?

#

@frosty fractal You can 'ping' a specific port with nc - zv <ip> <port>

frosty fractal
#

You say Yup, tried to ping and the port is blocked from outside. Good.

verbal dock
#

And you had forgotten to remove the IP address from one of the logs. 😉

frosty fractal
#

Oh

#

which?

verbal dock
#

I don't remember.

frosty fractal
#

Oh i delete it now

verbal dock
#

But I was just checking to make sure the post wasn't accessible from outside.

frosty fractal
#

Oh

#

thankyou

verbal dock
#

Feel free to ping me if something else with mysql and docker is broken. 😃

#

No problem

frosty fractal
#

i have a other question

#

On my bungee config i set this

# The name of the server, used for server specific permissions.
#
# - When set to "global" this setting is effectively ignored.
# - In all other cases, the value here is added to all players in a "server" context.
# - See: https://github.com/lucko/LuckPerms/wiki/Context
server: proxy

But on my server it is on global should i replace it to proxy on my server config?

verbal dock
#

The server config is used to give that server a unique name.

#

We have all our bungeecords set to bungee

#

Lobbies set to lobby and survival to survival

#

You then use that name when you give server specific permissions

frosty fractal
#

Oh i understand i can chose like lobby and if i give a premission for lobby server it only works on lobby

verbal dock
#

/lp user Foorack permission set is.awesome true lobby

#

For example

frosty fractal
#

thanks

#

you can be support here 😃

verbal dock
#

Either lobby or server=lobby

#

Both works

#

The syntax is /lp <group|user> <target> permission set <permission> [true|false] [context]

#

Haha

frosty fractal
#

Foorack please help

#

On my lobby it doesn't work

#

@verbal dock ^^^

frosty fractal
#

Or a other person?

verbal dock
#

Did you set the IP to 172.17.0.1?

frosty fractal
#

yes

tired turtle
#

@verbal dock Why 127.17.0.1?

frosty fractal
#

this is my config but i have leaved my database password

verbal dock
#

@tired turtle He is running Petr--something with Docker

wanton stratusBOT
#

Hey Foorack! Please don't tag staff members.

frosty fractal
#

Andre 127.17.0.1for my server i have petrodactyl and local host ip is inside docker but database is outside docker

verbal dock
#

s6_LuckPerms Are you creating a new database for each server? 🤔 If so remember they will not have synced permissions.

frosty fractal
#

no bungee has also s6_LuckPerms

verbal dock
#

Did you get it working on bungee?

frosty fractal
#

yes

#

should i send my config from that

#

On bungee it works

#

Foorack can you take a look at it please?

verbal dock
#

I am

frosty fractal
#

thanks

verbal dock
#

Not related to this but remember to set messaging-service to bungee in lobby as well or it won't update automatically.

#

Do you know the name of the docker lobby container?

frosty fractal
#

i have did it right now but i am kick with the message [LP] Permissions data could not be loaded. Please try again later.

#

and i don't know the name

#

Where can i find it

verbal dock
#

docker ps will list all containers

#

I don't know how to do it in the control panel as I haven't used that one before, but I have used docker a lot.

frosty fractal
#

this i get

verbal dock
#

Which port is lobby running on

frosty fractal
#

25566

#

I have delete it i saw my ip stands there

#

Do you have it open?

#

Or should i sent it on dm?

verbal dock
#

I have it

#

Also FYI, it is binding to public ip, so your spigot servers are accessible from the internet, which is not the best, as I assume they are in offline mode.

#

docker inspect 71b966d4b489 | grep Gateway

#

If you run that command then you should get what IP it wants you to use

tired turtle
#

Did you tried lp bulkupdate users delete "permission == group.test1" "permission == group.test2"

#

?

elfin egret
#

what you're trying to do isn't possible with bulkupdate

languid mulch
#

Hello

#

I'm just looking for the commands to add a user to a group and remove a user

lapis ibex
#

@languid mulch see the Usage and Command Usage pages on the wiki

#

The Usage goes over the essential commands with lots of explanation, while the command usage is a reference for all commands with hardly any explanation. Only a brief description for each command

languid mulch
#

I did but it didn't say anything about adding and removing users from a group. Anyways someone dmed me the commands

green acorn
#

Probably being stupid, but on Spigot is there any way to remove a user's parent without them having logged on to the server since migrating to LuckPerms?

#

/lp info shows

Instance: 
    ...
    Local Data: 0 users, 9 groups, 1 tracks

but as far as I know, the users should exist?

outer harbor
#

How to prevent inheritance of permissions through groups?

tired turtle
#

Negate the permissions in the group, that inherits them....

#

...or the inheritance itself

outer harbor
#

lp group <group> per... set per... false

#

???

tired turtle
#

example:
Group A inherits default.... And I don't want essentials.fly in group A.

/lp group A permission set essentials.fly false
outer harbor
wanton stratusBOT
#

Hey Prototype! Please don't tag staff members.

outer harbor
#

😦

tired turtle
#

I don't use the LP-API

outer harbor
#

ok, thank

lament vortex
#

.... Hmm

#

:/ the driver for mysql seems to not work. I downloaded the latest version and deleted the old version, it loads the new drivers fine, yet it refuses to connect! I connected to my mysql db finally, and it connected.

#

I may have to create a github acc

#

to report the issue

elfin egret
#

what error do you get

lament vortex
#

let me hashbin it

#

and hastebin** wont let me

#

save xD

#

something went wrong

elfin egret
#

your configuration is missing the database name property

lament vortex
#

Im putting it in the config? :/ the username is right and the name is supposed to be the right one

elfin egret
#

perhaps you changed the key?

#

it should be under data:

lament vortex
#

I might of put the wrong key in. let me check

elfin egret
#

then as a setting called database: name-of-your-database

lament vortex
#

yup, right key, and right db name

elfin egret
#

is it indented correctly?

lament vortex
#

I believe so, yes.

elfin egret
#

there should be two spaces before the setting

lament vortex
#

Alright, let me do that

#

still getting same error, after spacing by two.

#

you want my config luck?

#

My gosh... When everything's on, the sql db locks up and I cannot access it anymore. Im not sure why it does that.

#

then, i have to wait for it to be calm again and lets me log in

#

SQL on backend first says max connections exceeded, i raised the max connections, and turned on both servers. Says connection timed out, and still bungee luckperms wont connect to the db

#

I've updated both to latest version just to be sure.

#

Im guessing this is a rare occurance? or im doing something wrong. I think im doing something right.. but im not entirely sure

#

Should i tell my host to raise max connections?

#

I've told hosts support if they can, i opened a ticket. If they cannot, I'm not sure what to do at this point. I need to just get prefixes and suffixes to sync, and if they can't, i may just do individual perms on backend servers and find another plugin <.<

tired turtle
#

That's a reason why I prefer to just have a VPS and make the server myself

lament vortex
#

I see

tired turtle
#

yeah. Having a VPS/dedicated server over a mc-host gives you more ways to customize your server....

lament vortex
#

I know, but I just need to get it setup soon. I'm trying to rush to get perms setup on a server i work for, and the deadline is coming up fast, sadly.

#

and i dont think we can get a vps

#

and a mc-host is all we got.

#

xD

daring nebula
#

when i do /lp editor, it says please wait, preparing editor. It use to give me a link. not anymore its just sits there. Anyone know how to fix this?

mental flax
#

What version of lp u using

#

?

lapis ibex
#

@daring nebula update LP

daring nebula
#

k

#

thank you

#

im useing 4.1.25

#

is that old?

#

@lapis ibex I am running the newest version

wanton stratusBOT
#

Hey QuadraticKid! Please don't tag staff members.

lapis ibex
#

4.1.25 is very old

#

1-2 months I think

daring nebula
#

the web page says ur on that version

analog wren
#
#

its in 4.1.93

daring nebula
#

kkk thanks!

analog wren
#

You're welcome

daring nebula
analog wren
#

on spigot it says The latest versions of the plugin can be found on Jenkins. you should read it

lapis ibex
#

Yeah

daring nebula
#

o

mental flax
#

😆

daring nebula
#

I installed the newst version of luckperms, but the config file diddnt generate, and any /lp commands dont work! any help would be appreciated

mental flax
#

Any error in console

#

?

#

@daring nebula

daring nebula
#

nope

daring nebula
#

k im back

slim ice
#

on my sponge/forge server the inheritance don't work

lapis ibex
#

@slim ice how did you make a group inherit another?

slim ice
#

parents

lapis ibex
#

The full command please. Let’s say you want group to inherit from group b, what command would you use?

slim ice
#

I have to look it up since I did it months ago and things worked great for spigot

lapis ibex
#

Hm. I mean the inheritance works great for me on Sponge

#

Can you do /lp group <group> info for the group that should inherit the other?

slim ice
#

I guess I used lp group <group> parent add <parent>

lapis ibex
#

That’s right. I’m just suspecting that you maybe used it the wrong way round

#

But anyways, the output of the command would be helpful

slim ice
#

the group info returned just the group one lower then the one I'm in

#

I need to inherit to the first group

lapis ibex
#

??? Can you screenshot it please?

slim ice
lapis ibex
#

So should Kronos inherit legend? Or legend inherit Kronos?

slim ice
#

kronos inherits from legend

lapis ibex
#

Ok. Then it’s good

#

So what’s not working then?

slim ice
#

I assign perm to warrior which is a few more groups below legend and I can use the command for that perm

lapis ibex
#

Ok

#

That’s how it should be

slim ice
lapis ibex
#

Are you on the server forge?

slim ice
#

yes

#

no issues on my spigot servers

hasty tree
#

screenshot /lp user ironic_8b49 info

lapis ibex
#

Can you run /lp listgroups too?

#

(screenshot of course)

slim ice
#

I have 62 groups the whole list will not display

lapis ibex
#

Can you get warrior and kronos and legend in one screen?

slim ice
#

did you want to see the groups in the tracks I'm working on

lapis ibex
#

I want to see the weights of the three groups

slim ice
#

had to do in two pics

lapis ibex
#

No worries

#

Can you enable verbose /lp verbose record <you> and try /home? Then /lp verbose paste and give us the link

slim ice
#

was thinking of updating LP since I'm on LuckPerms-Bukkit-4.1.61

hasty tree
#

Updating is always a good idea

slim ice
#

well all 12 servers updated, and still home command will not work unless I give perm to the group I'm in

lament vortex
#

Well, I talked to the host support.

#

Host support says: It sounds like it may not be closing previously opened connections. You would have to discuss that with the developer.

#

the max connections cannot be raised, unfortunately. Is LuckyPerms connecting to the db multiple times?

hasty tree
#

@slim ice try /lp search nucleus.home.base I'm curious as to where it's set

lament vortex
#

I let the backend servers connect to the db too

slim ice
#

I don't want it in kronos, but thats theonly ay it will work

foggy quartz
#

I'm a bit frustrated... Players keep losing access to towny chat and perms... I have tested towny on a test server with groupmanager and don't have any issues... but Our live server is on luckperms and has tons of issues. I am now having an issue where players can't toggle mcmmo party either. the only way I can find to fix it is to either have the player relog, sometimes 2-3 times, or to clear them and readd their groups/permissions every time.

warm plinth
#

Is there any way to make a temporary permission stack? So if they have 5 minutes left for one and get 10 minutes added, It will then give them 15 minutes?

#

Nvm, 'accumulate' on the end haha.

hasty tree
#

rip you got it lol

warm plinth
#

Yeah sorry lol

hasty tree
haughty plank
#

Hi @lapis ibex I managed to get the mysql database and that working, but I don't have ingame prefixes , theyre not working 😦

wanton stratusBOT
#

Hey Reyn! Please don't tag staff members.

foggy quartz
#

If I give a group a permission, then give a higher level * permission to a parent group, do I need to negate the lower level permissions?

#

ie: Peasant has jobs.world.towny1, and developer has jobs.*

hasty tree
#

parent groups are the lower level groups, just to clarify. You don't want to negate the permission do you? Then you don't need to do anything other than add jobs.*

foggy quartz
#

sorry, I got the parent thing backwards...

#

I'm trying to figure out why I can't do a command when I have all permissions.

hasty tree
#

have you tried verbose?

foggy quartz
#

Says I have the permission, but nothing happens.

#

No errors or otherwise.

sullen nymph
#

how can i download all of the data in the mysqls?

foggy quartz
#

Turbotailz, can I see the trace info somewhere other than by hovering?

hasty tree
#

you can run /lp verbose record [filters], do the commands, then /lp verbose paste and it will give you a link to the web viewer.

#

@sullen nymph if you have access to PHPmyAdmin there is an Export button

#

otherwise you could just run /lp export <filename>

sullen nymph
#

i need all the rank info

#

@hasty tree

wanton stratusBOT
#

Hey SpooderCraft | Dream-MC! Please don't tag staff members.

sullen nymph
#

opps

hasty tree
#

what do you want to do with it? you could just use /lp editor to look at it all on the web editor

foggy quartz
#

Ok, so This is apparently in line with commands with towny not working as well... And it has escalated to me...

sullen nymph
#

im moving mc hosting but i can't get the info by going into phpadmin so i need to firgure out how to

hasty tree
#

so you just want to migrate everything? use the export command

sullen nymph
#

can you tell how to move all data from it?

hasty tree
#

you just run /lp export <filename> where <filename> is the name you want to call the file. then just download it, upload it to the new server, then run /lp import <filename>

sullen nymph
#

so i can call it "alldata" or "dataforluck" and it will export all data?

#

and then where do i import the data?

hasty tree
#

call it whatever you want mate, it's just a filename

sullen nymph
#

ok

#

thank you good sir

hasty tree
#

you import the data on your new server with luckperms installed. add the export file to the Luckperms folder and run the import command with the filename

foggy quartz
#

Umm... I wonder. I have 3 tracks. Ranks (regular players), Donators, and Staff. Now staff inherits from the highest level of donators, and donators inherits from default. All of my Ranks, inherit from the rank below and default. Could this be my problem?

#

ie. Farmer gets group.default and group.wanderer, Wanderer gets group.default

#

Or is it possible it is from player contextual data?

foggy quartz
#

anyone?

lapis ibex
#

I don’t quite get what’s your issue or question... @foggy quartz

foggy quartz
#

Players are losing access to perms.

lapis ibex
#

@haughty plank do you have a chat plugin and vault?

foggy quartz
#

It started with towny, but now has expanded to prefixes/suffixes, jobs, and other commands.

haughty plank
#

I'll just check and see if I have vault on all servers

lapis ibex
#

@slim ice im not sure what’s your issue. I recommend creating an issue on GitHub

foggy quartz
#

Some players have told me they have to relog 5-6 times before getting perms back.

lapis ibex
#

Which LP Version?

#

And what mc server software?

foggy quartz
#

lp 4.1.84, paper 1.12.2

lapis ibex
#

Hmmm

#

That’s very weird

foggy quartz
#

At first it was just towny, but it has expanded.

lapis ibex
#

Do I recall correctly that you already created an issue on GitHub?

foggy quartz
#

I did twice before and was told 2 things. 1. it was slow mysql and was pointed to the wiki. I did everything there, so that wasn't it. 2. Because at the time the issue was only with towny, I was told it was towny's fault.

lapis ibex
#

I see

foggy quartz
#

Now I've run a test with groupmanager and towny and don't have the issue.

#

so the only difference is lp.

lapis ibex
#

I know you’ve heard that before, but could you try using the latest version?

foggy quartz
#

Of what?

lapis ibex
#

Luck changes some internal caching stuff

#

LP

foggy quartz
#

There is another new version already? I updated right after 4.1.84 came out...

lapis ibex
#

Current version is 4.1.93 I think

foggy quartz
#

Luckperms updates fast....

lapis ibex
#

It does

foggy quartz
#

Almost too fast...

#

Is there a notifier for luckperms updates?

lapis ibex
#

So yeah, no shame in not running the latest version.

#

No. You’d be swamped

#

The best notifier is the #github-spam channel

foggy quartz
#

It is just difficult because everytime I get an update I have to restart the proxy, and I have to do that manually.

lapis ibex
#

Every time it says something about a new commit, that means a new version

#

That’s normal. No way around that

foggy quartz
#

Is LP loaded into memory? Can I safely swap out the jars without taking down the server?

lapis ibex
#

Linux?

foggy quartz
#

ArchLinux.

lapis ibex
#

Then yes

foggy quartz
#

I only ask because some plugins still reference the jar after the server has loaded... Like Towny...

lapis ibex
#

Yup. But Linux itself takes care of that

foggy quartz
#

I went to do a towny update and crashed the server when I changed the jar. LOL

lapis ibex
#

No issues with LP in that matter