#general
1 messages · Page 312 of 1
Fr, there’s a lot more here than there is anywhere else that I’ve seen
It's genius in a wack way lmao
But yeah those people must be sitting on a shit ton of accounts if there's this many scams lately
All legit accounts as well, seen a lot of friends fall into it
hello is there a way to get luckperms to forge?
You can download LuckPerms for Bukkit/Spigot/Paper, BungeeCord, Sponge, Fabric, Nukkit and Velocity.
but spongforge is only 1.12.2 ? @sonic wyvern
¯_(ツ)_/¯
Np :)
@gilded nova
Hi anyone know some method to auto-restart bungeecord instance every day or one time a week? Thanks
Are you self hosting? Or using a hosting service?
self hosting i have root access
Is there a panel on the machine you’re running it with at least?
Or is it all command line?
all command line
No idea then.
🥲
@onyx mason hi
if you can, i'd recommend installing a panel. Pterodactyl isn't too difficult to setup, as long as you know what you're doing.
i used a script, a little bit of time, and 5+ times of doing it, to finally get it installed properly.
cron jobs 👀
Hi
Schedules 😩
Systemd timers >>>
LuckPerms allows you to set weights in order to determine the priority of certain nodes, like permissions and even prefixes. A higher weight number is a higher priority.
oh that's a neat thing
MacOS? 
Ok
Superior operating system 
Aber, please.
should i use waterfall 1.8 or travertine 1.8
Who was the British mod who was a mod on this server again
What is this?
A Minecraft permissions management plugin
Why should you choose LuckPerms? Read here to find out.
!colour
hey, does someone wanna join me with a project / collab?
please dm me
not really the place tbh
@iron rose, I saw your message in #support-1 about a name placeholder? Is this to use a custom one in your plugin like {PLAYER} ?
Well yes I’m trying to figure out how to execute the command with my plugin GUI click without having to use username/uuid
You could just use String#replace and replace the placeholder with sender.getName()? I think that would work?
I’m guessing this is setup for a config?
Nono this has nothing to do with the config right now
I just need to figure this part out
Just print your string before and after replace
Maybe something is messed up that youd only see when getting it printed
Idk how other plugins do it yet, but for me, {} will cause intellij to not be so intelli- 'floating character' or smth
😂 got a lot to learn lol
I have no issues with it. Are you putting it in double quotes?
Yep
odd 
String FormattedPrefix = Stage1.replace("{META}", RawPrefix);
i use this in my list of like 5 different filters, and didnt have any errors.
that's the one part i didn't have problems with
formattedPrefix

^^
i'll take the look of it, over camelCase 😄
I almost said something wrong by accident
Trying this
No good
I’ll just see if I can get some help from my buddy
U were right btw I think
I just messed it up
Somehow
can i see what you used? i might be able to help :D
One minute I’m testing it right now
So I forgot to send the replacement to GUI click
🤦🏻♂️
It’s all good now thanks for the help
when I try to use /lp editor on my proxy nothing happens, anybody knows how to fix this? in addition do I install regular luckperms on my backend, I only read the bungeecord but there is no velocity section in the wiki.
^ ping me
yeah make sure to install lp on all your backends as well
see if that fixes your error
when I try to use /lp editor on my proxy nothing happens
that'd be because lp editor isn't for the proxy.
lp(b/v) is
ah, forgot about that
@gilded nova, are you using velocity?
yeah, then you need to use /lpv editor on the proxy.
!network
If you run a BungeeCord network, learn how to correctly setup LuckPerms on all server instances (including Bungee).
Syncing data between servers
alr thx
bungeecord and velocity installation are the same right?
pretty much, yeah.
only difference being /lpb is replaced with /lpv
Once I set up perms using velocity I should be fine with backends right?
You need Lp on backends as well
,
you dont have to copy/paste perms if you setup for a network correctly (remote db will sync them)

