#issues

1 messages ยท Page 12 of 1

lilac dewBOT
#

If one sets a permission for a worldguard region to false, the permission will still be executed when using the forbidden command in the region. Lp verbose shows true even though the permission for the region is set to false.

How to reproduce:

  1. Create a worldguard region.
  2. lp group permission set false wg-region=test (I tested it with permissions from different plugins)
  3. Execute the command as player in the correct group while lp verbose on & !worldguard is running -> lp ve...
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

Please add an option to set parent temp groups to run consecutively based on group tracks.

Assume a track includes GroupA > GroupB, GroupC
The user gets parent addtemp GroupC for 20 days
The user then gets parent addtemp GroupB for 10 days

Currently GroupB will never be noticed as it's timer will be expired before GroupC (has priority) has expired.

Proposed behaviour

Adding a consecutive option would effectively pause the GroupB from being effective until Grou...

lilac dewBOT
lilac dewBOT
#

I don't see how this could be Luckperm's fault. Permission checks are handled on the other plugins end. If I had to guess, Towny is caching the permission results and only rechecking them after a relog.

Just to rule out LP, try turning on verbose with /lp verbose on <yourIGN> & towny, then trying the affected commands before a relog. If you could send a screenshot of that, that would be ideal.

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

No, my server isn't in online mode and I wasn't even aware there could be multiple players with the same and different cased usernames (although that is another very important reason to implement this suggestion)

My only issue originally was just that it's annoying to go through that extra step of getting the getting the real username when I do need it, especially when I didn't used to have to.

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

After creating a database MySQL in pterodactyl and putting the information in the configuration file, the plugin gives a timeout error
`[14:10:29 ERROR] [LuckPerms]: Failed to init storage implementation
[14:10:29 ERROR]: java.sql.SQLTransientConnectionException: luckperms-hikari - Connection is not available, request timed out after 5000ms.
[14:10:29 ERROR]: at me.lucko.luckperms.lib.hikari.pool.HikariPool.createTimeoutException(HikariPool.java:695)
[14:10:29 ERROR]: at me.lucko.luckper...

lilac dewBOT
#

Alright so I tested it on my alt and I did have issues with commands, but not as many as most players are reporting to me.

I am also getting reports of the same issues, but different systems on my server. All minor systems like a cosmetic effect got unlocked and they had to relog to get it. Those aren't connected to the towny plugin in any way.

BeardedBen issued server command: /t add AlpacaSpice
[com.palmergames.bukkit.towny.Towny] [Town Msg] StaffRoom: BeardedBen invited AlpacaSpi...

lilac dewBOT
#

Description

Luckperms fails to load on nukkit 1.0.

java.lang.RuntimeException: java.lang.NoSuchMethodError: 'int com.google.gson.JsonObject.size()'
at cn.nukkit.plugin.PluginManager.enablePlugin(PluginManager.java:440) [nukkit.jar:?]
at cn.nukkit.Server.enablePlugin(Server.java:746) [nukkit.jar:?]
at cn.nukkit.Server.enablePlugins(Server.java:735) [nukkit.jar:?]
at cn.nukkit.Server.(Server.java:496) [nukkit.jar:?]
at cn.nukkit.Nukkit.main(Nukkit.java:112) [nukkit.jar...
lilac dewBOT
#

@Turbotailz Yes, I don't rely on LP to get the user's proper username its just nice to have so I don't have to go through the extra step of getting it when I do need it.

And one of the most common examples of when it matters are if there are other plugins which use case sensitive usernames to retrieve player data easily for a command sender providing a username. Previously I could just search for like all players in a certain group, get their exact usernames from LP and feed it into anothe...

lilac dewBOT
lilac dewBOT
#

Description

Please change the default value of use-vault-server to false ;-;
https://github.com/lucko/LuckPerms/blob/5e48224c78401f3ac25fa555ba63140f5a56e958/common/src/main/java/me/lucko/luckperms/common/config/ConfigKeys.java#L448-L451

Proposed behaviour

In the config file for the bukkit build, the pre-defined value is false and the context the plugin makes through Vault queries takes the server context from the server setting. If, for some reason, the setting isn'...

lilac dewBOT
lilac dewBOT
#

Hello,

I believe you guys should implement a temporary permission system for users. To further explain, I'll lay out an example of the issues I have, and why I want this.

During the duration of a map, I have upgrade systems that give my players permissions to do certain things, I will generally set this permission in the context of that specific server. This works fine, however, at the end of the map I want to clear these permissions. The problem here is that, there are some permissions...

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

Add confimation for importing new data for not an empty database with a notification that old data will be deleted before importing new data.
We recently decided to switch from the h2 storage type to mongodb. To do this , we performed data export and then, when importing to the shared database, we realized that importing a backup, the old data is deleted. Thus, our servers have suffered a lot due to the lack of notification about the loss of old data.

Proposed behavio...

#

Well I do agree with the confirm command, and the suggestion is probably possible as it already done for bulk edit.

But if you have read what the command does before running... you won't have face this issue lol. See: https://github.com/lucko/LuckPerms/wiki/Command-Usage:-General#lp-import-filecode---upload---merge. It clearly says "the existing permissions setup will be overriden and replaced." and if you want to merge instead, use ...

lilac dewBOT
#

Pterodactyl is a constant issue for people because they don't understand how it works, so here is a sum up

  1. Pterodactyl uses docker form gameservers, that allows it to easily create and destroy gameservers without complicated setups
  2. If you want to use MySQL in Pterodactyl, you cannot use 127.0.0.1, because each gameserver has its own internal IP adress and is not directly connected to the system. You can either use 172.18.0.1 ( default IP when using Pterodactyl ) or ``172.17.0.1`...
lilac dewBOT
#

Does not work at all right now:

[16:45:55 ERROR] [luckperms]: Failed to init storage implementation
[16:45:55 ERROR]: java.sql.SQLTransientConnectionException: luckperms-hikari - Connection is not available, request timed out after 5005ms.
[16:45:55 ERROR]: 	at me.lucko.luckperms.lib.hikari.pool.HikariPool.createTimeoutException(HikariPool.java:695)
[16:45:55 ERROR]: 	at me.lucko.luckperms.lib.hikari.pool.HikariPool.getConnection(HikariPool.java:197)
[16:45:55 ERROR]: 	at me.lucko.l...
lilac dewBOT
#

Right now I solved this using isolated classloader, but now I get another issue with less information this time.

