#support-1
1 messages ยท Page 281 of 1
@old ivy because ~50% of my userbase doesn't have an official MC account
ew
And that's not even related to my issue, if it was a online mode server it would be even more difficult since I would need to query Mojang's server to get the user UUID
@old ivy that's not really the case for me
I already had a bunch of users that didn't have an official MC account buying ranks to support the server
Idk can u set a users group in online mode?
@old ivy
yes
But you need to query the UUID I guess
I already have a code that works(tm)
But it takes a while for all the permissions to kick in
i mean with the user offline
So that's why I'm asking to @elfin egret how I should set an offline user (offline player) group
public static User getLuckUser(String nickname) {
User user = LuckPerms.getApi().getUser(nickname);
if (user != null) { return user; }
UUID uuid = LuckPerms.getApi().getStorage().getUUID(nickname.toLowerCase()).join();
if (uuid == null) {
LuckPerms.getApi().getStorage().saveUUIDData(nickname, UUID.nameUUIDFromBytes(("OfflinePlayer:" + nickname).getBytes()));
uuid = UUID.nameUUIDFromBytes(("OfflinePlayer:" + nickname).getBytes());
}
if (uuid != null) {
LuckPerms.getApi().getStorage().loadUser(uuid, nickname.toLowerCase()).join();
user = LuckPerms.getApi().getUser(nickname.toLowerCase());
user.setupDataCache();
return user;
} else {
}
return null;
}
That's how I'm doing right now
It works, but if the player is online it takes a few minutes to "apply" the permissions
but if he joined once he should be in the database right?
@old ivy yeah
but what if he didn't join?
whatever
Now I forgot why did I ask that
That's actually not my issue
When I set a group to an online user, it takes a few seconds for all the permissions to "work"
If I use this: user.addGroup(LuckPerms.getApi().getGroup("vip")); LuckPerms.getApi().getStorage().saveUser(user);
It takes a few seconds/minutes for the permissions to work (or to show the new prefix)
Yeah, for some reason it takes a few minutes for the new group to work after setting the group
But if I use "/lp user Username info" it shows that I'm within the new group
๐คฆ I should really read LuckPerms' wiki before asking questions, there is an example for that there
Any news on that GUI that was being developed for luck perms
@elfin egret i would need some help.
What's up
๐
so
I am pretty new to this plugin... so if any "dummy" questions... that's why.
Ehh dummy questions I'll just point you towards the wiki lol
make sure you look at the wiki is the biggest advice anyone can give :P
kek XD not that dumb ๐
we're all here for support however
Lol ^
When setting a permission for a group you have to enter the some parameters; group name, permission, value (these are obvious ๐ ) then the "context" what's the use of that ?
Context would be things like server you want it to apply and and same for workd
World
./LP user darktilldawn perm set some.test.node true pixelmon world1
/lp group test permission set test true hubs
Sets that node true only on the pixelmon server and only on the world1 world in that server
okay...
and how can i apply this to a group of servers ?
like i have hub1 hub2 and hub3
Enter it three different times, each one a different server name
or set in plugin's config like this server: general-hub on all three and it whould work ?
I, think so actually. You should be able to have multiple servers with the same name in the config
I haven't tested that personally though
yeah that's the option then
So worth a shot
well i run just a small server (that i fucked up with -.- had 40 average playerbase over 24/7)
so i can test it ๐
there's just a few players online atm so yeah . ..
we'll see
hey quick question i used /lpb group Default permission set essentials.home false server=serverA in the bungeecord console to negate a permission in serverA then did a /lpb networksync and when I try to use /home with a default user it still works why?
nevermind i got it ignore it
@foggy quartz glad you did ๐
/lp group founder meta info
@elfin egret after changing an user group with LuckPerms' API, what should I do? The group is changed (if I use /lp user username info) but the permissions aren't applied until the player relogs
I didn't put spaces: prefix.100.&0[&6Founder&0]&f
there's ya space
@elfin egret currently this is my code
user.addGroup(LuckPerms.getApi().getGroup("vip"));
LuckPerms.getApi().getStorage().saveUser(user).join();
tgere us a way for reload LP?
If I use /lp user Username info, the group is added to the player
But the user can't use any permissions for that group and he doesn't have the group prefix
After a while (maybe a few seconds/minutes or when I use /lp user Username info) the permissions and prefix are applied
User#refreshPermissions
@elfin egret thanks!
/lp sync
maybe
i see there is the redis config
it's just used for instant update propagation
if you just have bungeecord, then you don't need it
i just have bungeecord
do you have more than one proxy
set messaging-service: bungee in your LP configs
that will do exactly the same thing as PP's redis function
just using bungeecord, no need for redis to be installed
and even for multiple servers, if you dont care about the up to 5min delay for stuff to sync automatically, dont bother
that's disabled by default now
the 5min sync?
Yes
how come?
there's so many options for syncing automatically
if you're using flatfile or a local database, you definitely don't need it
and if you're using mysql, hopefully you have a messaging service setup
i do have mysql, what would i need the messaging service for?
for that
if you want updates to be pushed to other servers in your network
if I set a permission for the survival server whilst connected to the hub
disabled by default*
right but a 3-5min wait doesnt seem like a big deal
im not gonna setup redis just for perms
btw [offtopic] does anyone know how to use LobbyBalancer (a bit higher level)
and if you're using mysql, hopefully you have a messaging service setup
made it sound like I would need it for some reason
aka you're using bungeecord or lilypad
bungee messaging...?
For lobby servers it's usefull
i am using bungee + multiple servers with mysql
bungeecord will act as a messaging service
and what is a lobby server u dummy ?
u win a cosmetic in lobby1 and connect to lobby2 = you do not have the cosmetic unlocked yet <
cuz u need to wait for the sync to be issued
they refresh when you relog anyways
so that bungee this will update only if there are permission change?
i dont have a store
don't use it then
I don't see what you're trying to argue here? that there's not a use case for it?
no i just dont understand why disable sync by default
for most users the 3min wait seems fine
"there's so many options for syncing automatically"
So it does not use your server's resources for no use -.-
im not arguing for anything really, i was just trying to understand the reasoning
reasoning is that with the default option for storage, it's not needed
okay
sponge + 1.10 is my first time setting up bungee etc. so i was just mainly asking in case i didnt know some hidden reason
Nope, nothing like that
it was literally just, "huh we're at the point where a sync interval isn't really achieving anything in most cases"
this was mostly after file watching was added
makes sense
weights don't apply to wildcards
it will try to resolve the exact permission before considering wildcards
set the exact permission to admin as true
the reason being it lets you set a true * wildcard, then negate the specific permissions
a last thing is a way to speedup bungeeperms migration to lp
because it took 2 days for move all data
No it's not thread safe.
Joe I can't please everyone, others would argue what you're suggesting would be inconvenient
the current behaviour makes the most sense in my opinion
also, just fyi
you might be able to set a less generic wildcard
which will override the default one you have set
why do you have to set false for a specific perm for default anyway?
luckperms.group.* has priority over luckperms.*
isnt default everything false anyway
phit, bukkit has a defaults system
ah
plugin authors can choose default permissions to give to all players
if you disagree with their choices, you have to override it
might actually add a config option for that at some point
Luck there is no otherway to speedup the import process?
by example ignoring uuid with extra permissions
it goes reallllllyyy fast dude. unless u have a slow setup
which import process
i have 16 core server so everythign is fast for me
from powerfulperms
./lp import?
to luckperms
you have any suggestions?
@sleek musk blame the powerfulperms author for their poor concurrency design
I can't solve a problem I'm not causing :/
everything runs through a single thread
is pretty stupid รง_รง
@elfin egret id have to say this with Mysql is a wonderfull thing! i love the way its setup. i was able to import around 600Nodes and 30 players in about 15 seconds froms a really old system. and i dont need a diffrent file on every server. they all read form the Mysql ๐
and i don't think he will help me to migrate to LP
he won't
malachiel. its not a luckperms issue bro
i know
use that file to do your importing u can edit it
WoodzyKiller that won't help migrate someone elses data ๐
it will.
he can manaualy input alllll the data. the run the import command. (easy copy/pasteing)
thats how i did it
copy & pasting hundreds of thousands of entries doesn't sound like much fun
@elfin egret i just have some powerfulperms crashes with worldguard
author was not able to fix it
ยฏ_(ใ)_/ยฏ
better then typing everything. with this u can do copy/paste with the commands, then click n drag the nodes over
i did mine in like 10 mins xD
yeah, absolutely
so malachiel, u acn use the file, i left some examples in it for you. but the choice is yours
but I can't help you with that
gonna asking to him maybe there is some command
doubt it, but you might get some pointers on what sort of query you can run
what it happen if i delete al pp_players and allow lp to import?
it will only copy group data
and this is one of the reasons I wouldn't buy a plugin ๐
i seen a plugin for sal it was like $15.99 and only for 1.10....
its want i want. but the guy refuced to update it so xD
I don't really trust the devs if they're asking for money
i just buyed pp because i would get ride bungeeperms
and when pp born there is still not luckperms
waiste
$15 for a permission plugin D:
maybe so, but I still wouldn't go about buying one ๐ Just personal preferance
let's keep this somewhat on-topic please
๐
last time this was discussed in here it just ended up with some guy getting mad @ me
lol
Sorry! Bitch-mode was starting to get activated. Usually does when discussing the spigot system
oh I remember
maybe
what if i use this? https://www.spigotmc.org/resources/importer.26183/
mmm so
i think to use powerfulperms and allow luckperms to import all old data on my test server
wait 2 days until end (and manually add new vip to lp in this time)
then install lp in all server
is ok?
sounds fine
You need to set them in LP
i'm about to add a config option to allow you to change that though
Are you negating the permissions for default
are you sure there aren't any wildcards setup for them which negated it
do you have negated wildcards setup for default anywhere
weird
no reason why it'd do that though
just run /lpb info
do it from console
from the bungee console
can you run /lpb user <you> permission info and /lpb group owner permission info
actually first
can you run /lpb sync
and see if it magically fixes everything
alright
you were running that on the proxy, yeah?
/lpb user <you> info
alright
/lpb verbose record
then go in-game and try use /alert
then /lpb verbose paste
send me the link it gives you
cool
are you sure you were running /lpb sync before
there's a difference between /lp and /lpb
ok that's why
/lpb goes to bungeecord
/lp goes to the backend server you're connected to
/lp networksync
you need to set messaging-service: bungee in your configs first, and then ^^
it will run it for you automatically after each command you make
i running lp and pp on separate server and seem to be a little fast
@elfin egret First, thanks for the awesome feature packed permission system. I have one question though, is there any plans on usnig Redis as a persistant data store? Right now I see that the pub/sub channels are leveraged for cross server permission syncing, but Redis can do much more than just that. I also understand that if Redis was to crash, data will be lost up till last disk write or snapshot. However if the enviroment is stable, then the benifits of Redis as a persistant datastore over all other avaliable options is very clear. The speed of Redis can't be beat. If I am missing something, please let me know. Thanks ๐
it's unlikely to be added. Redis is most often used for caching and other such mechanisms, using it to store persistent data is not very clever
"the benifits of Redis as a persistant datastore over all other avaliable options is very clear"
such as?
The speed of Redis vs other options is one.
database speed is unlikely to be of concern for the vast vast majority of people running minecraft servers
Also I don't want my message to seem as rude or me trying to be eliete. I am genuinely curios what your thoughts are.
In my experience, the first load of a player can be very slow when using MySQL, but when I reprogrammed my content to use Redis as the database, the login "lag" was unnoticable. This is why I am asking ๐
it depends what kind of data you're storing
for example, i've used it before for storing player options. we let players toggle different things on/off, enable cosmetic features, toggle private messaging, that sort of thing
it works great for that, because if you lose the data, who cares
it's also pretty slim, permissions data on the other hand is not
Makes sense. But loosing your cash/gems/economy currency is a big deal. So you would advice aginst it, it seems?
I don't think the speed gain is significant
I haven't wrote any test of my own to really test vs the other options. Generally someone else has already done that and the graphs and information for that, can be easily found (as I am sure you are aware). This is why I wanted to know your opinion ๐
on paper, perhaps it might be a considerable difference, but players don't care if it takes 0.3 seconds to load their data vs 0.05 seconds
and I highly doubt the difference in speed is that wide
(likewise, I don't have data either)
in most cases, the speed difference comes from how good your networking is & how you process your data
So in your setup, are you using MongoDB for persistance and Redis for cache, etc?
I've only ever used mongodb for LuckPerms
never used it in other projects, just haven't had the need to
actually no, used it for storing cross server player inventories before, worked well for that
I am currently using Redis for all cross server persistance, including inverntories, options, currency etc.
However I am looking to refactor my work and use a legit permission system to speed up development.
Thank you for the info, I appreciate it!
No worries
Hi, I can't find the meta formatting options in my config? Were they removed? I'm using the latest luckperms afaik
hey everyone. so i am setting up a bungee for the first time, and i've been working on getting everything transferred over from my current server which is running spigot on multiverse. how would I go about saving the perms i've got setup on that server and moving them to bungee?
also, does the luckperms-bungee go into the bungee/plugins folder?
i'm using LuckPerms on the multiverse right now
moving hosts and setting up bungee with multiple servers, yes
My best advice is to run an export of all of your data with /lp export
then just go through everything and sort out what stuff needs to go where
if your text editor supports it, you should be able to easily find+replace values in the export file to work with a multi server setup
then, when you're ready to import again, setup mysql storage, connect all servers to the same database, and run /lp import from one of the servers, using the modified export file.
ok, so i need to drop the luckperms.jar into each server then?
Yes, and connect it to the same database.
ok. cool. thank you
i should be able to just copy the luckperms folder and files from one server to another yes? before i import?
ok. ty
Hey Luck!
I'd like to migrate to LuckPerms, but when i use the migrate command it doesn't recognize the command.
I write: /lp migration PermissionManager
Then it says [LP] Command not recognized.
If i just write /lp migration
it writes: No available plugins to migrate from
I do have PermissionManager loaded. ๐
Which version of PM do you have?
PermissionManager-2.6.0-API-5.X-6.X.jar
There's a 3.0 version too though right?
I'm using this because some plugins doesn't work with the newer version, hence the reason i'm changing to luck
Ah ok
you need to update to the new version first
and then run the migration
two hops to get there, but it should work ๐
Ah, kk. what database should i convert to (PM also migrates to database with the newest version)
whatever you like
cool. cheers for the quick reply mate! ๐
and np
Hehe, yeah gonna use mysql since i allrdy have a mysql database for luck, i meant what database to migrate from when going PM -> LP ๐
It will just migrate to the one you have setup
if you have a mariadb server setup, yes
ok ty
Aight, does Chat-UI make LP interactive? ๐ฎ
Ah that's aewsome. I'll check it out. Now i'll leave you be. ๐
does it spam the log?
last time I tried it, no
everything ends up on one line
it just uses the new line character
hmmm how does it write all that stuff without sending a lot of chat messages?
but yeah, every time it updates you get a new chat message in your log
newline character
hi\nhey\nhello
hi
hey
hello
hmmm, that seems powerful
but would break if the client changes the chat size right?
yes
but so would all of the other pagination stuff in sponge
all of those paginated GP and Nucleus menus rely on the chat character width too
i guess it would probably be a good idea to remove all perms from my exported file that mention anything about multiverse yes?
i'm not using MV anymore
well, moving away from it
and where should i install the perm file before i import it?
got it figured. thanks
hi question
i have many ranks in my server
that inherit one another
i have a class that inherits a permission i dont want it to have, if I set it to : false will it still inherit this permission?
you should be able to unset it.
@idle gulch It will still inherit the permission but the false will override it
Ok thanks dude
anyone else experience lag with PowerfulPerms? i was told its making my server lag and to switch to either Pex or LuckPerms but i dont feel like Pex's backend is set up properly. how well does it run?
by it i mean Luckperms, sorry
I'm trying to switch to LuckyPerms from PowerfulPerms, but I'm getting this:https://www.pastiebin.com/58fd8d19b9541
Can anyone help me resolve this?
@robust wing Make sure you're running the latest version of luckperms
@paper ermine It runs well, I guess ๐
I have a stupid question probably. Is it normal that it gives this address when starting my server: INFO com.zaxxer.hikari.HikariDataSource - luckperms - Starting...
Yes it's normal. It's starting the h2 database
idk the proper answer to that honestly, not sure how he has all the storage services stored and programmed. But it should call the sql drivers right after that
Looks like it calls the sql prior to giving that message
its even listed as a warning in the log file
i am confussed
why make it say info in the line but let the log/console handle it as warning
okay was just curious how it worked and if i made a mistake
Nope, you good
/luckperms group default parents add admin if i use this command, will default inherit the permissions of admin or will admin inherit from default? (silly question i know, but i don't wanna accidentally give everyone admin rights)
And do inherited permissions get overwritten by the group that inherits their permissions or does the permission that the group already have get overwriten by the inherited permissions
@turbid quail A user/group inherits from their parents
For example, /lp group admin parent add mod
will make admin inherit from mod
and yes, inherited permissions are overridden by a groups or users own permissions
thanks for explaining luck, that makes it clear to me.
luck a last question
if i set a suffix to a user
and then another one
it will delete the old one right?
if I don't specify priority
It clearly says "Too many connections" for your MySQL db
and Google is your friend. https://dev.mysql.com/doc/refman/5.5/en/too-many-connections.html
@elfin egret I replied to my issue again, just tagging u here because idk if u get notifications from closed ones
I sent you a link which tells you how. Up the 'max connections' in your MySQL db. If that isn't correct, I don't use MySQL at all so somebody else will have to help you. I'm pretty sure it looks like "set-variable=max_connections=<num>" in your main config
@teal crypt Idk what you mean by that
there's no repo for the wiki
it's hidden behind the scenes by github
I mean you make a new repo with all the wiki files
Then people can make pull requests
eh, I guess I can
and if u see one u like, u can add it to the actual wiki
Ok
I can probably add two remotes locally and merge the two together
Mhm. Yep, I have no idea what that means but I'm sure it will work if it's made by u
wow you believe in me ๐ฒ
yeah
alright ๐
hey luck is right to change a suffix of a player with meta suffixadd &5 ?
if i redo the command again i it will delete the old one? (no priority)
addsuffix
*addsuffix ye
It won't remove old entries
because i have like a gui where vip player can select their favourite suffix colour
you'll need to remove the old value first
all prefix are setted in group
/lp user <u> meta removesuffix <priority>
it just uses max group weight + 5 for users
so i just use /lp user <u> meta removesuffix 105
- '[console] lp user %player_<identifier>% meta removesuffix 105'
- '[console] lp user %player_<identifier>% meta addsuffix &0'
(deluxegui)
you need to specify a weight
ah
lp user %player<identifier>% meta addsuffix 105 &0'
oke
for give a user a permission to only a specified server? is lp user name permission set skywars.settings.colour.light_gray true skywars
@sleek musk Yes
someone has already told you
8 server work and other not work
i'm not doing it for you
I disnt understand anything ๐
you need to increase the max connections allowed on your mysql server
what's the error now
refresh it muntder
you have to reload mysql
restart mysql is different
Ok iam now do it ,
and then mysql-service restart
on your ssh console
or sudo /etc/init.d/mysql restart
Iam windows .-.
oh gosh
restart all
Yep i restarted all the rdp
just restart the mysql process
he already restarted
i got windows only the first time that i rent a server
with desktop gui
i got hacked after 1 week
probably more an issue of insecure password + security setup
from company
it was a fired guy of that company
now i use linux + private key + pass
Yeah i currently only use Windows for the development of the server
Right, so not an LP issue then
gonna switch to Linux after i finish the basic foundation
Yep
muntder
you fixed that?
try to execute this mysql query
if you can
SET GLOBAL max_connections = 500;
it will be volatile (i mean at next windows restart it will gone)
ok all ready to luckperms convertion ๐
at least you have it working xD, i still am struggling with permissions (first time i am doing this) and a bug in bungee chat
I mean you don't need a large pool size if the player count is like less than 100
no bungee chat isn't outdated, the bug is that it does not read LuckPerms prefixes
With like 100 players you might only need 5 connections
i got 300-450 players
Dependant on what stuff you're doing and how often
Is that all on one server or spread across several
@turbid quail can you link me the plugin?
regarding pool size, read this
@turbid quail this plugin is on bungee side right?
correct
so is hard to get prefix because it will display prefix by using vault i think
no it hooks with LP on the proxy
oh i see
Can I use prefixes of my Bukkit permissions plugins?
Yes, you can! BungeeChat can hook into some BungeeCord permissions plugin, which allows you to use your Bukkit prefixes on your BungeeCord server.
Supported plugins:
LuckPerms [download]
Please keep in mind that I have NOT made these plugins. I will not give support to problems not related with BungeeChat.
yeah no that's not true
you could install LP on the proxy and not the backend and it will still work
maybe he should open a ticket
try to open it here
nvm it redirect to author conversation
Default-Prefix: ""
Default-Suffix: ""
External: LUCKPERMS```
I believe i already have that Luck
๐ will do
I can't help with bungeechat issues, it's not open source
(yet the src is included in the jar, for some reason)
I know, and i don't expect you to since its not something you made
It's just the first time i try to make a actually decent server instead of just a server for me and my friends. Mostly cause i like doing stuff like this
By included in the jar u mean not obfuscated?
and permissions are making me confussed
no, both the compiled class file (.class) and the source file (.java) are included in the jar
is easy once time that you learned it
Ahh
Hi
I changed this to 1000
Max connection
And when i restart the mysql
Its get back to default :-:
this has nothing to do with luckperms
151
Yeah as it's volatile
muntder
google it
you tried that mysql command?
sorry Luck for making the conversation go astray
Pm me malachiel
cause i am a .NET programmer for my full time job ๐
Fair enough ๐ .NET is aids tho
Yeah ik generally tho it's limiting af like you can only use it on windows. Whereas java is universal
That's my opinion anyway I much preferred learning java to c#
but java has a lot of downsides compared to C#
while it is basically the same
they both have down and up sides
Ehhh their both similar syntax then again their both object oriented
Nonononoo I hate C++ took one look and I was like no thanks
Yeah don't ever give me power
xD fair enough
Well time to go home and check if i can make do without essentials on my server, since i dislike that plugin. and also trying to let ASkyBlock hook into CraftConomy while setting up all the permissions.
can I send my discord link here?
why?
I need 6 more members on my discord server, it's not unnessesarly spam, I want to hit the 100th milestone for the first time.
I have 95 members right now
no you can't advertise it
oh alright
@elfin egret Hey Luck, I am rewriting my core plugin to use MongoDB instead of Redis as the datastore. Should any special care be taken when saving user data to the same database? Also, should any user ID stored with your system be associated with mine? For instance, user ID #1 is Admin group and in my code user ID #1 has his personal settings? Or should these be seperate? And if they are seperate would there be any performance hits? Thanks!
iirc, mongodb uses the _id field to index entries
you should store any entries for players with their uuid as the _id field, as the database will be able to use that for faster lookups
certainly faster than comparing strings anyway
you can reference the LP code if you want
the java api comes with the bson library
which as far as I know is so called "binary" json
you construct documents (or objects) and then append attributes to them
I wrote my mongo connection and noticed I am connecting twice on the same spigot server instance. I am wondering if I should figure out a "one connection to rule them all" kind of deal lol
If i use /lp user [username] info it says 0 prefixes under Counts, those are the personal prefixes or should that say 1 if i inherit a prefix from a group?
personal prefixes. Group prefixes would come under "current prefix"
yeah it is listed there just making sure if i didnt make a mistake ๐
I know this is kinda off topic, but i have set the bukkit.command.gamemode and the minecraft.command.gamemode and even essentials.gamemode to true but for some reason people who aren't me are unable to use the command /gamemode
if this is too off topic just say so and i will go else where with the question
use lp verbose to see what permission is being checked and set it to true
thanks that helped a ton
damn mala thats a lot
whooh permissions are close to being done on my server ๐
and i even made a really bad launch website. today was a good day
thanks for all the help everyone
Hey @elfin egret How can i separate ranks to its each world?
i do not see option to set specific rank based by world.
if i am correct within the luckperms config you can set the server name
for example`?
/lp user Luck parent add admin world=nether
would give me the admin group, only in the nether world
and takes away the prev group from player comes from temp?
Hmm, i shall try out.
Will inform if it works.
how long did it take?
3 days
0.0
it duped some values that messed default perms and executed two command
that sucks
yeah
and size of lp player
is 388 mb
powerfulperms was 80
lol
@elfin egret why LP is getting player data also if i disabled it from bungee?
i have the option use-server-uuids: false on bungee
and when player login in the login server (there is no LP installed)
they will be saved on database
i dont want it รง_รง
also it save all names in database mysql with lowercase
that's intended
and the size is bigger because permissions are not stored using ids.
and is not possible to store players that dont join in a luckperms spigot server?
i mean disable player save from bungee luckyperms
Idk why you'd ever want to do that
If you don't want to read/save data, then why is the plugin even installed
why would it be invalid?
nvm i will stay like this
because my switch plugin
for example if i type swap dude (and in permission plugin both dude and DUDE exist) it fuck itself by saying that don't exist
i will blame the guy that i payed
maybe i will ask him to api it instead
basicaly the plugin switch playerdata
by querying permission database for get the UUID
example i type swap Malachiel Luck
it work also if both players are offline
(i run offline mode)
sounds hacky
yeah with powerful i run these issue where player for example log with wrong capitalization in past
what you suggest for get uuid from a offline player?
depends, 'Bukkit.getOfflinePlayer(uuid)'works I think
but doesn't that also remain case sensitive? (just curious)
Oh my bad I read it wrong I think
Made a pr for wiki, luck, you should setup github webhook for wiki too
I'll make an issue for it
Oh ok
[LuckPerms] [WARN] Permissions storage is not loaded yet. No permissions data will be loaded for:
I often get this, what's wrong :/?
Players are joining before the server has started
update to the latest build
it should be fixed already
looks like its working, ty
i love this dev
i just playing a little with commands
is possible to disable the notification " [LP] [Bungee Messaging] Received update ping with id:"
is it possible to add temp parent group 30 days?
/luckperms user Test parent addtemp 30d swadmin3
writes group doesn't exist, but it does
or it might be: addtemp <group> 30d
u were right
typo wrong ๐
What's best way to set push from database updates?
i mean to sync network
/lp networksync
if you want to do it manually
and if i am correct there was a setting in the config where you can set the interval for auto sync
i gave myself luckperms.*, seems all commands work on all servers except bungee plugin called BungeeAdminTools, what's wrong?
with BungeePerms 2.6 it worked, with LuckPerms it doesn't
Hey can someone help me with uckperms and issues with CrucialCraft on Sponge please? I appreciate it.
inb4 getting garbage about using sponge, trust me, I don't like it any more than you do lol
Where can i report bug?
As bungee admin tools is a bungee plugin, so you'll have to install luckperms bungee and give u the bungee perm for it
I believe
@foggy quartz just ask your question
@foggy quartz Github https://github.com/lucko/LuckPerms/issues
I got the default group set up with perms and set up a member group to inherit defaults permissions as well, when I restart my server the plugin seems to reset itself and deletes the member group and resets the default group back to no permissions.
How can I fix this? lol
hey
luck the command lp user %player_<identifier>% meta removesuffix 105
is not removing any suffix
Hey guys!
I need help setting up luckperms with mysql database
This is what i get
@sleek musk try just running the command using console
25.04 17:16:17 [Server] WARN Exception in thread "pool-4-thread-1"
25.04 17:16:17 [Server] WARN java.util.concurrent.CompletionException: java.lang.NullPointerException
25.04 17:16:17 [Server] WARN at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273)
25.04 17:16:17 [Server] WARN at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:280)
25.04 17:16:17 [Server] WARN at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1592)
25.04 17:16:17 [Server] WARN at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
25.04 17:16:17 [Server] WARN at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
25.04 17:16:17 [Server] WARN at java.lang.Thread.run(Thread.java:745)
25.04 17:16:17 [Server] WARN Caused by: java.lang.NullPointerException
25.04 17:16:17 [Server] WARN at me.lucko.luckperms.common.storage.backing.sqlprovider.MySQLProvider.getConnection(MySQLProvider.java:115)
25.04 17:16:17 [Server] WARN at me.lucko.luckperms.common.storage.backing.SQLBacking.loadAllGroups(SQLBacking.java:637)
25.04 17:16:17 [Server] WARN at me.lucko.luckperms.common.storage.SplitBacking.loadAllGroups(SplitBacking.java:131)
25.04 17:16:17 [Server] WARN at me.lucko.luckperms.common.storage.AbstractStorage.lambda$loadAllGroups$7(AbstractStorage.java:156)
25.04 17:16:17 [Server] WARN at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1590)
25.04 17:16:17 [Server] WARN ... 3 more
ok
@foggy quartz Any errors?
@sturdy oriole probably invalid mysql credentials / address
but that log doesn't really tell me much
Can i PM you ?
having trouble putting it
use https://paste.lucko.me/ to pastebin the full error
@sleek musk what's the issue then?
I just checked the console and there's nothing @elfin egret Else I would have shared it here.
I think I solved it though.
@elfin egret ```markdown
25.04 17:25:20 [Server] WARN INFO com.zaxxer.hikari.HikariDataSource - luckperms - Starting...
25.04 17:25:21 [Server] WARN INFO com.zaxxer.hikari.HikariDataSource - luckperms - Start completed.
All good.
@elfin egret i confirm
i am using lp user player meta removesuffix 105 and is not removing any suffix with rank 105
@elfin egret added info https://github.com/lucko/LuckPerms/issues/262
replied
ty luck
Working perfect ๐
i just noticed lp got the bulk thing
same of PP
who stolen the idea?
idk what you're talking about
pp got for example this command
pp group admin add essetnials.{god,ban,hug}
it will run 4 commands, i noticed lp got a similiar thing
it's just standard linux globbing
In computer programming, in particular in a Unix-like environment, glob patterns specify sets of filenames with wildcard characters. For example, the Unix command mv *.txt textfiles/ moves (mv) all files with names ending in .txt from the current ...
really
yes
like jolly character ecc
that's where wildcards come from too
never know that
I've never known anyone to do that lol
because permissionsex
Luck is possible to disable LP notification?
like command executed
no
@elfin egret if i join with "Test" or "test" will i keep my same permissions?
perhaps
although probably not, the server converts usernames to uuids
and that conversion is case sensitive
you can set use-server-uuids to false to negate that property
luck does permission * not work to let me be able to access all commands?
work
Cause i have that set in my personal group but i can't use any command
which command you used?
in console /lp <name> permission set '*' true
i tried /lp, /gm /spawn
lp group name permission set * true
[19:31:44 INFO]: > * (true)
> prefix.110.[Owner] (true)
derp
should already be true right ๐
lp user <name> parent add owner
[LP] - UUID: aa8f1aed-450e-467b-a49a-38cdc7899797
[LP] - Status: Online
[LP] - Primary Group: owner
[LP] - Counts:
[LP] - Permissions: 1
[LP] - Temporary Permissions: 0
[LP] - Prefixes: 0
[LP] - Suffixes: 0
[LP] - Meta: 0
[19:31:01 INFO]: [LP] - Parent Groups:
[19:31:01 INFO]: [LP] - > owner
[19:31:01 INFO]: [LP] - Cached Data:
[LP] - Is Loaded: true
[LP] - Current Contexts: (world=world)
[LP] - Current Prefix: None
[LP] - Current Suffix: None```
already have that ๐
i have a default group, but i am not in it if i am corect
yeah this is my personal permission: [19:41:45 INFO]: > group.owner (true)
this is weird
i have access to it on 1 server but not the other
Has anyone here tried using the groups templates from Nucleus with LuckPerms? I can't seem to get namecolors and chatcolors from group templates to work. The prefixes work fine though.
The prefix will have desired coloration, but the names and chat are white. I have a template for the group owner that uses blue as the name and blue as the text, but it's still white.
any way to edit luckperms perms in-file? would i need to use a database?
found it you needf to set it to yml
@foggy quartz How're you doing it? What commands?
I'm doing it from the config files of both plugins. I'll send you the configs in a second so you can take a look.
both of those you were talking about are handled as meta data
so for name colour, /lp group <group> meta set namecolor <colour>
Lmao that easy huh?
so it pulls meta from nucleus then
yes
the dev of nucleus did not make any mention of that, wish he did.
Else I'd have saved an hour worth of messing around with configs.
He gave an example of permission ex which uses options rather than meta :P
I know :P But it's handled the same
Good to know.
home-count is also meta fyi
Does anyone know why I'm having to restart my server before permission changes take effect? It only started being this way after I changed storage type to YAML. I've tried /LP reloadconfig, but I guess that only affects the config files, not permission data? Either way, I have to reload the server and it's very inconvenient. Is there anything i might be able to do to fix this?
I figured.. And /LP sync doesn't seem to have worked.
it should have worked. Are you on the latest version?
I was, but if an update has been released in the last week or so, I probably am not anymore
update and try again. Luck releases an update pretty much everyday
if it stuff doesn't work, make an issue on github and luck will probably reply to it there before looking here
Okay.. So in other words do what I would've done anyway because I'm a smart user that knows to report issues if I can't fix them ๐ ?
(Though admittedly, I always forget to update and test again before reporting a bug.. I'm working on that habit...)
Probably doesn't help that I'm running SpongeForge. Better mention that now rather than later...
that said, I would think synchronizing file-objectspace would be simple enough that SF's roundabout way of implementing itself wouldn't cause problems
Okay yeah I don't think it's the permission for messing up here. I reloaded the server and its still not giving me permission to do something that I gave myself the node for... and redundantly so. I think FTBL/FTB utilities just isn't implementing permission nodes correct, or something
@storm geyser So, that worked. But now I have the Owner with the chat of blue and the member chat of grey, the owner is using the grey from Member.
have you set group weights?
Looking back at config it compeltely wiped the group sets -_-
Oo well that isn't right xD
How do you add group set to a permission? I probably did that wrong ti begin with.
That's my luck dude. Seriously.
add group to a permission? it's the other way, so /lp group <group> permission set <node> true
I want Default (what LP comes with) to have a group groupset template of Member.
so they would automatically get promoted to member?
Well, I used default as the base member rank, has a prefix and all that, I just want to apply the group template from Nucleas to the default permission set.
/nucleus settupperms <default/mod/admin> <lp group> I believe it is
said that nucleas default doesn't exist :p
oh I think it uses user instead
I'm taking a break. At the point of frustration I want to throw my laptop ot the window, been messing with this all day lmao
@storm geyser would you be able to pm me?
Is there a faster way to add permissions to each server than in-game? We have luckperms connected to a database.
We are now adding all the permissions in-game, and it takes a long time
you can create a list of commands to executed
get yourself any decent text editor which supports writing to multiple lines at the same time
save that file to the luckperms folder
and run /lp import <file>
or use this
np
hi guys
Hey Luck, i've created the textfiles, but when i want to import them, it gives an ingame-error
this is the file that i'm trying to import.
pastebin pls
must start with /luckperms
these are parsed manually
so I couldn't be bothered to support all 10 aliases
or however many there are
@elfin egret Getting that on bulkupdating
http://prntscr.com/f0u0wr
It still seems to update the perm node (at least for groups, didn't check users)
you can set prefixes to individual groups
but if you want to add weight to a rank, your lowest rank should be like 1, your highest like 50, so
Guest (1) -> Member (5) -> Mod (10) -> Owner (10)
kk
you don't have to do it that way
How do I see the pri set for prefixes?
WHat do you mean?
Well i know that :p
then, to add weight to the rank, do /lp group <group> setweight <num>
How could I change it
Sincee
I put owner to 1
and member to 50
thinking it was DChat formats xD
Kk
Having another issue. Here's what I have:
Member - weight of 5
PRefix &8[&7Member&8] with weight of 25
Admin - weight of 50
Prefix &8[&cAdmin&8] with weight of 50
Owner - weight of 100
Prefix &8[&3Owner&8] with weight of 100.
Owner rank works fine, but the admin group is not using the admin prefix. It's using the member prefix still.