Im drawing a blank, - how do you do a world only permission?
You can set a permission or group on a per-world/per-server basis, through what we call "contexts".
is there anyway to make this plugin take permissions
over all servers with bungee
and support with multichat
!bungee
If you run a BungeeCord network, learn how to correctly setup LuckPerms on all server instances (including Bungee).
Syncing data between servers
as for multichat, that'd be their end
Yes, however we have a system if you want something to be per-server (!context for more info)
but the bungee version can do what bungeeperms did correct?
cause i have plugins in bungeecord that dont have permission to run
I've yet to see a permission plugin that does something LP doesn't actually that's not true, UltraPermissions' permission database is the one thing UPerms has going for it, everything else about it's pretty bad though
Yes LP can run on your proxy & handle permission checks there if that's what you're asking
What’s their perm db?
they've got a massive file which contains all the permission nodes for most major plugins, and a short description of what it does
thank you by the way 🙂
!meta (for me)
You can set prefixes, suffixes and other meta data in LuckPerms for players and groups. Note that LuckPerms does not manage chat. You need to use another plugin to show prefixes/suffixes in chat.
how i get crate code so i can put in the crate so players can get rank from crate by luckperm?
That would be handled by your crate plugin
Hi, i have a problem.
How to delete <> for the chat?
My plugins:
You don’t even have essentialschat installed so that’s probably why
its work, thanks
if someone speaks french can he help me please
Just out of curiosity, are there any plans to use the newish plugin yml based library loader spigot introduced in 1.16.5, as an alternative to luckperms downloading and adding it's library jars to the classpath itself? Obviously the current method would still need to exist for backwards compatibility, but for 1.16.5+ it would centralize the library jars and allow them to be shared by other plugins.
there are a number of issues with the system md_5 implemented which means it's not really a suitable replacement
trolled
Interesting, thanks for the response
https://paste.helpch.at/enavefatum.sql this annoys me enough that I might actually write and PR a definite fix for it
I still don't understand why it never occurs on other platforms though
time to debug I guess lol
.
How does luckperms tab-complete plugin permissions?
I made a plugin that loads permissions from a config file, and luckperms completed the command somehow. This is some witch craft right here 😄
what do you mean loads permissions from a config file
I presume it does two things (for bukkit at least):
- check for permissions in plugin.yml
- checks for permissions that register themselves in the PluginManager
Essentially i just config.getString("my-permission")
I don't include it in the plugin.yml or register it anywhere. It's just stored as a string the whole time
ok well I can tell you it definitely doesnt search binary files for your permission nodes
so you must be doing something xd
Yeah that's why I'm confused
i'm 99.9% sure I don't do anything with them
i guess we'll never know 😄
could you maybe send the code 🤷♂️
LP checks for perms, adds them to a list for tab complete
essentially i have a bunch of classes like this stored in a hashmap<string, tag> where string is also the "name" field
public class Tag {
public final String name;
public Tag(String name, ...) {
this.name = name;
}
...
public String permission() {
return "my-server.tag." + this.name;
}
}
they are read straight from config.yml -> Tag (nothing happens in between)
later on i call player.hasPermission(tag.permission());
thats probs what it is
I assume when you call hasPermission, which goes through the LuckPerms class that actually checks for permissions, it'll register them
Yes
Ah that would make sense.
didn't know that luckperms actually did that though, interesting to see how they solved plugins that dont register their permissions in any way
that is quite interesting. i just noticed it too
i just installed holographicdisplays and luckperms didn't tab-complete any permissions
once i typed a bunch of hologram commands, they were all there
@trail shuttle apologies for the tag but are those registered permissions persistent?
Hey Itzdlg! Please don't tag helpful/staff members directly.
No after restart they get reset
for example if I did the same thing hydro just did, after a restart will they be required to recheck the permission to tab complete again?
gotcha
LP will also figure it out if you declare it wherever your platform expects permission declarations (i.e. bukkit's plugin.yml), and obviously it'll prompt any perms you already have saved
Right I knew it did that part already aha, just didnt realize it also realized unregistered ones 🤷♂️
Luck is a cutie
This is so full of so many answers I somewhat understand but not really 🥲 https://stackoverflow.com/q/2332768
What are you trying to do exactly? Add a new entry if it's not there already?
I don't know much SQL, just some very basic things but uh I personally don't really like that select inside the insert lol
I agree 
lmao
that statement seems a bit convoluted
what are you actually trying to do
I imagine ON DUPLICATE KEY UPDATE is actually what you want -- https://dev.mysql.com/doc/refman/8.0/en/insert-on-duplicate.html
doesn't matter, that syntax has been supported for ages
just use a normal insert statement instead of the weird inner select from dual thing
huh?
idk what you mean
INSERT INTO players (name, uuid, skin, cape)
VALUES(?, ?, ?, ?)
ON DUPLICATE KEY UPDATE name=?, uuid=?, skin=?, cape=?;
and I guess you can delete whatever your primary keys are from the last line
I would suggest reading about database fundamentals before trying to just search for an answer to what you want to do
you will likely find that a different approach to solving the problem is better
read about primary keys and think about what yours are in this case
Im looking for a really good host. Any suggestions?
Ok thx
Looking for a admin in my mc server good with lp
This isn't a recruitment discord. Try the SpigotMC forums
@onyx mason @onyx mason @onyx mason @onyx mason @onyx mason @onyx mason @onyx mason @onyx mason @onyx mason @onyx mason @onyx mason @onyx mason @onyx mason @onyx mason @onyx mason @onyx mason
@onyx mason
@onyx mason @onyx mason
@onyx mason
Hi
Hi
It’s so gross out
I need to buy an umbrella
Xxxxx
@unique fable live in Vancouver without umbrella as long as possible challenge so far: 3 months
i still don't have an umbrella lol, just a rain jacket
zuwu lol
Dang impressive
zuwu
@gilded nova rosuwu
you can ping me
Well if you insist
i love bluely
Hehe
small question
Hm?
if I was to copyright a project, do I need to include my full legal name in the copyright claim header
That is indeed a small question
kekw
This isn’t a place for legal advice
🤓 well actually
only asking for general advice, surely someone can give me an answer without it being binding in any way 😔
well I've just answered my question
thanks guys, sorry for interrupting your very interesting convo xd
no it's not x
flexing ur new view
it was Snowing in the state i live in yesterday, i don't like this 😭
this new place is really worth the money it's costing me lmao
i finally feel at peace with myself
in my own space 
!migrate (for me)
Learn about the process of migrating from another permission plugin.
whats the placeholder for group color?
!placeholders
Display data such as user prefixes and groups from LuckPerms in other plugins.
you probs want "%luckperms_prefix%"
that isnt a function
oh
luckperms makes no assumptions, so it has no way of knowing what the colour is vs the whole prefix
thats the point of prefixes
Vault has a color prefix
you can use meta keys if you want.
ye
the typo that started it all 
#support-1 message this is the most upset luck has ever got in public
Slight frustration
😃
the time where luck actually did all the support
What do you think about adding tickets here so that support team and those with higher ranks could answer to every question that people ask? Cuz support channels get "spammed" and others problems are not visible 😆
Same with my problem lmao
That wouldn't work with our discord.
Why not?
allow me to introduce myself
If everyone used tickets to communicate with staff, people with a good amount of knowledge won't see these questions. This would also mean we would see less activity from non-staff in terms of answering questions but we need that to eventually pick someone as potential helper. So this would bring the staff hiring to a prompt stop.
Besides, regardless of us being staff, not all of us know everything. I for example suck with bungee stuff since I've never used luckperms bungee. Maybe someone non-staff from the community would be able to answer that, but then again, can't see the ticket. Apart from all that, staff are in no way obligated to help people, it's totally voluntary. Making tickets would push staff into the 'have to'.
!bungeecheck
Please double check that:
1. BungeeCord config.yml has ip_forward and online_mode set to true
2. All backend servers' spigot.yml has bungeecord set to true
3. All backend servers' server.properties have online-mode set to false
hello how can i make all people from the server to get the default rank?
you don't need to - everyone gets it
have them join the server. Done. E z
it's a core part of how LP works
They should by default (no pun intended)
lol
That’d be why it’s called default 
they dont
then luckperms isn't working properly and you should look at your startup log
i have given default some perms and they can not have them
LuckPerms provides a verbose command to help you find out what permissions a command/plugin is checking.
i put essential shop perms
What permission did you give
hi guys how can I roles automatically give roles on my server
The default role is given automatically when someone joins for the first time
and if I want to give another role that is not the default, example the role of member
!default
LuckPerms provides a group that every player is added to upon joining the server, called default. You can use multiple methods to change the default group or change the name of it.
anyone here knows be login plugin for bungeecord??
also luckperms work nice when mysql is present xd
xd
authme
There is no reason to use a login plugin if you setup your bungee properly.
i was thinking bungeeauth

offline mode bad
Aber ❤️ good
evident more good
tell them to buy the game. e z
lol
Have fun with UUID issues / hackers / limited support from developers and un supported plugins
One off-topic question. Is good to have 2-3 BungeeCord instance on the same machine using round robin and RedisBungee?
it's not automatically bad? depends on the circumstances but if you need several proxies, you should know the answer haha
Did you by any chance worked with Round Robin DNS before and also do I need to have more than 1 IP in order to use RR DNS?
haven't worked with it, sorry :(
the only places I know where you might find someone who has is paperMC's #general channel and syscraft's #minecraft channel
both servers should be listed in the pins
(i know i know, but im being honest!)
i just tried clicking that general link like 10 times, not realizing that it was for here
discord loves to autocomplete
Thank you so much mate
anyytime
Soooo are you gonna do it?^^
do what? 🤔
Cmi gradient formatting support
did that a long time ago, but then users decided to use the "great" feature of end & start in one as {#rrggbb<>}, which then they kept asking me to add because I did not add support for that initially
Lol
with these "baby steps" I ended up adding support for every known format & gradient in existence, because if 2 plugins mismatch obviously I am the one asked to resolve it
Honestly. I do not get why cmi does the gradient format with multiple breaks in it with <>. I am making a chat plugin myself rn just to get some experience yk, learn java and stuff, and uhhh I hate hex calculation so badly that I refuse to ever attempting to do that
Who even had this idea...
once I wrote the format & gradient engine adding support for more formats is rather easy, but still annoying to maintain and all
You gotta know here that math and I are on a lifelong war
So thats why. Lol
I'm good with btlp and normal hex and gradients that aren't overcomplicated :3
AWS good for minecraft server?
No
Use an actual host if available
AWS works but its not designed to be used with MC
Something like #host-a-server or similar will much better suit your usecase most likely
I see
works just fine if you know how to use aws and what your server needs are
Coz AWS security is nice
!chat
LuckPerms only acts as the source for prefixes / suffixes, it doesn't actually apply them. You need an appropriately configured chat/tablist formatting plugin for them to be displayed. If the values appear correctly when you run /lp user <user> info, LuckPerms is doing its job!
where are implementation tests
wat
I'm working on writing a generic implementation of LuckPerms, so it can be used outside of Minecraft for things such as integrating an editor in a server admin panel. How would I run tests to ensure that I have fully implemented the API?
there are no automatic tests like that, iirc there are only a few for things like the filtering for bulkupdate
alright
I'm discovering that there really isn't much for platform-specific code, very nice
though i guess that does make sense since it is handling mostly non-minecraft data and supports multiple platforms
beat me to it!
That was quick lol
👀
So you use essentials chat right?
Yes
Can you send a picture of /plugins please as well as what your chat format looks like in the essentials config?
I'm asking for plugins bc i know some plugins have a chat module where you wouldnt expect it
Ok, I have an idea. You see, there is a factions plugin called saber factions, which i battled in the past with a similar issue. It makes sense if your factions plugin has a chat formatter as well, perhaps to make faction channel possible. That's my guess here. You can just test it by disabling it and see if essentials takes over with correct prefixes
Alright, so it would be in SaberFacitons Config i would guess
cause i agree ther has to be some kind of plugin messing with it
The prefix is producing prefixes i have never even tried making
Whichever plugin is your main factions plugin, maybe even the extension one
God knows what all they got lol
Hah yeah true, lemme see if i can locate something in SaberFactions
You dont have saberfactions
the list of yours says 'factions'
i just realised... we had it earlier, but my mate probably switched it up
Saberf was just me telling you that i know fac plugins often come with a chat formatter
Ah lol yea
I hate saberfac - it doubles the chat if you got another chat plugin and the setting is hidden af
so saber is just forcing itself on top it seems like
Something like that ye
do you have a ''spesific'' word i can look for to locate what setting i need to disable?
'chat' 'format' is what i would look for. Maybe even 'prefix' or 'message'
So thats prefix
''Chat''
Can't seem to find the actuall code to this damn plugin
Yes
and whenever i change to Mod
It generates a different random one
That i have in no way ever made
I have never encountered this problem before lol
one min, lemme try
This would be consistent with it {7} is 3 characters
Should i try changing it?
Try to set the chatTagEnabled to false first
That should disable factions tags as whole
One step closer lol
Now we need to find where it adds those brackets and see what settings correspond to it
Look what happens when i make one called owner, like if there is a different plugin recognizing the tag
The fuck is this xD
This has been happening all along, but didnt think about it this way before now
THATW AHT IM SAYING xD
Where does there prefixes, suffixes AND nicks come from
Liks i said, lets make sure it actually is the factions plugin, also to see if theres a third one having its fingers in here
Just disable it, restart and see what happens
Yea try it. What worse things could happen at this point
true
😂
wait how do i disable it, like just delete it lol
You can, or you just edit the file extention
Make factions.jar into factions.jarX and it will be disabled when you restart
Wait what
yeah, what the fakk does that mean
Those are all .jar files brother
but the plugin works just fine, not a single problem
i dont understand anything anymore
There is three, one is missing lol
Ill just try those 2
Nope factionsplugin still works xd
the main plugin is hiding bro what is this
There is someone in this server trying to steal steam accounts
Might be a good idea to ban them before something happens
The blue thing was an image with a fake ticket thingy he edited it then blocked me
I was just trying to figure out the smallest possible font for text documents and then this happens... banned now
man, I swear the LP Discord gets so many of those lol
Delete the picture as someone stupid is going to put it into a search engine
What level is best to find diamonds in 1.17? I'm currently at Y:11 but really finding it hard to find them.😕
put what into the search engine?
The scam link
that isnt a scam link..? thats official steam lol
any way to export groups from the .db file?
!export
Sorry! I do not understand the command export
Type !help for a list of commands
:O
!switch
If you wish to change your storage type (e.g. to YAML or MySQL) you may need to follow these instructions to ensure your groups and permissions are migrated to the new storage type.
:P
Thanks a lot, found my old db file
Wait sorry i meant to say import**
I have a db file from my old server where there are groups and permissions set up, i would like to import it to my new server but there doesnt seem to be a way to do that
you should really use google 😄
https://luckperms.net/wiki/General-Commands#lp-import-filecode---upload---replace "luckperms import"
i did but duckduckgo as a search engine found next to nothing
completely out of context
okie :D
when i searched "import db into groups luckperms" or stuff in this sense
your best bet is always the wiki
its mostly because of Slovakian Indexing of internet 
Yes now i know, before i usually found my answers on spigot
Anyone that can help???
How exactly?
Are you self hosting?
Wait, what’re you doing when you get the message
importing the .db file
What command
/lp import --upload luckperms-h2.mv.db
then could you kindly tell me the command?
https://luckperms.net/wiki/General-Commands#lp-import-filecode---upload---replace
Both of the commands you need are right here. Use the export one, then the import one. The code is displayed in your chat when you export.
i thought i was importing something not exporting but sure thanks 🙂
You need to export to import ?
Im trying to import the groups and permissions from an old .db file
Yes, you need to export on the server with that file, and then import on a new one.
i dont have the server i just have the files of it
i imported the files to the new ftp database
but how do i export the groups out of the .db file so i can use them on the new server
Are you switching to a remote database, from h2 ?
No,lemme try to explain again
Old server with Luckperms File -> Trying to make it work on the new server
I did
pretty sure this covers everything you need
I put the file in the /plugins folder, it does literally nothing
I dont have the old server
just the file of LuckPerms
have you ran the import command on the new server?
Yes
what command did you run + ss your plugins directory on your new server
dont include the --upload
ah, " If a file, it must be a JSON GZIP type file`
Makes no sense?? The Permissions and groups are in the .db file
What am i supposed to do to import them from it to make them functional
I already told you once. You need to export to import
switch back to h2, export, switch to whatever you’re doing now, and import
I already told you twice, i only have the files not the actual server from where the luckperms files are from
I cant export something without being able to export it
So put it in your luckperms folder
I did
And switch to h2
Evidently not
the GROUPS and Permissions are stored in the .db file correct?
Yes
How do i make them accesible ?
I feel like I’m going in circles.
I imported the 2 files from a different FTP
You cannot import a .db file
You have to export it into a format that luckperms can import.
I dont understand why luckperms uses .db files and not .yml files
So there is no way of extracting the data from those files without me having access to the old server
Because yaml is disgusting and breaks at any minor inconvenience to it.
I’ve told you how.
Like 3 times
You told me to export it first
But the export command gives a error
^
Is your storage method set to H2
What
Works now thanks for wasting your time
What 😂 👍
Yeah no idea how that’d change anything. Glad to assist tho!
We now have a different problem 
Even tho the web editor only shows one prefix
For the group and for me
I never had problems with these in 1.16.4
could you be of any help this time ? @scarlet light
Hey Soul! Please don't tag helpful/staff members directly.
!chat
LuckPerms only acts as the source for prefixes / suffixes, it doesn't actually apply them. You need an appropriately configured chat/tablist formatting plugin for them to be displayed. If the values appear correctly when you run /lp user <user> info, LuckPerms is doing its job!
although i have never seen that many prefixes ever whilst giving mc support
Looks like regular double prefixes, and a displayname
[world] is likely multiverse
problem is there is no multiverse
installed
And there is also no displayname
And no double prefixes
What chat manager are you using
None,if you mean the formatting then EssentialsChat
Look for add-prefix-suffix and remove the # in the essentialsx config.
What is your current chat format in the essx config
Its the same as in the old server where i got the luckperms config
so i dont think thats the problem with it
okay, then see if the prefix shows up correctly in /lp user (your mc name) info
Then let’s go right back up to what I said before.
Look for add-prefix-suffix and remove the # in the essentialsx config.
What is your current chat format in the essx config?
no it says false
remove the #
it is
removed
What ive realized
is that it shows it in the following order
in chat
: [g] [world] - even tho there is no multiverse installed then -> [suffix] [group] [prefix] (name of player) : {message}
Lemme just delete EssentialsChat
that means that your chat wont be formatted at all unless you have another plugin formatting chat
yes
i know, im gonna be using a different one
for now
still doing this https://i.imgur.com/TwFtDeh.jpeg
i disabled all formatting in essentialschat
Well that means you have another plugin touching chat
Do you happen to have DiscordSRV?
nope i removed it a long time ago
oh my fucking god
there is no way
give me a sec
If i really just spent 2 hours fixing something that i overlooked imma commit die
brb gonna go jump out of my balcon 🥲
Grab a parachute
I forgot i didnt remove TownyChat
and thats what fucked it up
Yes
I forgot that it had its own stupid ass formatting of chat
I mean it’s called townychat I would expect it to format chat lol
Well yes of course, i meant i forgot that i even added it since it was in a zip with towny
might as well delete towny completely
@smoky bone
yes
!placeholders
Display data such as user prefixes and groups from LuckPerms in other plugins.
👀
👀
This server is for making you learn and understand luckperms so you don't have to go to here with every issue
To start with luckperms you can see these
!usage
Here's a guide to help users understand and use LuckPerms for the first time.
!tutorial
If you would like a video tutorial for setting up LuckPerms, try:
https://www.youtube.com/watch?v=l4anE2wOLdc
@gilded nova
hi
Hello
Hey
Is there anyone that could help with client packets for an npc plugin pls 😄
!help
!advanced
!api
!argumentbased
!ask
!bulkupdate
!bungee
!bungeecheck
!cauldron
!colours
!commandequivalents
!commands
!config
!context
!cookbook
!default
!downloads
!editor
!editorsafety
!errors
!essentials
!extensions
!extracontexts
!faq
!formatting
!hack
!helpchat
!inheritance
!install
!libsdir
!locale
!meta
!migration
!notworking
!nowildcard
!pasteit
!permissions
!placeholders
!selfhosting
!stacking
!storage
!suggestions
!switchstorage
!sync
!testingperms
!tracks
!translationprogress
!translations
!tutorial
!upgrade
!usage
!userinfo
!verbose
!version
!weight
!whyluckperms
!wiki
@gilded nova @rigid widget

@onyx mason
Hey plenguin! Please don't tag helpful/staff members directly.
Look at you go!
Thought I'd ask in here, since you guys are likely to have a good answer. I'm currently working on extending a permission system for the server software that I'm working on to support getting all of the available permissions for a subject. The way our current permission system works is heavily inspired by Velocity's, and it works something like this:
Subjectis an interface that is implemented by objects with permissions, such as entities and the console.PermissionFunctionis a function that is designed to allow permission providers such as LuckPerms to determine the setting for a given permissionPermissionProvideris a provider that providesPermissionFunctions based on given subjects
Now, what I'm thinking is to add an extra function to PermissionFunction called collectPermissions, which takes a subject, and returns a map of permission nodes (strings) to their resulting values (TriStates, either TRUE, FALSE, or NOT_SET), then I want to have a permissions field on the subject that, when invoked, will call collectPermissions to provide the current permissions applicable to the subject.
What I want to know is if this is a good way for me to implement this, since the number one thing that concerns me at the moment is the performance implications associated with collecting to a map on every invocation, though these may be minimised by caching the map and updating it on the provider's side.
Or am I going totally off the rails and this is a terrible idea lol
though then there is also the question of use cases
Any way you can send an example?
sure can do
public interface Subject {
public val permissions: Map<String, TriState>
public fun getPermissionValue(permission: String): TriState
public fun hasPermission(permission: String): Boolean = getPermissionValue(permission) == TriState.TRUE
}
```the new subject
```kotlin
public fun interface PermissionFunction {
public operator fun get(permission: String): TriState
public fun collectPermissions(subject: Subject): Map<String, TriState> = emptyMap()
}
```the new permission function
then a basic implementation of that subject, let's say console, may look like this: ```kotlin
public class Console(private val permissionFunction: PermissionFunction) : Subject {
override val permissions: Map<String, TriState>
get() = permissionFunction.collectPermissions(this)
override fun getPermissionValue(permission: String): TriState = permissionFunction.get(permission)
}
then a provider may implement that permission function, and use it to determine whether a subject has a given permission, as well as collecting all of the permissions that the subject has, irrespective of contexts (not sure whether I'll implement contexts yet)
something like that
hello, i just noticed that luckperms doesn't use the uuid type in a postgres database, is this intended?
I would say yeah, it is
has this any performance benefit or would it be just more (maybe unnecessary) work to implement?
Keep it minimal would be my suggestion
(As in, don’t offer that functionality, it’s not really needed)
alright, thanks 🙂
hi
hi
wuuwuwuwu

wtf
wTf?!?!
❤️ ❤️ ❤️
what happenign here
oh I see
actively petitioning to get my “member” role removed
sexism v2.0
no no no no no no no and no
I could ban you. that is the only way. dyno will just give it back again
@halcyon rain DM advertising
just remove it
send a screenshot?
i can't lol
im sure we could beg turbo or luck

love the unfounded accusations
thanks, they're gone
lame :(
How can I set the worldborder in the nether without it affecting the worldborder in the overworld?
does anyone know if plugins are supported for 1.18 snapshots
@viral haven
@gilded nova
ok
@gilded nova 
I like the people who told me in my tickets
1.75% is not a lot, I don't know what you're expecting to hear here
and after 48h and 2 updates, now luckperms is using 0.4% lol
Really a great dev ! 🙂
I mean, it is not a lot lmao, that is not to say it can't be better but it's not a lot really
But yeah Luck did an amazing job 
Indeed 
1.75% for a single plugin it's quite high
even if this plugin does a lot of things.
As I was sure it could be optimised (or that my config had issues) because other server consume less than 1% and I was at ~2%
for worldguard I don't complain because it's the same for all server, so I know it can't really be more optimised (or they would need a lot of work to optimise everything)
and I also contacted essentialsX so maybe they can optimise their permission hook if Luck was right
Luck absolutely blew all expectations out of the water by custom-writing a fundamental concept in the plugin for performance. Stellar dev
TRUE
can you run /ess dump config and send the link generated.
oh, you're on an old build of EssentialsX
!paste you could manually copy/paste your config, or update.
Seeing a paste of the problem makes everything so much easier! Use https://paste.lucko.me/ for easy pasting!
Pastebin any relevant segments of the console log. If it's a startup error, this includes the entire startup log!
Pastebin the entire LuckPerms config file (passwords removed) as well as any other relevant files!
Hey Just! Please don't tag helpful/staff members directly.
the G isn't random. it's literally in your Chat format.
what line is that on lmaoo
735
by reload, you mean /ess reload, right?

I am kind of lost for where to go for help. But is anyone here familiar with votifier? I have it running in a docker container, which is keeps attempting to listen over IPv6. The issue is ipv6 is disabled on the host.
your host might be better to help with that
i was told i can get a fix for this error here : lp a database error occurred whilst loading permissions data. Please try again later. If you are a server admin please check the console for any errors. where do i go for help on it
!cauldron
Installing LuckPerms on a Cauldron, Thermos and any other Forge + Bukkit server software may require additional steps.
!@steady tangle
Sorry! I do not understand the command 265228797970743296
Type !help for a list of commands
Sorry! I do not understand the command 412070526081695744271510274475819008347959633518002177265228797970743296ttuwu803599909432590347
Type !help for a list of commands
!errors
Here's a page with some common storage system errors.
@gilded nova
Hello
Hi
!commands
Find all of the available LuckPerms commands on the wiki.
Okay so uh i did /lp group default permission set essentials.sell.bulk and it still doesn't let members do the command
!verbose, use verbose to check if you have set the permission correctly
LuckPerms provides a verbose command to help you find out what permissions a command/plugin is checking.
!colors
@woeful sonnet @steady tangle @gilded nova xoxoxoxoxo uwu
😭

uwuwuwu
1sure sure sure
🙄🙄🙄🙄🙄🙄🙄🙄🙄
wtf
?
i dont exist in this server
get me a mocha plz
seems the issue is just with votifier. It refuses to resolve to anything but the ipv6 address.
Even when defined as 0.0.0.0
It's the only one ignoring the defined address & selecting all ipv6 addresses.
can someone please help me? I try to give default permission to use kits on the KitPvP plugin.
And?
Hiiiiii!!!!!!!!!!!!!!!!!!!!!
Hi
Ok
!commands
Find all of the available LuckPerms commands on the wiki.
@teal sun @steel pelican
Hey ANutley! Please don't tag helpful/staff members directly.
Ty
Np :)
@boreal sluice
[LuckPerms] Exception occurred whilst loading data for 9b8042a3-0f99-3841-862c-93a58755d35e - Lonaldeujava.util.concurrent.CompletionException: java.sql.SQLTransientConnectionException: luckperms-hikari - Connection is not available, request timed out after 5012ms.
What should I do if I got this problem?
Ops my bad. Wrong channel
When I prefix a range, it does not show me in the chat, how do I solve it?
When I prefix a range, it does not show me in the chat, how do I solve it?
When I prefix a range, it does not show me in the chat, how do I solve it?
When I prefix a range, it does not show me in the chat, how do I solve it?
When I prefix a range, it does not show me in the chat, how do I solve it?
When I prefix a range, it does not show me in the chat, how do I solve it?
When I prefix a range, it does not show me in the chat, how do I solve it?
By not doing that
Hey peeps, any idea wich plugin displays my Prefix in the Nametag?
TAB or NTE
nte
hi
@woeful willow hi can someone help me because i want to prem a group for a tag like do?
A
is here someone german who can help me with lp?
whats your problem?
hi can you help me configure luckprems???
please be more specific, what exactly do you need help with
to give permission to the /fly command for the vip tag
/lp group <group name> permission set <whatever the permission for your fly command is>
!usage
Here's a guide to help users understand and use LuckPerms for the first time.
should help you get started with luckperms
if you dont know what the permission for /fly is use verbose
!verbose
LuckPerms provides a verbose command to help you find out what permissions a command/plugin is checking.
i need help with the prefix
wdym no lol
what exactly do you need help with, setting it, displaying it, please be more specific
no
what exactly do you need help with, setting it, displaying it, please be more specific
setting it so when i am doing /lp group mod meta addprefix 100 "&1Mod" it say that it already got it but when i give me the rank im still a player
huh
!chat
LuckPerms only acts as the source for prefixes / suffixes, it doesn't actually apply them. You need an appropriately configured chat/tablist formatting plugin for them to be displayed. If the values appear correctly when you run /lp user <user> info, LuckPerms is doing its job!
then download a chat plugin and vault
[Prefix] ANutley [Suffix] > Hi!
Does anyone know where the money format is changed? I forgot xd
that looks like a scoreboard, so it'd be in whatever placeholderapi expansion you're using. if it's vault, there's a formatted one.
how does an economy get that bad though? 
edit: nvm, that may not be bad.
He's rich, Dubai money
I want to change it, example to get 1Q or 1T not with all 0's xd
Yeah, there's a formatted vault placeholder. iirc it's %vault_eco_balance_formatted% but check the ecloud page to be sure.
I already found it, thanks for the help ❤️
what better version of luckyperms for 1.16.5?
You can download LuckPerms for Bukkit/Spigot/Paper, BungeeCord, Sponge, Fabric, Nukkit and Velocity.
Unless you mean what server software to use? but that's up to you and what type of server you wanna run
idk about luckyperms but for luckperms, you should always use the latest
So is there a solution to nuvotifier preferencing ipv6 over ipv4? Still doesn't work, & it's the only plugin not behaving in container...
have you tried asking in MOSS? that's where the official support for nuvotifier is if i remember correctly
it should be using whatever the main connection is for that container 
It should, but [22:32:24 INFO]: [Votifier] Votifier enabled on socket /[0:0:0:0:0:0:0:0%0]:8192.
i don't know if it is anymore. 
there's a support-archived for the category.
the discussion channel is still open though.
oh
Asked there, but still acting weird. It started this behavior after an update from my server's panel to manage containers.
Can someone help me with an issue I'm having with a new server? I can't seem to see colored nicknames in chat and I'm not sure why. I see them in tab but not when sending messages.
you probably need a chat plugin
seems they stopped offering support
specifically they ignored someone who had my same issue before canceling support
happens, thats why there are so many of the same/similar plugins/mods. When people stop offering support, someone else picks up the code or makes a new one
well i found the solution finally
My assumption was incorrect, it was just the socket's name. Turns out I just needed to forward the packets to the correct address. Apparently my configurations got wiped.
hey
hey
I switched from the GroupManager plugin to the LuckPerms plugin.
Formerly, the default group was "oyuncu".
I guess you would like to give the group it's name back?
You can give the default group a prefix like any other, or add a displayname if that is what you need https://luckperms.net/wiki/Group-Commands#lp-group-group-setdisplayname-name
Is there no setting to assign newcomers to the game to the "oyuncu" group?
So I can't make the default group name an oyuncu?
No, luckperms will always give new players the default group. This is why you can add a displayname, so that players will never see the name 'default'. Nobody will know.
You cannot make a different group and have lp give that group instead of default. But then again, as i said, when using a displayname, 'default' will never show up.
My old players are still in the "oyuncu" group, how can I set them to the default group?
Collectively ?
You can fix that with bulk editing. https://luckperms.net/wiki/Bulk-Editing
Your english is perfectly fine. The first example from that page should do the trick for you
The 4th is an option too, since they will get default again when joining.
That works too
/lp bulkupdate all update permission group.default "permission == group.oyuncu"
right ?
That should work, yes. To be extra sure you can do this before /lp export backup
That command will make sure you have a backup of how it is now. Then do the bulk edit and see if that did what you wanted
yes bro thx ❤️
^_^
^this
Yep
XD
Enjoy! Hahaha
slow down >:(
Don't leash his happiness <.< no fair lol
Larry 
hello!
@twin warren Bruh
Hey Gangmaster! Please don't tag helpful/staff members directly.
I don't think you got the correct 'luck' here because this
idk i just finded this server
Anyway, we would appreciate if you still do not just tag staff members
ok
I need help when I rank permissions and rank a player it tells me insufficient permissions
😦
Could you please send a picture of the outcome of /plugins
You have group manager installed. Group manager is a permission plugin, and luckperms is also a permissions plugin. You cannot have both
!migration if you have a lot set up in group manager, you can import stuff via the migrator from luckperms
Learn about the process of migrating from another permission plugin.
Now the permissions should work.
ok
It doesn't work
If I am late in answering, it is because I am with a translator, they are Spanish
No problem. Let's try something else then. In console write lp verbose command <your name> /<command>
While not op, and in the miembro group.