[17:07:39 ERROR]: java.util.concurrent.CompletionException: java.sql.SQLTransientConnectionException: luckperms-hikari - Connection is not available, request timed out after 5000ms.
[17:07:39 ERROR]: 	at me.lucko.luckperms.common.storage.Storage.lambda$makeFuture$1(Storage.java:104)
[17:07:39 ERROR]: 	at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(Comple...
lilac dewBOT
#

Description

I have a second server that has a symbolic link of the folder yaml-storage for just permissions, that was fixed in 5.1.93, the slight issue is the only way to get the permissions to update on this second server once they are changed on the main server, is to run /lp sync Could we please have FileWatcher watch symbolic links too.

Expected behavior

For FileWatcher to automatically pick up changes to symbolic link folders.

Environment details

  • Ser...
lilac dewBOT
lilac dewBOT
#

Description

when you activate the fastlogin premiumUuid option, when trying to enter the server, luckperms sends an error message to the console and does not let me enter the server.

The message is this:
(LP) doesn't have data pre-loaded, they have never been processed during pre-login in this session. - denying login.
Permissions data for your user was not loaded during the pre-login stage - unable to continue. Please try again later. If you are a server admin, please check...

lilac dewBOT
#

Description

Have the ability to remove groups from a specific user with a specific meta tag.

So say a user has groups with the meta tag 'Visual' once running this it'll remove all the groups from the specific user with the meta tag 'visual'.

ALTERNATIVE

Allow specific bulkupdates to specified users.

Proposed behaviour

The feature would work by scanning the current groups the specified user has, and checks to see if any have the meta tag that's specified, after doing s...

lilac dewBOT
#

Description

when I addtemp parent exceed 24 days. the display thou papi will wrong.

ๅœ–็‰‡

Reproduction steps

/lp user asdf80730 parent addtemp vip1 24d
/papi parse asdf80730 %luckperms_group_expiry_time_vip1%
/lp user asdf80730 parent addtemp vip1 1d
/papi parse asdf80730 %luckperms_group_expiry_time_vip1%

  1. Open the config.yml file and set example to true.
  2. R...
lilac dewBOT
lilac dewBOT
#

Description

CONSOLE executed command: /lpb editor

SEVERE ERROR

Reproduction steps

tried to execute editor from ingame and from console, same error

  1. Open the config.yml file and set example to true.
  2. Restart the server
  3. Run /lp user example permission set x from the console
  4. See error

Expected behaviour

gives link, nope!

Environment details

running byngeecord with 2x paperspigot and 1x spigot servers 1.16.2

  • LuckPerms v...
lilac dewBOT
#

LuckPerms version: `latest dev experimental build'

That tells us nothing. Luckperms doesn't have dev or experimental builds. In the future, please tell us the actual version number (/ver luckperms or /lp info)

Either way, your enviroment is irrelevent. The error is your server not being able to contact https://bytebin.lucko.me, the backend service that powers the various luckperms web editors. Check your firewall etc.

lilac dewBOT
#

ok... i updated version.. told u i was on latest dev build... i didnt have it at the time... so how do i access firewall? i have installed bungeeguard the only thing besides ipforward i was gonna add whitelist only to the proxy also, but i dont have a firewall, im using apex hosting, i would use a firewall if i could cause its actualy the best way to setup a bungeecord server so no one can access the buckkit and paper/spigot servers....

regardless....

so its a contact/response issue......

lilac dewBOT
#

well i was able to work around and change the wildcard prefix .... now i have plugin issues with the specific plugin i was tryin to make work.... i will close this issue considering that its not a lucky perms issue now, but!!!! wildcards in names are a issue... id suggest being able to use " " quotes in namespace for weird players who decide to choose random names... (or plugins that autoset)

lilac dewBOT
#

Description

When setting permissions luckperms is not detecting permissions from plugins in each server.

Reproduction steps

none

Expected behaviour

permissions are updated in all bungeecord servers

Environment details

LuckPerms Bungeecord v5.1.98

  • Server type/version: ExampleSpigot running version 1.12.2 build ???
  • LuckPerms version: v???

Any other relevant details

lilac dewBOT
lilac dewBOT
#

Description

If someone has a Permission, but then gets it again for a short time by being assigned to a group for a short time, and then the group is removed from him after that time, then he no longer has the permission.

Proposed behaviour

An option in the Config. If you set it to "true" and then someone has a permission and gets it again by being assigned to a group, then he still have it after the time has elapsed.

If the option is set to "false", everything is as...

lilac dewBOT
#

Description

On LuckPerms.jar (5.1.98) i keep getting [15:02:15 INFO]: [LuckPerms] Failed to load NMS for this server version: version v1_16_2 PLEASE CONTACT AUTHOR for some reason (PaperSpigot 1.16.2)

Proposed behaviour

This should probably be fixed and I suggest i hope it gets fixed eventually and if not I will just use spigot page one or wait for new update

lilac dewBOT
lilac dewBOT
#

Description

Empty DSRV contexts throw errors when calculating potential contexts for editor session

Reproduction steps

  1. Install LP and DSRV
  2. run /lp editor
  3. See error: https://paste.gg/p/anonymous/7d9ca3d66e2d474898b7f56ee284f73e

Expected behaviour

No empty contexts, or, if present, no error.

Environment details

Precise details unknown, sadly.

Any other relevant details

Reported by a user. Perhaps a decent fix is to hav...

lilac dewBOT
#

Description

We've a server running on Spigot 1.16.1. In the course of the 1.16.2 update we wanted to switch to paper, but LuckPerms seems not to work. In console, it still shows the correct permissions but they are not "synced" to the players. If I delete the LuckPerms folder and let it regenerate, I get the message that the user can't be found even I'm online. In the log line 1702 you can see the message. Also, there are no error shown in console.

Reproduction steps

Un...

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

I think it would be a great idea to add Time Ranks to Luckperms, you know Default > Member is an Hour of game play.

I belive if you did that more people will download your plugin due to the fact everyone is looking for timed ranks.

Im not sure how hard it will be to add. but by adding a clock or timer for how long players have been on since the receive the Default Rank, cause as soon as they join the server they will be Default. I have no idea how to code. but i do know people and what...

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

If someone has a Permission, but then gets it again for a certain amount of time by being parented to a group for a certain amount of time, and then he is de-parented the group is from him after that time, then he no longer has the permission, because the plugin does not remember the permissions that the player had before he was parented to the group for this certain amount of time.

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Easy solution would be to just store both the lowercased name and actual cased name and use the lowercase one for lookups and regular one for displaying but I can understand if that's too much work if only one person is asking for it :(

Isn't it easier having every username in the same case instead of having to look players up with weird combinations of both upper and lower case?
Usernames aren't generally case sensitive anyway so I don't understand what the issue is.

lilac dewBOT
#

Hmm weird, I dont know Java but did some research just to see if I could find a workaround, looks like Symbolic links are transparent unless you specifically look for them, but they have a specific exception if the file is renamed or moved, no mention about checking for if its been updated.

https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/nio/file/package-summary.html

Many operating systems and file systems support for symbolic links. A symbolic link is a special file...

#

Generally the path of least resistance would be to use one of the intended methods to sync your LP data such as MySQL, MongoDB, etc. These are designed for syncing data between multiple programs and you should use them as intended.

If you did want to jank-rig your own solution you would need something to run a console command on other servers, something like https://www.spigotmc.org/resources/commandsync.115/

You might actually be able to make use of LP's messaging services to do that b...

lilac dewBOT
#

Generally the path of least resistance would be to use one of the intended methods to sync your LP data such as MySQL, MongoDB, etc. These are designed for syncing data between multiple programs and you should use them as intended.

If you did want to jank-rig your own solution you would need something to run a console command on other servers, something like https://www.spigotmc.org/resources/commandsync.115/

You might actually be able to make use of LP's messaging services to...

lilac dewBOT
#

Easy solution

Absolutely not. Not even close

@BrainStone What about that is not easy besides a database schema change.

Easy solution would be to just store both the lowercased name and actual cased name and use the lowercase one for lookups and regular one for displaying but I can understand if that's too much work if only one person is asking for it :(

Isn't it easier having every username in the same case instead of having to look players up with weird combin...

lilac dewBOT
#

You have to understand that LP as of now uses a unversioned database scheme. Reliably upgrading these is near impossible.

And your original solution suggested to add a second name column that keeps the capitalization. That's very impractical, It would make a lot more sense to just have the existing column not lowercase the strings and to compare case insensitive.

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

The messaging service does not trigger for changes detected from configuration files.

Regarding the other replies above: Using a remote database to sync data between servers is a totally valid suggestion - it is literally what it was designed for. The flatfile storage was not designed with this in mind. You're running into problems (and are going to keep running into problems) because what you are trying to do is not particularly sensible or supported.

I have implemented setups like t...

lilac dewBOT
#

The messaging service does not trigger for changes detected from configuration files.

Regarding the other replies above: Using a remote database to sync data between servers is a totally valid suggestion - it is literally what it was designed for. The flatfile storage was not designed with this in mind. You're running into problems (and are going to keep running into problems) because what you are trying to do is not particularly sensible or supported.

I have implement...

lilac dewBOT
#

There are a few things to point out when making a change to permissions regardless of setup/storage method.

  1. You can always run commands from console. Being the one that can edit server files, I'm very sure you have console access... so I don't see the "insane process" being valid
  2. You can also use commands for permission changes, such as lp group <group> permission set <node> to do a quick addition of permission node (and many others stuff using the relevant commands). You don't have...
#

There are a few things to point out when making a change to permissions regardless of setup/storage method.

1. You can always run commands from console. Being the one that can edit server files, I'm very sure you have console access... so I don't see the "insane process" being valid

2. You can also use commands for permission changes, such as `lp group <group> permission set <node>` to do a quick addition of permission node (and many others stuff using the relevant com...
lilac dewBOT
#

Quick question: Do you have the base storage folder symlinked or everything inside it?

No. Just the YAML folder, each server needs its own config.yml to tell each server what its called.

I thought of some more issues with MySQL/Commandline.

  • You have to be online to make any changes, you cant just work on anything offline. I found this out today on my laptop when I was out and about and wanted to make some quick changes to permissions, Opened up made them ready for when Im...
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

I have not set any player perms or group perms, but by default all perms is on true on veinminer. No problem if i use ultra permissions (i have copy in same perms for hand) And i not set any perms for veinminer in any groups.

Reproduction steps

Yes i done several steps and get help on DC.

this is only part of perms player shall not have access too, players get access too all veinminer commands
https://luckperms.net/verbose/YruRTYJpWn

No player not op, h...

lilac dewBOT
#

Description

Every time I open the editor there are more and more no name users added, right now its at 323 when we only have 3 players playing

Reproduction steps

Not sure, it seems to get worse over time, maybe on restart

  1. Open the config.yml file and set example to true.
  2. Restart the server
  3. Run /lp user example permission set x from the console
  4. See error

Expected behaviour

Only show users who exist

Environment details

  • Server type...
lilac dewBOT
lilac dewBOT
#

Cant run minecraft right now, but here it is ran from console
12.09 07:05:11 [Server] pool-5-thread-1/INFO [LP] Running LuckPerms v5.1.82 by Luck.
12.09 07:05:11 [Server] pool-5-thread-1/INFO [LP] - Platform: Sponge
12.09 07:05:11 [Server] pool-5-thread-1/INFO [LP] - Server Brand: SpongeForge
12.09 07:05:11 [Server] pool-5-thread-1/INFO [LP] - Server Version:
12.09 07:05:11 [Server] pool-5-thread-1/INFO [LP] SpongeAPI: 7.3.0-299f484b6 - SpongeForge: 1.12.2-2838-7.3.1-RC4077
12.0...

lilac dewBOT
#

Seems to be so in any case with these two plugins, so perms are handled quite differently and it is not easy to know what is a bug or user error.

But may put perms on false in the group and see if the person who makes the plugin can change a bit (because on the server it is not so good to give everyone access to all tools directly).

I simply have to watch out for this in the future in the plugin I add.
Yes i give glizh_ perms, but it was for testing it on an account that does not have ...

lilac dewBOT
#

If you are using SQL database as perm storage, then perms won't be in a config file, but rather sqltables in your SQL database, so you need to login to your SQL database to see it. User's sqltable name should be named luckperms_user iirc.

If you are using the latest version of luckperms from https://luckperms.net/download, you will also be able to delete users using the new web editor feature.
![image](https://user-images.githubusercontent.com/30431861/92997955-96d23e00-f549-11ea-87ad-c...

lilac dewBOT
#

The changelog for .17 states
- Fix permissions not being give to members who've just joined a town.

But I believe the permission issue persisted for Town rank changes too. So changing permissions while the player is online, not just when they join the town. I will be testing this in a few minutes though, just wanted to let you know if it was missed.

lilac dewBOT
lilac dewBOT
#

lang.yml doesn't working in some way, I tried diffrent servers, computers, versions and translations...

Some of values not changing in mine. He is worked out (even we use same version)

https://discordapp.com/channels/241667244927483904/241667244927483904/754420625279549520
and I also told someone else to try this and he worked out too, he just restarted the server. Last time i tried it on a server and it didn't work, just like my computer

Example, German translation not working too,...

lilac dewBOT
#

I tried to configure to appear more than one prefix in the chat following this tutorial: https://github.com/lucko/LuckPerms/wiki/Prefix-&-Suffix-Stacking

So I did following this code:

prefix: format: - "highest_on_track_prison" - "highest_on_track_donor" - "highest_on_track_staff" duplicates: first-only start-spacer: "" middle-spacer: " " end-spacer: ""

So my configuration file looks like this:

`prefix {
format = [
"highest_on_track...

lilac dewBOT
lilac dewBOT
#

spigot 1.16.2
luckperms don't work with this error
Error occurred while enabling LuckPerms v5.1.93 (Is it up to date?)
java.lang.NoClassDefFoundError: me/lucko/lu
ckperms/lib/okhttp3/OkHttpClient$Builder
at me.lucko.luckperms.common.plugin.AbstractLuckPermsPlugin.enable(AbstractLuckPermsPlugin.java:123) ~[?:?]
at me.lucko.luckperms.bukkit.LPBukkitBootstrap.onEnable(LPBukkitBootstrap.java:162) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263) ~[server.jar:git-S...

lilac dewBOT
lilac dewBOT
#

Description

So i recently installed a 2nd server, and a bungee proxy onto a dedicated server that i rent, and now when i do /lp then hit space, i get kicked with DecoderException : java.lang.IndexOutOfBoundsException: readerIndex(0) + length(1) exceeds writerIndex(0): UnpooledSlicedByteBuf(ridx: 0, widx: 0, cap: 0/0, unwrapped: PooledUnsafeDirectByteBuf(ridx: 2, widx: 2, cap: 2048)) @ io.netty.handler.codec.MessageToMessageDecoder:98.

Im sure its something that i have se...

lilac dewBOT
#
  1. Yatopia is a fork of Tuinity, which itsself is a fork of Paper --> https://github.com/YatopiaMC/Yatopia
  2. With the latest build of paper i get kicked the same as when i was on Yatopia
  3. There is no log, cause i never get the command out, it happens while im typing the command. Like as soon as i hit space after typing /lp it kicks me.
  4. The only thing that i see is from the bungeecords console which reads this -->
    <img width="1271" alt="fadsafdsfdasfdsa" src="https://user-images.g...
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

So in the prefix/suffix stacking section you can select several different formats that will end up building the combined prefix. I think it would be very useful that if you specify the same format twice that instead of adding the same prefix/suffix twice the second adds the next best.

So if you specify this:

meta-formatting:
  prefix:
    format:
      - "highest"
      - "highest"

You get the two highest prefixes, not the highest twice.

This should of course wor...

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

I like it! As usual it should probably be locked behind some default-true config option (next-highest-match?) in case somebody out there needs their duplicates really badly and wants to revert it, but tbh it's a pretty neat addition request.

Thinking about this, it would also be nice to have a way to just show the second highest. Perhaps there is a way to toggle an option to be hidden in the final display, but factored into the calculation. For example, prefixing it with a !:

``...

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

I really don't know what to do anymore. I've tried pretty much everything I can think off. The problem is that changes are not applied on my server. I was able to give a few players the wildcard (/lp user USER permission set * true). This works without any problems.
However: I can't take away these permissions. I originally wanted to try if Universe Guard 2 was working correctly, so I wanted to disable the wildcard for one of the players. Ok, that sounds easy. /lp user USER permission set * ...

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

Hello,

Currently LuckPerms supports adding legacy color codes to things like group displaynames, e.g. &4Admin. These color codes are parsed everywhere LuckPerms shows the group's displayname, such as lp group admin info, lp listgroups, and confirmation messages when setting group permissions.

Bukkit uses the following to define hex colors: &x&r&r&g&g&b&b. Assuming this syntax, an admin group with a colored displayname of &x&f&f&0&0&0&0Admin displays as `&xAd...

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

I am irritated? The mentioned keys do not work when assigning permissions, they are neither completed ingame nor in the web editor and do not exist in the Wiki (https://github.com/LuckPerms/ExtraContexts). There is only the context wg-region. Furthermore lp <user> info does not throw out any extra context information: https://imgur.com/a/L28HXNT? I currently have the following loaded ExtraContext version on the server and can't find any other download/version: _https://ci.lucko.me/job/Ext...

lilac dewBOT
#

Description

Whenever I try to add a part to a user, or promote him on a rankstrack it gives him the correct rank but includes a duplicate with another servers context.

Reproduction steps

  1. /lp user promote on one of the servers
  2. User will randomly get the same rank, with another servers' context on it

Expected behaviour

User should get promoted on the track without getting any duplicates

Environment details

  • Server type/version: `Paper-199...
lilac dewBOT
#

Yeah I did, my config looks like this:

# ExtraContexts
# made with <3 by Luck


# Set a provider to true to enable it.
# Contexts are explained in more detail here:
# https://github.com/lucko/LuckPerms/wiki/Context


# Provides the 'wg-region' context.
# Returns the name of each WorldGuard region the player is currently in.
#
# e.g. wg-region=spawn
worldguard: true

# Provides the 'gamemode' context.
# Returns the players current gamemode.
#
# e.g. gamemode=creative
g...
lilac dewBOT
#

So I have recently changed my server from paper to bungee, reinstalled most of the plugins that I needed to install. Followed an youtube tutorial step by step on how to install it for bungee. Doesn't work. When I apply changes the changes apply but they dont work in game. For instance I can make an prefix, but it doesnt show ingame while I correctly made it.

lilac dewBOT
#

Firstly, bungeecord is a proxy server, which links multiple spigot/paper servers together. So you canโ€™t replace your paper server with it. Then, not all plugin needs to be installed in bungeecord, some only need to be installed on the respective spigot/paper server. As for luckperms, you need normal luckperms on all normal server and luckperms-bungee on bungeecord proxy. https://www.luckperms.net/downloads

lilac dewBOT
#

Description

A way to create a rank specific permissions that are not passed through inheritance.

Proposed behaviour

That will permit to create plugins that allow a rank to have access to something specific to that rank without passing it forward to other ranks.
perhaps a checkmark that when checked, set a permission to be specific to a rank. By default that option is disabled.

lilac dewBOT
#

Hi,

Yestarday this bug make crash some player to my server....

[18:36:35] [luckperms-scheduler-worker-46/WARN]: [me.lucko.luckperms.lib.hikari.pool.PoolBase] luckperms-hikari - Failed to validate connection me.lucko.luckperms.lib.mariadb.MariaDbConnection@23a8780b ((conn=1298871) Connection.setNetworkTimeout cannot be called on a closed connection). Possibly consider using a shorter maxLifetime value.
[18:36:35] [luckperms-scheduler-worker-46/WARN]: java.sql.SQLTransientConnectionExcep...

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

I have a group with a prefix with color codes and it is on the web editor, I save it, it says that the prefix is there, but when I assign myself the group and do /lp user info it doesn't show the prefix.

  1. Make a group with a prefix
  2. Save it
  3. Assign it to the player
  4. /lp user info

For the "Prefix" category to have the assigned prefix

Environment details

  • Server type/version: ExampleSpigot running version 1.12.2 build ???
  • LuckPerms version: v???

...

lilac dewBOT
lilac dewBOT
#

Would it be possible to implement new placeholders for the player's group's suffix and prefix?

For example, I am changing player name colours by appending colour codes to the end of player prefixes but I don't want this to affect my tablist which is using %luckperms_prefix%.
I suggest a new %luckperms_group_prefix% prefix to solve this issue.

Thanks.
-VendoAU

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

I have tried again and again after creating a permissions setup with different groups and such to enter in the command that the editor give you to sync the permissions with your server, But not only can I not manage to do that I can't even attempt to add myself or another player to a permission group. There is so much going though my console and I'm not sure how to fix any of this!!! Please help!

Here is what I See in console:
https://pastebin.com/S3R5xJfR

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

When you use the editor, did you:

  1. Press the + button after typing in the permission?
  2. Press the save button on the top right and run the apply edits command (best in console)
  3. Create a new editor session after every apply edits?

It will be very useful if you send your editor link as well.

Yea I did. Everything with the editor was fine. It was when I have to input the command that the editor gives you after saving when the problem starts.

lilac dewBOT
lilac dewBOT
#

Description

Due to a problem caused by EssentialsX in this issue, the sheer amount of essentials.hat.preventtype. permissions that appear in the permissions selector in the web editor have reached the web editor's limit, so all permissions in alphabetical order past essentials.hat.preventtype.(...) have been omitted.
This issue has been open on EssentialsX's tracker since July 30 and somehow hasn't gained more traction, even t...

lilac dewBOT
#

Description

A way to view each permissions built in description.

Proposed behaviour

My thought would be when you hover your mouse over the permission name, it gives you a description of what the permission does. This text is typically already built into each plugin, so you would just need to be able to pull this information within the web editor.

Another way, would be to add a new text box to the right of the permission. There's plenty of empty room to fit this in. You coul...

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

I'm running into an issue with staff members who inherit a permission from multiple groups, they aren't able to inherit a positive permission from the higher weighted group.

I believe this is caused by a circular inheritance bug.

Essentials grants the permissions essentials.back.into. for loaded worlds to all players by default, set by the plugin.
https://github.com/EssentialsX/Essentials/commit/b29f98c525c49647828b96c4986ee55dd28b92b4#diff-d515c857ac85b710ac67...

lilac dewBOT
#

Description

In the web editor and then go to users. I see UUID's and names, the UUID's have other permissions then the names (https://imgur.com/a/u0WUxZ7)

Error in the console

[19:11:32 WARN]: [LuckPerms] LuckPerms already has data for player 'WifiVibes' - but this data is stored under a different UUID.
[19:11:32 WARN]: [LuckPerms] 'WifiVibes' has previously used the unique ids [2c22d302-a5fa-38ae-b58d-dd6fb37fea2f] but is now connecting with 'baec620d-572a-4c0...

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

It would be very useful to be able to filter the list from permission/parent/etc info command. Would especially be very useful for filtering the context server=

Proposed behaviour

Default behavior (no filter)

Lets say executing the command /lp group foobar permission info shows

[LP] foobar's Permissions: (page 1 of x - x entries)
> example1 (server="server1") (world="world")
> example6 (server="server2") (world="world")
> example2 (server="serve...
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Have you tried the 5.1.107 version ?
Also, we might have changed some default config values such as :

primary-group-calculation: all-parents-by-weight

inheritance-traversal-algorithm: depth-first-pre-order

context-satisfy-mode: at-least-one-value-per-key

include-global: true
include-global-world: true
apply-global-groups: true
apply-global-world-groups: true

meta-value-selection-default: highest-number
lilac dewBOT
#

Description

LuckPerms throws errors when players change dimensions, but only after server reloads. This behavior was not present in LuckPerms 5.1.93.

Reproduction steps

  1. Start the server.
  2. Observe no errors or warnings.
  3. Reload the server with /reload confirm.
  4. Observe the errors and warnings below.

Expected behaviour

Should use player login/disconnect/change world events without throwing errors.

Environment details

  • Server type/vers...
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

An idea for a slightly more elegant solution; currently the /lp editor command dumps all the needed info (current perm setup & known perms) into a single Bytebin. I wonder if it could be better if, after a preset size of perm nodes, it splits that section off into a second bytebin, where it doesn't have group/user perms also using space. This would cause the editor to become a bit slower to load on both ends (due to 2 requests needing to be made instead of one), but then all perms would b...

lilac dewBOT
lilac dewBOT
#

A reminder that permissions can be set via the editor even if autocomplete doesn't have it. Simply type it in.

Thank you - a few days after opening this issue, I had realised this, although I forgot to mention that here.

I wonder if it could be better if, after a preset size of perm nodes, it splits that section off into a second bytebin, where it doesn't have group/user perms also using space. This would cause the editor to become a bit slower to load on both ends (due to 2 req...

lilac dewBOT
lilac dewBOT
#

Sorry if I was unclear. Background info for those unaware, the backend for the web editor, Bytebin, is just a basic pastebin. Obviously it has a size cap per paste, which is where the problem arises from.

Basically I'm proposing there be 2 pastes sent. The first one will be the known permissions, probably separated by commas, newlines, or maybe a JSON list of strings. The URL of that will be saved, and attached with the second paste, which contains all the other data as normal. When the ed...

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

I suggest you

lpUser.getNodes(NodeType.INHERITANCE)
      .stream()
      .filter(Node::hasExpiry)
      .filter(node -> !node.hasExpired())
      .collect(Collectors.toList());

It will return a List<InheritanceNode> with the user's parent group nodes that have an expiry and have not expired yet. Why a list? Well you can have multiple or no parent groups with an expiry time.

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

Reproduction steps

  1. Open the config.yml file and set example to true.
  2. Restart the server
  3. Run /lp user example permission set x from the console
  4. See error

Expected behaviour

Environment details

  • Server type/version: ExampleSpigot running version 1.12.2 build ???
  • LuckPerms version: v???

Any other relevant details

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

The same operation require more time each time you repeat it

register a permission on plugin startup with bukkit (pluginmanager) api

Reproduction steps

register a permission on plugin startup with bukkit (pluginmanager) api

long now = System.currentTimeMillis();
Bukkit.getPluginManager().removePermission(perm.getName());
Bukkit.getPluginManager().addPermission(perm);
Bukkit.getPluginManager().recalculatePermissionDefaults(perm);
logIssu...

lilac dewBOT
#

Description

Server got crash sometimes

Reproduction steps

I didn't know when it happens,it does always happan randomly

Expected behaviour

Should not crash the whole server

Environment details

System Info: Java 1.8 (Java HotSpot(TM) 64-Bit Server VM 25.261-b12) Host: Windows Server 2019 10.0 (amd64)

  • Server type/version: Paper running version 1.15.2 build git-Paper-387
  • LuckPerms version: LuckPerms version 5.1.107

[crash.log](https:...

lilac dewBOT
#

Description

When I use %luckperms_group_expiry_time_%๏ผŒthe time not show right
I set my player in group vip 30days but it show 59h

Reproduction steps

  1. Open the config.yml file and set example to true.
  2. Restart the server
  3. Run /lp user example permission set x from the console
  4. See error

Expected behaviour

Environment details

  • Server type/version: ExampleSpigot running version 1.12.2 build ???
  • LuckPerms version: v???

...

lilac dewBOT
lilac dewBOT
#

do not do /reload or plugman reload. https://matthewmiller.dev/blog/problem-with-reload/

using reload is not a requirement to replicate this bug:

i added

long start = System.currentTimeMillis();
for (int i = 1;i<300;i++) {
Permission perm = new Permission("test."+i);
Bukkit.getPluginManager().removePermission(perm.getName());
Bukkit.getPluginManager().addPermission(perm);
Bukkit.getPluginManager().recalculatePermissionDefaults(perm);
}
...

lilac dewBOT
#

I ran a test myself to see how much of a role LuckPerms really plays in here. Here I list the method and variables taken into account:

  • The test is run by running a command as a player, so a player has to be online and thus permissions have to take effect on a Permissible object.
  • I ran six tests in total, with every possible combination of the following two-state variables:
    • Using LuckPerms or Bukkit's default permission system (basically: Is LuckPerms installed?)
    • Reporting th...
lilac dewBOT
#

I did a fresh install of LuckPerms on Ubuntu 20 with Bungeecord, Spigot, and MySQL 8. The only DB tables that were created were "messages" and "user_permissions". I looked into the MySQL.sql DB Schema for LuckPerms and found that the "tracks" table uses "groups" as a column name and "groups" is a reserved word in MySQL 8 and therefore cannot be used in this way. I am not sure what else this may affect, but it seems that MySQL 8 is not compatible with the current version of LuckPerms.

lilac dewBOT
#

I did some more tests

  • each test runs 20 times in a timed task
  • each test print the final result at the end of each time it runs

the interesting value is not which code require more time as absolute value but how this changes between time#1 and time#20 of the same code

  • my first 2 tests aimed to understand which part of my previus test required growing time so i splitted them to check permission creation time and permission registering time, surprisingly them were both wi...
lilac dewBOT
#

It was on LuckPerms, i tested now with default and it gave similar results

i also added another timer for removePermission operation it also give almost 0 ms time required on each test
ex: (newpwermission: 1) (addpermission: 672) (removepermission: 2)

so i tried to decompile and i noticed that Permission constructor also calls for recalculatePermission, which do nothing if the permission was never added to the PluginManager, so the first time you create a Permission require...

lilac dewBOT
#

Fresh install of luckperms on my bungeecord network server in question which has the errors is spigot 1.8, all connected to a mysql database. getting errors in console.

`[19:03:46] [pool-9-thread-1/WARN]: java.lang.RuntimeException: Error uploading data to bytebin
[19:03:46] [pool-9-thread-1/WARN]: at me.lucko.luckperms.common.web.WebEditor.post(WebEditor.java:151)
[19:03:46] [pool-9-thread-1/WARN]: at me.lucko.luckperms.common.commands.misc.EditorCommand.execute(EditorCommand.java:175...

lilac dewBOT
#

I would suggest that you add a Rank Tree so people can recognize whats the higher rank and what rank has the most permissions.
Yes, it's "weight" but in a tree-like view
This will help new users to understand parenting and the theory behind ranks!
Hope you add it
Geo

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

When a holder has temporary meta nodes (of any kind, chat or non-chat meta nodes), /lp user|group meta info doesn't show they are temporary.

Reproduction steps

  1. Set some temp prefix/suffix/meta on a user/group.
  2. Run /lp user|group meta info.
  3. Observe, no durations are shown.

Expected behaviour

I would expect the command to print the expiry time.

Environment details

  • Server type/version: Paper running version 1.16.3 ...
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

I tried that and had the same behavior. I also tried reinstalling
completely. I switched to MariaDB and did not have any issues at all.

On Mon, Oct 12, 2020, 3:26 PM Luck notifications@github.com wrote:

Thanks for the report, but I'm not sure that's actually the cause. I've
used LP with MySQL 8 with no problems before.

Try deleting all LP tables and restarting the server to see if they
generate correctly.

โ€”
You are receiving this because you authored the thread.
Reply to...

#

I only noticed it when I went to manually build the tables.

On Mon, Oct 12, 2020, 3:35 PM Thomas Laird tommakazi777@gmail.com wrote:

I tried that and had the same behavior. I also tried reinstalling
completely. I switched to MariaDB and did not have any issues at all.

On Mon, Oct 12, 2020, 3:26 PM Luck notifications@github.com wrote:

Thanks for the report, but I'm not sure that's actually the cause. I've
used LP with MySQL 8 with no problems before.

Try deleting al...

#

Nearly all plugins already document this and many permission plugins (like ultra permissions) pull this data already from those plugins. There's nothing on luckperms side that is needed to store this information. Just like right now, luckperms doesn't store every single permission from all plugins on the web. And they also don't store the permissions themselves in any database locally or on a online database. Luckperms just reads the permissions provided by the plugin. All that's needed is th...

lilac dewBOT
#

I have luckperms installed on a sponge server for 1.12.2 and just installed nucleus to give more commands that I can use for myself and others like /tpa, /spawn, /home etc. After installing nucleus, the permissions for pixelmon disappeared from luckperms completely. Is there a way to re-display them?

#

Right, so that list isn't actually a "full list of permissions", it's merely a list of suggestions based on what LuckPerms knows. There are certain reasons why permissions will be shown there:

  • The permissions have been defined correctly within the plugin/mod (I actually have no idea about mods so can't say whether there is some sort of interface for defining permissions which is readable from a plugin like LP)
  • The permissions have been checked since the server was last restarted - LP ...
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

After the commit which changes LuckPerms from using Text to Adventure, command output doesn't seem to work on Velocity.

Reproduction steps

  1. Start proxy.
  2. Run ANY LuckPerms command.

Expected behaviour

I expect to run a command and see what the output is.

Environment details

  • Server type/version: Velocity running version 1.1.0 build 264
  • LuckPerms version: v5.2.2

Any other relevant details

Nothing out of the ordinary with logs or ...

lilac dewBOT
#

Description

When running lp info and using a remote database as storage method, it prints an unformatted color code before the ping indicator.

Reproduction steps

  1. Make LP make use of a remote storage method and restart the server.
  2. Run lp info.
  3. Observe, on the ping indicator line, it prints Ping: &a{duration}ms.

Expected behaviour

A nicely formatted and color coded output :)

Environment details

  • Server type/version: Paper runnin...
lilac dewBOT
#

I installed luckperms on my bungeecord network server in question which has the errors, is spigot 1.12.2, getting errors in console:

[19:03:46] [pool-9-thread-1/WARN]: java.lang.RuntimeException: Error uploading data to bytebin
[19:03:46] [pool-9-thread-1/WARN]: at me.lucko.luckperms.common.web.WebEditor.post(WebEditor.java:151)
[19:03:46] [pool-9-thread-1/WARN]: at me.lucko.luckperms.common.commands.misc.EditorCommand.execute(EditorCommand.java:175)
[19:03:46] [pool-9-thread-1/WARN]: ...

lilac dewBOT
lilac dewBOT
#

It says me this: bytebin bytebin.lucko.me
[about bytebin] [upload]
[10:43:10] [main/INFO]: Environment: authHost='https://authserver ... bytebin.lucko.me โ€บ ...
... illegal reflective access operation has occurred, Illegal reflective access by me. lucko.luckperms.common.dependencies.classloader.ReflectionClassLoader'.
lucko/bytebin: stupidly simple "pastebin" service - GitHub github.com โ€บ lucko โ€บ bytebin
I host a public instance at https://bytebin.lucko.me; you can use it ...

lilac dewBOT
#

There are still a number of codestyle issues which have not been resolved.

In future, please try to review the "files changed" tab to make sure your changes are correct, and nothing extra has creeped it's way in.

I had a go at rebasing your PR and fixing up the issues myself. After having a closer look and think about what's going on here, I'm concerned that we're implementing a "kind of" security measure, which I am not sure can necessarily be trusted. It's possible for mods to run ...

lilac dewBOT
#

Description

java.lang.ExceptionInInitializerError: null when luckperms inititalizes on velocity 1.0.10

Reproduction steps

  1. Download the latest stable velocity
  2. Download any luckperms version from 5.2.1 and above
  3. The errors shows in the console

Expected behaviour

It should not show this error

Environment details

  • Server type/version: Velocity 1.0.10 - stable
  • LuckPerms version: occurs on 5.2.1 - 5.2.8

Server log: https://gist....

lilac dewBOT
lilac dewBOT
#

Hi, plugins like ExploitFixer limit the amount of PluginMessages because players can spam them with stuff like books/custompayload to cause the server to crash, and it is a good practice to always check that events are cancelled, it makes other developers life a pain when developers doesn't ignore on cancellation.

Cancellation is super important and has to be done before anything else is done, join event is important to be properly cancelled too as machines can be used to spam connections....

lilac dewBOT
#

Messages sent from players are ignored:

https://github.com/lucko/LuckPerms/blob/7d47b31bcb0502e5137494910b4e061d7040be16/bungee/src/main/java/me/lucko/luckperms/bungee/messaging/PluginMessageMessenger.java#L96-L98

They're only accepted in the other "direction" - from the backend server. It would therefore not be possible for a malicious user to exploit/packet spam this system.

It is good practice to consider whether events are cancelled and how to react when that is the case. It ...

lilac dewBOT
#

Description

Player will disconnected from server for the first time they join after the server is start or restart

Reproduction steps

  1. Start / Restart NukkitX Server
  2. Player join the server -> Player Disconnected
  3. There is error log in console: Caused by: java.lang.NullPointerException: locale
  4. But if player join the server again, it will not get the error

Expected behaviour

Player can join the server normally

Environment details

  • Ser...
lilac dewBOT
#

Hi, thanks for the detailed report.

re: your observations that PluginManager#addPermission takes longer when using LuckPerms

This is normal and to be expected. LuckPerms changes the way Permission registration works, and stores the information in a slightly different way. The reason for doing this is to make permission checks and calls to Permissible#recalculatePermissions much faster.

I believe the trade off is worth it. Registration of permissions is something that (should...

lilac dewBOT
#

Sometime, I got disconnected from server with below error log, the step is the same with above issue

[LuckPerms] Exception thrown when setting up permissions for 00000000-0000-0000-0009-01f2342be9c7 - TuritLX - denying login.

java.lang.IllegalStateException: LPPermissible already injected into player Player(name='TuritLX', location=Location (level=hub, x=242.57899475097656, y=60.0, z=1331.6788330078125, yaw=10.1416015625, pitch=-1.594879150390625))
at me.lucko.luckperms.nu...

lilac dewBOT
#

I believe luck perms on bungee enables servers to suffer crashes from bot attacks. I THINK that the plugin loads data for a player (or issues code for a player) before their connection is successful and they have actually joined. Right now I believe it issues code for a player if they have an attempted connection despite that connection not turning into a join. This means large scale bot attacks could crash the bungee.

lilac dewBOT
lilac dewBOT
#

LuckPerms loads data on the LoginEvent - this is only called after a connection has been authenticated, assuming the server is in online mode. Most botted users will not get past the auth state.

If they do, then you'll need an extra plugin to try to detect these accounts and cancel their login before it is handled by LuckPerms.

lilac dewBOT
#

[18:23:35] [pool-3-thread-14/WARN] [luckperms]: An exception was thrown by me.ryanhamshire.griefprevention.claim.ClaimContextCalculator whilst calculating the context of subject luckperms.api7.SubjectProxy(ref=luckperms.SubjectReference(collection=user, subject=e36216f3-5b7c-3f3b-9804-f3b29d5b2a89))
[18:23:35] [pool-3-thread-14/INFO] [STDERR]: [me.lucko.luckperms.common.context.ContextManager:calculate:128]: java.lang.NullPointerException
[18:23:35] [pool-3-thread-14/INFO] [STDERR]: [me.l...

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Not really possible, permissions aren't bound to commands only, but plugins can check for a certain permission anytime, when moving around, doing certain actions, running other commands, even when showing up command suggestions while typing them in chat!
While this at first seems like (and would be) a great idea at first, it isn't really possible due to the nature of "permissions are not always for commands, they can be checked at all times".

#

Hey, today I started updating my 1.14.4 server to 1.16.3, after downloaded the latest versions of all my old plugins, I started by setting up LuckPerms. I ran the usual command, /lp user playername permission add *, but received absolutely no output from console. Strange. I try running /lp editor and still with no output. I don't know what on earth is happening as it has been a while since I last worked on plugins, please help!

Reproduction steps

  1. Download LP
  2. ...
lilac dewBOT
#

Description

This would come in 2 parts:

  • Introduce a new wave of placeholders that function off of other specified users. This is kind of like the "parseother" PAPI expansion, except this would be done via internal luckperms placeholders and only for luckperms related things. For instance: %luckperms_{otherusername}_meta_key%. This would return the meta_key for the specified player. Another example that would benefit us greatly: %luckperms_{otherusername}_in_group_{group}%. We are ...
lilac dewBOT
#

LuckPerms: 5.2.15
Minecraft: 1.16.3
Paper: 245

Placeholders in question:
%luckperms_first_group_on_tracks_%
%luckperms_last_group_on_tracks_%

Problem:
when i use these placeholders to display the group that the player has on the premium ranks track, it simply either displays the first or last group that is on the track, regardless of which group the player has or if they're even on the track.

Example:
if the player is in the default group with no other groups, %luckperms_last_g...

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

If I'm reading this correctly, the placeholder is displaying exactly what it's meant to and what you're describing is what the placeholder says it does.

%luckperms_first_groupon_tracks%
%luckperms_last_groupon_tracks%

if what you're saying is correct then the wording is misleading.
https://i.postimg.cc/MTKHjTTG/1.jpg

%luckperms_first_group_on_tracks_<tracks>%
Description: Returns the name of the first group a player has on the given tracks. Track...

lilac dewBOT
#

i would like to get confirmation whether those placeholders are supposed to display the first/last group on tracks in the database, or if they're supposed to display the first/last group on tracks that the player in question has.

can someone please confirm so that i can continue my work?
if it's the former then i will simply resort to using placeholders for prefix elements.

lilac dewBOT
#

Description

I have a bunch of plugins with their permissions, but LuckPerms doesn't seeing its permissions list in tree before i will not execute its command.
Examples:
https://luckperms.net/treeview/0B18M470sc
https://luckperms.net/treeview/ZkSmDJmOEm

Reproduction steps

  1. Install all the needed plugins
  2. Start the server
  3. Run /lp tree and use the link provided by LP
  4. Run some not seeing in tree plugin commands
  5. Run /lp[ tree again and use provided link.
    ...
lilac dewBOT
#

that is not the function of /lp tree, lp tree can only: Generates a tree view of permissions registered to the server. The tree is built using data exposed to the server by plugins, and expanded over time as plugins check for permissions. If the plugin has not registered the permission node or Lp has not checked on the given node, it impossible for lp tree to show it. /lp tree is only really useful when your server is active for a while and most relevant perms are checked, even so, ...

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

LuckPerms isn't working, when I join and execute any luckperm command I dont recieve an output. Not even a command not found which is telling me that luckperms is doing at least something.

Reproduction steps

  1. Install the plugin
  2. Restart the server
  3. Join the server
  4. Enter a command

Expected behaviour

I expected luckperms to give me an output from the command.

Environment details

Server Version: Spigot 1.8.8
LuckPerms Versi...

lilac dewBOT
#

Description

Proposed command would take the bytebin data and apply the opposite of whatever changes were made (additions become removals and removals become additions).

Proposed behaviour

Will allow the effective undoing of misdone applyedits commands, and will make screwing up with the editor less final.

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

i tried aggain with the latest version same issue

ok so:
i migrated the dabase from permissionsex to LuckPerms

This is how my playerfile looks after --(i chose the yaml storeage)

uuid: f24df990-9c6b-4f32-938a-4c91a26d31f4
name: Cloude_Lecaw
primary-group: admin
permissions:
- gadgetsmenu.suits.frog.*
parents:
- spieler

now when i log in im still counting as player until i add the group admin to the parents

#

Yes, that's correct behavior*. If a user doesn't inherit from a group, it can't be their primary group. As stated in my above comment, the primary-group should be automatically calculated without admin intervention.

*If the first example is what our /lp migration spat out, then perhaps there's a bug in the PEX migration. That's a different issue.

tl;dr this is working as expected.

lilac dewBOT
#

Description

More than often, people (like me :D) expect the group rename command to also update the group inheritors parent groups list.

Proposed behaviour

Maybe letting the group rename command run a bulk update query should be default behavior, and in the cases where we don't want to update the inheritors parent groups, a flag or a boolean could be provided.

Open for discussion :)

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Well, like the note says:

Server Operator status has no effect on sponge

i.e. there is no /op in sponge servers. And as stated in the wiki:

This is an intentional behaviour of SpongeForge. As soon as a permission plugin is installed, it will disable the OP system.
To fix this, give the groups and users the required permissions for the plugins. If you want OP-like permissions, you can use the wildcard * but this is considered [bad practice](https://nucleuspowered.org/docs/nowildc...

lilac dewBOT
#

Description

**I would like a command such as /lp set caps, to automatically capitalize the first letter of every group created. As of now, I have to go and use /lp group setdisplayname for each group.

the setdisplayname you gotta do it manually for each group
./lp set caps can automatically do it for all created groups
/lp group owner setdisplayname Owner

It's a name, so it needs to be capitalized ;-;
but lp defaults to lowercase
So it's a quality of life feature, and wou...

#

Description

**I would like a command such as /lp set caps, to automatically capitalize the first letter of every group created. As of now, I have to go and use /lp group setdisplayname for each group.

the setdisplayname you gotta do it manually for each group
./lp set caps can automatically do it for all created groups
/lp group owner setdisplayname Owner

It's a name, so it needs to be capitalized ;-;
but lp defaults to lowercase
So it's a quality of life feature, and wou...

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

Issue is that the Plugin is refusing connection to MySql after upgrading to MariaDB 10.5.7

Reproduction steps

upgrade to MariaDB 10.5.7 and restart your server

Expected behaviour

LuckPerms being able to communicate with MariaDB 10.5.7

Environment details

  • Ubuntu 10.04: FlameCord running version 0.4.2
  • LuckPerms version: v5.2.23

<!-- If you think it would be helpful, please also include a "pastebin" of any relevant config...

lilac dewBOT
#

I do not know much about the details of this however it seems to be a new error popping up due to a recent release of MariaDB (10.5.7) which causes this error if the config is set to mysql for the storage method:

04.11 20:13:36 [Server] WARN java.util.concurrent.CompletionException: java.sql.SQLException: Malformed communication packet
04.11 20:13:36 [Server] WARN at me.lucko.luckperms.common.storage.Storage.lambda$makeFuture$1(Storage.java:105)
04.11 20:13:36 [Server] WARN at jav...
lilac dewBOT
lilac dewBOT
#

Description

We have multiple command blocks at spawn to set prefixes, suffixes, keep inventory true or false, and natural health regen true or false.

Each command block gives a player the permission by targeting them with the @p selector
lp user @p permission set noregen.on true server=neatobuilds
/lp user @p permission set essentials.keepinv false server=neatobuilds
lp user @p meta setsuffix &4
lp user @p meta setprefix &4

Reproduction steps

  1. Start server
    2...
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

I updated LP 5.2.3 to LP 5.2.24 in order to fix a string error: https://hastebin.com/aqixazibiy.apache

Reproduction steps

  1. Replace LP 5.2.3 with LP 5.2.24 and start up the server.

Expected behaviour

Expected LP to not fail upon start up.

Environment details

  • Server type/version: SpongeForge 1.12.2
  • LuckPerms version: LP 5.2.24

Startup Log: https://bytebin.lucko.me/1ubHLlFge8

Any other relevant details

Dualspira...

lilac dewBOT
lilac dewBOT
#

Description

LuckPerms using me.lucko:adventure-api:4.0.0, translatable components with no args will only render translated value.
All children of the translatable component lost.

> lp info
[LP] Running
.....

Reproduction steps

  1. run /lp info

Expected behaviour

print

[LP] Running LuckPerms vXXX by luck

Environment details

  • Server type: Not Minecraft Server, ~JetBrains IDEA~
  • LuckPerms version: [0ea0ce9d268dce264a5a58138d...
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Recently we updated MariaDB to the version (10.5.7) and Luckperms can't connect anymore with the database, we get this error.

`[17:41:19 ERROR] [LuckPerms]: Exception occurred whilst enabling SQL messaging service
java.lang.RuntimeException: java.sql.SQLException: Malformed communication packet
at me.lucko.luckperms.common.messaging.sql.SqlMessenger.init(SqlMessenger.java:57) ~[?:?]
at me.lucko.luckperms.common.messaging.MessagingFactory$SqlMessengerProvider.obtain(Messa...

lilac dewBOT
lilac dewBOT
#

[15:05:48 INFO]: [LuckPerms] Enabling LuckPerms v5.1.93
[15:05:48 INFO]: __
[15:05:48 INFO]: | |) LuckPerms v5.1.93
[15:05:48 INFO]: |
_ | Running on Bukkit - CraftBukkit
[15:05:48 INFO]:
[15:05:48 INFO]: [LuckPerms] Loading configuration...
[15:05:50 INFO]: [LuckPerms] Loading storage provider... [MYSQL]
[15:05:50 WARN]: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
[15:05:50 WARN]: SLF4J: Defaulting to no-operation (NOP) logger implem...

#

[15:15:56 INFO]: [LuckPerms] Enabling LuckPerms v5.1.93
[15:15:56 INFO]: __
[15:15:56 INFO]: | |) LuckPerms v5.1.93
[15:15:56 INFO]: |
_ | Running on Bukkit - CraftBukkit
[15:15:56 INFO]:
[15:15:56 INFO]: [LuckPerms] Loading configuration...
[15:16:07 INFO]: [LuckPerms] Loading storage provider... [MARIADB]
[15:16:07 WARN]: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
[15:16:07 WARN]: SLF4J: Defaulting to no-operation (NOP) logger impl...

lilac dewBOT
#

Hi guy,

I would like to offer you a new command that would help server a lot.
This command would be used to see how much time a player has left for an add permission with this command: lp user {player} permission settemp ...

This command would simply allow to know how much time he has left before losing his advantages.

Thanks in advance for reading.

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

I'm missing a condition that checks if player has a specified group.

For example:
I want to promote a player using a track, but I want that to happen only if player has the first group in this track.
track: Builder->Stuff->Owner
player: has group Default
me: /lp user player promote track <-- and now this won't be executed, because the player has not the group builder.

The condition perm would look like this:

_cperms.has_group={group_name}.luckperm...

lilac dewBOT
lilac dewBOT
#

Table 's116528_redeshadeserver.luckperms_tracks' doesn't exist

You seem to be missing one of the required tables, the easiest fix is to delete the database and let LuckPerms regenerate it (assuming you haven't started to setup LuckPerms yet)

If you can't do that, then you may need to recreate the table manually.

#

they're supposed to display the first/last group on tracks that the player in question has.

This is correct.

However, it considers all groups the player has and the groups which they have indirectly (i.e. inherit)

Perhaps it would be more useful to only consider the groups which they have directly - I'm happy to change it if that would be better. Placeholder related requests go here: https://github.com/LuckPerms/LuckPermsPlaceholders :)

lilac dewBOT
lilac dewBOT
#

Hey, this is an interesting idea.

Unfortunately, it's not possible to easily implement placeholders for offline players because loading their data requires I/O - and can potentially happen on the main server thread.

It's the same reason why Vault queries for offline players do not happen by default.

If PlaceholderAPI ever introduced the idea of an async placeholder - this would be possible - but until then, unfortunately it's not.

Thanks for the suggestion nonetheless :)

#

Hi - sorry, this is unlikely to be worked on.

PowerRanks isn't a particularly popular plugin at the moment, so the time required to implement it likely wouldn't be worth it.

I would accept a good PR implementing this functionality, but unfortunately it's not something I'm going to be able to work on myself.

#

I've done a lot of looking through the source code and testing this locally - I haven't been able to reproduce, and frankly not sure how it would even be possible.

The only conclusions I can come to are that either you are mistaken about what's actually happening, or there's another plugin doing something funky with LuckPerm's API. Either way, there is not much I can do investigate further.

If you come across any further details which you think may be useful, please feel free to post th...

lilac dewBOT
lilac dewBOT
#

Group deletions was precisely the example that was put when discussing the "applying the opposite changes" reversion; that's where something like an export to bytebin before applying the changes would come in handy.

Another possible problem would be the fact that importing data doesn't fully revert on a snapshot-like the entire state of the system. Yes, --replace and --merge exist but that is in case of conflicting nodes, all the other ones would simply get added. So maybe yes, for edi...

lilac dewBOT
#

Hello everyone.

Few days ego, we decided to launch towny plugin on our server. For short time it was OKAY.
Yesterday I noticed some important commands for residents and mayors not working.
/t spawn - shows Town spawn is forbidden.
/plot claim - You do not have right permissions.

We are using:
LuckPerms-Bukkit-5.2.30
Towny-0.96.3.0
Spigot 1.16.3
lightEconomy v2.7.4
Data is storing on Myslq.

Server working on Windows OS
If we put towny permission nodes on L...

lilac dewBOT
lilac dewBOT
#

LukcyPerm and Towny is latest version on our server.

maybe its will help:

**Command: /t spawn** 
[00:30:00] [luckperms-scheduler-worker-6/INFO]: [LP] VB > Fluxus - towny.admin - false
[00:30:00] [luckperms-scheduler-worker-6/INFO]: [LP] VB > Fluxus - -* - undefined
[00:30:00] [luckperms-scheduler-worker-6/INFO]: [LP] VB > Fluxus - * - undefined
[00:30:00] [luckperms-scheduler-worker-6/INFO]: [LP] VB > Fluxus - -towny.* - undefined
[00:30:00] [luckperms-scheduler-worker-6/INFO]:...
lilac dewBOT
#

19:23:12 [INFO] Discovered module: ModuleSpec(name=reconnect_yaml, file=modules/reconnect_yaml.jar, provider=JenkinsModuleSource())
19:23:12 [INFO] Loaded plugin reconnect_yaml version git:reconnect_yaml:1.16-R0.4-SNAPSHOT:4199b0c:1537 by SpigotMC
19:23:12 [WARNING] Error enabling plugin LuckPerms
java.lang.NoClassDefFoundError: org/bukkit/plugin/java/JavaPlugin
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
at java.securi...

lilac dewBOT
lilac dewBOT
#

Description

mysql connections no longer work properly since LuckPerms driver update when using TLS. this also breaks other plugins that use mysql somehow. downgrading LuckPerms fixes everything.

Caused by: java.sql.SQLNonTransientConnectionException: (conn=90) SSL hostname verification failed : IPv4 host "178.63.199.211" doesn't correspond to certificate CN "limework.net" and SAN[{DNS:"creative.limework.net"},{DNS:"grafana.limework.net"},{DNS:"imap.limework.net"},{DNS:"limewo...
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

One issue I see with this is that we get a lot of users asking for help specifically with the GM migration because they don't understand that they need to add true to the end of the command. Adding another argument here will only confuse things a lot more. I think we need to have defaults in this case, where they would both default to true and migrate permissions globally.

lilac dewBOT
#

Description

While server is starting up and you try to join, it doesn't let you join the server and it gives this error in console: https://hasteb.in/gusuwobu.swift

Reproduction steps

  1. Open the config.yml file and set example to true.
  2. Restart the server
  3. Run /lp user example permission set x from the console
  4. See error

Expected behaviour

N

Environment details

  • Server type/version: ExampleSpigot running version 1.12.2 build ???
    ...
lilac dewBOT
#

Description

Hello! We run a modded server and there is PvP issue. If both players have a same group of perms - they cant beat each other (no damage or reclining). If group of perms will be different (default and admin in this case) - they can succesfuly beat each other.

Reproduction steps

1.Make a two different groups of player in editor and set it for two players
2.Try to beat each other by hand and by sword

Expected behaviour

There will be no damage or rec...

lilac dewBOT
#

Description

Using AdvancedAchievements 6.7.1
Updated to LuckPerms 5.3.32 and now console is spammed like crazy like this

[09:35:11 ERROR]: Could not pass event PlayerDropItemEvent to AdvancedAchievements v6.7.1
com.hm.achievement.exception.DatabaseReadError: Database read error while retrieving ItemDrops statistics.
        at com.hm.achievement.db.SQLReadOperation.executeOperation(SQLReadOperation.java:42) ~[?:?]
        at com.hm.achievement.db.AbstractDatabaseManager....
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

So I have 2 servers a test server and a main server (Currently switching Permissions plugins and working on the test server)
After working for a bit I realized the console wouldn't send any commands and I thought it was just me but after testing I found out it only happened on the server with luck perms (I checked the config and saw the thing about OP but not about sending messages)

Reproduction steps

I don't know how to reproduce this bug and I thought thi...

lilac dewBOT
#

LuckPerms does not perform any chat/tablist formatting of its own!

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!

FAQ answer: Prefix isn't showing?

https://luckperms.net/wiki/FAQ#why-are-prefixessuffixes-not-working

List of chat/tablist fo...

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

As displayed in your first screenshot, you are not inheriting a prefix. This likely means you haven't saved from the editor, or have entered the prefix into the editor incorrectly.

If you can't figure it out, could you send a /lp editor link?

There was zero need for you to redact your UUID. Since you're offline mode (Piracy bad.), the UUID is based off of your name.

lilac dewBOT
lilac dewBOT
#

Is is possible to update it with a group per world permission? For example, the vip group can use all their permissions in the world, world_nether but not in the world_the_end. That would remove the need to go through selecting each individual permission.

A "add your worlds" menu that allows you to create a quick selector of worlds where permissions and groups apply, like a checkbox or something.

lilac dewBOT
#

Description

Hi is it possible to introduce a papi that shows all the suffixes and / or prefixes of a user regardless of their priority? for example% luckperms_prefixs% and% luckperms_suffixs%? thanks

Proposed behaviour

I think that adding these two popes does not involve any change in the config level, but only an aspect of utility for the server administrators

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

18:30:44 [WARNING] [LuckPerms] A LinkageError has occurred whilst initialising Hikari. This is likely due to classloading conflicts between other plugins.
18:30:44 [WARNING] [LuckPerms] Please check for other plugins below (and try loading LuckPerms without them installed) before reporting the issue.
18:30:44 [WARNING] [LuckPerms] Class org.slf4j.LoggerFactory has been loaded by: ajQueue (net.md_5.bungee.api.plugin.PluginClassloader@6c779568)
18:30:44 [WARNING] [LuckPerms] Class org.slf4j....

lilac dewBOT
#

The important part is this:

[LuckPerms] A LinkageError has occurred whilst initialising Hikari. This is likely due to classloading conflicts between other plugins.
[LuckPerms] Please check for other plugins below (and try loading LuckPerms without them installed) before reporting the issue.
[LuckPerms] Class org.slf4j.LoggerFactory has been loaded by: ajQueue (net.md_5.bungee.api.plugin.PluginClassloader@6c779568)
[LuckPerms] Class org.slf4j.ILoggerFactory has been loaded by: ajQue...
lilac dewBOT
lilac dewBOT
#

Description

Running a LuckPerms command through the verbose command command does not report any permission checks for LP.

Reproduction steps

  1. Run /lp verbose command lp info
  2. Observe

Expected behaviour

It should appear on my screen/in console report checks for luckperms. permissions.

Environment details

  • Server type/version: Paper running version 1.16.4 build 288
  • LuckPerms version: v5.2.40

https://gist.github.com/Fefo...

lilac dewBOT
#

Hello, Well I've been having an issue with Luck perms on our server, and when I use /lp user parent add it adds correctly, then I run the command /lp user parent switchprimarygroup and it switches successfully, but on Tablist, and in chat it still says their old rank, but when they travel through the nether, it updates to the new rank, but when they travel back it changes back to the default rank, and I don't know if this is a "Bug" or server Issue, or I'm doing something wrong, but I wou...

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

hi, i took a warn like this can you help
`[02:02:29] [Server thread/WARN]: SLF4J: No SLF4J providers were found.
[02:02:29] [Server thread/WARN]: SLF4J: Defaulting to no-operation (NOP) logger implementation
[02:02:29] [Server thread/WARN]: SLF4J: See http://www.slf4j.org/codes.html#noProviders for further details.
[02:02:29] [Server thread/WARN]: [LuckPerms] Loaded class us.myles.ViaVersion.api.protocol.ProtocolRegistry from ViaVersion v3.2.0 which is not a depend, softdepend or loadbefo...

lilac dewBOT
lilac dewBOT
#

Hey im having trouble understanding the prefix stacking. Ive read the wiki and forums and tried multiple things but I'm still having no luck.
I'm trying to have my chat show the following: {X} [Mystic] Vese883:

I've put all my member ranks on a track named Member
I've put all my staff ranks on a track named Staff
I've put all my Donor ranks on a track named Donor

Here is my config https://pastebin.com/NMsmnAj4

lilac dewBOT
lilac dewBOT
#

Description

Hey, it would be so nice if you can add a command to clear the logs. /lp log clear

Proposed behaviour

You can run /lp log clear which resets the whole log database. It would also be nice, if the command also resets the tables AUTO_INCREMENT value, so new logs will start at zero

lilac dewBOT
lilac dewBOT
#

Description

Hi is it possible to introduce a papi that shows all the suffixes and / or prefixes of a user regardless of their priority? for example% luckperms_prefixs% and% luckperms_suffixs%? thanks

Proposed behaviour

I think that adding these two popes does not involve any change in the config level, but only an aspect of utility for the server administrators

Download LuckPerms Placeholder extension

lilac dewBOT
lilac dewBOT
#

Something about open source software: Luck, and everyone else, does not do this professionally - only when time is available. From my observations, Luck finds the time to clear out his repositories once every few weeks.

As it's done for free, waiting like 36 hours and then demanding attention is not a good strategy.

Please, do not do this. This issue does not belong on this repository, and when Luck has the time to go through his repos and address them, he will. No whining on your pa...

lilac dewBOT
#

Yes but it does not include the placeholders that show all suffixes / prefixes of a user, the existing placeholder is the following: "luckperms_suffix" or "luckperms_prefix" which show the prefix or suffix with the highest priority, I am requesting the placeholder "luckperms_suffix" and "luckperms_prefixs" to show all the prefixes and / or suffixes of a user without considering the priority.

#

I know it is free, but you provide outdated, not working information. I see that the problem is, that the repo is inactive. If there was no time like you say even this repo will be dead, and sorry there are issues older than 1 year, so don't tell me there was no time to check this repo. Really, since when a few weeks is more than one year. I just wanted to help people, because there is outdated, not working information, I think this means open source.

lilac dewBOT
lilac dewBOT
#

I've just refactored most of the uuid/username lookup & validation code: 53fb46ee8540565d9652c7e7ed3a2d32e1f0891b

This is now all exposed in our API, so other plugins can more easily integrate with our checks instead of having to patch support in across the places where it is implemented in LP.

So -- the changes added in this PR can now be more succinctly implemented with the following code:

import net.luckperms.api.LuckPerms;
import net.luckperms.api.event.EventBus;
impor...
lilac dewBOT
lilac dewBOT
#

Description

After installing the plugin the following stacktrace is thrown at me on server startup:

[13:05:36] [main/INFO]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD'
[13:05:37] [main/INFO]: Reloading ResourceManager: Default, bukkit
[13:05:38] [Worker-Main-5/INFO]: Loaded 7 recipes
[13:05:40] [Server thread/INFO]: Sta...
lilac dewBOT
#

Hey!
Today I was trying to setup LP on a local server - and right at the beginning I can't get the permissions to work - the permissions default to false, so even after giving myself luckperms.* etc. I don't have the permissions to do anything I wouldnt otherwise.

(see console in the top of the screenshot)
image

I tried looking into it by doing what I and Fefo could think of (in d...

lilac dewBOT
#

Description

Server seems to crash randomly.
There is never any error, or console output, only the top part of the github gist's in console.

Reproduction steps

Not entirely sure what is causing it. but the server is hard crashing.

  1. Open the config.yml file and set example to true.
  2. Restart the server
  3. Run /lp user example permission set x from the console
  4. See error
    No error codes. Server does not crash when this is done.

Expected behaviour

The se...

lilac dewBOT
#

Please link to your server's startup log, and also fill in the Environment Details and steps to reproduce section - it is asked because it is important in solving your issue.
Preliminarily, it looks like somehow Java itself is crashing, and not the server, which Luckperms itself does not normally do. A startup log as well as the things requested of you in filling out this report would go a long way to understanding what is going on here.

lilac dewBOT
#

Here is the most recent startup log https://gist.github.com/MrMcyeet/e6ffe1bf29cf2ce6d6fdf86d00ea739d

What all are you asking for when you say environment details?
If its this, then this is here.

openjdk version "1.8.0_275"
OpenJDK Runtime Enviroment (build 1.8.0_275-8u275-b01-0ubuntu1~20.04-b01)
OpenJDK 64-Bit Server VM (build 25.275-b01, mixed mode)```
and for the reproduction steps. I simply do not know.
It seems random. As far as I can tell, there is no simple "D...
lilac dewBOT
#

Hey, thank you for the PR.

Sorry it's taken me a while to respond. I've been deliberating as to whether this change is a good idea. I think ultimately I've come to the conclusion that adding more flags to the migration command is a mistake. (I regret adding the one for migrateAsGlobal! It seems to confuse people)

Thank you for contributing and submitting your improvement as a pull request, but I think at this time it doesn't make sense to merge into the main project.

Hopefully you ...

lilac dewBOT
#

I don't think this is a plugin-caused issue.

Some things to check:

  • Make sure your system has enough memory spare (i.e. not allocated to the Java process)
    • If for example, your system has 3G memory total, only allocate 2G to the Java process and leave the remaining 1G for the operating system.
  • Consider updating to Java 11, your issue may be Java runtime related, so upgrading to the current LTS is probably a good idea
#

Redis persistence has always been a bit dodgy. It might've improved in recent years, but from a quick glance at https://redis.io/topics/persistence it seems it still suffers from similar flaws.

The performance gain you'd get from using Redis over something like MySQL is going to be quite small, and since LP does all of its operations async anyway, the difference is going to have no impact.

Using Redis as a persistent database is not something I would recommend doing, and for that reason...

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

I keep on getting this error while using luck perms web editor:
There was an error loading the data. Either the URL was copied wrong or the session has expired.

Please generate another editor session with /lp editor.

Reproduction steps

In the Console I wrote lp editor and it gave me a link and I followed it. It said loading and then this error message several times for the past 24 hours

  1. Open the config.yml file and set example to true.
  2. Restart th...
#

If you have ad blockers and/or antivirus, try disabling all of them. If you can, test with another wireless network like using your cellular service instead if home network etc.

This issue you face is usually just down to your network setup and most of the time, there isn't much luckperms can do about it.

Let me try that now thanks for that suggestion

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

I'm using PostgreSQL as my database and would love to use scram-sha-256 instead of md5 as my authentication type. It looks like this could be fixed by using a newer version of one of the dependencies.

I've provided two websites further below.

Reproduction steps

  1. Configure PostgreSQL to use scram-sha-256 (password_encryption = scram-sha-256)
  2. Configure pg_hba.conf to use scram-sha-256 instead of md5
  3. restart the PostgreSQL server
  4. ...
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Adding notes would be better achieved using meta (/lp user Luck meta set note "some note") but bear in mind there are restrictions on the length if you are using SQL based storage. A purpose built notes plugin would be a better idea!

I've added a placeholder for you that will return all values for a given key: meta_all
https://github.com/LuckPerms/LuckPermsPlaceholders/commit/8558c6d7c368d811e20a84a6dcf6bc4dfae1e802

Making more than one prefix visible can be best achieved using the...

lilac dewBOT
lilac dewBOT
#

Description

In a multi server environment with 100+ servers after assigning a permission and / or group to a user this user then looses the permission or group randomly in the future. This is an intermittent issue.

Reproduction steps

  1. assign permission or group to user
  2. wait indefinite amount of time
  3. user reports loss of group

Expected behaviour

User does not lose group / permission

Environment details

Servers mixed 1.12.2 PaperSpigot ...

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

Too many times I find myself needing to edit multiple permissions for groups, and this requires opening an editor for each group each time! I suggest introducing an editor command for tracks, that will display all groups in a track and support editing them all at once. The command can be: /lp track [track name] editor

Proposed behaviour

If we use the command /lp track staff editor it will open the web editor and provide a list of all groups on that track. Th...

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Luck perms version: 5.2.35

Server version: Hyperion 1.8.8 (most used cannon jar)

Issue: Luck perms is causing an issue with featherboard whereby doing /fb reload is causing the scoreboard to default to an outpost scoreboard instead of the default one. The outpost scoreboard is only meant to be active in the outpost world. However, when I do /fb reload (doesnt matter what world I am in), you will see in the gif below (where I am in the normal world) that it defaults to outpost. It is not...

lilac dewBOT
#

Please don't ignore the issue template - it is there for a reason.

You haven't given me enough information to be able to look into the problem.

I suggest you use the verbose command to try to identify exactly which permission check is failing.
https://luckperms.net/wiki/Verbose

Simply pointing out that the problem doesn't occur when LP is installed doesn't imply that there is a bug or problem in LP. I mean, of course a permission based scoreboard isn't going to work when you don't h...

lilac dewBOT
#

Description

Bulk deletion of "LIKE" or unconstrained operations on plaintext based storage types gives nonsensical results. Ranges between not working at all to prompting wrong "statistics" data or working partially.
This is not the case for SQL based storage methods (either local or remote), presumably because the operation itself is delegated to the SQL service instead of "doing it manually".

Reproduction steps

  1. Open the config.yml file and set storage-method to ...
lilac dewBOT
#

Description

When i got multiverse core to use multiple maps in the server, luckperms prefixes in chat disappeared forever.
I tried to make new roles and update the plugin but nothing worked, the only one was a MITO plugin that gives a tag to 1 player.

Reproduction steps

  1. Open the config.yml file and set example to true.
  2. Restart the server
  3. Run /lp user example permission set x from the console
  4. See error
    No error

Expected behaviour

Envir...

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Looks like the crash report you provided was not an actual crash/error report. That message is generated when a server is lagging. If your server did exit unexpectedly, please provided the actual error log. Additionally, I was not able to reproduce with 1.16.4 Paper and the latest version of LuckPerms.

Problem is, server is not lagging at all before the pressure plate was activated. Its a brand new server with 2 players on it, pretty sure isn't server side lag.

#

It's interesting because I know since 1.13 (on spigot) selectors (like the @p) don't work on plugin commands. I'll review the relevant processing code, but I don't think LP has special support for them either. Are you using spigot/paper?

Yes, I'm using paper 1.16. Do note that, the command did actually execute and promoted the player who stepped on the pressure plate. Just that it crashed afterwards.

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

Attempting to match meta nodes by meta key with NodeMatcher.metaKey(String)/NodeMatcher.metaKey(MetaNode) on meta nodes whose meta key isn't 100% lowercase yields false results.

Reproduction steps

Sample snippet:

final String META_KEY = "SomeMetaNodeKey";
final MetaNode META_NODE = MetaNode.builder(META_KEY, "10").build();

// ...

final User user = this.userManager.getUser(player.getUniqueId());
if (user == null) {
  throw new Runt...
lilac dewBOT
#

Description

When displaying registered permissions from plugins, they are all printed in lowercase. Since permissions are case-sensitive, this is not a good idea. Users can easily get confused when the permissions selected from the given list don't work because of unshown uppercase characters.

Reproduction steps

With /lp tree [plugin], the tree of permissions are all lowercase
With /lp editor, the suggested permissions are all lowercase

Expected behaviour

...

#

Since permissions are case-sensitive

Not for LP, no. LuckPerms doesn't discriminate all lowercase permission nodes from others. Independently of the platform, LP makes the asked permission lowercase to compare against the stored ones which are also lowercase.
This is precisely to avoid capitalization issues.

The only cases I can think off the top of my head where nodes (not necessarily permission nodes) are case sensitive is chat nodes (prefix/suffix), meta nodes and group display name.

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

When I set a user to a group and then change their group to another, the user now has the first group's meta set as their personal meta.

Reproduction steps

  1. Run the command /lp user parent set
  2. Run the same command but with a different group
  3. The user now has the meta of the first group as their personal meta

Expected behavior

That not to happen.

Environment details

  • Server type/version: YAPFA-1.15.2 (PaperSpigot)
  • LuckPerm...
lilac dewBOT
#

Yeah but when I set myself a group and I run meta clear the groupโ€™s prefix gets set as a personal prefix

Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10

From: Ben Woomailto:notifications@github.com
Sent: Wednesday, December 9, 2020 3:39 PM
To: lucko/LuckPermsmailto:LuckPerms@noreply.github.com
Cc: ItsMacsmailto:gbg@outlook.it; Authormailto:author@noreply.github.com
Subject: Re: [lucko/LuckPerms] Parent meta gets also applied to user meta (#2762)

[imag...

#

no, clearing prefix wont cause any prefix to be set unless you are doing the command wrong. What exact command did you do to "clear the groupโ€™s prefix". And note you already have the Manager prefix set as a user node, so clearing group prefix doesn't nothing to remove that.

The main issue is you have a prefix set to the user itself, and you got confused that it was given due to the first group the player was in, when this not the case.

#

By clearing all the userโ€™s meta with /lp user <user> meta clear, I expect for the meta to be clean, and for the user to only have the groupโ€™s prefix.
But, instead, when I do it, LuckPerms automatically sets the groupโ€™s prefix to the player as a personal prefix.

I didnโ€™t set the โ€œManagerโ€ tag myself, when I have set the corresponding group to myself, I got that user meta. I didnโ€™t touch any user meta other than cleaning it.

Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for W...

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

The plugin crash on startup while trying to connect to MongoDB.

These are the logs:
`
javax.net.ssl.SSLHandshakeException: extension (5) should not be presented in certificate_request
at sun.security.ssl.Alert.createSSLException(Alert.java:131) ~[?:?]
at sun.security.ssl.Alert.createSSLException(Alert.java:117) ~[?:?]
at sun.security.ssl.TransportContext.fatal(TransportContext.java:307) ~[?:?]
at sun.security.ssl.TransportContext.fatal...

#

I understand that you get lots of requests from people that don't have a clue what they are doing, and as much as this answer typically works for most users, it's note really a solution as I believe the problem lies somewhere within your application (and here's why). I have no knowledge of the inner workings of your plugin, which is why I was hoping that mentioning the things we did would help jar something that you may be familiar with since you wrote the system. I'm hoping with the followin...

#

This is in response to the following bug report: https://github.com/lucko/LuckPerms/issues/2751
I would have responded there, but the issue has since been closed, and we have more information to add that will help with a possible solution. I will repost the initial report here and modify it a bit to fit the new research we've done.

Description
In a multi server environment a user is assigned a "temporary" permission node. ("temporary" in quotes to mean that it's either an actual temp...

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

Every time someone leaves the server there's long error messages coming from luckperms. At first luckperms still works but after a while it stops working entirely. I don't know what caused this, I tried deleting and reinstalling luckperms which worked for a while but then it started happening again. It happened right after a reload, so could it be that, or is it an issue with some other plugin?

Environment details

  • Server type/version: Paper running version `1.16.4...
lilac dewBOT
#

Description

Basically every few minutes, all the users from the server get the ''Timed out'' screen and it crashes with the LuckPerms log.

Reproduction steps

  1. Have LuckPerms v5.1.26 along with PaperSpigot 1.8.8
  2. Wait a few minutes
  3. See error

Expected behaviour

Well, the server not to crash after a few minutes.

Environment details

PaperSpigot 1.8.8 + ViaVersion (Dev build)

  • Server type/version: ExampleSpigot running version 1.12.2 build ???...
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

I'm considering running a fabric server on my bungeecord network but only if LP for fabric can run on the same database as my paper and travertine servers do. I only just figured out that I can run a fabric server on bungeecord. Will the fabric version be compatible with the spigot version? As a starting developer most of your discussion goes over my head so I thought I'd just ask.

lilac dewBOT
lilac dewBOT
#

Description

The following warning appears in console:
[Server thread/WARN]: [LuckPerms] Loaded class us.myles.ViaVersion.api.protocol.ProtocolRegistry from ViaVersion v3.2.1 which is not a depend, softdepend or loadbefore of this plugin.

Reproduction steps

  1. Startup server with ViaVersion and LuckPerms
  2. Observe warning in console

Expected behaviour

No warning to appear in console

Environment details

  • Server type/version: PaperMC running version `1.16.4...
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

It's not just difficult to explain the why but it's even more difficult to suggest somewhat decent solutions. Even helper groups that inherit the actual group twice, once with the per server context and once with the per world context, always fall short somewhere.
It always boils down to being a lot of work that really isn't necessary or the setup being very stiff. Often both.

I know you dread of making that change, but it needs to happen. The sooner, the better.

And frankly I don't ...

lilac dewBOT
#

I'd like to keep the server context as it is, but rename world to connected-server on Bungee/Velocity.

I'm open to other names, ideally something shorter. backend-server is another consideration.

Currently, the server context is a way of isolating permissions to a specific LP instance, whether that's a Minecraft server or a proxy server doesn't matter - it's still a server. I don't think it's necessary to change. (unless anyone has anything to say to convince me otherwise)

#

One point has been mentioned several times here, which is, that it helps to distinguish context more easly, especially when using LP on both proxy and server.
Most people won't think of "server" when they want to set a perm, group, ... on a proxy-level. A server for them is often the backend one and it can easly get confusing with when you want to set permissions for the Spigot Server only and then one for the proxy only...
2 different instances of LP both using the server context can becom...

lilac dewBOT
#

Great to hear! I can test a snapshot as soon as one is available

lucko notifications@github.com schrieb am Mo., 14. Dez. 2020, 16:31:

Thanks for the report.

This might be fixed by #2602
https://github.com/lucko/LuckPerms/pull/2602 - but I haven't got time
to test/implement it myself at the moment (I'm not really a postgres user)

โ€”
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<https://github.com/lucko/LuckPerm...

lilac dewBOT
#

Description

I updated to version 5.2.55 today and promoting along a track seems to have broken. it works once, but it looks like its not removing the old rank so when it tries to promote again it fails because the player has 2 ranks on the track. https://paste.dedimc.io/oquhofolum.md

Reproduction steps

  1. install luckperms version 5.2.55 and no other plugins (no previous luckperms folder)
  2. Restart the server
  3. Run /lp editor and add group one, two and three and ...