#support-1
1 messages · Page 340 of 1
I'd like the group name and player name to be separate entities.
Iirc look through the command reference regarding the displayname
It should be there
Group name and player name are completely different things. Don’t know what you mean
Thinking of something else, my apologies.
Ok
If I rename a group, it doesn't apply the rename to the players in it?
I’m not sure tbh
Just tried renaming it and it didn't :/
You can do a bulkupdate
How's that?
That's gotta be an oversight, right?
I mean, each group should have a unique ID that updates when changed.
No. That’s not how it works
When a play is in a group they get the node group.<group>
Meaning that changing the group name and applying the changes to the players requires modifying the players nodes
Which is why Luck doesn’t do that by default
Though it is easily achieved through bulkupdate
@twin juniper
I am just unsure as to why that would be a problem to automatically update the player nodes.
@storm geyser Thank you so much for your help earlier
@twin juniper Luck has a pretty good reasoning behind it. It’s not that it’s not happening automatically because of laziness or bad code. It’s a well reasoned decision against it. Though I sadly cannot recall it. You can ask him though
Ty!
I think he wants to avoid modifying several datasets. This is a fair principle to never automatically modify data not directly related to what you’re actually modifying
Though if you would like that changed you can make an issue over on GitHub. Luck will be happy to debate a well written and reasoned suggestion.
How do I make it so prefixes are displayed
For example, there are 2 tracks, player & staff
I want to be able to show both prefixes in the player, 1 prefix is from the player track, the other 1 is from the staff track.
@cinder grail check the page on prefix stacking on the wiki
I there a way to reload the Bungee version of LuckPerms without restarting
@patent needle depends on what you want to reload
No. Changing that requires a restart of the bungee
I suppose you’re trying to change to mysql or similar
This is stange~~ When I'm using the lang.yml from the site, the prefix it seems I need 2 spaces at the end for it to be 'normal.'
This is what I've got in my config for the prefix:
prefix: "&7&l[&b&lL&3&lP&7&l] "
And this is what it's outputting:
https://i.imgur.com/c5y3CpR.png (Screenshot at bottom)
Should it be like this? (The 2 spaces)
hey, you. i'm about to update from LuckPerms 3.4.15 to 4.0.18. anything i should be aware of?
i'm looking at the wiki, but thought i'd ask the question, here.
would most of u recommend i use the most recent development build, instead?
Hii
Well, I just converted from PEX.... Probably going to be asking a lot of questions
How do I disallow all permissions to the default group?
@rotund path should be /lp group default permission set * false
That will remove EVERY permission though
I dont know why you would want to do that
Anyone know how to remove a displayname from a group?
@winged dune there haven’t been any major changes regarding the storage. So you should be fine
I’d recommend the latest dev version though
Also you might want to regenerate your config
But that’s qll
@foggy quartz just ask if you have questions
thank u brain!
@elfin egret Can someone tell me the command to eliminate a rank in the "Vestibulo" world of all the users?
Is only the first matching or all default-assignments executed?
all
@finite musk https://github.com/lucko/LuckPerms/wiki/Bulk-Editing
That page doesn't say anything about default-assignments.
I was wondering if it stopped when it found a match.
So they all execute hm 🤔
Ok thank you
Are they always executed in order?
Is order ensured?
if i put luckperms on bungee can i configure permissions for servers?
or it is better to create mariadb database
@elfin egret thank you for a such an amazing plugin, it's great.
group-name-rewrite:
default: Member
Will inherit member perms?
Also the web editor is just a++
@mossy condor
https://github.com/lucko/LuckPerms/wiki/FAQ#where-do-i-install-luckperms
https://github.com/lucko/LuckPerms/wiki/FAQ#can-i-just-install-luckperms-on-bungeecord
@foggy quartz Group-Name-rewrite is just that: A rewrite of the group-name
The group will still be called "default" in LuckPerms but for Vault and all plugins that uses it, will it have the name you set there
Yes, I see that.
Problem right now, after the convert, all new players have no permissions
We do have a default rank, so how can we fix this issue?
You probably need the default group to inherit permissions from the "default" groupo of your previous Perm-plugin.
Use /lp group default parent add <group> for that
If I go into the config and change the default group name in their, would that change the group name or do I have to go in the settings and type group-name-rewrite:
The newest version of LP doesn't use group-rewrites through config anymore
There's a command, to change the "displayname" of the group
Thanks.
lp user %player% permission settemp essentials.fly true 1200 global
I get:
Can not set data in the past!
@foggy quartz you have to use units like s, m, h, d, w, mo, y
So you should write 20m
that's wonderful.
If you use a number without a unit it’s interpreted as a Unix timestamp
How do you check the permissions of an offline player?
luckPermsApi.getUser(uuid) returns null 😦
@elfin egret If you don't mind my asking, what's the reasoning behind updating a group name and not having that update the group of a player?
because the relationships between users and groups are one way in the storage backend
do I need to do api.getStorage().loadUser(uuid, username).get() as I see loadUser returns CompletableFuture?
yes
hm ok thx
or use the callback methods on completablefuture
there are examples here if you want to have a look
why is username required when loading user? 😕
it's not
Is there a proper way to update all users of a certain group that doesn't involve manually changing each one?
yes, bulkupdate
Okay, ty
so loadUser(uuid, null)? 😮
err, yep
Konvett: there are examples on this page
Foorack: there's a method without the username parameter anyway
@elfin egret Ty!
Does manually editing the database sync to the plugin?
yes, but it's not reccomended
Im making a custom web viewer, was wondering if i could build some editor functionality in it too
as long as you're careful, there's no problem with it
you'll need to run /lp sync after making any changes
and the plugin will refresh the local data
thanks, do you have any plans to build some kind of web viewer that's a bit... more usuable then the editor that's, well, included?
also using PEX, there seems to be a lot of dupes, any recommendations on clearing that up?
i'm sure improvements will be made to the current editor in the future
do I have any plans to replace it? No, I don't
it is an interesting way of doing things
So much better then pex
@foggy quartz I’m curious. What would you like to improve with the web editor?
Luck, or anyone. I need help very badly, and this is hugely impacting when my server will be releasing.
Idk if anyone knows Notifyz or not. But to make a long story short. His core has a dependency of pex. And i am trying to get him to make luckperms an optional replacement for pex. He cant seem to figure it out. So im wondering if anyone could help.
By optional I mean Like so, his dependency is PEX. I use LuckPerms. I cant have PEX and LuckPerms on the same network cause they interfear.
Why doesn’t he just use the Vault-API instead?
@near vale it should have the same functionality
And that’ll work with all permissions plugins that support PEX
Unless he is just doing permission checks. Then he should use the Bukkit API for that
Then he's a bad one.
Sure
I can't.
I go to sleep...
But I agree. The vaultAPI has all the functionality you need for managing perms.
Hi everyone, very quick question. If i wanted to change one permission for another permission would the command be: /lp bulkupdate all update permission particles.use.crit "permission == trails.crit"
hmm ok thanks, as when I tried that command it just listed all of the luckperms commands as though the /lp bulkupdate does not exist.
Bulkupdate must be ran in console :P It does state that on the bulkupdate page, 4th paragraph down
What's the proper way to set an admin group to inherit the default groups permissions?
@foggy quartz /lp user <user> parent remove <group>
@twin juniper /lp group admin parent add default
@lapis ibex Well I didn't technically say it was bad, it would be nice to have more of a built-in web editor, but looking at it now, it's quite nice. Though, a bit slow.
I'm just working on a public rank search table that i've always wanted on my website, one thing though is that the database doesnt have any last_updated columns or anything :/
Can I use LuckPerms with https://www.spigotmc.org/resources/prison.1223/
@Amorris#6920 assuming that plugin is well written, yes
@foggy quartz we’d love to hear suggestions to make the web editor better.
So what exactly do you mean by slow?
let me try it again while I'm up and not tired, I mightve just been talking out of my ass. I love this plugin so much lol
And if you have suggestions for we’d be happy to hear them
Just switched from yaml back to mysql and data isn't loading.
All I need to do is set database name, username, and pw right?
Yes. You should also export the old data and then import it if you don’t want to lose it
Also be sure to change the storage type @twin juniper
Ok. Glad you figured it out
Hello, http://prntscr.com/htcv1s, why?
you need to enter "true" or "false"
the value dictates whether world specific permissions are migrated as global permissions
so, after using the command "/lp migration groupmanager world" i have to write "true" or "false" ? sorry, i do not speak english 😦
no, replace "world" with "true" or "false"
Suggestion: Would it ever be possible to give luckperms_players table a last_modified date column?
Is there a direct way in the api to query the group of a player as with permissionsEx with
PermissionsEx.getUser (player) .inGroup ( "Group")?
player.hasPermission("group.groupname")
@foggy quartz it would have no use in luckperms, so probably not
but the problem with the haspermissions is all with * ore OP has this permssions.
create a new Permission object with bukkit
and set the default value to not op
then check for that
or if you really want to hook directly with luckperms to check
you can use the API
is it normal that i cant seem to remove the "default" group
yes
a user must be a member of at least one group
if they don't have anything, LP will add them to default
so i have - meta.default.true in the group i want to use as my default group but when a new player joins it still puts them in the group named default.
it came with the pex migration
so, how do i make my own group the default group then ? :p
ty
the preferred way is to continue using the default group
but just set a different display name for it
I have essentialsxchat
But the prefixes are not showing up...
I converted from pex to this but pex worked fine with the prefixes.
Any reason to this not working?
I have no idea tbh
Anyway to export all permissions etc? and take a backup? is it just /lp export <file>
Yep.
It's just /lp export <name> I recommend export it as a .yml file
Should I just try and delete my essentials config and try it then xD?
please make sure they're these jar files https://ci.akpmakes.tech/job/EssentialsX/
All of them need to be?
I'm trying to get prefixes in chat for donators, moderators, owners, etc.
I gave myself owner rank, and then id /lp group owner meta addprefix 999 [Owner] and chat still doesn't show anything
I just have essentialsX and essentialsxchar
You seem to be having the same issue as I have sir
I like the plugin right. Just need to get used to the complex stuff
can you pastebin your essentials config please
Could I get the entire thing please? 😛
There you are
format: '{deluxetags_tag}&8{DISPLAYNAME} &7&l» &f{MESSAGE}'
Is the only line that matters?
that config doesn't look right. It doesn't match my essentialsX config. can you send me a screenshot of your essentials jar files?
Could I still get the screenshot of your plugin jarfiles?
what was the issue for future reference?
Downloaded a plugin called essentialsX
didn't work with this
Downloaded it off of your link
and it works
ahhh, fun times xD
do you happen to have the download link you initially used?
ahh, that isn't essentialsX 😛 I'm sure luck has a PR in for that essentials, but they haven't accepted it yet
I'm just doing this for fun xD
Hello ! How i update my groups json data from 1.10 to 1.12 please ?
I'm staff somewhere and I'm just learning how to use certain plugins xD
There is no difference between 1.10 and 1.12
When i start the server :
5:01:04] [Server thread/INFO]: [LP] Performing initial data load...
Long time
can we get your full server log please?
That doesn't show us enough. However, I recommend you use /lp export data on the 1.10 server, then tranfer the data file to the 1.12 server and run /lp import data
@elfin egret Its correct this command?
lp bulkupdate all delete legendarionew global vestibulo
LegendarioNew = Rank
just try it 😃
@elfin egret can lp support vault? the maker of ultimatechat is telling me that it needs a specific type of compat or something
it does support vault
that dev is telling me that his plugin doesnt work because you dont support vault the right way
that's nonsense
hes saying supported by vault and inbuilt vault support is a diffrence
and his plugin does not work because yours has it inbuilt but isnt supported directly
do you know any 1.7 chat plugins? with papi support?
you just need to install the vault plugin
it doesn't matter where the support comes from
ultimately vault is just a service
it doesn't really matter which plugin provides it
whether it's vault itself or another plugin
i have vault, i guess i just need to search further
@elfin egret this is correct?
./lp bulkupdate all group remove legendarionew global vestibulo
Dont work, what is the correct command?
I understand a guide
Please help
@finite musk have you had a look at the wiki?
Yes
Hi, if I delete a group, all players in this group are going to be removed if they are not connected? ( Using MySQL )
the refrences will still be there
okey, thx
There is a command to delete a group for all disconnected player and give them default?
or a command to clear the database ? x)
You can use the bulkedit command
thx ^^
np
Hello
Luck
I need your help
My admin has * on every server, and this is a network. Can we limit his permission only for 1 server?
I dont wanna have my admin * permission only on one server
And on the other servers m y friend should have *
/lp user luck permission set * false server=???
The luckperms config is global
serveR: global
Do i need to set something in the config?
yeah
give that a unique value
does it works that way though?
So i mean
Server:global
./lp user luck permission set * false server=???
and if i do dis
it will work?
no, you need to set a value for server in the config
like server: kitpvp?
correct
then use server=kitpvp in the command
yes, that's fine
your existing global permissions will continue to work after setting a server in the config
if i set server: global to kitpvp, the ranks will still work on other servers, which are on server:global?
global groups and permissions apply regardless of the server property in the config
you can do both
i'm not going to keep explaining this
just make the change in the config. you can see for yourself that it works.
can some one tell me what this means?
[23:54:45] [Server thread/INFO]: [LuckPerms] [WARN] An exception was thrown whilst calculating the context of subject luckperms.api6.SubjectProxy(ref=SubjectReference(collection=user, subject=abfda98b-ec0b-4bb4-b95b-c4d1cec3b1be))
Hi again, lp bulkupdate all update permission particles.use.crit "permission == trails.crit" is that meant to replace the particles.use.crit permission to trails.crit in each individual user file? Thanks 😃
Is there a way to add negative permissions?
Set the permission to false.
/lp user/group <user/group> permission set <permissions> false
Thanks @lapis ibex i'll have to see why it is not replacing that permission for me then.
Oh my bad
it's the wrong way round
That command replaces trails.crit with particles.use.crit
@Tomographix#3957
oh righty
So you have to swap it
thank you that worked
Ahh thank you
@storm geyser which one overpowers the other?
Like what if I had * and wanted to set permission to false, would it work or not?
Or what if I had them both, which one would "win"
wildcards lose
Awesome thank you
Can someone please send me a link to the download for LuckPerms-Bungee
you can find it on jenkins
It'd be a lot more helpful if you could just send me the link
I need to work out how to change the username and chat colours. I have Vault and it's working for everything but me. The admin is purple and the co-owner is red, but I'm white and I don't know how to change it because I didn't the others accidentally. Help?
What are you using @brave crow?
For commands that is.
And what's your file where it's all stored? You might have missed a punctuation mark.
Can you read @cinder grail ?
You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
I mean it literally says what to do in the error @cinder grail
I need to work out how to change the username and chat colours. I have Vault and it's working for everything but me. The admin is purple and the co-owner is red, but I'm white and I don't know how to change it because I didn't the others accidentally. Help?
Hello, I'm seeing an error within my server's start-up log; I'm not a dev in any way so I was curious about what might be causing it or if it has a particular effect.
https://hastebin.com/odixuhabap.sql
Server:
- git-Spigot-b66ad9e-b5a10a9 (MC: 1.12.2) (Implementing API version 1.12.2-R0.1-SNAPSHOT)
LuckPerms:
- Build #469
how to add perms?
@pulsar umbra see the usage page on the wiki
@Simpixle#8231 what exactly did you do and what isn’t working?
@elfin egret @shut path’s error looks like a bug. You might want to have a look at that
I rolled my spigot a commit back and LuckPerms worked again
Ah ok. Good to know
Tis my first time experiencing anything wrong with using the latest and greatest spigot 😛
yeah
md_5 started messing around with pluginclassloader
for some reason
i don't know what this is addressing
Hm ok
it will probably be at least 24 hrs before it gets looked at though
so yeah
we'll see
Guess a temporary notice to not use the latest commit is somewhat in order
atleast if they want to use luckperms
@elfin egret hi, by any chance can this plugin's rank prefix be on the tablist?
yes, but you need an extra plugin to add it
do you have a recommendation sir?
is there a way to sync perms across a bungee network
like make a rank on 1 server and than sync that across all servers
yes
ok tnx
has it broke many other plugins?
idk
probably not a huge amount
but I know there are other projects which use the same approach
got this comment on irc
<~md_5> saw the luckperms author made a ticket about his reflection being broken by a change so I’m going to bed grumpy because well, reflection
shrug
it's worked since, forever.
ya know
I don't know what I expected from md_5, but it was something like that
would it be difficult on your end to change?
I mean that’s the entire point of using that technique
Only downloading the jars you need
... parent add/set <group> or when editing the perms directly with the nodes group.<group>
okay
Help, how do I get the LuckPerms prefix of the user like %prefix%.
does the permissions found in the table group_permissions also show inherited permissions for that group? Cause im getting so many permissions lol
How can I get the permissions for JUST that group? value column?
"SELECT * FROM luckperms_group_permissionsWHEREname = '$group'" .... getting it from group name, that should be right, yeah?
yep
Hey Luck i need help
Im trying to have a tablist where it says your prefix and name.
But I can't seem to find how to do that. (Like %prefix%)
ok, give me a second
just sorting something else, I'll get to your question in a bit
ok np
So I've set global groups in my bungee ("global") server
And the lobby is using this data for it self
It works in the terms of putting them in the group
However the actual prefix isn't transfering.
@foggy quartz You need an extra plugin to format the tablist for you. most of them will have support for pulling data from LuckPerms via vault
@cinder grail can you give an example?
So on my Bungee server, I've set the groups, helper, moderator, administrator, manager, developer, owner
And on my Lobby server, I want to use the data I've set above (permissions, meta, etc).
At the moment, I have set myself to developer; it does move me to developer, however the prefix which I've set doesn't work.
P.S. I am using MySQL to save data - they are all connecting successfully to it.
ok, on your lobby server
can you run /lp user <you> info
and tell me if the correct value is shown under "current prefix"
It shows None
ok, try with /lp user <you> meta info
interesting
what does /lp info show under "server"
if it's not "lobby", then that's your problem
oh right I see the issue
Luck, do you know what event/command takes the most resources?
as in permission related
@cinder grail you need to add prefixes using the "addprefix" command, not "set prefix"
Maty, not sure what you mean
I'll try that, cheers
What would be better for the server? Using '/lp user .... permission unset" or '.... permission set false'?
not storage wise
they both have different results
permission unset removes any previous entry for that permission
Yeah but idc about those, I have a GUI with toggle buttons and I use permissions for it
permission set false adds the permission, but negates it
But I want to know which would be better server PERFORMANCE wise, set false or unset
which is the most resource heavy
it's irrelevant, because they're completely different commands
and do different things
in my situation, yes
I have toggle buttons
but to know whether the toggle is on or off I set a permission when they turn it off
you want to use unset in that case
^ love DeluxeMenus, ngl
and then it checks if the player has that permission
DeluxeMenus is my GOD
I made GUI color presets thanks to it
just by typing /presets green or blue
anyways
oh wait
if I check if they have a permission
it doesn't matter whether it's false or true?
yes, it has to be set to true
Yeah then unset and set false has the same result IN MY SITUATION
so my question is which one takes the most server resources
they are different commands.
since it's a toggle players can spam it
it does not have the same result in your situation at all.
Ill give you proof then? I don't get why this is relevant
set ... false explicitly fails if they already have the permission set.
idk why you're arguing with me, it's my plugin.
and i've shown you above they're not the same.
that was the very first thing I said.
Luck - Today at 16:19
they both have different results
you couldve just said you can't set a permission dalse that they already have
yeah but if you unset a perm or set it to false they don't have the permission in both situations?
unset removes any current record for that permission
set ... false adds a new negated record for that permission
yeah, but same final result in my situation, because I check if the player has that permission or not. The only difference is that if I were to use 'set false', I'd first have to unset it first
yeah
unless they're inheriting a true value from a parent group or something like that
it's fine
but even that aside, it's not worth even thinking about the performance impact 😛
I'm guessing it's very minimal
tiny
when you run a command, it actually just gets placed in a queue
so hardly any of the minecraft servers ticking time is spent executing the command
only thing I noticed is that I have to set a 5 tick delay when I run a LP command to console
otherwise it wouldn't update well
yep - that's because they're queued
The higher the weight number, the more priority it gets right?
correct
ty
With today's update - noticing an issue with "Caused by: java.lang.ClassNotFoundException: org.slf4j.LoggerFactory" when mysql DB is selected
mind sending me your full log file?
sure thing
here ya go: https://www2.powertrip.net/lp-temp.txt
strange
Also FYI - this worked on previous version, when I first encoutnered this, I removed the directory so it could recreate configs etc, logged in once with the local DB, worked fine, then swapped back to mysql using the 4 lines from my old config and that's when it complained
are you related to jerimu by any chance?
nope
hm okay so that's two people who've reported it
Anyway I can check what groups inherits in db?
@faint pendant can you try with this build please
@foggy quartz group memberships are stored using permissions in the format group.<group name>
sure, giving it a try
I see it, kinda wish there was it's own property for it but this works.
Perfect - it's back - it was trying to log the complaint about not using SSL for Mysql: [10:54:23] [luckperms connection adder/WARN]: Fri Dec 29 10:54:23 CST 2017 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ an
d 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 'fals
e'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
..works now 😃
ay
To create a group in only 1 server this:
/lp creategroup <name> [server]
Is that correct?
no, you can't create per-server groups
you can only assign groups on specific servers
What is the best way to give ranks with LuckPerms? Currently in the permanent ranks in buycraft grants them with "lp user {name} group set VIP" and monthly ranks with "lp user {player} group addtemp VIP 30d"
The problem is, in monthly ranks, if users is new, user have a permant rank "default" and if this user buy a rank, buycraft put temprank and appears a suffix of default rank.
Hey @elfin egret
Bit of a bind, lol.
@finite musk Why not lp user {player} switchprimarygroup <groupname>?
No.
What is the diferent?
you shouldn't really be using switchprimarygroup
because parent add and parent set should cover all possible use cases
No, they're different
Oh. And Luck, btw. So this is my issue: https://github.com/lucko/LuckPerms/issues/647
What file did you need? fml-server-latest.log?
yes please
Fuck.
So.
I tried to copy that into a gist.github.
And not only did it crash my editor, but it also crashed my browser.
lol
It spewed out a bunch of errors in a very short span.
you should just be able to drag the file from your explorer into that window
Like 500k lines worth.
and it'll upload it
Too big.
jesus
I'll put it on the github.
okay, i'll try battle with it
Sorry man. xD I think a lot of it is a duplicate, so if you can find a way to weed out duped areas it'd be much easier.
that doesn't look like the latest version
ok, then you need to report it to blood
Luck its posible use a bulkupdate to remove all users with rank in X world?
yes
How?
/lp bulkupdate user delete "world == X" "permission == group.Y"
it will delete the membership
Ouuu
Its good this 😄
Thanks
And other problem
The users in the chat have the default rank and the temporary rank, when typing, appears the suffix of the default, instead of the suffix of the temporary range.
Look
which chat plugin are you using
no, of your user
/lp user <your username> meta info
ok, then just remove the one you don't want
of what rank?=
they won't be exactly the same
if you hover over them, you'll possibly be able to spot the difference
/lp group default permission unset suffix.1.&7
And remove two
And when put set
Appears two
I've got my groups setup on the server
However, I just added a new server
Then added it to the database
Then synced.
However, the group-rename thing hasn't synced onto the server server
That is the new server
This is the old server. Which has the renamed-groups
Is there a way to sync the rank-renames
because everytime I use /lp group <group> setdisplayname <sometime> it says:
This already is it
(when it isn't)
tagging us like that is a great way to be totally ignored.
Sorry
Was gonna say the same
So congrats on getting at least two people to purposely not give you an answer @cinder grail
make sure you're using the latest version on both servers
it's probably not syncing because one of the versions is too old to support display names
My question is why do you have staff and manager ranks without a weight.
Haven't got round to that yet @karmic yoke
Why not do that to begin with, since you had enough time to make another server.
Usually you'd get the first server setup before moving onto another.
you don't necessarily need to set weights for all groups
if you have simple inheritance structures, it's not really needed at all
Fair point.
no, that rule doesn't exist in LP
Wonder if he did setup the inheritance structure.
Also, how did you manage to find that bit about GriefPrevention in that log-file of hatred and tears.
Updating the plugin worked - cheers
Lmao.
I was trying to do it line by line and actually read everything.
I gave up after line 5,000 still not being done with the server starting.
I know this may be stupid, but is luck perms compatible with 1.12 yet?
yes
Lit! Thanks.
Hey everyone.
Does anyone know of a way to have LuckPerms override BungeeCord Perms as I don't really want to have two staff lists on two different plugins. It would be nice to add BungeeCord Perms to LuckPerms and it works in sync
by default, it will completely override bungeecord's config permissions system
is that what you want?
Yeah that is what I want but that is not happening
Do I need to install LuckPerms in the BungeeCord Plugins folder?
yes
Oh monkeys lol
That will be why it is not working lol
Do I use the same plugin from the Spigot Servers?
Thanks Luck
Does luckperms work on any versions of 1.8?
Even if it does, only use 1.8.8 if you really wanna use 1.8
it works with 1.8.8, yes.
negative
complete noob here with what in the end is a question I'm certain will make me feel the fool
I'm using ChatControl with LuckPerms and have disabled all other plugins that may have chat functions. But I cannot get prefix's to display
is this a question for here or should I be asking ChatControl?
trying to set someones prefix and it's giving them the wrong... one?
./lp user aeroMummy meta addprefix 1 "&b[&3Skittles&b]&7 "
well...sort of. if I type /lp group vip meta info and it tells me the prefix is there, but if I put a user in that group the prefix doesn't show up on chat
ohh, sorry that was my own question 😃
lol oh
@remote arrow use PlaceholderAPI when using ChatControl. You have better control over not just the prefix but also chat formatting when you do so. Don't forget to get https://ci.lucko.me/job/LuckPermsPlaceholders/
so if I understand correctly I just need to run the following commands:
/papi ecloud download LuckPerms
/papi reload
Then install PlaceholdAPI?
I usually grab it from lucko's build server but if that gets the correct build then sure. And no put PlaceholderAPI on first before getting luckpermsplaceholders
/papi is placeholderapi's command - how can that be run if the plugin isn't on there to begin with.....
Stuff like that gets intuitive over time
So if my primary group is set as owner and I have the highest donor rank lunar set with the proper inheritence for donor ranks, why am I unable to use donor-specific things such as my /warp donor?
https://i.imgur.com/SvT3OAu.png
The first donor rank, is assigned nucleus.warps.donor as true, and the ranks have proper inheritence.
@karmic yoke that looks like that you’ve set up the permissions incorrectly
A pitfall is that contrary to most other permissions plugins, the order of permissions doesn’t matter in LP
Though concrete permissions overpower wildcards
So if you deny perm1 in default and give owner * then owner still can’t use it, if default is owner’s parent. This is easily solved by explicitly giving owner the permission
I need to work out how to change the username and chat colours. I have Vault and it's working for everything but me. The admin is purple and the co-owner is red, but I'm white and I don't know how to change it because I didn't the others accidentally. Help?
@brave crow have a look at the prefix page on the wiki
goodmorningggg
Morning ^
Is it possible to "set" a prefix/suffix? We have different chat-titles that you can unlock with different activities + a chest gui where players can choose between them.
The chestgui uses two commands:
remove the old prefix and sets the new one. Problem is, that for some reason we cannot identify, these two command sometimes are sent in the wrong order by the gui.
Even if that is something we should fix on our side, how about a command that sets the prefix. let's say you have a title at priority 20.
Now, if you use lp user {player} meta setprefix 20 "&4❤ &5[fancytitle]&f "
All prefixes with priority 20 are removed and replaced by the new one. the old addprefix command would still add a seond prefix with priority 20
Or is there another way to achieve the same result without a new command?
You can unset all prefixes at a certain priority
I know, that is what I am doing, but due to the random command order, this approach does not work. As ist can happen that addprefix is sent before remove instead of the other way around
Then you need to fix that
It’s on purpose that commands only ever change one thing
One other idea would be using a bulkupdate command though
I think that would be /lp bulkupdate user update “prefix.20.xxx” “permission ~~ prefix.20.%” “user == <uuid>”
Or similar
@gilded cove
(Note: Don’t copy paste that. My quotes are weird)
Ah thanks, that would work as a workaround
If you use MySQL have a look at the proper name of the uuid column. Not 100% sure what’s its name.
you can't do that with bulkupdate
this will fix your issue with command execution order
Someone uses Sponge Forge 1.12.2-2555-7.0.0-BETA-2800 + Luck (any last 20 versions) on server?
I dont know why, but my server freezes after player joins server with like 5% chance.. its so random and there is no errors
Which luckperms build are you on? @pallid juniper
I'm having 0 issues with luckperms on the latest spongeforge 🤔 Can you show me /sponge plugins please?
Ok, 1 min
Plugins (5): Minecraft, Minecraft Coder Pack, SpongeAPI, SpongeForge, LuckPerms @storm geyser
That's bizzare then... And it isn't occurring without luckperms?
It works fine with only pixelmon on it
Having recently moved to a multi proxy setup sync'd with RedisBungee, I'd imagine it's only logical to swap LuckPerms to use Redis?
That's what I'd do, Gianluca
@pallid juniper can you see if you can reproduce it without luckperms, and if you can, can you try without spongeforge altogether?
@elfin egret Appologies for the tag, but, wanted your opinion here
spongeforge only - works fine
luck + spongeforge - freeze
Hmmmm, I can't think of any reason why it'd be freezing. Especially when nobody else has come forward with the issue 🤔 Which storage type are you using?
json
Could you switch it to h2, then try reproducing it please? Don't bother with exporting and importing, because you can switch it back later.
k
@ruby pollen yes
Cheers
@storm geyser same result, server frozen
Hmmmm, so it isn't the storage type either
Alright, could you go to your luckperms config and set debug-logins to true, then restart your server. Then reproduce the issue again and hopefully some extra information is given in console when it freezes
Ok
Also how much RAM does the server get?
5gb allocated
That should be enough
last join before freeze @storm geyser
So it freezes on the player joining, or after?
in process
After this message and before kick for not whitelisted
When working fine:
So server dies right before processing login event
Could you maybe create a stand alone server zip where the issue is present?
That uuid doesn't match up to ones I'm seeing when searching up your username. Is your server behind a proxy (bungeecord)
Can you figure out which VM flags are set?
java -Xms5G -Xmx5G -XX:+UseG1GC -XX:+UnlockExperimentalVMOptions -XX:MaxGCPauseMillis=100 -XX:+DisableExplicitGC -XX:TargetSurvivorRatio=90 -XX:G1MaxNewSizePercent=60 -XX:G1NewSizePercent=35 -XX:InitiatingHeapOccupancyPercent=20 -XX:G1MixedGCLiveThresholdPercent=50 -XX:+AggressiveOpts -XX:+AlwaysPreTouch -XX:+UseLargePagesInMetaspace -Dfile.encoding=UTF-8 -Dlauncher.noJAnsi=false -cp forge-1.12.2-14.23.1.2555-universal.jar net.minecraftforge.fml.relauncher.ServerLaunchWrapper - this? :D
Yes. Can you modify these?
Yes
Change -Xms5G to -Xms4G
@lapis ibex Server frozen
Was worth a shot
does forge not have some sort of watchdog monitor
shrug
@pallid juniper what operating system are you running your server on
linux ubuntu 16.04
okay
when your server is crashed
run jps in the terminal
then find the pid of your server
and run jstack <number>
jesus...
15648: Unable to open socket file: target process not responding or HotSpot VM not loaded
The -F option can be used when the target process is not responding
server is frozen
ok, use jstack -F 15648 > stack.txt
then upload the content of stack.txt to pastebin
this command crash.. https://pastebin.com/raw/krZcjkpi
what was the output of jps
root@pixel:/home/minecraft# jps
15888 Jps
15648 ServerLaunchWrapper
1078 jar
same
shrug
javac 1.8.0_151
json
any errors in console when players try to connect?
no
This is when all works fine https://cdn.discordapp.com/attachments/241667244927483904/396670426853408770/unknown.png
This is last join when server freeze https://cdn.discordapp.com/attachments/241667244927483904/396669542228688897/unknown.png
Does not matter what user joins
Thanks Luck!
np
@pallid juniper this change might help
try the build here
ok
@elfin egret So far looks like issue is gone, thank you. Will tell if it dies again :D
Is there a way to /lp migrate onto 1 server specifically? so like add context=factions (as an example)
no, do the full migration
then use the bulkupdate command to change the server values
Okay, and where it says <migrate as global>, what do I put, true/false?
do you want your world specific permissions to carry over
@cinder grail Oh hello
[18:13:47] [Server thread/WARN]: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
whats that error?
slf4j is the logging impl used by hikari
What's the bulkupdate command I would use to clear all users's groups in server=skyblock & server=lobby but not server=factions
whats the perm to give myself all perms for luckperms bungee
Could you just use * for the permission?
didnt work
What's the command you used?
'*'
Send the full command please.
i used lpb group owner permission set '*'
Get rid of the '' around the *
tried that
Send me the error you get
either will work
dont get one just wont work im trying to access the bungee version on my hub just says what version of luckperms i have
which command
/lpb
/lp or /lpb
okay
is everything connected to the same database
and is ip forwarding setup correctly
are you sure
yes im possitive
login to your hub server
then go to your hub server's console and run /lp user <you> info
What's the bulkupdate command I would use to clear all users's groups in server=skyblock & server=lobby but not server=factions
then go to your bungee server's console and run /lpb user <you> info
and send the output to each of them to me here
@cinder grail read the wiki page.
12:45:38 [INFO] [LP] > User Info: barrell
12:45:38 [INFO] [LP] - UUID: dddad4ce-34a4-3748-9544-f8ba6068a460
12:45:38 [INFO] [LP] - Status: Offline
12:45:38 [INFO] [LP] - Primary Group: owner
12:45:38 [INFO] [LP] - Counts:
12:45:38 [INFO] [LP] - Nodes: 1
12:45:38 [INFO] [LP] - Permissions: 0
12:45:38 [INFO] [LP] - Prefixes: 0
12:45:38 [INFO] [LP] - Suffixes: 0
12:45:38 [INFO] [LP] - Meta: 0
12:45:38 [INFO] [LP] - Parent Groups:
12:45:38 [INFO] [LP] - > owner
12:45:38 [INFO] [LP] - Cached Data:
12:45:38 [INFO] [LP] - Has contextual data: false
12:45:38 [INFO] [LP] - Current Contexts: None
12:45:38 [INFO] [LP] - Current Prefix: None
12:45:38 [INFO] [LP] - Current Suffix: None
thats bungge
[12:46:16 INFO]: [LP] > User Info: barrell
[12:46:16 INFO]: [LP] - UUID: dddad4ce-34a4-3748-9544-f8ba6068a460
[12:46:16 INFO]: [LP] - Status: Online
[12:46:16 INFO]: [LP] - Primary Group: owner
[12:46:16 INFO]: [LP] - Counts:
[12:46:16 INFO]: [LP] - Nodes: 1
[12:46:16 INFO]: [LP] - Permissions: 0
[12:46:16 INFO]: [LP] - Prefixes: 0
[12:46:16 INFO]: [LP] - Suffixes: 0
[12:46:16 INFO]: [LP] - Meta: 0
[12:46:16 INFO]: [LP] - Parent Groups:
[12:46:16 INFO]: [LP] - > owner
[12:46:16 INFO]: [LP] - Cached Data:
[12:46:16 INFO]: [LP] - Has contextual data: true
[12:46:16 INFO]: [LP] - Current Contexts: (server=hub) (world=hub)
[12:46:16 INFO]: [LP] - Current Prefix: "<Owner>"
[12:46:16 INFO]: [LP] - Current Suffix: None
@cinder grail /lp bulkupdate user delete "permission ~~ group.%" "server == skyblock" "server == lobby"
Thanks
@spiral scarab you don't have ip forwarding setup correctly.
?
30.12 13:47:34 [Server] INFO [LP] Invalid type. Was expecting 'all', 'users' or 'groups'.
Sorry to bother again 😦
replace user with users
luck ip fowading was set up
well clearly not
> [12:46:16 INFO]: [LP] - UUID: dddad4ce-34a4-3748-9544-f8ba6068a460
not a real uuid ^
> 12:45:38 [INFO] [LP] - Status: Offline
bungeecord thinks you're offline ^
Luck, can you add me as a friend for a sec plz
why?
Need to ask you something
just ask me here
Okay, well, I feel like a leech just asking you for commands all the time
And that command you sent didn't work
I probably messed something u
I wanna gonna ask can i send you like $5 for a few commands
Cause I honestly don't get how to do it
my bad, you're right the last example was wrong
it needs two executions
/lp bulkupdate users delete "permission ~~ group.%" "server == skyblock"
followed by
/lp bulkupdate users delete "permission ~~ group.%" "server == lobby"
My players for example are in group.witch > this gives witch rank on all servers. I want to switch it so this global group only has it on factions/witch.
For example, switches witch into <factions/group.witch> and removes the global witch and replaces it with default
Is this possible?
/lp bulkupdate user update server factions "server == global" "permission == group.witch"
in plain english, that means
update all users, and set the server to factions where server is currently set to global and the permission is equal to group.witch
and one more... sorry
Is there a bulkupdate command that I can use so for example.
If you have default & have <factions/group.witch> it will remove the default as the primary-group and will set the witch as primary instead?
Will help so much, all is appreciated. 😃
nope, bulk update can't manipulate primary groups
@elfin egret im trying to join my server but it kicks me and says,
[14:28:27 WARN]: org.apache.commons.lang.UnhandledException: Plugin LuckPerms v4.0.74 generated an exception while executing task 239
at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:56)
at org.github.paperspigot.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:23)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.util.concurrent.CompletionException: java.lang.NullPointerException
at java.util.concurrent.CompletableFuture.encodeThrowable(Unknown Source)
at java.util.concurrent.CompletableFuture.completeThrowable(Unknown Source)
at java.util.concurrent.CompletableFuture$AsyncRun.run(Unknown Source)
at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:59)
at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53)
... 4 more
Caused by: java.lang.NullPointerException
at me.lucko.luckperms.common.storage.dao.sql.connection.hikari.HikariConnectionFactory.getConnection(HikariConnectionFactory.java:141)
at me.lucko.luckperms.common.storage.dao.sql.SqlDao.loadAllGroups(SqlDao.java:615)
at me.lucko.luckperms.common.storage.AbstractStorage.lambda$loadAllGroups$9(AbstractStorage.java:208)
at me.lucko.luckperms.common.storage.AbstractStorage.lambda$makeFuture$1(AbstractStorage.java:95)
... 7 more ```
the mysql driver cannot create a connection with your mysql server
wierd, i have 12 plugins connecting to mysql and none of them having issues.
only luck perms.
doesn't have anything to do with luckperms
the error is being thrown by the mysql driver
any ideas why?
you've entered incorrect credentials
or the wrong address, or the wrong port, or the wrong database name
The only thing i changed to get it to stop working
is updating luckperms
so i feel its the update. cause nothing else has changed
and the bungee version of luckperms is connecting with out issue
with the exact same credentials
which version did you update from
no clue
lol
i think it was 3 something
last time i have updated was prob mid september
the driver might've been updated since then
yeah probably has lol
can you try restarting your server
ok, can you upload your full log file to https://gist.github.com
server or luckperms log?
server
Morning
hi