#support-2
1 messages · Page 55 of 1
Erm did you manually configure the nginx?
no, i haven't touched nginx.conf
Because the correct folder is /opt/luckpermsweb/webfiles
I mean the file is called sites-available/luckpermsweb_<external_address>.conf
ok now it's good
Did you change it?
yes
Why?
i had to just change the root variable
to /opt/luckpermsweb/webfiles
root /opt/luckpermsweb/webfiles;
Yes
now, let me start up my mc server again, and ill see if it connects this time
That should have been generated automatically
what should have been gened automatically? the here's the final steps? yeah, im pretty sure i pasted it in here
I mean the installation script generates the nginx config file for you
With the correct path
No manual interaction required
Yes
wat
There
in /etc/nginx/sites-enabled?
/etc/nginx/sites-available/luckpermsweb_<external_address>.conf
well im dumb, i could of just enabled nginx installation and let it do its thing, but i didn't
And it creates the symlink to /etc/nginx/sites-enabled too
agh
That's why you don't fiddle with scripts if you don't know what they do
with nginx enabled?
Remove your custom nginx config files though
k
Not all, just the ones you added for the LPweb
Btw you should enable HTTPS
It'll generate a certificate for you if you don't have one using let's encrypt
Cloudflare throws me a cert, so its HTTPS automatically
Or that
can i change the port it listens on to something else?
port 80 is already in use by nginx, plus it apparently also conflicts with another application
it can? all on the same port 80?
Yes
That's been standard since the 90's
Pretty much every even slightly advanced webserver can do that
ah, apache2 has been conflicting. ive gone ahead and will remove it ugh. dang you ubuntu
Well that of course doesn't work
this is not ubuntu's fault :P
Only use one or the other
i blame ubuntu nonetheless
.... oof
are you SURE that i can use multiple stuff on port 80. because now nginx is reporting all my services are down
at least cloudflare is
You cannot run multiple services
.....
But multiple websites
well i am running multiple websites, all running on different ports
Like as long as the same nginx instance runs all servers
which nginx serves
They all can be on the same server
That is called virtual servers
Now make sure nginx is running
I mean I surely didn't know what I was doing when I asked you to check
I mean I clearly know nothing about that stuff
I know haha true
... so now, all that's left tonight at least
is codimd (a collab software) is conflicting with luckperms for some unknown reason. Now i don't know why it's doing that. it's probably because of the config file, but im going to turn it off for now
and now luckperms should load in its place...
Well make sure that both sites are enabled in the sites_enabled folder
ah...
And the issue is that you have HTTPS enabled on the other site
ohhhh
well that server block is meant to force redirect from http to https
should i remove it?
WEll
You need to decide on whether you want your local server to be using HTTPS or if you want to handle it through cloudflare
well im gonna remove that server block then
Shlould be
server {
listen 80;
server_name collab.xxxxxx;
location / {
#....
}
}
mm gotcha
If you have any more HTTPS services you need to make sure they're running HTTP only locally
Well dang. I did convert all of them to be running on port 80.. but now they are fetching 502s. i'm gonna solve this in the morning, if not. I'm just gonna revert to the snapshot i made before all the changes
Well make sure you configure cloudflare so that it knows you're running everything on HTTP and that it doesn't redirect but proxy the traffic with HTTPS
If in doubt install the LPweb stuff with SSL enabled
It will get a cert like your other services
then I’ll do that. I’ll revert to snapshot tomorrow. Install on LXC
And use that
Sounds good.
I’m sure it’ll gain access via port 80 since it is exposed
Etc etc
Thanks brain.
You're welcome
anyone know why my Owner prefix isnt showing up in chat
I beg any of you for help
Please don't ask in multiple channels...
hey lets not cross post
hello
how to show the rank in tab list
use a TAB plugin
@proper pulsar Hey, i tried the script again. HTTPS certificate all that fails. Seems to fail the http challenge when nginx is off Should i just create a cert manually?
Hey kokomo123! Please don't tag helpful/staff members directly.
@wintry cloud clippy pls
You need nginx running of course
alright
I just make sure that certbot and nginx can cooperate
so, running the script again, this time nginx is enabled and started
Ok
ah freak.
I got rate limited
I'll wait a hour then around 8-9ish ill start the script again
Ok
Can anyone show me how to setup permission with Luckperms on the editor website?
!editor
LuckPerms offers an easy to use, powerful Web Editor, with which you can add, delete and change permissions of groups and players.
Hey kokomo123! Please don't tag helpful/staff members directly.
So, im not sure where .well-known is being placed, but certbot can't find it
and its unauthorized
Try that
now it should propagate
usually it's pretty quick
ah, a new error popped up
Well, 80 is enabled
443 is enabled
webroot path should be correct
and it contains the right ip address
whenever i set a prefix it never shows in chat
do you have vault enabled?
me?
yes you
idk what that is
vault is a plugin for handling prefixes /suffixes
ok thanks
so brain, what should i do at this point, i have 3 more chances before it times me out again
oh waw
ok
Noice. I got it working!
@proper pulsar VICTORY SCREECH woooop
Hey kokomo123! Please don't tag helpful/staff members directly.
now i know how to do that
You’re welcome
Or is he?
Vsauce, michael here
How do i get multiple prefixes with essentialsxchat
!stacking
Display multiple prefixes/suffixes alongside a player's name.
still cant find the config for it
The config for stacking or the config for essxchat?
for stacking
Did you uuh
Have you tried
reading the wiki, CTRL + F in the config file and searching for the settings the wiki mentions?
the wiki just says You still need to have a chat formatting plugin installed
!chat
LuckPerms is only able to send information to formatting plugins so that they display them properly. LuckPerms does not put the prefix in front of your name, you need a chat formatting plugin to do it, and you need Vault. Same goes for the tablist! If the information appears correctly when you run /lp user <user> info, LuckPerms is doing its job!
When i do /vault-info it says my chat is luckperms not essentialsxchat
idk what plugins causing it
That means your chat info comes from LP which is good
Use /ess version and send the output
The ""chat plugin"" Vault indicates is the one that holds the prefix and suffix and that kind of info (so other plugins can get those through Vault), not the actual plugin that manages chat
Also
Hi Larry
It is very important for one to say "Hi Larry" to Larry every day.
Hi fefo <3
!download don't mind me
You can download LuckPerms for Bukkit/Spigot, BungeeCord, Sponge, Nukkit and Velocity.
whats a good free anti cheat
how to get rid of the < > in between names on my server for eg. <somerandomign>
Do not ask in several channels
Do not ask in several channels. Final warning
so in lp web editor i can change from prefix.170.&4&lOwner&r &4 to prefix.170.&#A93226&lOwner&r &4 ?
yes, but you will need a chat plugin that supports such an RGB format
yea so i just use essentialsx and its okay
the latest dev build shold work
im trying to config luckperms for a network but it cant connect to the mariadb, says connection refused
!errors
Here's a page with some common storage system errors.
what is the best database for a network, ive tried using maria but it doesnt work. the service errors out
!paste the error
Seeing a paste of the problem makes everything so much easier! Use https://bytebin.lucko.me/ for easy pasting!
Pastebin any relevant segments of the console log. If it's a startup error, this includes the entire startup log!
Pastebin the entire LuckPerms config file (passwords removed) as well as any other relevant files!
Please?
Is that the whole error?
basicly.... https://bytebin.lucko.me/7nSueTiyQt
it doesnt look like something coming from luckpemrs
Thats deffinetly a error on the server side
ok
And I don't mean the Minecraft server, I mean your VPS
hmm yea that's on the bare metal setup
@feral lion https://serverfault.com/questions/477448/mysql-keeps-crashing-innodb-unable-to-lock-ibdata1-error-11
thats what i thought.... :/
yeah usually LP works just fine with maria
maybe my muking around with the root password caused something
should i use my existing minecraft server user for the database or should i just use root?
always create a dedicated database and user
ok so i have the database "minecraft". i should use a user that isnt root
also i have the mariadb running and i can log in with the root but when i use the same creds in luckperms it gets refused
!errors
Here's a page with some common storage system errors.
!moss for me 😛
Make sure you are using EssentialsX and Vault for prefixes. For any other issues with Essentials, you should seek support in either #general or the official EssentialsX support Discord.
how do contexts work within bungeecord? I'm trying to set a permission within a server, and using the context server=cereus (which is what it's named to bungeecord) it doesn't seem to work.
It doesn't take the name you set in bungeecord config
is this for a bungee permission? you need to use the world context to define servers on the proxy level
context for bungeecord permissions is server=bungee, world=servername
but for bungeecord permissions only (i.e. plugins on bungeecord proxy)
It doesn't take the name you set in bungeecord config
It takes the name you set in the Spigot servers LuckPerms config.yml, theserver:setting (which, by default, it'sglobal)
how do i setup the perms for bungeecord? i got everything working with no errors but now how do i access the perms for bungeecord?
From proxy console, it's the exact same as Bukkit LP but instead of being /lp it's /lpb
(I mean you can also give yourself the permission and use it in game as well)
i dont have perms to access /lpb even tho im op
op isn't a thing in bungeecord
ok. so i acces through console?
And the spigot server has nothing to do with it, you'll need to run from the bungeecord console lpb user <yourself> permission set luckperms.* and then you'll be able to do all sorts of fancy stuff
you need to add the luckperms.* permission which is explained in the usage guide
!usage
Here's a guide to help users understand and use LuckPerms for the first time.
and make sure that the bungee LP is using the same DB as the other servers too
ok i got that. but i still cant acces the /server command thats part of bungeecord
because you need to add the permission for it
give yourself permission to use that command then
i did
how
in the lpb editor
did you save it
show us /lpb info and /lp info please
!paste
Seeing a paste of the problem makes everything so much easier! Use https://bytebin.lucko.me/ for easy pasting!
Pastebin any relevant segments of the console log. If it's a startup error, this includes the entire startup log!
Pastebin the entire LuckPerms config file (passwords removed) as well as any other relevant files!
okay, how about /lpb user <yourname> info and /lp user <yourname> info
oh you're using pluginmessage as the messaging service, you may want to use SQL
that's irrelevant to the issue though, just a suggestion lol
alright so that's set up correctly
can you do /lp group default permission set bungeecord.command.server
try the server command after that
you mean lpb?
well it shouldn't matter
same database
(although there might be a slight delay in syncing because you are using pluginmsg)
now its working. but before when i used the web editor it didnt work (and yes it saved) plus in waterfall i saw it say something about pinging other servers or something
ooooooohhhhhhhhh.
it was a fucking typo
oh oopp
When 'undo' won't do. • Sponsored by Dashlane, the password manager. Get a 30-day free trial at https://www.dashlane.com/tomscott • MORE BASICS: https://www.youtube.com/playlist?list=PL96C35uN7xGLLeET0dOWaKHkAlPsrkcha
Written with Sean Elliott https://twitter.com/SeanMElliott...
gotta love typos xD
so can i import my old perms files (theyre the h2 ones) into the database
!switch Yep
If you wish to change your storage type (e.g. to YAML or MySQL) you may need to follow these instructions to ensure your groups and permissions are migrated to the new storage type.
!switchstorage
If you wish to change your storage type (e.g. to YAML or MySQL) you may need to follow these instructions to ensure your groups and permissions are migrated to the new storage type.
jinx
:i
Does it print an error?
nope just exports to --upload.json.gz
lmao
hmm works fine for me
You sure you typed exactly lp/lpb export --upload and nothing else?
in the wiki page it says /luckperms export --upload
but whatever i got the perms transfered
@feral lion you aren't using the latest version of LuckPerms that's why
the --upload is a recent addition
sorry
🤷♂️
so can i import my old perms files (theyre the h2 ones) into the database
i'm guessing maybe they used an old version to try and export
because i just installed the latest LP and tried the --upload flag and it worked
im using the luckperms PlaceholderAPI for deluxemenus to check if the target user has some perms with %parseother_{{target}}_{luckperms_has_permission_punishmentsystem.spam.tier1-7}%
My question is can it still check the perms on offline players since I have some issues between when the player is offline and online?
hi there, I just upgraded to a MySQL database using my server's built in function and when i restarted the server, everything is gone. I only have the default group now, i had 22. did i just mess up astronomically?
try changing it back to h2 then export it then change back to mysql and import it
aight then
tho i think i messed up cuz the server was still on .-.
the luckperms-h2.mv.db still seems to be there...
lemme see
because i did this with the built in tool that my server host provides, i have no clue what to actually change, would deleting the config file and regenerating it do the trick?
!switch
If you wish to change your storage type (e.g. to YAML or MySQL) you may need to follow these instructions to ensure your groups and permissions are migrated to the new storage type.
@prisma hinge follow this ^ the config delete would do nada
looks like deleting the config did work
i needed to reset the host n stuff
its all good now
anyone tryna help me DM ME ok
@proud thunder just ask a question, don't ask people to DM you
how to use it!!!!!
Here's a guide to help users understand and use LuckPerms for the first time.
lol
ok i need help
i made bungee server
and i made specific hub rank in hub
and specific in factions
but when i come from hub into factions i still have Hub?
Posting in multiple channels will not speed up an answer btw
indeed it won't, and it's spam - so don't
so using these perms, it seemed to completely break it
define "completely break it"
i think i might still be doing something wrong with this arg-based stuff
Actually I don't see anything for context in there
think you need ... .usecontext.global or such
it printed a stack trace in the middle of lp verbose, and then when someone tried to run the command to add to cerean, it gave them mod
also it kicked me from the server
!paste the stacktrace
Seeing a paste of the problem makes everything so much easier! Use https://bytebin.lucko.me/ for easy pasting!
Pastebin any relevant segments of the console log. If it's a startup error, this includes the entire startup log!
Pastebin the entire LuckPerms config file (passwords removed) as well as any other relevant files!
oh so it has to have a usecontext? it doesnt just default to global
yup, they need a usecontext node as well
[04:36:41 INFO]: > luckperms.user.parent.add (true)
[04:36:41 INFO]: > luckperms.user.parent.add.cerean (true)
[04:36:41 INFO]: > luckperms.user.parent.add.cerean.modify.others (true)
so i'd need luckperms.usecontext.global in addition to these three? or luckperms.user.parent.add.cerean.modify.others.usecontext.global? or luckperms.user.parent.add.usecontxet.global? (i only want them to be able to add this one group, not other groups like mod)
what does verbose say u need
or should i redo it to
luckperms.user.parent.add true
luckperms.user.parent.add.modify.others
luckperms.user.parent.add.cerean
idk
whatever verbose says u need lol
that seems most similar to the promote example in the wiki
how do i read verbose to tell me "what i need"? I see a list of permissions that it checked when the command was run, but how do i know what i need from that? is it all of them?
use the verbose command command
lol, very useful thanks LP
yEah
is there anything else i can try to troubleshoot this? or is it just a ton of trial and error
With argbased, verbose command is 1000% the best way
it's not even trial and error, it's just check the perms and add them
see screenshot
is that player online
yeah
that command check thing is quite new
is that player OPped?
did it work? did you get the parent?
no
it is a bit of trial and error tbh, i recall there is a permission you need to add before you see any other permissions in verbose
wouldn't the console have all perms, so it should be able to see perms in verbose?
that's not quite how it works
did /lp verbose on in console earlier and it saw a lot of stuff
verbose is simply listing every permission that is being checked (which matches the filter)
Argbased may not work with verbose command, actually. Not certain but that could be it
do lp verbose on <playername> & luckperms @hard flame
yeah this is the first time i've seen someone try to use it with that
then have them run the command
Verbose for sure works with arg-based, I've done it before
here lemme pull the nodes I have set and you can see if you're missing any
yeah, i just remember there needs to be a permission set before anything else is reported
think it was like a context.global one or something
i got a ton of perms that dont seem to be relevant
yeah i think that's just the autocomplete
ah
the ones you want will be much longer
longer as in more specific?
gimme a sec I'll pull an editor link of my perms
ok so I have this group that all other groups that modify groups inherit https://i.imgur.com/GwYTKFn.png
ok but i dont want them to be able to modify anybody except in this one case
yup
that isn't enough for them to modify people yet, since you haven't specified which groups
nice shorthand permissions
https://i.imgur.com/2JI5FVB.png these allow them to use any of the group changing commands on the group in the second set of {}
so ```
luckperms.user.parent.{add,remove,addtemp,removetemp}.{ COMMA SEPERATED LIST OF GROUP NAMES }
luckperms.user.parent.{promote,demote}.<trackname>.{ "" }
oh okay it worked
and the group they inherit from has ```
luckperms.modify.user.{others,self}
luckperms.usecontext.global
luckperms.user.parent.{add,remove,addtemp,removetemp}
luckperms.user.{promote,demote}
keep in mind that the web editor thinks the commas are seperating nodes, even though in this case that's wrong. As such, you might need to set them with commands
yup
you can yell at me for that
i set
luckperms.modify.user.others
luckperms.usecontext.global
luckperms.user.parent.add
luckperms.user.parent.add.cerean
``` true and that just allowed them to add others to absolutely any group (ie. admin), even with `luckperms.user.parent.add.*` as false in addition to that (that seems sorta wrong to me).
(when i unset luckperms.user.parent.add, they could no longer add anything)
oh @quaint idol happy birthday btw
Hey Nobody! Please don't tag helpful/staff members directly.
oop sorry
stfu clippy people can ping me to say hbd
cool bot tho
lol damn
wait question 11, so in the setup you showed, were those with ur luckperms-modify-user-groups group able to add ppl to groups outside of {permresident,citizen,default,visitor}?
nope
same use case as you I think, non-admins who can promote people to some set groups
weird, because that's essentially what's happening to me. if i allow luckperms.user.parent.add, they can also add mod to ppl, which i dont want
yeah same use case
When configuring LuckPerms across a network, where is the best place to create the Database? Would it be best to do it on the Proxy Server, or the server w/ the most allocated ram? Does it matter?
if you mean a mysql database, that is totally independent of any server
it's its own server
Okay 🙂
@hard flame do you have arg-based perms enabled in the config?
Stupidsh question, but is it possible to sync groups across a network without each group having the same permissions on each server? Ex. User donates for A on Survival, but has the rank A on Creative as well. A completely different set of permissions, but user still has the group A
!context
You can set a permission or group on a per-world/per-server basis, through what we call "contexts".
Thanks! I managed to miss that page 😅
Hi,
We (server) currently use PermissionsEx and have a bigger script framework behind our server (using CommandHelper).
That relies on the default group having a specific name which is not "default" (it expects "visitors").
My question is, is there any way to rename the LuckPerms default group. And is there an API call to get the default group?
(I could let the "default" group inherrit the "visitor" group, but then the name is wrong and all scripts using that have to be updated.)
!default
LuckPerms provides a group that every player is added to upon joining the server, called default. You can use multiple methods to change the default group or change the name of it.
That major sucks
Not really. Because the default group is the default. It makes logical sense.
!migration Just use the migration to import everything from Pex then just change the scripts to use the default group.
Learn about the process of migrating from another permission plugin.
It can cause to a bunch of name clashes. If you are migrating from a server which used default for something else. Or as us, which have a different name for the "default" group. You will alwys have to do big refactorings in all (selfwritten) scripts and plugins.
!context You can always set contexts to stop any group name clashes between servers.
You can set a permission or group on a per-world/per-server basis, through what we call "contexts".
And it never makes sense that a name of a group defines its behavior. So in that sense name"default" causes to be the default group is not so awesome design.
I mean, by default you have no group so you're inthe default group
Makes sense in so many ways.
No you are not in the default group. You are in a group with the name "default" 😦
Which always happens to exist
That is the default group.
@torpid lantern https://github.com/lucko/LuckPerms/wiki/Default-Groups#where-to-start Read this. It will explain Lucks decision behind not being able to rename the default group.
Its funny how you keep throwing useless wiki pages at me which I already read.
It's funny how you refuse to see the point - that's how it is.
It's been debated several times and is the best solution, from a development and performance perspective
If you've already read them than you should know it's not possible to rename the default group, and you'd understand the reasoning behind it.
But well LuckPerms is a big project since years. I cannot convince you to make something better anyway.
Its my problem. I got my answer LuckPerms occupies the group name "default". And I have to write a workaround for these cases. Guess its not as awesome as it could be.
Thanks for your plenty replies 🙂
A small addition (what I expected):
A config entry which allows to set the name of the default group. By default its "default".
LuckPerms then uses that as groupname for the default group.
Also an API call to get the default group (and thus its name) - or just the name.
-> Not much extra storage by that, except the config entry.
https://github.com/lucko/LuckPerms/wiki/Developer-API:-Usage#obtaining-a-grouptrack-instance You'd use this to get a group instance for the API
Create the group visitors and set default as parent to it?
I just put displayname.member as a permission, default group is what all new players auto join
huh
go read up what @torpid lantern is saying
oh i didn't realise you were contributing to the discussion, sorry
I first started using the plugin yesterday, noticed the default group but just added displayname.member, then also made a group called VIP setting it as parent to group using group.default
lot of effort to setup a minecraft server? lol
it depends on what one define as "lot of effort"
I'm at 25 plugins so far and not even done setting it up
is it possible to hide a players name and tag above their head?
With a another plugin, probably
i mean yea ur building a server from scratch, its not a 5 mins thing where u place all the plugins in and boom ur done. takes time setting up everything
Hi there, so I changed hosts and I reconfigured the MYSQL database section but whenever I save something, it will show mysql errors for some reason
!errors
Here's a page with some common storage system errors.
look at me go
Well, that didn't work out for me
The error that I'm getting is different than the listed ones
!paste the error
Seeing a paste of the problem makes everything so much easier! Use https://bytebin.lucko.me/ for easy pasting!
Pastebin any relevant segments of the console log. If it's a startup error, this includes the entire startup log!
Pastebin the entire LuckPerms config file (passwords removed) as well as any other relevant files!
@unkempt storm did you happen to touch/edit the sql database directly?
It's another host and another MySQL database
So yeah
I backed it up
You know with export
and Imported it into the new host
ah prob something when wrong with teh process
causing a missing field id
Maybe the scheme is just wrong?
How do I fix that exactly?
Backup
Delete the database
Restart the server
Load backup
(In theory)
In-game backup?
can you link me your edtors please, wana have a look how you do them with nuclous, thanks budds
could anyone help me with essx and luckperms? I cant seem to figure out how to set up prefixes properly
!chat
LuckPerms is only able to send information to formatting plugins so that they display them properly. LuckPerms does not put the prefix in front of your name, you need a chat formatting plugin to do it, and you need Vault. Same goes for the tablist! If the information appears correctly when you run /lp user <user> info, LuckPerms is doing its job!
!sync
To sync data between servers, you need to connect each LuckPerms plugin to the same database (for example MySQL) and set up a messaging service.
where can i download MySQL it doesnt say anywhere
Google it
alright
Altough I'd recommend MariaDB, it's MySQL just better
alright
is it complicated to set up between servers? this is my first time using a db or working with proxies and stuff
whats a root password
it's the password you want to use for your "admin" account in mariadb
lmao why
because its my first time using proxy and databases
its so stressful
im thinking about like 20 different things right now
Well it's not like it's going to shut off your computer forever, now, is it? ¯_(ツ)_/¯
hopefully not 😆
(it's not)
Aslong as it isn't Chrome
does this mean i should change it or leave it the same
it never says what to change it to
but it mentions it
leave it like that
what is this
watch-files shouldn't have any relevance because you aren't using files
ok thanks
When i use the editot sometimes he set the Groups back But how
do i need to do /lp editor everytime i do the command to update the things ?
Yes, you have to it every time you want to start editing something (okay, you don't HAVE to, but you'll run into issues if you don't)
oh ok
which of these should i use
im guessing pluginmsg because then i can just copy over lucky from my hub server to it
or something
sql should work if you use a SQL database (like MySQL or MariaDB)
alright
so now that i have that setup on one of my servers, i have to copy over those settings to my second server too right
and then it somehow magically works?
do i have to do any setup on Mariadb
create the database iirc
do you know how i would do that or should i just look it up
so click on the exe?
or just type in MariaDB in the search field of windows (after pressing the windows button, login with your password and just type "CREATE DATABASE luckperms;")
third from top (MySQL Client (MariaDB 10.5 (x64))
If you're in there now, you can also create a new user for your database
how would i do that
How to set a group to Default
default is the default group
i know but how to set it on a other group
you dont, why would you need that
GRANT ALL PRIVILEGES ON luckperms.* TO 'username'@'%' IDENTIFIED BY 'password';
which things do i need to replace on that
username and password
can i set it to anything?
Yes
if i now join and i am in Default group than the placeholder say default
!default
LuckPerms provides a group that every player is added to upon joining the server, called default. You can use multiple methods to change the default group or change the name of it.
You can also list all your databases with SHOW DATABASES;
You have created like your LuckPerms database?
how would i do that
CREATE DATABASE luckperms;
Good for you then
Fill out the credentials in the config then you should be fine
If it starts up without errors
can i close that now
Probably
so now i just need to go into my luckperms config and change something?
yes, the settings for address, database name, user and password
so here address is correct, database should be luckperms and username and password are obvious
yes
and i should do that on both of my servers
yes, but I'd just do one first to see if it works
how would i know if it worked? start up the server and make sure theres no errors?
how do i change the colors of the group
luckperms doesnt handle any of that stuff
your chat and tab plugin do
this is all good right
this is what lp info says
Looks good then
so if i connect my other server to the database, then hub server will get all the groups and people in those groups but not the permissions right
or what gets transferred over
You can set a permission or group on a per-world/per-server basis, through what we call "contexts".
If you say "but I have to add context to every permission then", that is correct, but only half, you can also just add a group to a group with a context and all permissions in that group will be global, but as they don't inherit the group globally the perms are also not given global
!errors
Here's a page with some common storage system errors.
@vital granite wouldnt they need to run a command after the fact to even get the editor to work
meaning that its almost impossible to mess up permissions
He doesn't want anyone to see the groups and permissions
oh that makes sense
Every plugin permissions are out to the public so it's just a matter of trial and error to get yourself a list of what permissions are set up on a server
would i need luckperms on every serevr in a network if i use lp bungee
yes, you also need them set to use the same database
ok
ack, so even turning on argument-based permissions in the config, I still was not able to fix it- they can still add both themselves and others to any group, including admin
Then you've added a permission that's too broad
Try removing the second last one on that list? At this point your best bet is a mix of verbose and trial/error
i want them to be able to add the "cerean" group, but not other groups. if I remove luckperms.user.parent.add, it doesnt allow them to add any group (incl. cerean), no matter what other permissions
enable argument based permissions and remove that second last one
did that, now they cant add ppl to the cerean group
what does verbose say?
aight
wait if i do lp reloadconfig on one server in a bungeecord network where they're all synced with a mariadb database, will i have to reload it and restart all the servers? or does just 1 work
yeah i restarted one of the servers after changing the config file
I think argument-based (whatever the config is) does reload on /lp reloadconfig
Still a restart is preffered over a reload
from regular /lp verbose on i cant tell whats from autocomplete vs the actual check
Can you record and upload the verbose?
Are you also sure you enabled and restarted argumentbased permissions on the server you are trying this?
Because configuration changes are not synchronized over the Database, only permissions
yeah i went through all of the servers and bungeecord and changed it to true just in case, but i only restarted the server in question
And you and the player you are sudoing on are on the server in question?
is that in the screenshot the whole verbose log?
The whole permission check for the argument based permission is missing
I'd say restart the server in question again and then try again
I mean... I think I know why it doesn't want to check for the .modify.others lmao
It requires the base command permission luckperms.user.parent.add which returns false so lp is like "nah nah, you ain't getting none of that"
As for the previous setup... yeah....
As I understand the wiki it should still check the other permission, even if the first one isnt set
But I also may misunderstood it, I havent used LP in a long time and I can just give informations from the wiki as of right now XD
I tend to help with APIs usage even if I have never used the API in question, it's just a matter of reading the docs in most cases 🤷♂️
I think it still checks because with the second permission it says ( doesnt continue checking permissions if set to true or false ) so why not mention that for the first check too?
good documentation is very rare these days, luckily Luckperms is very well documented
I do have to say that the argbased wiki page isn't as well documented as I would like; either I'm dumb and blind or nowhere in there it mentions you need the base command permission
nor the .usecontext.(context)
nor, when changing groups, that you need to add .(group in question)
Correct me if I'm wrong tho but I didn't find those in the wiki 🤔
Thats why I think that the base permission isnt required
because it isnt mentioned if its required or not
Use aliases for arg based permission workaround 😉 Makes the headache bearable 😛
wait, so I did read correctly, you were looking into the source code
LAFF
ha ha ha?
Sorry! I do not understand the command !argbased
Type !help for a list of commands.
Fine tune exactly what users with permission to use LuckPerms can do.
Okay yeah as for the last 2 points I made, I'm arrogant lmfao
I think this confirms what I thought, but i am not sure
wait no
On the very first line on the #execute it checks for the "base" permission tho
we are so smart c:
My java is still rusty
xP
but yeah, then he requires to add the permission
luckperms.user.parent.add
luckperms.user.parent.add.cereus.modify.others
can't edit the wiki

luckperms.user.parent.add
luckperms.user.parent.add.modify.others
luckperms.user.parent.add.cereus
luckperms.user.parent.add.usecontexts.global
?
This requires hell lot of testing ;--;
your solution looks correct
is this how i would set something only true for one server
if the server was on that ip and port
You use the server name defined in the Luckperms config.yml for that server. not the IP and Port
alright
hi
what did you need
prefixes are not showing ingame
!chat
LuckPerms is only able to send information to formatting plugins so that they display them properly. LuckPerms does not put the prefix in front of your name, you need a chat formatting plugin to do it, and you need Vault. Same goes for the tablist! If the information appears correctly when you run /lp user <user> info, LuckPerms is doing its job!
i have vault, vault chat formatter, and i did set change-displayname in essentials config to false
idk whats wrong
send all your config files for those
Does the prefix show with /lp user <name> info
Does the prefix show with
/lp user <name> info
@tidal blade ye
Hey efe.! Please don't tag helpful/staff members directly.
Then it's an issue with your chat plugin.
and what plugin can i use?
!meta there is a list at the bottom of this page. But VaultChatFormatter is fine. Show me /pl
You can set prefixes, suffixes and other meta data in LuckPerms for players and groups. Note that LuckPerms does not manage chat. You need to use another plugin to show prefixes/suffixes in chat.
unix sistem how to send it? just copy the config.yml file?
yeah paste it into something like pastebin.com
ok
@brazen mural Since the prefix is displayed with /lp user name <info> It is no longer an issue with luckperms. So move to #general
anyone ever have problems when trying to do a file transfer with all their permission data disappearing?
Permission data is stored, by default, in the h2 database file in the Luckperms folder
yes it's there, ill try to delete and reupload though
best to use the export feature
run lp export <any name>
then take the file it makes, put it as-is into teh new LP folder, and run lp import <samename>
ok thanks ill save that for the future, reuploading worked though
@tidal blade I tried replicating Yidsir's setup and PAPI returns the same, oddly, even with a completely different config and set of groups and weights, it returns the lowest weighted as highest weighted and vice versa.
Could this be the issue? Just need a second pair of eyes tho, to confirm. This is in the LuckPermsPlaceholders expansion (https://github.com/LuckPerms/LuckPermsPlaceholders/blob/master/common/src/main/java/me/lucko/luckperms/placeholders/LPPlaceholderProvider.java#L146).
(sorry for the ping, don't hit me ;-;)
@prisma hinge could be the issue. I'll look onto it more soon.
I'll have the opportunity of making a PR into a LuckPerms project >:D
What happens if two of my servers link with a db and they don't have the same groups and stuff
Would I just export and import before doin that
Wait what?? The latest commit was to... fix highest/lowest placeholders being the wrong way around
If they link with the same db... I mean, it's one database, there is only one set of data
But which will get the data
And which will give it
If they both have different data
I should just export and import right
And then I don't have to worry
I think there are a couple of commands to ensure everything is synced
Wait I must be hallucinating
on the placeholder thing
I literally took that screenshot on blob/master there is no way that is outdated
And now it shows the right way around
Damn you GitHub ;-;
Ooooooo I know what happened. There is no build for the latest latest version on ci, and the latest commit ci showed me was before it was corrected.
No PR then ;-;
k I'll shut up
!verbose don't mind me
LuckPerms provides a verbose command to help you find out what permissions a command/plugin is checking.
so i have a diamond sword that does /thru and jumpto
but when i do /lp verbose
nonthing pops up
LuckPerms provides a verbose command to help you find out what permissions a command/plugin is checking.
how is that nothing
its essentials recording for /back
Probably essentials powertool
Make sure you are using EssentialsX and Vault for prefixes. For any other issues with Essentials, you should seek support in either #general or the official EssentialsX support Discord.
Any way to assign a specific rank to players who join? We reward new players with a Beta rank, thanking them for playing during the beta phase.
sorry lol, was confused by the channel :3
!default You cannot change the group players get when they first join. Though you can add the beta rank to default as a parent.
LuckPerms provides a group that every player is added to upon joining the server, called default. You can use multiple methods to change the default group or change the name of it.
Okay, thanks I'm going to try that
nah that isn't really what you want
you may want to use the default assignment extension which is mentioned at the bottom of that page
the one time i actually recommend using that lol
whats the essential name to self op ?
Please don't post in multiple channels @chrome echo
sorry
Hi everyone,
Anyone kknow why I get this error sometimes? I contact my host, but nothing is wrong on their side and I am the only client with this issue:
https://gist.github.com/maxlehot1234/f85199a95473a73e7633167d25cabb3e
Thanks again for your help
!errors @wanton marten
Here's a page with some common storage system errors.
how should i set this up if i want everything but permissions to transfer over. Im using mariadb
also while im here, how can i clear everything except for config and stuff
whatfor?
i have a hub server and a survival server. I dont want permissions of the groups to be transferred over so that people cant use /home or something
You would need to use contexts, I suggest you make "subgroups" like vipsurv, viphub, vipskyb, etc and then add all of them to vip group on their appropriate server context
!context
You can set a permission or group on a per-world/per-server basis, through what we call "contexts".
so dont bother with split storage?
Yeah it won't do what you want
i was hoping it would be possible so it would be a little easier to set up
but i guess contexts will work
You can't split permissions
also while im here, how can i clear everything except for config and stuff
@pale pond what about this
yeah
i just need to clear everything but config or anything else important
like logs or something
i dont know
!bulkupdate
Quickly update a large amount of user and group permissions by using the bulkupdate command.
alright thanks
Np
someone know how to link servers ?
like if I give owner rank in the lobby it gives it on every server
(bungeecord)
!sync
To sync data between servers, you need to connect each LuckPerms plugin to the same database (for example MySQL) and set up a messaging service.
@summer glacier 👆
thx
Do I need to do anything with vault after its installed because I have it and prefixes still arent working
Also check if it appears in lp user <name> info, if it does then you know it's 100% a formatter issue
I am going be to adding another server to my network, LP is currently synced across the current servers via MySQL, with groups and tracks. Is is possible for me to assigned different tracks to different servers?
!context
You can set a permission or group on a per-world/per-server basis, through what we call "contexts".
For the groups/permissions
Yup, I know that I can assign permissions per server, but I want a different set of 'groups/ranks' names for the new server on a different track, but donors to be cross-server, if you know what I mean, so would need a specific track only available to the new server?
is that possible?
use context when running the promote command
You can apply groups per server as well. ^
ahhh, ok, I think the groups per servers would work - omg, I am going to have to really get to grips with context now rather than just dabbling with it (sheessshh) lol. Ty, I will have a try
ahhh, ok, so to add contexts to a group they need to be on the /lpb version. Am I right?
If all servers are connected to the same database for luckperms it won't matter.
I just connected luckperms to my mysql database and i get this error
https://pastebin.com/GY3M8eAd
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Hola
Caused by: me.lucko.luckperms.lib.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Access denied for user 'u9_Gf7mekJpKQ'@'%' to database 'Permissions' @unkempt hare
!errors
Here's a page with some common storage system errors.
Does anyone know why the group prefix does not appear in the chaT?
!chat
LuckPerms is only able to send information to formatting plugins so that they display them properly. LuckPerms does not put the prefix in front of your name, you need a chat formatting plugin to do it, and you need Vault. Same goes for the tablist! If the information appears correctly when you run /lp user <user> info, LuckPerms is doing its job!
does it appear correctly in lp user USER info
LuckPerms is only able to send information to formatting plugins so that they display them properly. LuckPerms does not put the prefix in front of your name,** you need a chat formatting plugin to do it, and you need Vault.**
Ben, I cant find my error on the github page
Where would I do that?
your sql database management software
phpadmin?
yes
Oh okay
I have no experience with phpmyadmin, do you have a tutorial or something? :p
tbh, i dont either, but im sure google have a many guides on phpadmin
I don't know what to search xD
any plans to use pgjdbc-ng driver for postgresql support instead? that'd also create a possibility to use postgresql's listen/notify for update notifications
different q - LuckPerms doesn't do bstats or so, right? wanted see how popular certain storage backends are lol
yeah no luckperms doesn't have metrics collection
Ultimate privacy lol
From what I've seen @prisma hinge for databases, MariaDB and MySQL are the most, followed by mongo and postgresql in no particular order, and then for flatfile h2 is definitely most common and yaml for people who don't know any bettrr
The other ones are just here and there depending on if people need them
and yaml for people who don't know any bettrr
YAML was a mistake, JSON should be the norm
One extra space
well technically
One tab
Broken
That's why I said for people who don't know any better
It was getting people used to yaml that was the problem
"any valid json is also valid yaml" something in the lines of that
I mean you can literally write a whole JSON and save it as .yml and it will work just fine
except whitespace, not sure about that
And to be fair @prisma hinge one extra comma in JSON or a missing one and you're screwed too
Okay Larry you're not making friends here >:(

anyway i think i'll open an issue about my first q
Good plan
does LPB need a MySQL (or other type of DB) to funcion? or can it be used without one
function*
Its best that all servers in the bungee network are connected to the same remote database
it's not gonna sync permissions if you don't
ik how it works
But it is if you want to properly sync permissions.
lp bungee works the same as the others and defaults to h2
im asking for someone else as they dont think it can go without one
lp bungee works the same as the others and defaults to h2
@tame hollow thought so
Hey Jayy! Please don't tag helpful/staff members directly.
im asking for someone else as they dont think it can go without one
@past lichen They can go without one as long as they aren't planning on syncing their ranks
So then why ask JayyTechTips
sounds like a bit of conflict 🤔
i want to limit a command so it works only in world 1 but not in world 2 is that possible using luckperms?
You can set a permission or group on a per-world/per-server basis, through what we call "contexts".
oo thanks
You're welcome!
loll
u here too xD
yea loll
do u have to set the thing ingame or somewhere else?
Find all of the available LuckPerms commands on the wiki.
!editor
LuckPerms offers an easy to use, powerful Web Editor, with which you can add, delete and change permissions of groups and players.
ok so using that i can dissable certain plugins on a per world basis
PerWorldPlugins?
Mmm not quite, I mean, plugins will still run, you'll be able to prevent/allow players to do certain actions based on the permissions
He isn't asking for that . _.
I was just going off their last message soz
this does the same hting
If you want the plugin completely not working on world 1 but working on world 2 for example
i just want to dissable some commands in my hub for my server
Okay off topic but why do you have a hub on a single server
Also, use luckperms contexts or per world plugins
use multiverse lol
^
i checked out the wiki but it does not show how to dissable the command..
so use contexts or PerWorldPlugins
You can do that with multiverse?
@prisma hinge i was replying to the first one on
"why do you have a hub on a single server"
but that perworld plugin is for bukkit i use spigot
tbh just use context lol
Yeah it's just wacky having multiple gamemodes on one server
Believe it or not
spigot is bukkit
but that wont work on my server still
Why's that?
That PerWorldPlugins plugin seems like it does some shady illegal stuff to achieve that tbh and wouldn't be quite reliable
It works
ish
i will use contexts but on the wiki it does not show how to dissable...
Until it spams your console with errors