#support-1
1 messages · Page 332 of 1
Luck, which type of saving database holds all permissions etc. in RAM memory and only use IO operations in seperate thread from main to update files?
in relation to LP? all of them
Do i need to set messaging-service in all of my LP configs or just the bungee one?
all of them
Ok
So I should set all my bukkit servers to run it on bungee
and set my two proxy servers to run it on redisbungee
if you have more than one proxy, you should set them all to run on redis
If i am creating an addon that is directly editing the mysql will I need to set the sync-minutes to something
or keep it as -1?
depends
without it, data will only be refreshed when you run the sync command
or when another connected server notifies other servers of a change
Would it affect server proformance to have it syncing consistnatly though?
Is there a way I can set default ranks for ceratin servers?
LuckPerms already has the default-rank...
But you can let it inherit certain groups for certain servers with /lp group default parents add <group> server=<server> iirc
yeah but that wont work with our old promotion system
is there anyway I can set a users role to 'User' on join then?
how can I make it so it is kind of like a group on first join?
how do I set someones prefix like not a whole group but just on that one player?
/lp user <user> meta addprefix <wheight> <prefix> should work
no.
oof
LP uses the wheight, to deside, which prefix to show...
Just use a heigh weight
Luck, can i make public static LuckPermsApi api = LuckPerms.getApi(); in my Main Plugin? won't public static affect performance in a bad way?
it doesn't affect performance, but it is bad practice
so is it better to call LuckPerms.getApi() many times instead of 1 static?
and why there is no u.hasPermission(String permission) ;D? Trying to move API from pex to LP, will I need to create all the time api.getNodeFactory().newBuilder("permission").build() to check if offline player has permission?
no, ideally you should be using the services manager to obtain an instance of LuckPermsApi, and store it in your plugin.
and no again, you should be using user.getCachedData().getPermissionData(...).getPermissionValue("your.permission.here")
sorry for many questions, but can i store that instance of LuckPermsApi in public static Main class and access it from others?
another line seems to be long too ;D with pex it was just u.hasPermission(String), are you gonna make something like this in future : )?
for offline players, no
for online players, you should just be using the bukkit method.
and I already answered your first question.
Luck - Today at 19:24
it is bad practice
Hey I have a small problem when I use luckperms on my bungee server I can't givemyself permissions for any of my proxy plugins for example /alert
Is there a way to override the default bungee permissions to fix this?
@foggy quartz to run commands that affect the bungee you have to use /lpb instead of /lp
I also recommend you reading the “Network Install” section in the wiki
lpb does not work
Hello, i have a question. Im managing 2 servers and im doing an update right now. I used luckperms before i delete everything from the main server to transfer the files for the update from the testing server to the main one. I still have the json files with all my groups and such but apparently luckperms is not recognizing them to add the groups normally. What can i do instead of re-creating manually the groups 1 by 1?
the best would be to export from test server and import on the main one
how can i do that?
i still have the test server set with the luckperms groups there working properly
on the wiki @strange river https://github.com/lucko/LuckPerms/wiki/Command-Usage#lp-import
You want to change the storage-type of LuckPerms, without redoing the groups and permissions? This video help you! Music providet by NoCopyrightSounds: Carto...
😛
🤣
Well as I said before and I'll say again;
I use to use PEX, coming from PEX to Luckperms was sort of smoothish. One thing that I will highly suggest. Read the wiki. Still not sure about something - read it again. And once more again. The wiki is well written and answers 99% of the questions I've seen on here and on the github issue tracker
^
Yes, i understand. Came from wiki here to see if i can find in real time an answer since im working right now on it. But yea, you are correct.
Also, may i ask, about the /lp export that says on wiki, where can i export the files? like, i have to create any file or what? Remember: Not much dummy, but still dummy 😛
<file> is the name of the file which you want to save to/load from. The file is located in the LuckPerms data folder. You can name it whatever you like in the import command.
LP creates a file in the LuckPerms-folder
oh i see. Let me do it then.
@Jozh#3790 any startup errors on the bungee?
The command not being available suggests it’s not loading properly
@small edge What do you mean?
i want to sync my roles and rank
discord to minecraft
discordsrv said they cant do it atm'
so do you have any ideas ?
Ah. No, Luckperms can't do that
oh okay
LuckPerms doesn't really communicate with anything else
😢
@small edge look at DiscordSRV, it has a method of linking and syncing roles with permission groups.
@amber mountain Only from mc to Discord, but JayFate want it the other way....
@small edge How about you link it the other way then?
Like assign the wanted groups through minecraft
cause the co owners and admin never used plugins before...
Then they better get used to it
I need a little bit of help
I migrated from pex but I have never used luckperms and i dont know where the permission file is located
I'm getting a major issue where players can't connect due to the new update of LuckPerms.
I'm getting this message:
(player) lost connection: Internal Exception: java.lang.NoSuchMethodError: me.lucko.luckperms.api.User.getGroupNames()Ljava/util/List;>
Anyone have an idea why or what I could do to resolve it
I take it you're using placeholderapi with the luckperms expansion? @robust wing
There were breaking api changes when 4.0 was released, so you'll need to update the expansion https://ci.lucko.me/view/LuckPerms/job/LuckPermsPlaceholders/
@AHappyLittleSloth#1728 by default there is no permission file.
You can either set all the permissions through in game commands and the web editor (what I’d recommend) (/lp group <group> editor) or you change the storage type to YAML
They left :P main reason why I didn't bother replying
I met an issue about AttachPermission
I use RPGItems and LuckPerms together, when I deop myself and then the AttachPermission in that plugin doesn't work
after I re login , it works
weird..
@verbal falcon Make sure you are on latest LP (4.0.10+) An issue regarding attach perms was fixed lately
LuckPerms-Bukkit-4.0.11.jar
https://github.com/lucko/LuckPerms/issues/528
Maybe add some info here
Anyone here have experince with namedisplay mainly just adding colors
What plugins are you using?
Sorry nucleus and luckperms.
I just want to simply add 3-4 displaynames colors I think I done it ages ago purely via luck
Well one easy way would be appending colors at the end of the prefix, so they color the name
This the one I did try /lp group administrator meta addprefix 100 "&c"
But it always &F it seems after
Then you need to adjust the chat format, so that there are no formatting codes between the prefix and the name
Is that via a config or via the perms themselves? and I will try to figure that out.
Nucleus config
Okay all fixed for anyone who searches this :P
/lp group default meta set namecolour b
/lp group default setweight 1
/lp group admin meta set namecolour a
/lp group admin setweight 2
Will let you set name colors 😛
Ive set head-mod to inherit all perms from SrMod but now I can't change the prefix for head mod... Any help?
@vocal agate the priority needs to be higher than the one of SrMod
Or if you mean editing the prefix I’d recommend the web editor
How to change prefix/suffix with api? Looked everywhere can't find method 😦
Add and remove the appropriate permission nodes
Hm, I want to set only own prefix for one player not for group
like in PEX user.setSuffix("PREFIX",null)
i see thanks
Then add or remove the appropriate prefix nodes to the player @iBo3oF#1413
I want to use this example as in git http://prntscr.com/he3uku
but it's deprecated
user.refreshPermissions();
What does the Javadoc of that method say?
:o
Press F3
Eclipse user!
XD
Ah ok. I’m just so used to these words being followed by “you NEED to use IntelliJ”
Nope. It’s the LP API
K
Brainstone, quick question, not in off topic cuz it's not gonna be a convo and I don't wanna force you there. Android or iOS
iOS
Okay, I'm android. Hate iOS.
Yeah,
It fits my needs better
Lets stop before luck, or someone else gets slightly angry.
Unless you wanna continue in offtopic
You haven’t added the source?
... That sounds bad
I still haven't learn Java. I wanna but I keep putting it off.
@iBo3oF#1413 well I’m sadly not an expert on the API
I’d say wait for Luck and ask him. Also ask him to update the wiki
Ok, maybe do you know what is difference between Contexts.global() or Contexts.allowAll()?
read the java docs.
Ok : ), how about deprecation?
same answer 😃
How can I reduce the number of mysql connections?
I'm using MariaDB
@tired turtle ?
lower the mysql pool size in the config
thanks
Is there a way to clear all the user data in MySQL?
Truncate the user table
Luck, can you update API to addpermission for LuckPerms 4 in https://github.com/lucko/LuckPerms/wiki/Developer-API : )?
what's wrong with it
user.refreshPermissions(); is deprecated thought something else is wrong too : )
user.getCachedData().recalculatePermissions();
is this correct alternative?
or user.refreshCachedData(); ;D?
@mystic stirrup run TRUNCATE <user_table>
In SSH right?
In MySQL
And replace <user_table> with the right table name
Do you have access to the database through a web panel? Like PhpMyAdmin?
@mystic stirrup
Then go there. When you are where it lists the tables, there is a button to truncate a table
Ok
/lp group elite parent add default
/lp group noble parent add elite. If that isn't working, then the default group hasn't got the permissions.
Thanks, will let him know.
@lapis ibex Ah, okay. Thanks, was wondering why there was no Bungee jar on the spigot page.
You can have one jar there. ANd the download page is linked there too
I recommend you using the latest version for both bungee and spigot
From the build server
hello i need some help
when i want to set myself the default group
it says an error occured
Full error please
uh wait a sec
it says error occured whilst saving user data
or something like that
What storage type do you use?
yaml
And what LP version?
ubuntu
Does the user than runs the server have the proper file permissions? (write+read)
Can you restart the server? And try again?
and make it regenerate
i tried
is there a way i can delete the config and make it create a new one
Hmm
i'll delete the whole luckperms folder
Yeah. Don't think it'll change anything but try it
myea
Does it work now?
wait its not done
Ah ok
How do I fix lpb not showing up
Do you have it installed on the bungee?
i'm messing around with screen its gonna take a while lol
so apparently
this only happens for yaml
on h2 it works good...
@slow whale if he doesn't respond within let's say round about an hour, create an issue on GitHub
ok
@foggy quartz did you see my response?
Can I get help?
hello
I love LuckPerms of course, but I want ask, if I can disable prefix and suffix in Tablist
so it got fixed?
yes
i found a bug? mee??? wwoow nice
thanks 😛
@foggy quartz depends which plugin you're using to format your tablist. LP just provides the data, it doesn't actually do anything with it
@slow whale update your LP jar to the one provided at that link
ok
I have it all time, when I dont have plugin for tablist, still I have it in tablist..
i can guarentee that if you remove all plugins except from luckperms, your prefix will not show in the tablist.
Really?
yes
I tested it only with LP, and I have prefix and suffix in tablist
can you please show me a screenshot of /plugins whilst displaying the tab list
There it is
wait i think i broke it
i no longer get luckperms
in /plugins
i downloaded the sponge version
goddamn i am an idiot
I added CTSNC today, but prefix I set up like in 5 days ago
@foggy quartz Please remove all of your plugins except from LuckPerms, then restart your server and check the tab list.
because I know for sure that it won't be formatted 😛
np
is that ur cat in the pic
same here
u right with magic, I didnt get Prefix and Suffix in Tablist
but how can I get it without Prefix and suffix with plugins?
I didnt found any option to disable it
sorry, I didnt understand what you mean "changed" ?
Plugins or configs? or what?
well, you need to work out which plugin is formatting the tablist, right?
I know what plugin formatting tablist, but I didnt get how to disable it
I didnt found any option for that
for ask, it is there a way to disable it in tablist?
yes
then how?
Luck - Today at 20:32
you need to ask the author of that plugin.
this has nothing to do with luckperms
i cannot help you disable a feature in some other plugin
you right, okay, for the time
For the documentation it's noted that one should run a MySQL database to connect a network of servers together. Would it still be possible to do this with, say the YAML database, but using symlinks to connect all the servers to a common location?
It can work, though I don’t recommend it. Instead use MySQL and the web editor
Or if you can’t set up a server use at least h2, as that is a format designed to work with multiple processes using the same file
@turbid wing
I'm aware it's not an optimal solution. Reason I'm curious is because I like editing everything through the text editor as it's the most efficient, old habit from Groupmanager. Setting up a whole new system and it'd be nice to use the YAML for all. I've also used the same method for other things, like FAWE, that don't support MySQL storage, and it has worked fine.
I’d really recommend you trying out the web editor
I think it’s a lot more convenient than editing YAML files
Let me see if I can quickly find the gif
Yup that one @turbid wing
I've used the WebEditor. Don't find it convenient when mass-working.
Have you use the recent versions?
Yup
There have been a fair amount of updates
I used it last a week or two ago. So if they're more recent, then no.
Like suggestions on the permissions and the ability to edit existing field
If I may ask, why don’t you find it convenient?
@turbid wing
For massive (and possible major damage if not done correctly) changes there is bulk updating @turbid wing https://github.com/lucko/LuckPerms/wiki/Bulk-Editing
But if you edit a mysql db incorrectly you can do the same level of damage anyway so YMMV /shrug
@lapis ibex, mainly because of the copy and paste feature of the basic YAML.
You can do that too in the editor
I guess I'll have to look into it a bit more then. 😃
There are two buttons on the left
*right
One to delete and and one to copy
Also when you add permissions the input won’t get cleared
There are several ways
You can edit the permissions through commands
You can edit them with the web editor: /lp group <group> editor or /lp player <player> editor
This is what I would recommend
Lastly you can change the storage type to YAML or JSON and edit them in the files
@red iron
I also highly recommend you check out the wiki (link is in the #welcome channel)
It answers at least 90% of the questions
does anyone know what perm it is for chating? i cant seem to find the perm to add to the group, and i have to op everyone on the server just to talk :/
whats the plugin which is handling the chat?
I'll drop this here -
} else if (identifier.startsWith("in_group_") && identifier.length() > "in_group_".length()) {```
In the latest version of Lucko's PlaceholderAPI Expansion, that line is throwing errors in some cases.
@hardy sierra you can use the verbose feature to see what perms are being checked
(See the wiki for details)
Or check the plugin page of your chat plugin
They should list the permissions there
okay
@scarlet vale try updating either LuckPerms or the expansion
Can you ask him for the version numbers?
Because it wouldn’t be the first time someone is using an old version and claiming to be on latest
Latest on LP should be 4.0.22
Latest versions are here https://ci.lucko.me/job/LuckPerms/ and here https://ci.lucko.me/job/LuckPermsPlaceholders/
Luck, API is very complex, are you planning on making it easier for noobs :D? Why there is no method setting like in PEX, just user.setPrefix user.addPermission user.removePermission ;D? I need these methods in different classes, plugins and to repeat them in every class is inefficient and consumes plenty of lines, even for just addPermission, code is: http://prntscr.com/hek8ey and this code if player is online if not more lines to come.
making static inefficient, repeating it is too inefficient, don't know solution. Maybe dispatching LuckPerms commands from plugin seems easiest way...
it’s not inefficient - it’s just extensive. 😃
and no I don’t intend to make it “easier for noobs”, but if you want a simpler interface, i recommend using the vault api instead.
Also you can create a helper class that has these simple methods.
Would there be performance issues if I decided to go Yaml for LP? I assume it's 100% in the memory so no need to do much write/reading?
I kind of want to see how it's laidout and maybe edit via the yaml files as I really enjoyed it a lot in Pex.
The performance difference should be minimal, but I recommend you check the editor out. We've made a lot of changes in the past week
Hello, I have been trying to do some suffix on my permission groups and i can't seem to get them right. This is what i have been putting in the command line(/lp group helper meta addsuffix 1 Helper) and it doesn't seem to be working.
Everytime when i put that in it seems to go through but then when i go to test it like say hi in the chat it doesn't seem to work. Someone here in the chat who could help me please?
Spigot or sponge?
spigot
Do you have vault and a chat plugin installed?
just vault no chat
You will need a chat plugin to do the formatting :P Not essentialschat, if you want to use essentials, you must use essentialsX and essetialsXchat
i couldn't find (aessetialsXchat) . Can you send a link to it?
@storm geyser Thanks. When you say Editor do you mean like a third party program or the in game editor via commands?
@glacial igloo I guess the LuckPerms-editor
Oh wow that is cool
For me it's more about I edit them offline server wise. Getting a new pack/server ready I tend to do a lot of hands on editing. That is sweet though I like it a lot
Ok then, You mention. I need some sort of chat program. What type of chat program do i need?
I recommend Nucleus
As someone used Pex/Essentials for many years 1.7 and older I really enjoy LP/Nucleus
@fossil sand One, that supports Vault, to show prefixes like EssentialsXChat, DeluxeChat, ...
Hey guys I got an issue with LP prefixes
I had them all working and then I updated Spigot, Essential (and essentials chat), and LuckPerms
Now the groups are still there, the permissions are still there, and even the prefixes! They just wont show!
Does anyone have any advice?
@ripe quarry Essentials or EssentialsX?
EssentialsX for chat, normal essentials for everything else
Why not using EssentialsX?
The latest version too? If so report this issue to the authors of it
Great 😃
So, the permission for all permissions of luck perms is permissions.* Or permission.*
I forget
Bad memory except for passwords
Or is it luckperms.*
To give yourself all perms you can do /lp user (name) permission set luckperms.* this will give you all luck perms commands
For access to all plugins commands etc do /lp user (name) permission set *
I already know how to negate
I have been using plugins for ages and know my way around. But thanks
Anyway, it's quicker to just add * to admin and remove all I don't want them to access
Hey
i can do the Rank name have capital letters? Like an scoreboard of
Rank: Legend
Not
Rank: legend
Hey there,
I'm trying to switch from a single server setup to a BungeeCord setup
Today I've found LuckPerms on SpigotMC.org which seems to be really promising
However, there's one thing I'm really confused about
The LuckPerms wiki says that "LuckPerms must be connected to the same SQL/MongoDB server, and access the same database or collection." for data to sync between instances.
But I don't know what a SQL/MongoDB server is, how it works and how to setup one to work with my BungeeCord network.
Can anyone help me?
@elfin egret Can you point me in the right direction?
@timid fable use the setdisplayname command
@ionic mango who's your hosting provider? most MC hosts will include a mysql database in your package
if you host on your own machine, then it's something you'll need to setup yourself
How do I allow a player to build in an area that is protected by worldguard using luckperms permissions?
@foggy quartz give the player/group the appropriate permissions. Which ones to give should be documented on the Worldguard pages
It's okay I've found out thanks
Good
I would like a player to be able to use worldedit. What is the permission node that?
@strange river thanks but I cannot find the actual Luckperm node.
@foggy quartz That's actually the same question like you asked before
And treav0r_ give you the answer
No that was building in a worldguard area.
LuckPerms doesn't handle WorldEdit. It only handles the permissions from it
Cos one of my players is unable to use worldedit. She needs the permissions.
You can find them on the page treav0r_ posted
Thanks.
👍
Okay so for the player to use all of worldedit they have to be oped?
worldedit.* should cover all worldedit permissions
what it says
use verbose to test which permissions are being checked
Do you use another plugin like FastAsyncWorldEdit?
Or PlotSquared?
No. Just worldedit.
are you sure you gave him worldguard permissions to build?
Luck - Today at 22:49
use verbose to test which permissions are being checked
https://github.com/lucko/LuckPerms/wiki/Verbose
can you send a full list of your plugins?
@elfin egret Okay I was hoping for a direct answer. Thanks.
i've already given you a direct answer and you said they already had that permission
so what else do you expect me to suggest?
I meant a direct answer to the first question
which question
I don't have time to read up so I just wanted a quick answer as to what permissions node I would need. I don't have time to learn about verbose cos this player needs worldedit now. lol
@foggy quartz the best and quickest way is to verbose to find out exactly what is missing - could be something you've overlooked. Happened to me more then just once as well. Verbose pin pointed it for me very quickly
Okay I will tell the player that they are not able to use worldedit right now. Thanks for the avdvice.
no worries 😃
unfortunately an attitude of "I'm too busy to solve my own problems and I expect others to spoon feed things to me" won't get you far here.
sorry, but that's just not how this channel works.
@foggy quartz if youn ahd spent the time reading the page about verbose instead of asking to be spoonfed, you could give that person the permissions already
^^
@lapis ibex Okay
hello in luckperms is there a way to put a cooldown on a command?
ok
how can i solve this?
yes, but it says me every time i left the server, and i dont understand very much english
Use Google translate to translate it
what was the command to set someones group again? was it /lp user (ign) parent set (group)>
?
@lapis ibex
Yes. Or add instead of set @mellow veldt
ty.
Hello, I am trying to set up my shop on my website. i am trying to work out the shop command i need to use. So i can get luckperms to read it and give the user the permission they have purchased.
i was wondering if anyone is here to tell me if i need any other plugin other than volt and the enjin plugin to get it to work?
@chrismuroch8#6900 use /lp user <user> parent add <group> and create a group containing the right permissions for each purchase
I am not using groups. I am using individual permissions for my donations.
lp user <name> permission set <permission> @fossil sand
@chrismuroch8#6900 as I said it’s better practice to use groups instead
I use groups for my staff but for my donations players they are able to buy individual for missions and this is what i am trying to set up. Which i am still having difficulties with.
Create a group for each individual mission
Then give each group the appropriate permissions
And when a player buys a mission add that appropriate group to him
That is by far the easiest approach
Allows you to give multiple permissions per purchase
And change the permissions for all players that have them if you need to
A player can have multiple groups in case you didn’t know
@chrismuroch8#6900
suffix.&f&l» &7 why this doesn't work
ty <#
ok then, I'll try sending every single permission to a group and see if that works. If it doesn't work. I'll come back and let you know.
How can i name my default rank to Rank-Less
the setdisplayname command.
/lp group default renmae rankless
i did /lp group default renmae rankless xD
but okay
okay
Just curious is the luck perms version on spigot the same for bungee now or is there a seperate file for bungee
separate file
https://ci.lucko.me/job/LuckPerms/ Is it safe to use these?
yes
Okay thanks
@elfin egret ?
I have question, about move in another world, is there a permission to move in new created world? because nobody cant move
First of all @foggy quartz - don't tag Luck, just ask your question
nope, luckperms cannot do that directly. Could be another plugin preventing them from moving in that world
ok, if u can answer better, no problem
I recommend you use verbose to see if a permission is checked when trying to move
^
question. i've migrated from pex to luckperms. It transfered tho the players too. how can i reset all players?
@elfin egret
can I transfer my pex perms to lp?
@foggy quartz https://github.com/lucko/LuckPerms/wiki/Migration
How do I only give ranks on certain servers ?
with the server context
whatcha mean?
specify server=<server name> at the end of the command
hello guys
hi
what up
not much
use parent set then.
what's the output of the command
have you set the server property in the lp config file
one thing at a time please.
the server setting is explained here
@foggy quartz You need to define a servername in the lp-config (First option)
General
server
The name of the server, used for server specific permissions.
If set to "global" this setting is ignored. More details about how server specific permissions are groups work can be found here.
Example
server: global
But if I set the server to Hub-1
that means I can't set global ranks
LP sets global-ranks by default
global permissions are included too, unless you change the value of include-global
That setting is only for telling LP "Hey, this server is called ..."
but what If I dont want global perms I jst make it Hub-1 instead?
no
Luck just telled it
read the description of the option under it
lp user Dayless parent set Owner Server=Hub-1
lp user Dayless parent set Owner
right?
yes, but if you're going to set the group globally, there's no need to also set it on hub-1
set owner is for global
No
I wanna make it so when people donate they only get it on skyblock
thats why I'm trying to fix it
then change the value of server in the lp config on your skyblock server to "skyblock"
I will
and set the groups which you only want to apply there with server=skyblock
for global staff ranks I can do /lp user name setgroup Mod and for none global staff ranks I can do /lp user name group set Mod server=skyblock
yes, absolutely right
ok
https://gyazo.com/adef2123da9850ab2a82e14f56bad576
Gyazo
Gyazo
I'm trying to move pex to lp
and get that
check your console on skyblockfire for errors
check the full log
specifically when luckperms enables
Ithere isnt 1
pastebin the whole file then
[14:17:22] [Server thread/INFO]: [LuckPerms] Loading LuckPerms v4.0.18
[14:17:22] [Server thread/INFO]: [0;37;22m[21m[[0;36;1mL[0;36;22mP[0;37;22m[21m] [0;36;22mIdentified the following dependencies: [CAFFEINE][m
[14:17:22] [Server thread/INFO]: [0;37;22m[21m[[0;36;1mL[0;36;22mP[0;37;22m[21m] [0;36;22mDependency 'caffeine-2.6.0.jar' could not be found. Attempting to download.[m
[14:17:22] [Server thread/INFO]: [0;37;22m[21m[[0;36;1mL[0;36;22mP[0;37;22m[21m] [0;36;22mDependency 'caffeine-2.6.0.jar' successfully downloaded.[m
let me dm you the pastebin
just paste it here
ok, then you can look for the error yourself.
there's really no need for that sort of language.
you can either be respectful of me and the people here offering their time to help you.
or solve your problems yourself.
@foggy quartz Reason: This discord here is for helpnîng with LP
because I choose to limit my friends list to my friends, and because there's no reason why you can't just post it here. nobody else has ever had an issue with doing so.
ok 💁
I mean it’s not like the log will contain sensitive data
What would be sensitive?
I’ve been running servers for years. And I know what mc-Server logs contain
They left, sadly
need help wen i do this command lp migration groupmanager migrate as global it gives me an Error -> Was expecting true/false, but got migrate instead.
can you give us the exact command you were using?
lp migration groupmanager migrate as global
it is migrated as global by default, so you just need /lp migration GroupManager
[LP] Command Usage - groupmanager
[LP] > Migration command
[LP] Arguments:
[LP] - <migrate as global> -> if world permissions should be ignored, and just migrated as global
try /lp migration GroupManager true
no problem
Hey..I was wondering if it is possible to allow ALL permissions of a plugin but deny one exact sub-permission??
yep, you can do that if you want. * has less priority than other permissions
Yea but how do I deny a permission?
/lp group <group> permission set <permission> false
Will it show up in the groups config file as false?
yes
So the * can be overritten by other permission?
correct. So for example, if we set essentials.* as true, and then deny essentials.fly, they will not have access to /fly anymore.
no problem 😛
Sorry I know this is totally wrong but does LP support something like this hehe
pretty much spit out a custom error message?
or would that be gp's need/doing
GP does that itself 😛
I was wondering if LP had this feature that the node " * " will allow all permissions for a certain group
yep, it does
So it allows all the permissions that are within the server
Everything
Okay thank you
How do I set a Prefix/suffix for a certain group and what is the [{example}] so that it appears in chat?
@storm geyser Thanks I will see if they can help with that 😃
@brittle fulcrum https://github.com/lucko/LuckPerms/wiki/Prefixes,-Suffixes-&-Meta#how-do-i-actually-set-prefixes-and-suffixes-for-a-user
Okay thank you
can i have someoen here figure out this error ? https://pastebin.com/x2EEcsSm
Your MySQL server is just really slow at responding to queries
Yo
So how does LuckPerms work with Essentials Group chat formatting doesn
Doesn't seem to be working atm
FIXED: Vault lel
Hi, does anyone have a template or a general list of properties which you're allowed to configure for groups in .json? Thanks
@lapis ibex how can i reset luckperms database? i've migrated everything from pex to lp but i want to re-create everything all over again
any ideas?
let me try
If you want to start over, why did you migrate in the first place?
i thought it will transfer only the groups but it transfered the players too
im working on a reset for a skyblock server and i want to reset it for an update
What storage type did you use?
i had pex
I mean your LP storage type
dummy here, can you explain? 😛
In the LuckPerms config you can chose your storage type
idk the default. didnt touched
yep its h2
not really, the server is inside a network
im wokring on randomcraft network
I mean you can use LuckPerms for an entire network
yea ik but the other managers using pex thats why
i managing 2 servers currently with luckperms
other 5-6 servers have pex
we have it like seperated parts. each gamemode is seperated, we are not connected
Anyways to start over with h2, delete the database file in the LuckPerms folder
so it will be for single use
Ah ok
where can i find it?
Run /lp group <group> editor
oh ok
It’ll give you a link. Just open it 😉
I’m glad you do 😃
And to save you have to click the save button and paste the command it shows
That’s important
yea indeed, thanks a lot
Just clicking save won’t apply the changes
this is so wierd, it seems there is no config section for group name rewrite :S
made fresh config on frsh server 1.12.2 using 4.0.11
https://pastebin.com/azpeWPmT here's my config
It looks like Luck actually removed it 🤔
i see that im not using latest version on spigotmc, ill try that
true true
nope still missing, ill check the update logs to see if he said anything about ot
it
don't see anything... @elfin egret ?
@vale summit Add that under world-rewrite. Maybe it will work
# Rewrites group names. The underlying name of the group does not change, just the output in
# commands / placeholders / Vault.
group-name-rewrite:
default: Member
I'm pretty sure it was replaced with /lp group <group> setdisplayname <new name>
As requested by this issue https://github.com/lucko/LuckPerms/issues/493
Yep. Luck removed that from the config and replaced it with the command.
https://github.com/lucko/LuckPerms/commit/ca8cc91f37951fae62a4940347595abe648c2b7c#diff-736af6ba7cb6ada691b69695e432fe51
tyvm 😃
Hello?
hey
I need a little bit of help with luckperms
2 mins but go ahead
ok so i need the console to run a command but get the username of the player so this is the command
/luckperms user %username% parent add normal
Is there a variable to get the users name
idk any1 else know?
Through what are you executing the command?
They go through a portal and then gets the server console to run the command
but I need it to get the players name or uuid when it runs
it's called ancient gates but it's LP that comes up in the console with [Server] INFO [LP] %username% is not a valid username/uuid.
Yes. Because the ancient gates command did not replace the string %username% with the username
ok
ok sorry about that
All sorted turns out it was lp and it was %p for future reference
😃
any idea why it still shows the <> and world? http://prntscr.com/hfkf8t
thanks
hi
quick question (i tried figuring it out with the guides but i honestly couldnt get it to work)
but how do i set up a prefix for a group and assign a user to said group
Are you sure, that you've checked the wiki?
@jaunty drum ^
yes
and i used the parent command and everything it said
and it said i 'inherited"
but i still didnt get any prefixx
and that's probably on me
but thats why i'm asking
primary-group-calculation: all-parents-by-weight This is what i always use, but i don't know why, it just worked right or i got told to a long time ago.. wondering if i should use the new default, which is just parent-by-weight
can i ask what essentials plugin is recommended for luck perms?
because i think it might be an issue coming from essentials and not your plugin
EssentialsX
Can you show me /lp group <group> meta info for a group you have assigned a prefix to?
/lp createtrack <name of track>, then use these commands to add groups to it https://github.com/lucko/LuckPerms/wiki/Command-Usage#track---lp-track-track-
so umm
for some reason i've lost the ability to see my messages and those of others in chat after using this command
/lp group admin meta addprefix 100 "&c[Admin] "
idk how a prefix would do that but yeah
The gorups dont work
People are stuck in 1 group and i cant switch them
Anyone
KNow
Why?
Does luck perms have an API?
@toxic girder https://github.com/lucko/LuckPerms/wiki/Developer-API
I need some advice...I have made a player a member of my admin group and I have set the permissions so that she can use ALL of Essentials commands, but she cannot use any commands. I don't know what to do? She cannot use them anywhere on the world.
@foggy quartz Use Verbose to find out whats going on https://github.com/lucko/LuckPerms/wiki/Verbose
It's okay. I was looking at Verbose earlier but a friend gave me the exact node. It worked.
when one player goes to another server, all the permission changes related to him pop up on console
should I disable log-notify to avoid this?
@elfin egret Thanks for the help, I've figured out the MySQL thing.
anyone knows how to disable cofh commands with lp ?
So.. LuckPerms is compatible to Travertine?
@timid fable it should be
btw there are nodes for it but the internet doesnt have them
@ember root then use the verbose feature to figure them out 😉
facepalm
Ok. No problem xD
😄
Doesn't work on Travertine LuckPerms 😦
What's the file name you used?
That's why I'm here, right? 😉
(Offical downloads for reference: https://ci.lucko.me/job/LuckPerms/)
i cant not find more
You can't find what?
Oh thanks! Im looking for download LP-Bungee
where can i disable the SSL connection for LuckPerms? Idk how, My console keep spamming that
Not sure tbh
if you have bungeecord how do you set the config like if you get admin rank on server1 you'll get it on server2 too and if you demote someone on 2 it is in server1 too?
Thanks! 😄
Luck, How can solve this?
Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
Im trying switching versions of LuckPerms an nothing :/
Tried changing Tables and Database names
The error tells you everything
You don't have a right SSL to "protect" MySQL
if I understand that error correctly
yep, it's an info in newer mysql versions
I didn't understand very much SQL, I have installed for some plugins who requires them..
How can i protect the SSL? I dont know how to change because idk where directories need to use
i have problems with the bungeecord
this is the error from the cmd
19:07:03 [WARNUNG] Error enabling plugin LuckPerms
java.lang.NoClassDefFoundError: org/bukkit/plugin/java/JavaPlugin
at java.base/java.lang.ClassLoader.defineClass1(Native Method)
at java.base/java.lang.ClassLoader.defineClass(Unknown Source)
at java.base/java.security.SecureClassLoader.defineClass(Unknown Source)
at java.base/java.net.URLClassLoader.defineClass(Unknown Source)
at java.base/java.net.URLClassLoader.access$100(Unknown Source)
at java.base/java.net.URLClassLoader$1.run(Unknown Source)
at java.base/java.net.URLClassLoader$1.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.net.URLClassLoader.findClass(Unknown Source)
at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
at net.md_5.bungee.api.plugin.PluginClassloader.loadClass0(PluginClassloader.java:34)
at net.md_5.bungee.api.plugin.PluginClassloader.loadClass(PluginClassloader.java:27)
at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
at net.md_5.bungee.api.plugin.PluginManager.enablePlugin(PluginManager.java:304)
at net.md_5.bungee.api.plugin.PluginManager.loadPlugins(PluginManager.java:212)
at net.md_5.bungee.BungeeCord.start(BungeeCord.java:257)
at net.md_5.bungee.BungeeCordLauncher.main(BungeeCordLauncher.java:56)
at net.md_5.bungee.Bootstrap.main(Bootstrap.java:15)
Caused by: java.lang.ClassNotFoundException: org.bukkit.plugin.java.JavaPlugin
at net.md_5.bungee.api.plugin.PluginClassloader.loadClass0(PluginClassloader.java:53)
at net.md_5.bungee.api.plugin.PluginClassloader.loadClass(PluginClassloader.java:27)
at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
... 18 more
@analog prawn you have to use the bungee version
You can find the link to the official downloads in the #welcome channel
@ludozz#8569 see the section “Network Setup” on the wiki
thanks
@jaunty igloo
What issue are you having with LuckPerms? There are people in here that are far more knowedgable than I am at the current time.
Who can help me install luckperms
i have one questions. i have bungeetablist but i cant my name write with the prefix or so. how can i make this?
There likely is a documentation for the plugin you are using
Een. Download the version of LuckPerms for your server api
https://ci.lucko.me/job/LuckPerms/
Place the .jar in the mods folder and restart your server.
@jaunty igloo ^^
i have the bungeecord on , but it doesn't work.
20:27:48 [INFORMATION] [LP] Loading configuration...
20:27:48 [INFORMATION] [LP] Identified the following dependencies: [MYSQL_DRIVER, SLF4J_API, SLF4J_SIMPLE, HIKARI]
20:27:48 [INFORMATION] [LP] Loading storage provider... [MYSQL]
20:27:48 [SCHWERWIEGEND] [main] INFO com.zaxxer.hikari.HikariDataSource - luckperms - Starting...
20:27:48 [SCHWERWIEGEND] [main] INFO com.zaxxer.hikari.HikariDataSource - luckperms - Start completed.
20:27:48 [INFORMATION] [LP] Loading messaging service... [BUNGEE]
20:27:49 [INFORMATION] [LP] Loading internal permission managers...
20:27:49 [INFORMATION] [LP] Performing initial data load...
20:27:49 [INFORMATION] [LP] Successfully enabled. (took 1074ms)
20:27:49 [INFORMATION] Enabled plugin LuckPerms version 4.0.28 by Luck
@analog prawn Uhm.... That isn't a error...
@analog prawn Und weil du Deutsch sprichst...
Also... Dieser Fehler ("Schwerwiegend") ist kein richtiger Fehler... Es ist ein falscher Alarm so gesehen
ach super. jemand wo deutsch kann
BrainStone spricht auch deutsch
achso. seitdem ich das auf bungeecord habe geht luckperms nicht mehr
Du musst /lpb für die Bungee-Version verwenden
darf ich kurz mit dir reden?
thnx
so you need to set the plugin on all the spigot server you want it on and not in the bungee plugin right?
@fervent canyon To manage permissions of spigot-plugins: Yes
You need it on all servers. All spigots, and the bungee
The last section of the page mentions this btw
You need a database. LuckPerms supports several types
If you use a hoster they probably offer a MySQL database
but if you have it localhost it won't work?
Sure it will
It is even recommendet to have MySQL on the same server
True
oh i have a map bungeecord within all servers and a bungeecord map for the bungee server and the other servers dont have all luckperms but i just want it not in lobbies etc
?
?
i have 1 main map within all servers and one of them is the bungee server and i have other spigot servers in the main map but not all are having luckperms cuz i dont want that in the lobbies that will work right only on the spigot servers with the plugin?
Still don't get it...
Installing the plugin on the doesn’t manage the permissions on the spigot servers. It just manages the permissions on the bungee and acts as a relay for network pings
i have 1 main map with all servers
*on the bungeecord
1 is bungee and other servers and some of the other servers dont have the plugin on it like the lobbies
not needed
Ok
but thanks for helping srry if i asked dumb questions
No problem
Good evening, I try to define the color of the nickname in the chat and to put a space between the group and the pseudo, with groupmanager it's very simple but here I can not find, can you help me please?
@storm fable That's the help for LuckPerms and not GroupManager
I have luckperms
Exactly I say that with groupmanager it's simple, but there with your plugin I do not find how to do
To use spaces in the prefix, put it in ""
So i'm in search of help
/lp group joueur meta addprefix 1 "&l&8[&bJoueur&l&8]"
/lp group joueur meta addprefix 1 "&l&8[&bJoueur&l&8]""" Like this ?
Like that it does not work
It should.
Did you remove the existing prefix?
^
The existing prefix ?
Sorry i'm french
It not replace the older when I set the new prefix ?
Can you show us /lp group joueur meta info please
😎
Yeah, many prefixes
I'll reset that
just click on the ones you want to remove.
Use another colorcode at the end of the prefix
np
@elfin egret Whats good fam! I have a problem with the plugin hope you can help me
Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
Im looking how to fix it cause it spam my console any time I join/leave the server
Thanks.
Cordial Greeting.
how do I set a world only permission in YAML?
download the latest LP version from here: https://ci.lucko.me/job/LuckPerms/
do I just add world: worldname
and then set useSSL to false in the LP config under "properties"
@fiery granite use the commands until you understand the format 😃
(but yes, that is correct)
because i encourage the use the commands or web editor to make changes
Never once added a permisison using a command, thats a way to make mistakes
how ironic
Thanks a lot Luck
End of the day its text, and a text editor trumps using mineraft as an inpout device
use the web editor then.
web Ui needs extra steps
how so
Why cant you just tell me the format for the world in the yaml
its so much quicker
i already did.
I would have to learn to use the comand syntax
Luck - Today at 22:15
(but yes, that is correct)
It works thanks again!
no worries 😃
I say it every time, but I truely fucking LOVE luckperms
just how well you have made it
I just dont get why anyone would ever use anything else
some guy on reddit was asking a question about PEX or something
exactly
and he was messaing about with other plugins