#support-1
1 messages · Page 385 of 1
Hey Diamond! Please don't tag staff members.
think u can help
More info
What’s the error? Or if no error, what’s happening?
What version of LP are you using?
latest
Number please
4.1.25
That’s not latest
the werid thing i can /perm editor
The command /lp group <group> editor works fine for me
I am using a out of date version though... version 4.1.25 😛
anyone know how to fix?
Maybe try restarting your server?
nope
Maybe backup the permissions and files for users and have it generate a fresh new folder?
Couldn't you download the files for it?
Or rename the folder for it LuckPerms-backup?
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
Do you get any errors when a user tries joining?
what does the error in the console say
You're still not running the latest mate
Are you removing the old jar files when you add the new one?
yes
Well that console error said you were running 4.1.5
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
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?
If I make the weight high does that make it the lowest or highest rank?
@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?
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.
@olive bramble Just use bulkupdate https://github.com/lucko/LuckPerms/wiki/Bulk-Editing#lp-bulkupdate-all-update-permission-groupmod-permission--groupmoderator
Thanks for all the help guys! I think I got it going good!
@toxic wagon it is
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.
U can set prefix with bigger priority to vip
i need to install the bungee version on my bungee server and the bukkit for all the others server ?
Bungee version is for permissions of BungeeCord and Bukkit version for Bukkit permissions, and with the same data in config, everything is synchronized.
anyone can help me please
You have Chat plugin?
Nope, i dont think
Hey HYKROW! Please don't tag staff members.
I still can't log into my server
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
hello
I already sent the console errors above
@foggy quartz can you post it again? I can’t find it
@lament vortex yes you need it on the bungee. I recommend reading the “Network Installation” page on the LP wiki
Thank you brain.
@tiny path you still need a chat plugin
oh okay
I forgot to do that :/
@foggy quartz read the Storage Error Page on the wiki please
It should cover the errors you’re getting
thankksss
Mind sending me a link
I can't find the error page
Cheers
You need a plugin for that
okay
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?
Is there any difference from giving a group a meta prefix or giving a group a prefix permission?
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?
both
Ok so in my bungee and every server?
but you need to make sure you download the separate version for bungeecord
thanks 😃
@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?
Hey 'Beau | BeauvR'! Please don't tag staff members.
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?
Damn nice plugin, especially the web editor is fantastic
I'm pretty sure Luck is happy, that you like it 😄
is it possible to copy configs from 1 server to another?
You mean the main config.yml?
no the perms storage
ahh. yeah. Should be possible to just copy-paste them.
Or use the export and import command of LP
ok thx 😃
or use a remote storage like mysql and link them all together?
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?
what is the error in the console
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.
what about when you start the server?
were there any errors there?
what storage are you using?
check your start up log please
i cant paste the log here
i thought this was your bungee server
anyway, use this page to troubleshoot your issue there
https://github.com/lucko/LuckPerms/wiki/Storage-system-errors
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/
Ok thanks! ill browse there now
Hey, i've created a fresh new mysql db for my bungeecord server to store stuff in, but it's throwing an error
Anyone know how to convert groups from pex to luckperms per server groups?
Did you use the migrate command if you installed luckperms?
you can use the bulkupdate command after migrating to make things server specific
Hi luck! o/
hai
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?
Sorry i have yet some gamemode that will not restart on stop and freeze on Closing Storage
there is a solution?
./lp bulkupdate groups update server kitpvp
Would that make it so the groups are converted to kitpvp
Sorry i have yet some gamemode that will not restart on stop and freeze on [LP] Closing Storage
there is a solution?
If no one answers it probably means no. There's no need to post it again
Hopefully my problem will be answered.. if not, i'll just use local storage
you will lose all benefits of having a network setup with global permissions if you choose local storage
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.
was there more to that error? I notice the ... 4 more above that
Also try troubleshooting your issue with the info on this page
https://github.com/lucko/LuckPerms/wiki/Storage-system-errors
And make sure you have the latest build from jenkins
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.
there is a file that stores your log
Ill upload that log.. what log is it?
put it on hastebin.com
kk
https://hastebin.com/dahiwufixe.vbs here we go
oh dear, forgot to [redact] some things, but hope it'll be fine
does hastebin delete your log after a time?
I'm not sure to be honest
It looks like you may have set up your messaging service incorrectly, Messaging service 'sql' not recognised.
hmph... I thought it defaults to sql if its set up.. I'll check config
nope, that's not a valid option. You probably want it to be bungee
alright
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
welp, i changed connection, yet it still refuses to connect.
the main bungee config?
alright
yes
Can i dm you it? don't wanna send it through this channel
Send it here and I'll delete it once I open it
ahh oops, I meant the luckperms config
oh, xD
Hmm, everything looks fine, you sure the bungeecord server is located on the same hardware as the mysql database?
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
I'm just wondering if they are hosting the mysql and your backend servers on one machine and the bungeecord on another.
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 <.>
do they give you an address for the mysql database?
Indeed, they give me the admin link to log in
for phpmyadmin?
yes
right
hmm.
Could I see the LP config for one of your other servers that is working?
sorry was looking at reddit 😂
it's okie
the database/username is not the same
? it's not?
change the bungeecord database & username to the same one on that spigot server
or sponge, whatever you're using
that's the idea, yep
alright. will try that
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
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..
It was the 44967 database that was working, right? Try that
I sadly deleted the 44967 db since i wanted it to be unassociated. xD rip
I'll remake it
remade both backend server dbs
well, im trying to see whatever works
I need to just get bungeechat to fetch prefixes and suffixes from luckyperms
@olive bramble Luck doesn’t accept donations
@lament vortex the recommended setup for that is having LP on the bungee and one DB
Alright. should i disable both LP on backend, and just put the one db username and pw?
keep LP on all servers, just connect them all to the same DB
alright.
You need LP on every server toy want it to manage perms
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
That means either the username or password is incorrect or the user doesn’t have permissions on the db
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
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
use verbose when using those commands to see what the permissions are
/lp verbose on <yourusername>
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?
this wiki article explains it a bit better than i could
https://github.com/lucko/LuckPerms/wiki/Verbose
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
should it take long to upload the results?
i have never used it, so i don't know
if it uploads to the server files, where would I find that?
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?
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.
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
most likely
ok. did all of that. waiting for it to upload
one sec
try that one
it says it is undefined, so you just need to add the minecraft.command.advancement permission
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
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
@wide lichen are you using mods?
Because for mod permission checks to work properly, you need the plugin “ForgedPerms” (or similar)
I'm only using 3. Nucleus, Luckperms, and GriefPrevention
I found the download for forgedperms, but what does it do?
Well, fo now, thank you turbo and brainstone. I appreciate it highly.
Hopefully, the SQL DB will sort itself out
hey @hasty tree turbo, you still online?
@wide lichen it makes so that all permission checks from mods are managed by the SPonge permissions system
Hey Shellbyy! Please don't tag staff members.
net.minecraftforge.fml.common.WrongMinecraftVersionException: Wrong Minecraft version for essentialsmod
cough cough
Obviously not
ok. I just deleted anything essentials in the mods folder. restarting now to see what happens
ok something went wrong again. ugh
/home/minecraft/multicraft/servers/server4118/mods/EssentialsMod-0.5.jar
You need to remove that file
Are you sure you're checking the right server?
I only have one :/
All I can tell you is that it's complaining about that file
that's what I can't figure out. how is it complaining about a file that isn't there
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?
Just means it crashed
is there a wild card perm LP uses
*
@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
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
Alright. it's quite simple
I guess my issue is nucleus thinking I have a wildcard perm and I don't
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?
yes
so the error is always like just underneath time?
no and I searched for anyone having those perms
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
sponge and spigot
Ok, then use luckperms.*
Because on Sponge luckperms is enough (or equivalent to luckperms.*) but not on Spigot, where you need luckperms.*.
luckperms.* works on sponge also
Yes
thanks that fixed the nucleus message
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)
Sorry i have yet some gamemode that will not restart on stop and freeze on [LP] Closing Storage
there is a solution?
What storage type are you using?
mariadb
And what OS
What LP version are you using?
latest
[LP] Running LuckPerms v4.1.25.
That’s not latest
You’ll find the project homepage linked in #welcome
It contains download links to the latest version
Spigot is probably due for another update
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
If the issue persists, ping me
Okok
Ohhh Man, i Love verbose! ♥️
it's a life saver for sure 😄
Certainly! But I still get in the way of defining filters, how can I put two filters together? User name and permission for example ...
it's described quite well on the wiki
but usually it's just /lp verbose on <username> & <permission>
when I check a perm it says undefined, why?
means it should work then?
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.
yes perms 101, I give the perm via group it don't work, only works if I give to a user
then that user likely isn't in the group?
one would think, but list the users groups they are
@slim ice generally speaking undefined means false
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 @hasty tree Does LuckPerms work with Featherboard placeholders?
Hey Reyn! Please don't tag staff members.
It should
Does LuckPerms work with Vault?
Of course
Do I use MVdWPlaceholders?
Okay, thanks for the help.
You're welcome
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?
Sure
How would I do that?
Do you want to keep the per server permissions?
Ok. Then you first migrate all PEX permissions to LP while using a file based storage system (the default will do)
Yep, then what?
Then you bulkupdate on each server so that you change the server for all permissions from global to the specific server
Okay.
Then you export the permission data on all servers, connect them to the same database and import the data again
Could I have some commands?
thanks alot
I also recommend reading this page: https://github.com/lucko/LuckPerms/wiki/Network-Installation
Okay
And you're welcome. It is my pleasure to help!
Btw you need to set the server name manually in each LP config
Okay, I can do that
Okay, sure thing. Thanks for the help 😄
You're welcome
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
Hey Reyn! Please don't tag staff members.
It's safe
Ok thx
@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?
Hey Reyn! Please don't tag staff members.
First change the server of all perms, then export on all servers, then link to database, then import all
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
Hey Reyn! Please don't tag staff members.
Go through all LP configs and Name the servers.
Then use bulkupdate to change the server context of all permissions on each server from global to the respective server
Hey Reyn! Please don't tag staff members.
Yes
Oh, okay. Thx
But first export, then link, then import
What do you mean by export and import?
Read the page on switching storage type
Okay, thx
I linked it earlier
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/
Hey Reyn! Please don't tag staff members.
would it be luckperms-h2.mv.db ?
Anything you choose
Oh, okay.
It’ll determine the output file name
Oh, okay.
I thought you had to write the name of the db file
okay
thx for that
You’ll also have to use the same name when importing
Oh, okay
You just need to have a chat plugin and vault installed
Yeah, I do on all servers
Also for editing the perms I recommend using the web editor. It has a wiki page explaining the usage
Ah ok 👌🏻
Lp makes pex look terrible
It does XD
xD
LP makes all permissions plugins look terrible
Yeah ikr
Why do you think PEX is discontinued. And its author recommends using LP instead?
Really, it is. I never knew pex was discontinued..
Yeah it has been for a long time now
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)
Hey Reyn! Please don't tag staff members.
It means exactly what it says
How can access be denied? I have the correct pass and user
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
I think I have just fixed it, i realised there was a space at the end of my passwordd
Ok. That's likely the issue
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)
Hey Reyn! Please don't tag staff members.
Same cause
[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
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
NP
@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
Hey Reyn! Please don't tag staff members.
That’s an example command. If you use PhpMyAdmin, use that instead
Hey Reyn! Please don't tag staff members.
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
Hey Reyn! Please don't tag staff members.
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
Hey Reyn! Please don't tag staff members.
Hey Reyn! Please don't tag staff members.
How many times does the bot need to tell you... lol
😄 Sorry
mind saying exactly how it's "not working"
Don't worry, I've just fixed it
Since when is LP 3.47 MB big (instead of 1.22 MB) and does it now directly shade in google common utility?
Please help: > [13:14:47 INFO]: [LuckPerms] [ERROR] Failed to init storage dao
Moderator? support?
Can you please post full startup log? Which storage backend are you using?
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?
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
Ohhh, you are using Pterodactyl?
while parsing a block mapping
That means there is something wrong with your config.
Pterodactyl is using Docker. Do you know what Docker is?
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?
On my vps where pterodactyl is running and pterodactyl has there own database there also
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.
machine it installed before i install docker
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.
Ok i try
it doesn't work
@verbal dock can you fix it if i send the config to you?
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.
@verbal dock ^
@frosty fractal Yes, but I am in class so I can't respond instantaniously, so please don't ping.
Ok sorry but do you know an solution?
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
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
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.
ok and on the config from luckperms i have to change to ip adres also to 172.17.0.1?
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.
😃
Every server?
Yes i think
Do you have multiple machines or do you mean multiple minecraft servers?
No more minecraft servers
Ok good
But a question
If i give someone on the lobby premissions syncs it with every server on the bungeecord?
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
But now i can't use my panel anymore
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? 🤔
Yes
I think it can't connect to the database
Pterodactyl use database local host
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.
With UFW?
Yeah
How?
sudo ufw deny 3306
Ok i have do it for every server
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
root@vmi180023:~# sudo ufw status verbose
Status: inactive
Oh
root@vmi180023:~# sudo ufw status verbose
Status: inactive
sudo ufw enable
after i do
Enable it first
Then do sudo ufw default allow
That will allow by default, safest
sudo ufw status verbose
Check what current rules exist
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)
The 255 ports are my minecraft server i add
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)
Ok
this i get
how can i ping it?
You say Yup, tried to ping and the port is blocked from outside. Good.
And you had forgotten to remove the IP address from one of the logs. 😉
I don't remember.
Oh i delete it now
But I was just checking to make sure the post wasn't accessible from outside.
Feel free to ping me if something else with mysql and docker is broken. 😃
No problem
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?
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
Oh i understand i can chose like lobby and if i give a premission for lobby server it only works on lobby
Either lobby or server=lobby
Both works
The syntax is /lp <group|user> <target> permission set <permission> [true|false] [context]
Haha
Did you set the IP to 172.17.0.1?
@verbal dock Why 127.17.0.1?
this is my config but i have leaved my database password
@tired turtle He is running Petr--something with Docker
Hey Foorack! Please don't tag staff members.
Andre 127.17.0.1for my server i have petrodactyl and local host ip is inside docker but database is outside docker
s6_LuckPerms Are you creating a new database for each server? 🤔 If so remember they will not have synced permissions.
no bungee has also s6_LuckPerms
Did you get it working on bungee?
yes
should i send my config from that
This is my bungee config
https://hastebin.com/ipoqunikil.coffeescript
This is my lobby config
https://hastebin.com/zepetugosa.coffeescript
The sql username and password have i repalced to private
On bungee it works
Foorack can you take a look at it please?
I am
thanks
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?
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
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.
this i get
Which port is lobby running on
25566
I have delete it i saw my ip stands there
Do you have it open?
Or should i sent it on dm?
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
Did you tried lp bulkupdate users delete "permission == group.test1" "permission == group.test2"
?
what you're trying to do isn't possible with bulkupdate
Hello
I'm just looking for the commands to add a user to a group and remove a user
@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
I did but it didn't say anything about adding and removing users from a group. Anyways someone dmed me the commands
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?
How to prevent inheritance of permissions through groups?
Negate the permissions in the group, that inherits them....
...or the inheritance itself
example:
Group A inherits default.... And I don't want essentials.fly in group A.
/lp group A permission set essentials.fly false
@tired turtle http://joxi.ru/bmoV1aKIxDaeor.png
Hey Prototype! Please don't tag staff members.
😦
ok, thank
.... 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
what error do you get
let me hashbin it
and hastebin** wont let me
save xD
something went wrong
https://pastebin.com/rKGZcSDC here you go luck
your configuration is missing the database name property
Im putting it in the config? :/ the username is right and the name is supposed to be the right one
I might of put the wrong key in. let me check
then as a setting called database: name-of-your-database
yup, right key, and right db name
is it indented correctly?
I believe so, yes.
there should be two spaces before the setting
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 <.<
That's a reason why I prefer to just have a VPS and make the server myself
I see
yeah. Having a VPS/dedicated server over a mc-host gives you more ways to customize your server....
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
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?
@daring nebula update LP
k
thank you
im useing 4.1.25
is that old?
@lapis ibex I am running the newest version
Hey QuadraticKid! Please don't tag staff members.
the web page says ur on that version
its in 4.1.93
kkk thanks!
You're welcome
might want to update spigotmc.org's repository tho
on spigot it says The latest versions of the plugin can be found on Jenkins. you should read it
Yeah
o
😆
I installed the newst version of luckperms, but the config file diddnt generate, and any /lp commands dont work! any help would be appreciated
nope
k im back
on my sponge/forge server the inheritance don't work
@slim ice how did you make a group inherit another?
parents
The full command please. Let’s say you want group to inherit from group b, what command would you use?
I have to look it up since I did it months ago and things worked great for spigot
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?
I guess I used lp group <group> parent add <parent>
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
the group info returned just the group one lower then the one I'm in
I need to inherit to the first group
??? Can you screenshot it please?
So should Kronos inherit legend? Or legend inherit Kronos?
kronos inherits from legend
I assign perm to warrior which is a few more groups below legend and I can use the command for that perm
Are you on the server forge?
screenshot /lp user ironic_8b49 info
Can you get warrior and kronos and legend in one screen?
did you want to see the groups in the tracks I'm working on
I want to see the weights of the three groups
No worries
Can you enable verbose /lp verbose record <you> and try /home? Then /lp verbose paste and give us the link
was thinking of updating LP since I'm on LuckPerms-Bukkit-4.1.61
Updating is always a good idea
well all 12 servers updated, and still home command will not work unless I give perm to the group I'm in
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?
@slim ice try /lp search nucleus.home.base I'm curious as to where it's set
I let the backend servers connect to the db too
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.
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.
@warm plinth yes - /lp user <user> permission settemp <permission> true <duration> accumulate
https://github.com/lucko/LuckPerms/wiki/Command-Usage:-Permission#lp-usergroup-usergroup-permission-settemp
rip you got it lol
Yeah sorry lol
There's also temporary-add-behaviour in your config where you can change the default behaviour of the settemp command
https://github.com/lucko/LuckPerms/wiki/Configuration#temporary-add-behaviour
Hi @lapis ibex I managed to get the mysql database and that working, but I don't have ingame prefixes , theyre not working 😦
Hey Reyn! Please don't tag staff members.
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.*
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.*
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.
have you tried verbose?
how can i download all of the data in the mysqls?
Turbotailz, can I see the trace info somewhere other than by hovering?
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>
Hey SpooderCraft | Dream-MC! Please don't tag staff members.
opps
what do you want to do with it? you could just use /lp editor to look at it all on the web editor
Ok, so This is apparently in line with commands with towny not working as well... And it has escalated to me...
im moving mc hosting but i can't get the info by going into phpadmin so i need to firgure out how to
so you just want to migrate everything? use the export command
can you tell how to move all data from it?
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>
so i can call it "alldata" or "dataforluck" and it will export all data?
and then where do i import the data?
call it whatever you want mate, it's just a filename
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
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?
anyone?
I don’t quite get what’s your issue or question... @foggy quartz
Players are losing access to perms.
@haughty plank do you have a chat plugin and vault?
It started with towny, but now has expanded to prefixes/suffixes, jobs, and other commands.
I'll just check and see if I have vault on all servers
@slim ice im not sure what’s your issue. I recommend creating an issue on GitHub
Some players have told me they have to relog 5-6 times before getting perms back.
lp 4.1.84, paper 1.12.2
At first it was just towny, but it has expanded.
Do I recall correctly that you already created an issue on GitHub?
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.
I see
Now I've run a test with groupmanager and towny and don't have the issue.
so the only difference is lp.
I know you’ve heard that before, but could you try using the latest version?
Of what?
There is another new version already? I updated right after 4.1.84 came out...
Current version is 4.1.93 I think
Luckperms updates fast....
It does
So yeah, no shame in not running the latest version.
No. You’d be swamped
The best notifier is the #github-spam channel
It is just difficult because everytime I get an update I have to restart the proxy, and I have to do that manually.
Every time it says something about a new commit, that means a new version
That’s normal. No way around that
Is LP loaded into memory? Can I safely swap out the jars without taking down the server?
Linux?
ArchLinux.
Then yes
I only ask because some plugins still reference the jar after the server has loaded... Like Towny...
Yup. But Linux itself takes care of that
I went to do a towny update and crashed the server when I changed the jar. LOL
No issues with LP in that matter