#issues

1 messages · Page 13 of 1

lilac dewBOT
lilac dewBOT
#

Currently, the server context is a way of isolating permissions to a specific LP instance

That is correct and that is exactly the issue here.

Contexts are used to narrow then the when and where a permission applies. The LP instances themselves are utterly useless in operation. While it makes sense being able to differentiate them (ideally with a dedicated context) it's not something the majority of users care about. They care about the when and where a permission or group ap...

lilac dewBOT
#

Recently decide to switch to MySQL due to i think it would be better than mysql. So i setup and enter everything in correctly and check and all of the info is the same i use for my currency plugin which works. However once i switch to MySQL i keep getting this issue in console --- >
`[01:08:01 ERROR] [LuckPerms]: Exception occurred whilst loading data for 3be4767d-a9a9-47f1-b104-327f68467865 - LonlyGamerX
java.util.concurrent.CompletionException: java.sql.SQLSyntaxErrorException: Table 'luc...

lilac dewBOT
lilac dewBOT
#

Assuming you still have your old data in an export, try deleting all luckperms tables.
Also make sure the user you configured in the LP config has permissions to create tables.

i have tried deleting all the luckperms tables even restart both the plugin and my MySQL but i get the same error and as far as user permission i have everything clicked on. So it has every permission i can give it

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

Clearing all InheritanceNodes from a User adds the group.default right after, adding an extra step (removing group.default) when simulating the parent set command through the API.

Reproduction steps

Sample snippet

// onCommand
final User user = this.luckPerms.getPlayerAdapter(Player.class).getUser((Player) sender);
user.data().clear(NodeType.INHERITANCE::matches);
user.data().add(InheritanceNode.builder("first").build());
this.luck...
lilac dewBOT
lilac dewBOT
#

Description

I added a new mysql database for bedwarsrel stats then this error happened

Reproduction steps

  1. Download bedwarsrel and setup a game in a 1.8.8 server,
  2. when everything is setup and done make it bungeecord,
  3. then add a mysql database to bedwarsrel stats in its config.
  4. After that join it from another server,
  5. you will get many errors in the server log

Expected behaviour

The bedwarsrel plugin to work

Environment details

Sp...

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

<!-- The placeholder %luckperms_inherited_expiry_time_XXX% and %luckperms_expiry_time_% doesn't display the good amount of time of the permission. -->

Reproduction steps

<!-- Give to a player a permission for more than a month, then parse him the %luckperms_expiry_time_% or %luckperms_inherited_expiry_time_XXX%, it will display a bugged number with for example "15d 38h 10s" so it's fully bugged, it should be "1 month" for example -->

Expected behaviour

...

lilac dewBOT
#

[09:36:52] [Server thread/INFO]: [LuckPerms] Loading configuration...
[09:36:52] [Server thread/INFO]: [LuckPerms] Loading storage provider... [H2]
[09:36:53] [Server thread/ERROR]: Error occurred while enabling LuckPerms v5.2.35 (Is it up to date?)
java.lang.NoSuchMethodError: com.google.common.collect.Range.closed(Ljava/lang/Comparable;Ljava/lang/Comparable;)Lcom/google/common/collect/Range;
at me.lucko.luckperms.common.util.Predicates.notInRange(Predicates.java:72) ~[?:?]
at me.luck...

lilac dewBOT
#

Hello,
We have since days several ArrayIndexOutOfBoundsException: 18 error messages in the console. we have also already installed an extension on it (extension-legacy-api-1.0.0.jar) also without success.


#Info
Plugin version: LuckPerms-Bukkit-5.2.61
Serverjar: Magma version 966e691 (Implementing API version 1.12.2-R0.1-SNAPSHOT, Forge version 14.23.5.2854)
Storage mode: Mysql


Plugins: Multiverse-Core-2.5.0, MysqlInventoryBridge-v2.4.1, Vault, worldedit-bukkit-6.1.9, worldgua...

lilac dewBOT
#

I use bungeecord on my server i use MySQL storage method, but i wanna seprate permissions on servers, on editor i made that /fly can be only done in survival on donor rank, but i dosen't allow to that in survival, i also changed config like this:

The name of the server, used for server specific permissions.

- When set to "global" this setting is effectively ignored.

- In all other cases, the value here is added to all players in a "server" context.

- See: https://github.com/l...

lilac dewBOT
#

Description

When a group is set to a user, the user's meta gets set to the previous group's.

Reproduction steps

  1. Run the command /lp bulkupdate users delete permissions (to clear permissions and groups)
  2. The user now has the default group set, with a clear user meta
  3. Set the user's parent to another group
  4. The user now has the default group meta set as user meta and in order to show the new group info, /lp user meta clear is required.

Expected behavior

W...

lilac dewBOT
#

Description

Players are able to see a full list of plugins by typing "/" in the chat window. There are other plugins out there that hide this feature, but I believe the LuckPerms resource by itself has the capacity to do this down to the permissions level.

Proposed behaviour

Players ought not to be able to see command help for plugins and features they don't have access to. This could potentially present security risks to the server since hackers could find out what plugins w...

lilac dewBOT
#

LuckPerms doesn't control which commands are sent to clients; if the other plugin registers its commands and permissions properly, just denying the permission will suffice, if not you should seek that plugin's support.

In most scenarios, denying the permission doesn't suffice for the security of production servers. Why? Because players can still see your plugin commands despite the permission being revoked, providing a way for current vulnerabilities or exploits to be exposed. There are ...

#

Please re-read the very first sentence of my comment:

LuckPerms doesn't control which commands are sent to clients;

That is completely controlled by the server implementation and again, if the plugin in question registers its commands properly it should not pop up. LuckPerms is a permissions manager and a tree calculator, not a command and suggestions blocker. There are plugins that are made for that purpose but LuckPerms is not one of them.

lilac dewBOT
#

Please re-read the very first sentence of my comment:

LuckPerms doesn't control which commands are sent to clients;
I understood what you said the first couple times. This is a feature suggestion to to have luckperms control PlayerChatTabCompleteEvent for individual users which is also something I'm fully aware luckperms doesn't control.

That is completely controlled by the server implementation
Not quite. You have the option in spigot/bukkit to disable it entirely which def...

#

One thing you seem to not get is that permissions and commands are entirely unrelated, LuckPerms controls permissions, not commands. Is that so hard to comprehend?

If my plugin has 2 commands and one permission for only one of them, no matter how many permissions you set to false the other command will still show. This is the case of those specific WorldEdit commands that always show up.

Not only that but there can be permissions that are not attached to any commands too, but rath...

lilac dewBOT
#

One thing you seem to not get is that permissions and commands are entirely unrelated, LuckPerms controls permissions, not commands. Is that so hard to comprehend?

If my plugin has 2 commands and one permission for only one of them, no matter how many permissions you set to false the other command will still show. This is the case of those specific WorldEdit commands that always show up.

Not only that but there can be permissions that are not attached to any commands too...

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

Parent groups are not stored as group.<group> permissions in (text based) storage, they are stored as <group> under parents, that's why they don't (and shouldn't) show on .. permission info when you properly add a parent group, but rather in .. parent info.

Additionally, setting a parent group "permission" to false doesn't "remove" the parent group as many people think.

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

I do have my parents set up correctly, that is not an issue, I guarantee. But if LuckPerms is automatically adding group.x permissions based on its own internal group structure, that answers my question about where the perms were coming from, considering I don't have group.seniorstaff defined anywhere in the yaml file structure.

Understanding this, I can understand that the yaml file can be different than the editor and the ingame viewer, but I don't understand why the editor and the ...

lilac dewBOT
#

You can see in your own YAML that parent groups have their own section and are not treated as regular permissions:

parents:
- architect
- moderator
- seniorstaff

To be honest I don't know where that group.builder set to false came from as a permission in storage. Maybe if you set the node to false in the editor it does that (especially since it's the only one)? That's something subject to test and, kind of another issue if that's the case.


I don't understand ...

lilac dewBOT
#

I'm not sure you're following, as I mentioned, my group.x permissions were created back in PEX, and imported into LuckPerms. Until today I had no idea LuckPerms calculated the group.x permissions itself, I thought parents simply controlled the inheritance, not created a new permission. That is why I have group.builder: false in my config, I manually created it when creating my own group permissions years ago. Accidental name conflict.

#

I would love if I could disable the feature that calculates these permissions so I can define them myself.

I'm still confused about the differences between the command and the editor; why doesn't group.moderator or group.architect show up in the command? what makes it different from group.seniorstaff? group.builder makes sense, I have it explicitly defined as false, but the other 3 are not defined anywhere in the yaml structure, yet one behaves differently.

lilac dewBOT
#

I would love if I could disable the feature that calculates these permissions so I can define them myself

Absolutely impossible. That would break so incredibly much. Especially with plugins interfacing with LP.
I'd recommend you scope your own permissions.

Now even if we ignore the practical issues with implementing this as setting, it means support hell. There are already so incredibly many obscure config setting for edge cases that can really mess up an instance if changed carele...

lilac dewBOT
#

sorry my native language is not english

I have problems connecting luckperms to my database
I have the base in my vps so everything is by default
luckperms works fine being without database but when trying to connect this appears, my session data is correct

`[luckperms-hikari housekeeper] DEBUG me.lucko.luckperms.lib.hikari.pool.HikariPool - luckperms-hikari - Pool stats (total=0, active=0, idle=0, waiting=0)
815548 [luckperms-hikari housekeeper] DEBUG me.lucko.luckperms.lib.hik...

lilac dewBOT
lilac dewBOT
#

Everyone ignores my issue on discord.

People both on the Discord server and in here are not paid for support nor are there 24/7 to help; volunteers help because they want to help, but are not obligated to do so. You are completely free to re-post your issue; if you do it in here, please follow the issue template; if you do it in the Discord server maybe ask in #general-2 which is usually less crowded and wait patiently for a response.

lilac dewBOT
lilac dewBOT
#

Description

Until a few versions ago when I received a bug report from a LuckPerms user, this is how I have been defining a certain "anti-permission" to basically allow a server owner to declare a select group "newbies" and restrict usage of my plugin:

https://github.com/slipcor/PVPStats/blob/4e3b954794cdc229124e9d05cde2dbe7777e18d2/src/main/resources/plugin.yml#L39

This has been working well for years - maybe only with other permissions plugins - or without even - and it see...

lilac dewBOT
lilac dewBOT
#

Thank you for your time!

I tried addressing this by reintroducing the permission setting, defaulting to false in my plugin.yml.

This works out of the box, as you pointed out, but then what happens is that admins give themselves the "*" permission to test out all the features, assuming that they have "all permissions", in turn giving themselves a permission that is restrictive in my logic.

Is there a way that I can set up a permission in a way that it will not be granted if a server a...

lilac dewBOT
lilac dewBOT
#

I know that it is not recommended. No need to convince me :)

But what can I do when server owners do use them when setting everything up and then expect my plugin to work the way they think it should?

If there is no way to prevent this while defining or checking permissions on my end, I will just stick to my current setup that checks for undefined permissions :)

An upcoming version will display warnings about this and maybe explain this behavior to affected server owners.

lilac dewBOT
#

... and then expect my plugin to work the way they think it should?

And that's the issue and why we are against wildcards, admins and owners not knowing any better blindly sticking * here and there.

Bukkit defaults are used as an ultimate fallback if the permission ends up undefined by any other means (specific permission, Regex, shorthand, wildcard, sponge wildcard, Bukkit child permissions); the wildcard (like any of the other kinds of permissions mentioned) is doing its job, this is ...

lilac dewBOT
#

Hopefully the above change will solve this issue for you. :)

You'll need to insert the new option into your config, as it defaults to being disabled if the section is missing.

# If the plugin should apply negated Bukkit default permissions before it considers wildcard
# assignments.
#
# - Plugin authors can define permissions which explicitly should not be given automatically to OPs.
#   This is usually used for so called "anti-permissions" - permissions which, when granted, ...
lilac dewBOT
#

Yes, this is very helpful and validating because it is in agreement with how I understand how permissions were defined to work.

I hope that this does not break functionality with plugins that might rely on the asterisk flipping their false to true - however I think we are in agreement that the absolute wildcard should not be used, and specific (parent) wildcards can and should be defined and then used to flip groups of permissions, and also, perms should be set and used as verbose as rea...

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Ah I see - well, ideally DiscordSRV should be caching this value, so the MySQL lookup isn't necessary.

I feel partially responsible, since I initially PRed contexts into DiscordSRV - however, I don't think the MySQL storage was there at the time.. I think that might've been added since.

Anyway, unfortunately there's not much LP can do about this - contexts have to be calculated whenever permissions are checked, which of course is going to happen sometimes on the main thread.

If you'r...

lilac dewBOT
#

Ah I see - well, ideally DiscordSRV should be caching this value, so the MySQL lookup isn't necessary.

While this would solve the problem, it causes another; another server might change the data in the database, which would lead to the cache being out of date, and adding redis/plugin message for this would be quite the hurdle (this is just one value that's in the database)

however, I don't think the MySQL storage was there at the time.. I think that might've been added since.

...

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Hey, im having a big issue with luckperms. other plugins don't get the group of player, if i "lp user (name) parent clear" and then use "/lp user (name) parent set VIP" plugins get the group of player. but when player logs out and logs in back same thing again plugins don't get the group of player. But on players first join it gets the group nicely (and then when player logs out and logs in same thing blabla). i tried other plugins to understand if problem is cuz of luckperms and it looks lik...

lilac dewBOT
#

Description

If a plugin subscribing to certain events calls a blocking LuckPerms API call, commands that update an online player, such as promoting on a track, will appear to succeed (and even send a message using Redis) while not writing changes to the database (or writing them extremely delayed), making it seem as if the database has suddenly gone read-only.

Reproduction steps

  1. Have near-zero (real) programming talent and think running a server is a good idea
  2. Inst...
lilac dewBOT
#

Description

Sometimes when joining a Server, you get kicked with the message "An unexpected error occurred whilst setting up your permissions data. Please try again later." Also affects Server-Switching with waterdog. Then you'll be stuck in a world of acazia buttons.
It doesn't happens always. But very often.

Reproduction steps

  1. Join the server
  2. Read the error in the console (https://bytebin.lucko.me/4IzER2kfGX)

Expected behaviour

Dont get kicked,
Getting no...

lilac dewBOT
#

[16:59:13] [Server thread/INFO]: [LuckPerms] Loading LuckPerms v5.2.35

[43,552s][warning][os,thread] Failed to start thread - pthread_create failed (EAGAIN) for attributes: stacksize: 1024k, guardsize: 0k, detached.
[43,553s][warning][os,thread] Failed to start thread - pthread_create failed (EAGAIN) for attributes: stacksize: 1024k, guardsize: 0k, detached.
[43,554s][warning][os,thread] Failed to start thread - pthread_create failed (EAGAIN) for attributes: stacksize: 1024k, guardsize: 0...

lilac dewBOT
lilac dewBOT
#

Description

I have never had any bad issues with luckperms, I love luckperms and I expect to be using it for a long time.
I do have one suggestion which would really help clean up my console, I believe it is the only error I keep seeing returning frequently because my players level up pretty quickly.

When someone levels up we give them a suffix with a few symbols in them declaring the level of the player (pvp related).
Giving these suffixes with symbols causes an error to be put i...

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Hey @i509VCB

I've recently been working on my own small fabric server, so now have a personal incentive to get this across the line! 😄

I've taken your branch and replicated it in the official repository, I didn't want to push any changes to your fork without asking (but I can do if you'd prefer that)

So far, I have:

  • Switched over to the new Fabric networking API
  • Reverted/tidied up some of the context changes. I've also made some small style changes to bring the fabric module m...
lilac dewBOT
#

Description

When you use the promote or demote command on someone that has a group on a specific track, the expiry time (in case it is a temporary group) won't conserve and it will turn permanent.

Reproduction steps

1- Create a track including 2 groups (group "A" and group "B")
2- Apply yourself one of those groups temporarily.
3- Promote or demote yourself on that track, and the expiry time won't be conserved, turning into a permanent group.

Expected behaviour

...

lilac dewBOT
#

Hey @lucko, I don't mind you pushing to my branch, I trust you there

Some things of interest may be this PR: https://github.com/FabricMC/fabric/pull/957 which will let you drop the mixins for player respawn (you have marked that one) and a player changing worlds for context tracking.

On changes, I believe you should also listen to ServerLoginConnectionEvents#DISCONNECT so you can expunge a player from the cache if another mod kicks the player during login.

On an official permission...

lilac dewBOT
#

Hi,
I was trying to conect Luckperms with my MySQL db but the only thin i get ios a big fat error in my Consloe that says. Cant conect to MySQL.

I Penta Checkt the login data in my Config and oter Plugins works Perfect only Luckpers makes me Probelms.

"java.sql.SQLTransientConnectionException: luckperms-hikari - Connection is not available, request timed out after 5000ms."

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Proposed behaviour

If a parent have a specific permission which is set to false and the child wildcard where the specific permission is is set to true, the command will not work. It would be nice to add a boolean in the configuration file so this behavior could be activiated.

When there are a few commands I want to disable, I set the wildcard to true and then get rid of the specific permissions, then I add the wildcard to true in the stronger group (for example admin > moderator).

lilac dewBOT
lilac dewBOT
#

Description

When using the command /lp group parent settrack the game (client, not server) crashes. I have tried with several different groups and the problem still exits, I'm using YMAL for the persmission files.

Reproduction steps

Run the command described above, and use tab for atleast the group. When press tab on the prefferd group, the game crashes.

Expected behaviour

I'm expecting the command to not crash when it's ran.

Environment details

  • Server ...
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Sure! I did an export on the server with only LuckPerms installed and all settings default. I ran the command /lp export <filename>, i hope that is what you meant!

{
"metadata": {
"generatedBy": "SwedishMonkey",
"generatedAt": "2020-12-29 16:05:20 CET"
},
"groups": {
"default": {
"nodes": []
},
"test": {
"nodes": []
}
},
"tracks": {
"mod": {
"groups": []
}
},
"users": {}
}

The game crashes when i try to r...

lilac dewBOT
#

Description

When joining through a proxy to a lobby, I get an error which crashes my client, this doesnt happen everytime but it happens a fair amount to be annoying. I have LuckPerms installed on both my proxy (WaterDog) and my lobby (nukkit).

Expected behaviour

Player should join with no issues.

Environment details

The client either crashes or gets stuck in a locating server glitch screen of which the player cannot get out of and has to restart the client.

  • Serv...
lilac dewBOT
#

Description

Due to the recent commit https://github.com/lucko/LuckPerms/commit/8167fbf73f99debb0cd8c1a46412a0176afb88af and the addition of the setting https://github.com/lucko/LuckPerms/blob/8167fbf73f99debb0cd8c1a46412a0176afb88af/bukkit/src/main/resources/config.yml#L473-L482 which is true by default (although it fallbacks to false if not found) and LP's nature of defaulting its own permissions to false prevent it from being used (by default) without being server operator, r...

lilac dewBOT
#

The important part of the mapped exception is as follows:

java.lang.StringIndexOutOfBoundsException: String index out of range: -5
    at java.lang.String.substring(String.java:1955)
    at net.minecraft.client.gui.components.CommandSuggestions.formatText(SourceFile:315) (Yarn: net.minecraft.client.gui.screen.CommandSuggestor.highlight)
    at net.minecraft.client.gui.components.CommandSuggestions.formatChat(SourceFile:280) (Yarn: net.minecraft.client.gui.screen.CommandSuggestor.pr...
lilac dewBOT
#

Description

with any of my ranks on my server, i give them permissions, and i give myself the rank, i deop my self, and i cant do any commands

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: `...
lilac dewBOT
#

Description

My plugin PromotionEssentials works with every other permissions plugin for removing and adding ranks via Vault's API. However, LuckPerms seems to ignore Vaults API for removing the parent rank / other ranks and then applying a new one.

For example, this would remove all other groups and then add a new group for a plugin such as GroupManager or Pex when using Vaults Permission service:
`
// Get permissions provider
Permission permissions = p...

lilac dewBOT
#

Description

Using auto-generated worlds (Worlds get UUID-alike names) I cannot give perms using world=(world name) because the name is too long.

Reproduction steps

  • Have a world with long name (Such as mine being sland_ad9e0a4c-897c-4d13-b224-1edf2dca8d16_normal)
  • Try adding a specific permission using world=world=island_ad9e0a4c-897c-4d13-b224-1edf2dca8d16_normal

Expected behaviour

A permission to apply no matter the world name length

Environment ...

lilac dewBOT
#

Description
Whilst using UserLoadEvent does not trigger on Player Join or when the Plugin gets Reloaded.

Main Class:

public void onEnable(){
        new LuckPermsListener(this, LuckPermsProvider.get());
}

Listener Class:

public class LuckPermsListener {
    private final Main main;

    public LuckPermsListener(Main main, LuckPerms api){
        this.main = main;

        Bukkit.broadcastMessage("1");
        EventBus bus = api.getEventBus();
        bus....
lilac dewBOT
#

I cannot reproduce, it's working fine for me.

I've added a simple demo to the cookbook plugin to confirm too: https://github.com/LuckPerms/api-cookbook/commit/b1804a934371776fe6720253976a0e2021deb1a0

[18:52:16 INFO]: Done (4.211s)! For help, type "help"
[18:52:16 INFO]: Timings Reset
[18:52:33 INFO]: [LuckPermsCookbook] UserLoadEvent fired! - c1d60c50-70b5-4722-8057-87767557e50d
[18:52:33 INFO]: UUID of player Luck is c1d60c50-70b5-4722-8057-87767557e50d
[18:52:33 INFO]: Luck j...
lilac dewBOT
#

Interesting bug! Thanks @Proximyst for the detailed analysis, you saved me a lot of time attempting to do the same 😅

The issue seems to be that arguments in the same parse tree need to have unique names - hence the reason why the crash happens with /lp group .... and not /lp user ...

The slimmed down tree looks like this:

luckperms {
  user {
    user brigadier:string single_word {
      parent {
        settrack {
          track brigadier:string single_word {
      ...
#

Thanks for the detailed report.

Yes - it's not a good idea to make calls to loadUser within a NodeMutateEvent, because loadUser indirectly causes more NodeMutateEvents... so you end up effectively with a stack overflow that will never end (because the result gets spawned on new threads).

The same would happen (more obviously) for example if you made a call to loadGroup in a GroupLoadEvent listener.

Thing is though, there's really no reason to make a call to loadUser within th...

#

LuckPerms aims to support Vault fully - the notion that I would purposely implement it badly in order to to encourage usage of the native LP API is pretty crazy...

Anyway, I suspect the issue is being caused by an internal requirement in LP that all users must have at least one group. If a user is left in a state where they have no groups, they are automatically added back to the default group.

Since each Vault method call is treated as a distinct operation, when you clear all groups, L...

#

That's a pretty long world name! But, it should still be ok - the max length is 64 characters.

(or it might be shorter if you started using / created your LP database a while ago)

You might need to manually increase the column limit in your MySQL database, should be relatively easy to do with phpmyadmin or something like that.

Failing that, might just be worth trying to generate shorter world names? :/

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

Having the elements that let you define a track or a group on plural instead of singular, would make the meta formatting much more manipulable and comfortable to edit at your liking.
Example:
highest_on_track_ would turn into highest_on_tracks_
So instead of only being able to put 1 track, you would be able to set more than 1.
highest_on_tracks_staff,donors

Same with elements that include ``. So for example highest_from_group_ would turn into `highest_from_gro...

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

I want to try to keep the system from becoming any more complex.. so unlikely to implement this as-is. I do have a suggestion for you though:

highest_from_groups_... can be replicated by just creating a throwaway track (i.e. one you're not going to use for promotion) with the groups you want.

Likewise with highest_on_tracks_..., just create another track which contains a union of the tracks you want to query for.

Thanks for the idea, but probably not something that is in-scope fo...

lilac dewBOT
#

Okay I think I understand the problem but I don't know how to solve it, that is after 8 hours of inactivity I think that mysql disconnects some connections like that of LuckPerms and also LiteBans, in fact from the logs putting the connection in MySQL instead of MariaDB now this "The last packet successfully received from the server was 54,318,428 milliseconds ago. The last packet sent successfully to the server was 54,318,448 milliseconds ago. is longer than the server configured value of 'w...

lilac dewBOT
#

Description

This report is in follow up to Issues #2764 & #2751

Reproduction steps

Assign "temporary" permission to user
Wait indefinite amount of time
Assign permanent permissions/groups to that user
Wait indefinite amount of time
"Temporary" permission expires (or is removed via command) and any perms added after that "temporary" node are removed
NOTE: This does NOT occur all the time, and is very rare

Expected behaviour

User does not lose permanent gro...

lilac dewBOT
#

There's no need to bump, I work on suggestions as and when I have time.

This is a complex problem with a potentially large impact on users setups if implemented incorrectly. It is also not something I consider to be urgent, the current system (whilst I admit is not perfect) is at least functional at the moment (and has been for the past 3/4 years...)

As well as the complexity of the code change, it also has knock-on effects on documentation and other behaviours (e.g. the include-global ...

lilac dewBOT
#

I'm happy that this branch is now in a workable / maintainable state. I think it therefore makes sense to merge it into master so Jenkins can start creating jars for people to download and test with.

Thank you so much for your work on this so far @i509VCB!

I look forward to being able to implement further improvements as & when fabric-api additions land. 😃

lilac dewBOT
lilac dewBOT
#

Thank you for the PR!

A question though:
Would this change not make the storage incompatible with any existing data saved in a different format?

Yes, this will break existing ids. It is not possible to transform a uuidv3 to a uuidv4 but an id saved in v3 is unusable since it does not correspond to mojang user's id.

It would be necessary to ensure that version 4 is used only if no data has yet been recorded. Another alternative would be to add an option in the configuration f...

lilac dewBOT
lilac dewBOT
#

Description

LuckPerms fabric null pointers in offline mode upon login

[ForkJoinPool-4-worker-53/ERROR] (luckperms) Exception occurred whilst loading data for null - [My Player's Username]
 java.lang.NullPointerException: null
        at java.util.Objects.requireNonNull(Objects.java:221) ~[?:?]
        at me.lucko.luckperms.lib.caffeine.cache.BoundedLocalCache.put(BoundedLocalCache.java:1981) ~[?:?]
        at me.lucko.luckperms.lib.caffeine.cache.BoundedLocalCache.put(Bounded...
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

I give someone the persimmon node minecraft.command.seed

However it does not work and says unknown command, (works with op)

Aswell as on the web editor and in game the default Minecraft commands do not auto fill.

Reproduction steps

  1. do /lp editor or lp editor from console
  2. select a user / group
  3. start typing in minecraft
  4. see it does not auto fill
  5. give someone a perm like minecraft.command.seed
  6. make sure you do not have op or...
lilac dewBOT
#

I am not certain that Fabric has inbuilt permissions for vanilla actions at this point - the examples you give, like minecraft.command.seed are built into Bukkit as permission nodes to control those actions specifically and you can find them
at https://bukkit.gamepedia.com/CraftBukkit_Commands

As LP does indeed work on fabric for things that have permissions, this is likely something that should be raised with the Fabric team. LP cannot control what perms are called or what they do - ...

lilac dewBOT
#

Description

When luckperms loaded it throws a NoSuchMethodError for com.google.common.cache.CacheBuilder.build

Reproduction steps

  1. idk why

Expected behaviour

Idk it not error on start

Environment details

  • Server type/version: Spigot running version 1.7.10 git-Spigot-1.7.9-R0.2-208-ge0f2e95???
  • LuckPerms version: v5.2.76 (Legacy)

https://gist.github.com/Moose1301/095098e7ec0d5b93a455a287233f0918

Any other relevant details

...

lilac dewBOT
#

Description

Causes watchdog crashes with blocklogger on fabric

Reproduction steps

Start a fabric server with luckperms, fabric API and blocklogger.
Currently unsure of what exactly causes the crash, but I have so far had 4 of these crashes reported since users added luckperms to their servers

Expected behaviour

Blocklogger does not behave in a way that a watchdog could occur, even if there is a storage slowdown. I believe this is a conflict with luckperms

...

lilac dewBOT
lilac dewBOT
#

I am aware luckperms uses some form of database. As the stacktrace says, there is an issue executing SQLite PreparedStatements.

The stacktrace says specifically that the issue is from executing tech.dttp.block.logger PreparedStatements.

java.lang.Error: Watchdog
	at org.sqlite.core.NativeDB.step(Native Method)
	at org.sqlite.core.DB.execute(DB.java:849)
	at org.sqlite.jdbc3.JDBC3PreparedStatement.execute(JDBC3PreparedStatement.java:54)
	at tech.dttp.block.logger.save.sq...
lilac dewBOT
lilac dewBOT
#

Description

Spent last 3 days setting perms on a server. Needed to make it so lower staff cannot demote higher staff
Support in discord told me to set require-sender-group-membership-to-modify to true
set this. Restarted server did /lp editor. It worked fine
Noticed i had no permission to do anything with luckperms even though i was OP and had the Permission* set in my username
also had basically no perms for anything.
Did /lp editor. Only 2 of the Groups out of 10 were there...

lilac dewBOT
#

Description

Fabric server on bungeecord network won't work w/ luckperms...

Reproduction steps

  1. Create a new fabric server w/ luckyperms & fabricproxy
  2. Connect the server to a bungeecord network
  3. Try to join
  4. See error

Expected behaviour

I want to login : )

Environment details

  • Server type/version: Fabric running version 1.16.4 build v0.6.1.51
  • LuckPerms version: v5.2.77
  • Fabric API version: v0.28.3
  • FabricProxy version...
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

I honestly have no idea why it does this.

Reproduction steps

  1. /kill yourself (with or without op)
  2. Type /perms
  3. Check Console

Expected behaviour

Log spam.

Environment details

Minecraft Environment: Floader 0.10.8 + Fabric + Jellysuite
Operating System: Ubuntu 18.04 x64

https://gist.github.com/TehcJS/bbd1375e911b80e12db1e267d263f1c0

Any other relevant details

It also happens when it tries to give you sugge...

lilac dewBOT
#

Description

Console is being spammed with an error about "An exception was thrown by me.lucko.extracontexts.calculators.WorldGuardFlagCalculator whilst calculating the context of subject CraftPlayer{name=srnyx}"

Reproduction steps

  1. Enable MySQL for LuckPerms
  2. Add WorldGuard and WorldGuardExtraFlags
  3. Join the server
  4. See error

Expected behaviour

No error

Environment details

  • Server type/version: Paper-Spigot-400 running version `1.16...
lilac dewBOT
lilac dewBOT
#

This seems like the same issue as ExtraContexts issues 29, 32, and 34. Are you using the WorldGuardExtraFlags command-on-entry or command-on-exit flags? I know they can cause issues, but don't know why.

EDIT: I haven't tested every flag comprehensively, so other flags may cause the same error.

Not as far as I'm aware

lilac dewBOT
#

Description

Upon executing the /stop command, the server does not shut down 100%. LuckPerms seems to cause it to hang?

Reproduction steps

Install LuckPerms and use /stop command /shrug

Expected behaviour

For the server to stop completely and restart

Environment details

  • Server type/version: Tuinity running version 1.16.4 build 8954b61
  • LuckPerms version: v5.2.76

Shutdown log: https://gist.github.com/vx888/91dbae6d951a0a17db9541de9...

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

I'm confused.. you say it hangs but the timestamps seem to show that it wasn't waiting at all?

[23:06:30] [Server thread/INFO]: [LuckPerms] Disabling LuckPerms v5.2.76
[23:06:30] [Server thread/INFO]: [LuckPerms] Starting shutdown process...
[23:06:30] [Server thread/INFO]: [LuckPerms] Closing storage...

HANGS HERE ^ 

[23:06:30] [Server thread/INFO]: [LuckPerms] Goodbye! <-- CTRL + C 

Ideally, I need a thread stack dump taken while it is hanging. You can use the jps ...

#

Interesting that the previous change has made this worse... I'm not sure what conclusion to draw from that.

Suggested Fix

Don't ever write back deletion to MySQL table. The database must always be the ultimate source of known good data.

If a plugin / api call or command requests the removal of a permission then remove that permission, There should never be a situation when the databases version should be considered invalid as all permissions are written out accurately whe...

#

Thanks for the extra info, I also did a bit of reading about the various UUID types Mongo uses.

A seamless transition is really important here: ideally, we assume that users might not even update all of their servers at the same time, so older versions of LP should be able to continue to function correctly.

So yes, a seamless migration from "current" to "recommended" UUID encoding is important. Otherwise, I'm inclined to just leave things as they are - it does seem to work somewhat ok a...

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

I can't seem to find documentation for whether or not this is an option, but I'm using LP to create a guild system. I have a track called "guild" with groups "Guild_member," "Guild_builder," and "Guild_leader." I want to give the group "Guild_leader" the permission to promote users only along the "guild" track. I have argument based command permissions enabled, but I can't seem to get the perm to show up for my test subject unless he has permission to promote along every track.

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

This could be due to a variety of reasons:

  • your browser has an extension blocking the connection to bytebin (where the data is stored and read from). Try using another browser or private browsing mode
  • your computer could have an anti-virus preventing the connection to bytebin. Disable your antivirus or try and use another device (another PC or mobile) to load the page
  • your internet connection (ISP) could be blocking the connection to bytebin. Try using another wifi network if possi...
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Everyone loves a snarky reply.

Enable the option in the config, then use verbose mode to figure out the rest.

If somebody is going to post a link with no explanation, they might as well not post at all. Why do developers always reply with as little explanation as possible? Are you actually trying to help? I'll try your suggestion, but my response to BrainStone is justified.

#

Well if around two pages of text is too much to read then you shouldn’t be running a server. Reading documentation is an essential skill for successfully running a server on your own. And it’s quite impressive that you never bothered even scrolling down. Else you would’ve seen it.

Now if you’ve read the documentation and it you don’t understand something that is fine. Ask for clarification on those parts. But don’t demand for people to regurgitate perfectly fine documentation into bite si...

#

My apologies on being so hasty and not scrolling down. I don't mean to be rude. It is possible, however, to help without being vague at first, and then scornful. Moreover, the article states that it pertains only to spigot and sponge, which I am not using. The issue is still unresolved. For instance, the node luckperms.user.promote.<track>.* doesnt seem to exist. I cannot use the wildcard to invoke all groups on a track.

#

he article states that it pertains only to spigot and sponge, which I am not using.

You didn't fill in the issue template so we can only assume you use the common server types. Tho luckperms permission nodes don't differ between server types so I don't see an issue there.

For instance, the node luckperms.user.promote..* doesnt seem to exist.

How do you know it "Doesnt exist", also the permission node its luckperms.user.promote.* not 2 .. Then also note that there is 5 permi...

#

Well if you read my original post, you'll see that that setting is in fact enabled. Also, the article SAYS "for sponge and spigot." Also, it would more appropriate to ask "is that setting correct?" or "did you try this command." That is what beig a helpful person looks like. The double dot was a typo on the post. The node is in red text when I type it.

#

The node is in red text when I type it.

Red doesn't mean its invalid, have you actually tried setting all the relevant permission node.

the article SAYS "for sponge and spigot."

At least say what server type you are using then

Well if you read my original post, you'll see that that setting is in fact enabled.

Im just asking you to check, didn't say you definitely didn't enable it yet.

Also, it would more appropriate to ask "is that setting correct?" or ...

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

when you do /lp import, and it tells you what the command does and how to use it, it states that --replace "replace existing data instead of merging", which (at least to me) implies that it will replace all permissions data

Proposed behaviour

there are a few options here

  • make the description more clear on what it is
  • rename the current option and add a new one that matches the current description
  • (better for compatibility) keep the current option as is (...
lilac dewBOT
lilac dewBOT
#

Alright, so I've used verbose mode to see what nodes are being checked when the command "/lp user name promote track" is run. I have the perms luckperms.uers.promote.modify.others, luckperms.user.promote.track.* set to true, which is all that the wiki says is needed. However, the output of the verbose command shows about 30 perms being checked, all of which seem unrelated to the command I'm trying to run, ones about viewing, clearing users, parents, and permissions. My subject does now get au...

lilac dewBOT
lilac dewBOT
#

Description

Ability to Change the permission before checking it

Proposed behaviour

It would be useful for some developers to be able to change the permission before checking it. This way a permit containing for example quantities would be easier to develop:

token.

A plugin can request to check the number of tokens needed for a certain action and with this method, it would be super simple to go and change the permission in order to check the number of tokens in this ca...

lilac dewBOT
#

A token storage system doesn't really fit well with permission checks. Permission checks return a boolean (true/false) value - not ints, strings or anything else.

If anything, using MetaNodes would be better, however, for that to work well, LuckPerms would need to be the source of truth for token balances. It wouldn't make sense to have another plugin be able to alter the lookup results, based on some other stored value.

If another system needs to be the source of truth on token balan...

lilac dewBOT
#

Description

When using any of the log history commands, an error will occur in console but will also complete it's expected task

Reproduction steps

I feel this might be specific to me only but:

  1. Do any of these 3 commands - /lp log userhistory/trackhistory/grouphistory [user/track/group]

Expected behaviour

The log to appear without generating an error in console

Environment details

Server version: git-Tuinity-"4743c34" (MC: 1.16.4)
LuckPerms version: 5.2...

lilac dewBOT
#

Description

My /lp editor is very slow & I often get warnings related to the database in my console.

Reproduction steps

Actually, I am not sure why it happens, so I'll show the console log instead.

Expected behaviour

It gives me editor link faster & doesnt throw warnings in console.

Environment details

  • Server type/version: Waterfall / paperspigot (bungee network with 1 waterfall server & 2 paperspigot servers all running luckperms running version...
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Hi, this is in fact breaking to other plugins yes.
After the fifth or so user came into the Citizens channel to ask why they couldn't use Citizens anymore, I looked into it and found this breaking change was at fault.
While I do think it fair to change Citizens permissions to default: op and don't find the commit inherently unreasonably, I must very strongly protest the issue post here...


"Anti-permissions" do NOT EVER EVER EVER SUPER NO NOT EVER belong in the permissions sy...

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Permissions are PERMISSIONS

NEVER mix permissions and user settings

I agree with you on this, and think that it should just be easy to just grant * to give users access to everything permission related.

However, the reality of the situation is that plugin authors are using the system for "anti-permissions", and that's something that LuckPerms should therefore aim to support in my opinion.

The idea behind this change was exactly that - to allow plugin authors to mark in t...

lilac dewBOT
#

i get this error when i try to connect it to mysq

l[10:54:45 INFO]: [LuckPerms] Enabling LuckPerms v5.2.90
[10:54:45 INFO]: __
[10:54:45 INFO]: | |) LuckPerms v5.2.90
[10:54:45 INFO]: |
_ | Running on Bukkit - CraftBukkit
[10:54:45 INFO]:
[10:54:45 INFO]: [LuckPerms] Loading configuration...
[10:54:45 INFO]: [LuckPerms] Loading storage provider... [MYSQL]
[10:54:45 WARN]: [Server thread] INFO me.lucko.luckperms.lib.hikari.HikariDataSource - luckperms-hika...

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

When joining a fabric server on a Bungeecord network user data doesn't load but also doesn't have any errors

Reproduction steps

  1. Have a bungeecord network with at least 1 fabric server
  2. have everything configured to run on a MySQL database.
  3. log into server and connect to the fabric world

Environment details

  • Server type/version: Spigot running version 1.8.8
  • LuckPerms version: v5.2.9

https://gist.github.com/MaximumMaxxx/c...

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

Verbose logging on fabric stops working completely all of a sudden after some arbitrary amount of time, in the order of seconds to minutes.

Reproduction steps

  1. Install LP on fabric and enable verbose.
  2. Wait for some arbitrary amount of time and do things that require permissions, no results yield.

Expected behaviour

Well it should keep reporting :full_moon_with_face:

Environment details

  • Server type/version: fabric@0.29.4+1.16...
lilac dewBOT
#

I think the core issue of that whole ordeal is that what permissions default to true or false are not visible to the user at all!

Mean they are tapping around in the dark with no chance of figuring out why that specific set of permissions is false even though they believe they should have those permissions. If there was a way to visualize the default permissions this whole issue should become a non-issue as then people can actually find the root cause.

lilac dewBOT
#

I have enabled bungee on all my sponge and spigot servers and enabled IP forwarding

`WARNING A permission check was made for player UploadKingYT - 56855605-4a13-4fc6-9bfb-07f777ef08a6, but LuckPerms does not have any permissions data loaded for them. Perhaps their UUID has been altered since login?
20.01 09:07:20 [Server] INFO java.lang.Exception
20.01 09:07:20 [Server] INFO at me.lucko.luckperms.bungee.listeners.BungeePermissionCheckListener.onPlayerPermissionCheck(BungeePermissionCheck...

lilac dewBOT
#

Description

I am trying to insert "meta.rankintab.&c[[color=#FF4400]&lL[color=#FF5F01]&lE[color=#FF7A02]&lA[color=#FF9603]&lD[color=#FFB104]&l-[color=#FFCD05]&lA[color=#FFB104]&lD[color=#FF9603]&lM[color=#FF7A02]&lI[color=#FF5F01]&lN&c]&f &r" as a permission but am hit with a Data too long for column 'permission' at row 1 error in the logs.

Reproduction steps

Command `/perm group staff4 permission set "meta.rankintab.&c[[color=#FF4400]&lL[color=#FF5F01]&lE[color=#FF7A02]&...

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

Only getting back version information When trying to execute any luckperms command in the console (Fabric)

Reproduction steps

  1. Install the Fabric Loader, API and Luckperms.
  2. Start the Server
  3. Try to give a User luckperms.* by executing lp user Paul_42812 permission set luckperms.* true in the Console.
  4. Get [LP] Running LuckPerms v5.2.91. back.

Expected behaviour

Permissions are not updated and [LP] Running LuckPerms v5.2.91. is ret...

lilac dewBOT
lilac dewBOT
#

Description

When I start my server I get this error:
java.util.concurrent.CompletionException: java.sql.SQLSyntaxErrorException: Table 'permscv.luckperms_groups' doesn't exist
I have the latest version of LP and I have tried making new of everything but it doesn't work. I have figured out that its not actually creating the table in the DataBase so it isn't finding it.

Reproduction steps

  1. Put your database credits in config.yml
  2. Restart the server
  3. See error
    ...
lilac dewBOT
#

Description

All in game log notifications are showing up as blank lines, and when a permission edit is made the line will start with either a plus or a minus depending on if a permission was added or removed but the rest of the line is completely blank. The notifcations do however show up in the console normally

Reproduction steps

  1. Use /lp applyedits or any /lp command that edits permissions or groups or have anyone else use a command that you should be notified about...
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

When I attempt to upload a json abckup i did of my previous luckperms config, it says it is unable to fidn the file. The minecraft output seems to shorten the location fo the directory it is searching against, but I have made sure that this file is available in /server/luckperms and /server/config/luckperms
The command I am using is
lp import file.json
lp import file.json [--upload]
lp import
lp import [--upload]
The issue it seems is that it cannot fidn the file itself. I am using S...

lilac dewBOT
#

Description

I have recently set up my server with bungee cord and now when i do the command /lp then a space in my main server it kicks me to my hub

Expected behaviour

I expected to do /lp editor but i am not able to do a space after the command due to the server kicking me to the hub

Environment details

  • Server type/version: PaperMc running version 1.16.4 + with viaversion build ???
  • LuckPerms version: Bukkit

Any other relevant details

...

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

I would agree that this likely isn't a luckperms issue, however I would suggest looking at the console of the server you get kicked from to see if its kicking you for spam. That can happen on pre-1.13 servers when using viaversion or protocolsupport as those plugins translate chat tab events to an event that counts as spam, although i am not sure why it would be happening on 1.16.4. I would also suggest updating to 1.16.5 (1.16.4 and 1.16.5 use the same protocol version btw, and are 100% comp...

lilac dewBOT
#

Hi, thanks for the PR - I appreciate it!

However, I'm not entirely sure how this is an improvement? The 'mutability' wasn't causing a problem before, and this change makes the class more complex by skipping out on the automatic error handling provided by the static method used previously.

Furthermore, when reloading, we kinda want to discard the existing YamlConfiguration & create a new one instead of merging into the existing!

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

When I do lp editor (in game or in console) it says "[LP] Preparing a new editor session, please wait...
[08:15:05 INFO]: [LP] Click the link below to open the editor:" and no link shows up.

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

Please help me solve it this problem, I want to use LP Web Editor.

#...

#

Description

Recently came across a warning/error when a player logged in with the username "Imperial", if you don't know this IGN is actually tied to two different UUID's/Mojang accounts. This causes LuckPerms to throw a warning in console when they both login or when one logs in after the other. I'm unsure of what consequences this may have on luckperms

Reproduction steps

  1. Get an account with the same IGN as another player.
  2. Login both accounts to the server.

...

lilac dewBOT
#

GIT - https://github.com/MinecraftForge/MinecraftForge.
Permission API - https://github.com/MinecraftForge/MinecraftForge/blob/1.16.x/src/main/java/net/minecraftforge/server/permission/PermissionAPI.java
Example permissions hook for command (with mixin) -
`@Mixin(CommandSource.class)
public class MixinCommandSource {
private static final String PERMISSION_LEVEL_NODE = "minecraft.op.level.";
@Final
@Shadow
private ICommandSource source;

@Inject(method = "hasPerm...
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

I'd have to agree , The latest builds are not right . If a player logs off while in the air , they get kicked when logging back on , contrary to setting allow flight in survival . I just became aware of this . I think it started with last weeks builds . When I have time I can look into it some more.

[16:45:35] [Server thread/WARN]: maelnelson was kicked for floating too long!
[16:45:35] [Server thread/INFO]: maelnelson lost connection: Flying is not enabled

lilac dewBOT
#

Description

I know I submitted this before but I'm very confident it's either luckperms or fabric poxy being broken here

Reproduction steps

  1. Have a bungeecord and fabric server
  2. Using MYSQL as storage type join the fabric server
  3. be sad

Expected behaviour

Environment details

Fabric Running Latest Build, Fabric Api Latest Build, Fabric Proxy latest buildLuckPerms version: v5.2.92

https://gist.github.com/MaximumMaxxx/27c1f7f25dd9d8c8...

#

Hi,

I've just switched over from group manager to Luck since groupmanager breaks all the time, and I wanted to add all permissions to the Owner rank, since in its default state with op, it blocks a bunch of permissions. In groupmanager I used to be able to put the '*' permissions, but there doesnt seem to be something like that in Luck, is there any solution for this?

#

Description

The NodeMutateEvent , NodeAddEvent and the NodeRemoveEvent are only fired when the Nodes are changed using in-game commands. All editor changes are ignored.

Reproduction steps

  1. Register listeners forNodeMutateEvent , NodeAddEvent and the NodeRemoveEvent.
  2. Make them print a debug message.
  3. Compile plugin and put it on the server.
  4. Run /lp user permission set -> See debug message
  5. Do the same thing from the editor
  6. Save editor ...
lilac dewBOT
#

You can either:

  1. ignore the warnings
  2. prevent those players from joining your server

I'm reluctant to remove the warnings - because well, they are warning you about a valid issue lol

Plugins simply are not going to behave correctly when two players are able to join the server using the same username. LuckPerms should be mostly ok, but bear in mind if you use their usernames to make changes using commands, it's probably going to actually apply the change to whichever user logged ...

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

The issue presents itself with GriefDefender that uses LuckPerms as data storage.
Basically, every time I run a /gdreload or re-start the server - the amount of flags stored in one of the groups - griefdefender_definition - changes drastically. It should contain around 100 flags, but the amount jumps from single- to double-digits. It looks like GD clears that group and adds flags to it one-by-one asynchronously, which LP doesn't like and sometimes even breaks the...

lilac dewBOT
lilac dewBOT
#

The warning imo is less preferred than a toggle - if you want to use it, having a potential flood of warnings would not be preferable, while if you don't want to use it, rcon commands should be blocked entirely. This isn't exactly a bugfix as it does not correct the source problem, it rather works around the problem by forcing RCON commands to run synchronously. As this is, as I see it, closer to a feature, it may be something users want to entirely disable, and if they want to use it then
1...

lilac dewBOT
lilac dewBOT
#

You convinced me that the warning is noise and should be removed. Done.

I'm not convinced this is a feature. The problem is lp commands over RCON do not output a response. A response is the only indication of successful or failure on RCON: https://developer.valvesoftware.com/wiki/Source_RCON_Protocol

I'm also not convinced RCON commands should run asynchronously. I couldn't find an RFC to confirm this, but RCON protocol seems to be serial in nature with one (or more) response packets fo...

#

this is the error

[23:43:45 INFO]: [LuckPerms] Enabling LuckPerms v5.2.94
[23:43:45 INFO]: __
[23:43:45 INFO]: | |) LuckPerms v5.2.94
[23:43:45 INFO]: |
_ | Running on Bukkit - CraftBukkit
[23:43:45 INFO]:
[23:43:45 INFO]: [LuckPerms] Loading configuration...
[23:43:46 INFO]: [LuckPerms] Loading storage provider... [MYSQL]
[23:43:46 INFO]: luckperms-hikari - Starting...
[23:43:46 INFO]: luckperms-hikari - Start completed.
[23:43:47 INFO]: [LuckPerms] Loading ...

lilac dewBOT
#

The issue isn't the RCON command, the issue is that the operation will effectively run on the main server thread and, if the operation takes long time to complete (e.g. load user data, run a heavy database query, bulk operations on text-based storage methods, etc), it will cause lag; that is <i>the</i> reason why vault-unsafe-lookups is false by default and throws a runtime exception.

lilac dewBOT
lilac dewBOT
#

Including a timeout is a great option, but does not solve the main problem - primarily that rcon commands run sync and sync operations are toggleable in LuckPerms. As Fefo brought up, there are even other examples - vault-unsafe-lookups des not have a timeout, but rather a toggle. I believe it is better design to allow a toggle because having a default, limited, timeout will not match some users' specifications, while a toggle allows them the freedom to choose entirely.

I'm thinking her...

lilac dewBOT
lilac dewBOT
#

Description

/lp setting|settinginfo|configinfo

Proposed behaviour

It would make and report various checks regarding the config setting specified:

  • Is it present / not null?
  • Current value (fallback value if not present / null, letting the user know of its invalid state)
  • Is reloadable?
  • Setting type (list of x, storage type, string, integer, etc)? (If it isn't the one expected, maybe let the user know of the invalid state)

Maybe suggest/check for settings listed...

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

the following are excerpts from a chat on discord:

make lp debug which dumps all data (except users) into a json and ships it to a web viewer
and then lp debug --full which includes users
by everything I mean editor data, but also config and server startup and other plugins involved
@Turbotailz could make a web viewer for that

it will send everything so we can cross reference and check startup logs while also checking lp info and group names and literally everything at once
we ...

lilac dewBOT
#

Description

Reproduction steps

  1. Run /papi ecloud download LuckPerms
  2. Run /papi reload
  3. Run /lp user example parent addtemp groupname 91d
  4. Run /lp parse example %luckperms_group_expiry_time_%

Expected behaviour

Correct the same time as /lp user example parent info

Environment details

  • Server type/version: Paper running version 1.13.2 build git-Paper-655
  • LuckPerms version: v5.2.84

Any other relevant details

...

lilac dewBOT
#

Hi, I made a post here a while back asking about adding the * perm to my server. It doesn't seem to work and I've tried all of the main options, I've tried * and then the following ones too: . '*'. and none of them seem to work. I'm running a 1.8.9 server which your plugin page says is supported, but me and the other owners are trying to do things after switching over from essentials, but we're constantly being blocked by LP saying we dont have permission, how do I fix this?

lilac dewBOT
#

Hey, thanks for the PR!

However, I would prefer it if we took a slightly different approach: a boolean config option like rcon-run-commands-sync which defaults to false, but when true, uses the blocking behaviour.

LuckPerms commands are not suited to being ran on the main thread - most of them involve some sort of blocking i/o which will make the server (game) thread lag if executed sync.

The reason for defaulting false - rcon is still perfectly functional at the moment for LP comm...

#

The debug command was removed because nobody was really using it!

I'd be happy to add it back, although it would be nice if we could time it with some sort of viewer on luckperms.net.

Even if that just means a simple page that can render JSON as-is in a pretty way, kinda like the viewer on https://jsonformatter.curiousconcept.com/

https://myst729.github.io/vue-json-tree/ or https://github.com/chenfengjw163/vue-json-viewer#preview could work

lilac dewBOT
lilac dewBOT
#

Description

I'm trying to make a plugin which gives a player a permission. In the docs, it says I should use PermissionNode.builder("my.permission").build() but when I try to build my plugin, gradle says:
Calls to static methods in Java interfaces are prohibited in JVM target 1.6. Recompile with '-jvm-target 1.8'
I don't want to change a version or something I'm using

Reproduction steps

  1. Make a plugin with Kotlin
  2. try to set a permission / build a PermissionNode with `...
lilac dewBOT
#

Description

All placeholders that return an amount of time are not parsed correctly - the amount of hours is often greater than or equal to 24. For example, when I run the /papi parse USER %luckperms_group_expiry_time_GROUP%, I get values like "5d 36h 1m 23s".

Reproduction steps

  1. Run /lp user USER permission settemp test.test true 1d2h
  2. Run /papi parse USER %luckperms_expiry_time_test.test%
  3. See the returned value - you should see something like `1d 25h 59...
lilac dewBOT
#

Description

Changing the usergroup manually through the database, you expect to change the primary group in the players table
However, this is not the case you have to change the player record in permissions.permission from group.{old} to group.{new}
Changing the Primary Group will not change anything in the server when you obtain the info through /lp user {name} info

This will change whenever you update permissions.permission

Proposed behaviour

Either the usage so t...

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

Quite simply, once two servers are connected to the same database (for luckperms only), the console will spam the error: me.lucko.luckperms.lib.hikari.pool.PoolBase - luckperms-hikari - Failed to validate connection me.lucko.luckperms.lib.mysql.cj.jdbc.ConnectionImpl@(No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value.

Reproduction steps

**1. Have a Bungeecord server and a Spigot server
2. Put Luckperms ...

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

###optimalisation:
Also using the normalization form will optimise the plugin (application) as there is less data to be obtained.

An player contains a uuid (unique user id)
Which means we can hold this as primary key (the row identifier) | {additional info}

A group is now only consistent out of a name. Maybe add the data related to a group to this table instead?
Such as: title, weight etc.etc.
The group name is unique so we can index this one as well as prinary key.
Then we get to...

lilac dewBOT
#

Description

When you try to join a Fabric server through BungeeCord/Waterfall using FabricProxy, LuckPerms does not allow that login because player's data couldn't be loaded during the pre-login stage.

Reproduction steps

  1. Create a Fabric and a BungeeCord/Velocity server
  2. Put FabricProxy (only on Fabric server) and LuckPerms as mods
  3. Try to log in to the server and you'll see the error in the console.

Expected behaviour

A successful login was expected...

lilac dewBOT
lilac dewBOT
#

Description

Luckperms does not autofill the commands in the editor.

Reproduction steps

  1. Create a Fabric server
  2. Put luckperms in the mods folder(with Fabric API)
  3. Restart
  4. Do /lp editor and have a look.

Expected behaviour

I expected there to be a list of available commands.

Environment details

  • Server type/version: Fabric running version 1.16.5 latest.
  • LuckPerms version: 1.16.4

Any other relevant details

Here ...

lilac dewBOT
lilac dewBOT
#

Hi again.

I have tested LP v5.2.101 on BungeeCord but the issue wasn't fixed. Here you have the console output.

[21:56:39] [Server thread/INFO]: Kikisito[/127.0.0.1:55490] logged in with entity id 217 at (253.5, 70.0, -156.5)
[21:56:39] [Server thread/INFO]: Processing login for 31c7be0d-89fc-401e-9d16-bafca8739984 - Kikisito
[21:56:39] [Server thread/WARN]: User 31c7be0d-89fc-401e-9d16-bafca8739984 - Kikisito doesn't currently have data pre-loaded - denying login.
[21:56:39] [S...
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Hi again.

Thanks for your answer. I've been still trying to see what was happening for this and switched again to Velocity. I forgot to test the build using this proxy before (i'm really sorry for that), and the console output is different.

[18:48:07] [Server thread/INFO]: Processing pre-login (sync phase) for 859a0db5-6499-3552-96ea-c8543a67ff75 - Kikisito
[18:48:07] [ForkJoinPool-4-worker-59/INFO]: Processing pre-login (async phase) for 859a0db5-6499-3552-96ea-c8543a67ff75 - Kik...
lilac dewBOT
#

Basically where you can tell the meta key that they are dealing with a placeholder so it can get parsed correctly and not into text.

example: lp prefix.

so something like meta.prefix.%luckperms_prefix%

That way you get a return of the actual prefix and not just pure text form.

I am aware that this would be stupid for this example. i simply used it as a simple explanation.

It would be useful if you are using custom placeholders and want to use multiple at the same time to where ...

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

After an update of LuckPerms from version 5.1.47 to 5.2.104, colours a no longer shown for the groups display name when running /lp listgroups
v5.1.47: https://i.imgur.com/oSfCPZw.png
v5.2.104: https://i.imgur.com/RvgKXCx.png

Reproduction steps

Upgrade from any version 5.1.x to any version above v5.2.76 (These are the 2 I was running at the time)

Expected behaviour

Expected displayname formatting to be shown

Environment details

  • Server...
lilac dewBOT
lilac dewBOT
#

For those who don't want to download random files: https://bytebin.lucko.me/fYAWUhS4gt

Niketats, it looks like you're using two different mods that have the same purpose and they're conflicting. I'm not 100% sure on this due to my lack of experience with Fabric, but I believe you can only have one mod interacting/assigning permissions via the Fabric permissions API. LuckPerms and PlayerRoles both seem to do this, so you'll need to pick one.

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Hello,

it's me again!
I have a problem that makes user get their group's meta (prefixes and such) when they get set to another group.

Since last time, the problem seemed to vanish by itself, however yesterday it returned.

When we ran the command /lp user USER parent set GROUP, we observed the user got the group meta set as their own.

We tried completely deleting everything from LuckPerms - groups, tracks, users, everything, but to no effect.

The new groups suffer from the sa...

lilac dewBOT
lilac dewBOT
#

Description

Maybe if there was a way to make a context work only when it is FALSE.

Proposed behaviour

Some might want a person to have a certain group on every world/server except one. I've needed this multiple times recently. Something like world=!worldname.

#

Hello,

I would like to report a problem that I almost always have with the plugin.

I start to get these types of warnings that are errors that are generated, they take out all my players and it is usually repetitive. Sometimes those messages that I show in the image keep coming out, and I already checked all the configuration and it's fine, besides that I went to its page to see the error wiki and everything is correct, but I still have the same problem , and this occurs between all con...

lilac dewBOT
#

Description

Luckperms does not respond on latest version after executing more then 100 permission nodes (104)
and it does work find on older versions (76)

Reproduction steps

https://www.youtube.com/watch?v=ESCaD_0_fF0&feature=youtu.be (Version 104 Latest)
https://www.youtube.com/watch?v=2ULt-oH2PNg&feature=youtu.be (Version 76 Older)

Expected behaviour

Environment details

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

It's unlikely that there's a bug that is causing this issue, perhaps you made a mistake during the migration?

If you still have the import/export files to hand, I can take a look to see if the data is there? You could always run the import again and it'll merge the old data back in again.

Closing for now, but please feel free to re-open if you have any more info to give.

#

Group display names (or think of them like aliases) are not meant to contain color codes.

The intention was to just allow nicer formatting (since LP forces the actual name to lowercase):
e.g. format owner --> Owner or sradmin --> SeniorAdmin.

Of course, there aren't any restrictions on what characters you can use - so you can put color codes in there if you want - but LP won't format them for you - at least in internal commands.

The reason for the change is because we phased...

lilac dewBOT
#

Morgning My LuckPerms data was in Mysql type
I created the character "Test" and went into the game with it. After then relogin as an administrative character. In the webconsole, character was, i checked it. I applied the permission for the group (adding rtp for default), and then opened the lacperms console again - the "Test" character was no longer there - it just disappeared.
There were no storage migrations between it 2 action. LuckPerms was and remained on Mysql. After that, I moved th...

#

Description

When we ran the command /lp user USER parent set GROUP, we observed the user got the group meta set as their own.

We tried completely deleting everything from LuckPerms - groups, tracks, users, everything, but to no effect.

The new groups suffer from the same bug.

Reproduction steps

1.Create a group
2.Try setting it to a user
3.The user has now their previous group's meta set as their own.

Expected behaviour

The user meta remains untouched

#...

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

Apparently you are right, a plugin is interfering with the connection of the class, previously I have not had problems and I did not get this error, maybe it is with some update of the plugin that is causing the class not to be executed, some way to fix it ? Or would you just have to report it to the plugin that is doing the interference so you can validate and fix it?

lilac dewBOT
#

SLF4J is just the library used by Hikari (the library in charge of handling connections to the database) to log things in console. Everything will still work, the logger will just fallback to a NOP (no-operation) one, meaning it won't print anything, you just won't see things like errors or warnings printed by Hikari; is it ideal? Well no lol, the issue is one of those plugins is (most likely) being shipped with an ancient version of SLF4J.

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

Before starting, I want to say that I am reporting this for someone else who had this issue and doesn't know how to make a bug report. If the info provided is not sufficient or anything else is wrong, feel free to close. Just wanted to forward this.

Description

Running a command that called Chat#getPlayerSuffix threw an exception (https://paste.gg/p/anonymous/17155bf2a1b644339def4661edff27f2), line calling it is at https://github.com/NEZNAMY/TAB/blob/716466e444689e6e79b1e66349dd...

lilac dewBOT
#

Yeah, so, logs are pretty clear - they weren't connected to the server when the LP warning message was printed. :wink:

[11:37:15] [User Authenticator #4/INFO]: UUID of player AleafL is 9a7b2995-03dd-38c2-b715-69673f57e3e5
[11:37:15] [Server thread/INFO]: AleafL[/xxxx] logged in with entity id 18188 at ([world]4019.815052779904, 69.0, -2911.5489495565566)

...

[11:46:52] [Server thread/INFO]: AleafL lost connection: Disconnected

...

[11:50:53] [Server thread/INFO]: [TAB v2....
lilac dewBOT
#

Description

lp bulkupdate users delete "permission ~~ group.%"

doesn't work .-.

Reproduction steps

issue lp bulkupdate users delete "permission ~~ group.%"
% being a group.
on a 1.16.4 server with viaversion. viabackwards and viarewind (latest stable versions.)
Issue the command thru console and it won't work.

  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
    not ev...
lilac dewBOT
#

Description

Hello, i have a problem with LuckPerms and essentials. All essentials.PermissionExample doesn't work at all. I made a single rank, with "essentials.kit.daily" or "essentials.msg" (the kit was already created) and player doesn't have access to these command, even if i give them the permission. Tested everything, nothing works. All essenitals permission just doesn't work with Luckperms for some reasons.
Any help?
Sorry for the bad english :(

Reproduction steps

...

#

According to essentials documentation, lets use your kits example. You will need essentials.kit AND essentials.kits.[kitname]. I think you are just using the wrong permission nodes, contact essentials support on it and sending your editor link so we can see the perm nodes you set will be useful in this case.

The problem is, it's not that.
Because every permission doesn't work so,
essentials.msg
essentials.afk
etc, etc doesn't work at all.

#

Make sure LuckPerms is your only permissions plugin installed, other perms plugins will take over if any is present making LP not function.
You can find a very small list of permissions plugins in the [migration page] (https://luckperms.net/wiki/Migration) (keep in mind that it's not an exhaustive list and other perms plugins exist).
If you are unsure whether or not one of your plugins is a permissions plugin you can upload a screenshot of /plugins.

lilac dewBOT
#

Ok so here are some info youy should provide:

  1. screenshot output of /ess version (run command from console)
  2. send your editor link.
  3. Run /lp verbose command <player> <command> replacing the placeholders appropriately
    (edit: also ensure you test with a player that are in the correct permission groups.)

Version Server : 1.16.5-R0.1-SNAPSHOT git-Paper-468 (MC: 1.16.5)

.... [19:10:47 INFO]: Version EssentialsX : 2.19.0-dev+74-36422ab
.... [19:10:47 INFO]: Ver...

#

Description

I use Craftbukkitlogin, an authentication plugin, for security reason. If I deop myself, i can't login nor register.

Reproduction steps

  1. Register and login using Craftbukkitlogin.
  2. OP myself with LuckPerms.
  3. Exit the server.
  4. Deop myself.
  5. Enter the server.

Expected behaviour

I should be able to use the password i created, or at least make a new one.

Environment details

  • Server type/version: Spigot running version `1....
lilac dewBOT
lilac dewBOT
#

Description

  • The players don't come into my own default group, but always into "default", but I want them to come into my group, because otherwise I have to rewrite most of the plugins

Environment details

  • Server type/version: Waterfall & PaperMC - Version: 1.16.5
  • LuckPerms version: Waterfall - v5.2.107 | PaperMC - v5.2.104

The Error

lilac dewBOT
lilac dewBOT
#
➜  /Users/luck/Desktop/servers/tuinity /Library/Java/JavaVirtualMachines/zulu-16.0.83.jdk/bin/java -DPaper.IgnoreJavaVersion=true -jar server.jar nogui
Unsupported Java detected (60.0). Only up to Java 15 is supported.
System Info: Java 16 (OpenJDK 64-Bit Server VM 16-ea+33) Host: Mac OS X 11.1 (aarch64)
Loading libraries, please wait...
...
[18:23:13 INFO]: This server is running Tuinity version git-Tuinity-"d3ee222" (MC: 1.16.5) (Implementing API version 1.16.5-R0.1-SNAPSHOT)
......
lilac dewBOT
#

Description

Querying user meta-data (using LuckPerms API) with the method User#getCachedData#getMetaData#getMetaValue(KEY) does not query with the key lowercase forced, even though meta does not support uppercase characters.

This is an issue because setting new meta through the API (or commands) converts the key input to all lowercase if provided capital letters. This creates an inconsistency with setting/querying.

Reproduction steps

  1. Use the method with an...
lilac dewBOT
#

Description

Luckperms cannot connect to PostgreSQL database

Reproduction steps

  1. Open the config.yml file and set storage-method to PostgreSQL, enter address, database, username and password.
  2. Restart the server
  3. See error
[18:34:37 ERROR]: [LuckPerms] Failed to init storage implementation
java.sql.SQLTransientConnectionException: luckperms-hikari - Connection is not available, request timed out after 5001ms.
        at me.lucko.luckperms.lib.hikari.pool....
lilac dewBOT
#

The default assignments extension requires that Nashorn is installed on your system - unfortunately this is no longer being installed by default with Java installs, so you will need to add it manually for the extension to work.

The extension is for legacy support, so naturally it's not being maintained really.

Sorry, not much more I can do to help.

#

Unfortunately, this sort of thing isn't possible to implement given the way the system works currently.

In the meantime, I suggest you define/use your own static contexts, or just set a false override in the world you don't want the permission to apply in.

e.g.

# apply 'some.thing' in all worlds except the nether
/lp group default permission set some.thing true
/lp group default permission set some.thing false world=nether
lilac dewBOT
#

Incidentally, I switched from Mohist to Magma, but the problem remains the same
image
Full thread dump Java HotSpot(TM) 64-Bit Server VM (25.202-b08 mixed mode):

"Thread-17" #78 daemon prio=5 os_prio=0 tid=0x00000000358f0000 nid=0x75e0 waiting for monitor entry [0x000000002bacd000]
java.lang.Thread.State: BLOCKED (on object monitor)
at org.bukkit.plugin.SimplePluginManag...

#

The important part is:

"ForkJoinPool-1-worker-11" #68 daemon prio=5 os_prio=0 tid=0x000000002ab4f000 nid=0x5b70 waiting for monitor entry [0x0000000034e5c000]
java.lang.Thread.State: BLOCKED (on object monitor)
at org.bukkit.plugin.SimplePluginManager.getPlugins(SimplePluginManager.java:366)
- waiting to lock <0x00000006d9c8c898> (a org.bukkit.plugin.SimplePluginManager)
at pw.yumc.Yum.kit.PKit.collectPlugin(PKit.java:176)
at pw.yumc.Yum.kit.PKit.getOperatePlugin(PKit.java:57)
a...
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

I found a problem. If the player has both the default group and the VIP group, and both groups have default prefixes, he prefers the prefix of the default group. If you don’t want to display the prefix of the default group, the player must delete the default group. Inheritance.

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

when you try and tab complete the command in an execute command: https://prnt.sc/1045sm6
it'll give you a few error messages in chat and it will basically flood your console with the error message down below
I'm not entirely sure if this is due to the plugin or Minecraft self that doesn't understand the integration of the plugin commands

`[21:41:05 ERROR]: Exception when crazy_chikken98 attempted to tab complete execute as @p run lp user
org.bukkit.command.CommandException: Unhandl...

lilac dewBOT
#

Plugin commands don't really work with vanilla execute. You can enable resolve-command-selectors in LP config if you want to use @ selectors in LP commands (e.g. lp user @r promote staff) and you should use this instead of using the execute command.
https://github.com/lucko/LuckPerms/blob/40184932855d85d05189e8e705562d734ad660f2/bukkit/src/main/resources/config.yml#L663-L665


On another note, that error is due to LP registering commands in a way vanilla thinks they are van...

lilac dewBOT
#

After update to latest version (mohist-1.16.5-371) the log is being spammed with the following which prevents seing anything as it really does not stop.... I know it's not much info but something in the merge seems to have gone wrong...

    classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classload...
lilac dewBOT
#

Description

Whenever there’s a database error, it always constantly spams my console, maybe remove that and replace it with something like this LuckPerms Database Is Offline! or something.

Proposed behaviour

This could work by changing it to something like this LuckPerms Database Is Offline!.

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

I've used Luckperms for a long time and never had this issue but after the last server restart, the H2 database with all player permissions and groups just reset itself with no warnings in the logs regarding it.

Environment details

  • Server type/version: Paper running version 1.16.5 build 492
  • LuckPerms version: v5.1.93

Any other relevant details

Sorry that I don't have any information to give on this but the console/logs show nothing. No plugins ...

lilac dewBOT
#

Description

When I give a context to a permission (Work with Databases, MariaDB) and try to save them through the webgui, the plugin makes the change but when the gui is reopened all the contexts disappear.

Reproduction steps

  1. Open the gui
  2. Enter a permission in a group,
  3. Add a context, save send the command and close the gui.
  4. Finally, reopen the gui and there will be no contexts placed.

Expected behaviour

In reality he had to show me the contexts I...

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

I've only honestly seen this happening once, there was 1 player online, I was talking to them and just bam suddenly hundreds of errors in console until I managed to restart the server. I asked the player what they were doing but they said they were just standing still in the middle of nowhere talking to me.

I just saw it happen, was confused and decided to post here as it started off saying a luckperms process was hanging.

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

Description

I get kicked from the server when I type /lp, /luckperms etc.

Reproduction steps

  1. Type /lp or /luckperms in chat then hit space

Expected behaviour

User will get kicked

Environment details

  • Server type/version: Paper 1.16.4 with BungeeCord
  • LuckPerms version: Latest, just tried changing it to the lastest version

https://prnt.sc/10cdvbm

Any other relevant details

This happened for the first time after adding the...

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

This is the part that concerns <i>you</i> and tells you what you <i>can</i> do about it.

The operation to load user data for '5eb36239-c818-3d55-8f80-648ae5312bf8' was cancelled by LuckPerms. This is NOT a bug.
The lookup request was made on the main server thread. It is not safe to execute a request to
load data for offline players from the database in this context.
If you are a plugin author, please consider making your request asynchronously.
Alternatively, server admins can disable this...

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

It would be useful if you could either provide the crash log from your client, or be more specific about what version of LuckPerms you are using. "Latest" could refer to various versions depending on where you download from.

Found out it was another plugin causing it.

lilac dewBOT
#

All the settings aren't saving once i close the browser. every time i load it back up to add new perms to a role, it reverts back to the first every permissions i first uploaded when I made the server and only shows 5 of the players on the list when the server started. I now have over 10 players but only 5 of the first ever users are always shown.

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

Paperspigot 1.8 with luckperms breaks

[17:41:00 ERROR]: Could not pass event PlayerLoginEvent to LuckPerms v5.2.76
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[patched.jar:git-PaperSpigot-"4c7641d"]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:78) ~[patched.jar:git-PaperSpigot-"4c7641d"]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[p...

#

Description

Logging in on paperspigot 1.8 throws an error (latest build from website)

[17:46:03 ERROR]: Could not pass event PlayerLoginEvent to LuckPerms v5.3.0
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[patched.jar:git-PaperSpigot-"4c7641d"]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:78) ~[patched.jar:git-PaperSpigot-"4c7641d"]
at org.bukkit.plugin.RegisteredListener.callEven...

lilac dewBOT
#

Description

So if i add temp group to player, and i type somewhere placeholder %luckperms_expire_time_group.master% (it can be whatever) the placeholder says not 30 days but 5d 59h 59m 59s.

Expected behaviour

Expected is 30d not 5d 59h 59m 59s.

Environment details

  • Server type/version: PaperSpigot running version 1.15.2 build git-Paper-390
  • LuckPerms version: v5.3.0 - i also tried 5.1.26

Picture https://i.imgur.com/1CLls54.png

lilac dewBOT
#

Description

Players with Spaces in their names can not be reached..

Reproduction steps

  1. Open the config.yml file and set allow-invalid-usernames to true.
  2. Restart the server
  3. Run /lp user "bob junior" info
  4. See you can not access the players information because they have a space in their name.

Expected behaviour

Should access Bob Juniors information

Environment details

Nukkit, latest version of it and luckperms

  • Server type/version: `...
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

Just a lot of errors and a crashing server, don't really know what happens.
I tried running with the lastest build on the site (5.3.0) and on old version on modrinth (5.2.92). With each build I get the errors.
When removing luckperms the server runs smooth.

Server:

2gb - shared test server

openjdk version "1.8.0_262"
OpenJDK Runtime Environment (build 1.8.0_262-b10)
OpenJDK 64-Bit Server VM (build 25.262-b10, mixed mode)
:/home/container$ java -Xms128M -Xm...
lilac dewBOT
#

Description

When I start the server with the LuckPerms and server will load. And I see that my panel (Pterodactyl panel) is loading and MySQL server is going to time out!

Reproduction steps

  1. Open the config.yml file and setup the MySQL database and save.
  2. Restart the server

Expected behaviour

MySQL server is dropping.

Environment details

  • Server type/version: Yatopia running version 1.16.4 build 40
  • LuckPerms version: v5.3.0

...

#

Description

When using a Unicode symbol in a group prefix, requesting info on that group will display the prefix twice.

> lp group moderator info
[12:23:00 INFO]: [LP] > Group Info: moderator
[12:23:00 INFO]: [LP] - Display Name: moderator
[12:23:00 INFO]: [LP] - Weight: None
[12:23:00 INFO]: [LP] - Contextual Data: (mode: server)
[12:23:00 INFO]: [LP]     Prefix: "[★] [★]"
[12:23:00 INFO]: [LP]     Suffix: None
[12:23:00 INFO]: [LP]     Meta: None

This only ef...

lilac dewBOT
lilac dewBOT
#

Description

So if player has group in some context for example server=lobby and you type /lp user nick parent removetemp group1 server=lobby it removes it in global so it says that he doesnt have this group in context global, so i have to make it manually from lp editor. This happen only in new versions like 5.3.0.

Expected behaviour

It should remove it from context Lobby but it removes it in context global

Environment details

  • Server type/version: `PaperSp...
lilac dewBOT
#

Description

Hello So i was using your Web Editor But Everytime i make a group, save it and refresh it gets deleted off of the Web Editor...

Reproduction steps

  1. Fix The Issue With It Deleting Off The Web Editor

  2. Open the config.yml file and set example to true.

  3. Restart the server

  4. Run /lp user example permission set x from the console

  5. See error

Expected behaviour

it to not delete off the web editor.

Environment details

  • Serv...
lilac dewBOT
#

I'm creating a pixelmon server on my computer and when I do "/lp editor" in the control panel it gives me a link that just brings me to the website and not an editor. https://luckperms.net/editor/?Jp5sOkjbsB This is an example of it. The only thing I've noticed is that there is a ? in all the links I get from the "/lp editor" command which, I don't see in any of the youtube videos showing me how to use the lucky perms mod.

lilac dewBOT
lilac dewBOT
#

Description

When I try to join, it kicks me with this [LP] A database error occurred whilst loading permissions data. Please try again later. If you are a server admin, please check the console for any errors.

Reproduction steps

  1. Just connect LuckPermsBungeecord with MySQL

Expected behaviour

I don't know

Environment details

  • Server type/version: Aegis BungeeCord-fork running version 1.16.5 build ???
  • LuckPerms version: v5.3.3
    ...
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

Hello, I am using the plugin "JPremium". This plugin is for premium/cracked authentication. Premium players can join with no logging etc... I found this bug with Luckperms, when I remove myself from the JPremium database (premium account), then register... LuckPerms will not recognize my UUID and I have no groups, perms, etc. I think it is caused by LuckPerms, any other plugins using UUIDS like SkinsRestorer are okay with that. I think it is also when the premium player chang...

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

Updating to a newer version actually caused my bug.

Description

Using Build 5.2.76 my SMS Scripts that use RCON to connect to servers and add ranks etc worked fine, but when I updated to 5.3.3 LuckPerms didn't add any ranks anymore (RCON still worked fine). Seemed like LuckPerms was straight up ignoring anything sent by RCON. Adding ranks by hand still worked.

Expected behaviour

I expected it to work the same as previous build. Did also test 5.3.5, but it was aff...

lilac dewBOT
#

Hello. I am making a plugin for BungeeCord, which needs to get a list of all players in a particular group (including offline players). I did not find this function in the API. A similar situation is described here: spigotmc.org/threads/417525

Earlier, to solve my problem, I use the implementation code of the command /lp group \ listmembers
(copy-paste from me.lucko.luckperms.common.commands.group.GroupListMembers with some reflection).
This was qui...

lilac dewBOT
#

So this is my solution. Ugh, it took about an hour to figure it out. It should be keep in mind that this method should be called asynchronously, since it loads data directly from storage (disk, database, etc.).

However, I think it would be great to see a simpler solution to this question in the API - I'm not the only one who needs this feature.

private List<User> getUsersInGroup(String groupName) {
    LuckPerms api = LuckPermsProvider.get();
    Group group = api.getGroupManage...
#

this method should be called asynchronously, since it loads data directly from storage

So would a possible Group#getMembers() method? Users aren't magically loaded into memory already.

You would still need to loop through all members to add the node you want etc.
This problem can be solved by returning CompletableFuture. Or by passing Callback/Consumer to the method. There are many options...

lilac dewBOT
#

A bit more performant.. will load users in parallel.

I'm not sure whether this is something that I want to include as a utility method in the API itself - loading users is an expensive operation (relatively compared to the searchAll call) and so you should only do it if you really do need more than a UUID.

private CompletableFuture<List<User>> getUsersInGroup(String groupName) {
    NodeMatcher<InheritanceNode> matcher = NodeMatcher.key(InheritanceNode.builder(groupName).build...
#

A bit more performant.. will load users in parallel.

I'm not sure whether this is something that I want to include as a utility method in the API itself - loading users is an expensive operation (relatively compared to the searchAll call) and so you should only do it if you really do need more than a UUID.

Yes, I need exactly the User meta data.

But if we talk about the API, I think that getting the UUID will be enough. After receiving the UUID, everyone will be able to load us...

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

I want to clarify that I do not mean to assign blame here - it is entirely possible that this is not a problem in either mod. When I looked into this issue on my side, I could not find any conflicting classes. However, I was able to confirm that this only occurs when both mods are installed.

For the time being, a suitable workaround is to install Chunky and pre-generate your world, and then remove it before installing LuckPerms. Obviously less than ideal, but there isn't a suitable alterna...

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

hi is it possible to add a negative value for the accumulate temporary modifier so you can reduce the duration of the permission instead of adding a duration? Right now, it is only possible to add a duration to the timer and im hoping i can reduce timers in the future. this would be useful for servers with large playerbases as doing it manually would be way too time consuming.

Proposed behaviour

e.g. /lp user (player) permission settemp (perm node) false (negative...

lilac dewBOT
lilac dewBOT
#

Description

Short report, as there is almost no support on Discord. Since the last LuckPerm update, my console commands no longer work.

Serverversion:

This server is running Paper version git-Paper-562 (MC: 1.16.5) (Implementing API version 1.16.5-R0.1-SNAPSHOT)
You are running the latest version
Previous version: git-Paper-526 (MC: 1.16.5)

LuckPerm version 5.3.0

Commands:

     - '[console] lp user %player_name% permission set test.test1'
      - '[...
lilac dewBOT
lilac dewBOT
#

The problem is that no player can join the server when the problem occurs.

This would indicate that the problem is probably more significant than just LuckPerms.. the LP command queue getting stuck is one thing, but that wouldn't (shouldn't) prevent players from connecting to the server.

More likely you have a thread / CPU starvation problem which is resulting in the server not responding.

lilac dewBOT
#

Description

Hi, I had a big tps drops when changing world, it took almost over 800ms. I thought it was due to Jobs plugin, but there's something that could be improved in LuckPerms, look here https://github.com/Zrips/Jobs/issues/1113#issuecomment-803400931.

Reproduction steps

  1. I was using PlayerWorlds plugin, but maybe isn't neccessary.
  2. Then I've changed world.
  3. Then I saw big tps drops in spark (you cansee here report for Jobs plugin https://github.com/Zrips...
lilac dewBOT
#

Looking at the code, I see that in the ChildProcessor class, in the overwritten "refresh" method, it iterates over all the child permissions to update the existing ones according to the Spark report. For this, I suspect you have set a lot of permissions on the database? Usually it is the case that a user has a lot of something and it takes a long time for the CPU to load those elements.
https://github.com/lucko/LuckPerms/blob/6b2c4bca58df120c67ba6...

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Hey, this is cool! Thanks for submitting as a pull request, I've had a look through your code and it looks good to me.

I am aware that this is a very, very small platform, and that this will likely be unused by a majority of users

Unfortunately, this is a big blocker in terms of having support for Krypton merged directly into LuckPerms. No matter how amazing a platform is, it isn't worth the maintenance burden if it is only going to be used by a relatively small amount of people.

...

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#
[00:21:46 WARN]: [LuckPerms] Command execution [user, Adurien, permission, unset, adurath.volk.halblinge] has not completed. Trace: 
  java.base@11.0.10/jdk.internal.misc.Unsafe.park(Native Method)
  java.base@11.0.10/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
  java.base@11.0.10/java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:885)
  java.base@11.0.10/java.util.concurrent.locks.AbstractQueuedSynchroniz...
lilac dewBOT
lilac dewBOT
#

Now it works, but there is still an error.

`[09:59:29 INFO]: [LP] Another command is being executed, waiting for it to finish...
[09:59:29 INFO]: [LP] Another command is being executed, waiting for it to finish...
[09:59:29 INFO]: [LP] Another command is being executed, waiting for it to finish...
[09:59:29 INFO]: [LP] Another command is being executed, waiting for it to finish...
[09:59:29 INFO]: [LP] Another command is being executed, waiting for it to finish...
[09:59:29 INFO]: [LP...

lilac dewBOT
#

Description

I setup a Bungeecord network and MySQL server and also setup MySQL in Luckperms (in the config of each server).
The database is working but I have one problem:
when I created a group with lpb creategroup name and then tried to use lp group in one of the spigot servers the group didn't appear in the list.

Reproduction steps

  1. Setup a Bungeecord network and MySQL server.
  2. Setup MySQL in luckperms config in each server.
  3. Create group in the bungeecord server w...
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

Trying to replace/accumulate a temp meta node on top of an existing one results in command failure because "Player already has temp meta".

Reproduction steps

  1. Set a temporary meta node
  2. Try setting it again on the same holder with accumulate as temporary modifier
  3. It no work

Expected behaviour

I would expect it to:

  • If using accumulate to add the time to the existing node
  • If using replace to, well, replace the expiry time.

#...

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

This is because LP does not send update changes when creating a group (it sends the action logging but not the actual "hey this group has updated" message) and I noticed that running /lp listgroups does "fix" it since it reloads the groups list.

Not sure why Luck decided to do it this way? I want to know what his thoughts are.

For reference (no messaging service update and same applies for other group-changing events like the deletegroup command):
https://github.com/lucko/LuckP...

#

This is because LP does not send update changes when creating a group (it sends the action logging but not the actual "hey this group has updated" message) and I noticed that running /lp listgroups does "fix" it since it reloads the group list.

Not sure why Luck decided to do it this way? I want to know what his thoughts are.

For reference (no messaging service update and same applies for other group-changing events like the deletegroup command):
https://github.com/...

lilac dewBOT
lilac dewBOT
#

Yes it works fine. Thanks. One more Question.

Is that still normal? In the past, this display did not come up, but immediately the output.

[00:34:06 INFO]: [LP] Another command is being executed, waiting for it to finish...
[00:34:06 INFO]: [LP] Another command is being executed, waiting for it to finish...
[00:34:06 INFO]: [LP] Another command is being executed, waiting for it to finish...
[00:34:06 INFO]: [LP] Another command is being executed, waiting for it to finish...
[00...
lilac dewBOT
#

Didn't fix

Description

Without too many words, i applied manually litebans and other plugin permissions (since luckpermsbungee wasn't detecting it as normal) and still wasn't working.

Reproduction steps

Just download a plugin bungee side, luckpermsbungee and setup manually permissions (since they will not appear)

Expected behaviour

I expected that permissions will show as normal like luckperms bukkit but they didn't work.

Environment details

W...

lilac dewBOT
#

Yes - that's normal.

Great that the issue is fixed!

A closing comment from me: ask yourself, is it necessary to run so many commands at once? If you are assigning lots of permissions to a user, it would be better to add those permissions to a group, then just execute one command to add the group to the user.

For example, if you want to routinely give permissions:

essentials.ban
essentials.mute
essentials.fly

to a user.

Instead of running

/lp user {USER} p...
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

@LaganDevs these links may be useful, but the issue will be closed because you did not follow the carefully crafted template.

In short, LuckPerms does not perform any chat 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!

This will help...

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

As far as I can tell, fabric does not implement any form of permission checking for vanilla commands at the moment. So the only way to control is by giving OP for now.

But why did the author publish the fabric version? Isn't that meaningless? So how can we solve the problem of the plug-in permissions, except Op.

lilac dewBOT
#

Is it also possible to autodetect any issues?
This is only for the easy to fix issues. This to solve a lot of frustrations and discord talk.
This can detect for example conflicting perm-plugins, conflicting config options and more.

This detecting can also in discord with the bot, I thought I've seen this in other discords (DiscordSync). This saves a lot of time for the helpful people

lilac dewBOT
#

My current idea for this is just a simple /lp dump that dumps into bytebin a whole lot of info about both LuckPerms and the server, not any kind of auto-detection system or anything of the like; this would include the LuckPerms config file (excluding of course any kind of sensitive information), the data collected in /lp info (database ping, groups & users count, server name and brand, etc.), an editor link, a plugins/mods list, server info (mainly online-mode and bungeecord if on spi...

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

We have encountered a rather strange bug that happens every 3-4 months. After a scheduled reboot we found that all LuckPerms data has been deleted.

Reproduction steps

It is complicated to reproduce. According to our research it seems that when the database connection is restarted and closed and just at that moment a user tries to log in there is a thread that tries to make a query and fails.

![image](https://user-images.githubusercontent.com/19918951/112901...

lilac dewBOT
lilac dewBOT
#

LuckPerms pre-login error

I have problem with luckperms (pre-login). A people with non premium minecraft cant join on my server, where i have spigot 1.8.8 and offline mode. Luckperms giving a notification about pre-login and i don't know what i have to do. Luckperms when starting a server giving info, that is CraftBukkit - Bukkit but i have spigot.

Server: CraftBukkit version git-Spigot-21fe707-e1ebe52 (MC: 1.8.8) (Implementing API version 1.8.8-R0.1-SNAPSHOT)
LuckPerms version: `5.3.1...

lilac dewBOT
#

Having the ability to write a promotion and a new time would make this amazing. You could have a promotion level (progression along the track) and a duration. So that way you could easily temp promote someone using the same command.

There would need to be a decision about making a marker for the player's base rank or just making a new track to use for this system.

Example:
Default->User->VIP->VIP+
/lp user tavies temppromote track1 1m

Using the command the first time would promote ...

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

I have seen instances in support that ppl doing something like /lp user ben permission set permnode true. Notice the 2 spaces between set and permnode? It cause it to set a empty permission node with context server=permnode and world=true

Reproduction steps

  1. Run any permission set command like this: /lp user ben permission set permnode true
  2. And empty permission with weird context is set.

Expected behaviour

I suggest disabling the abil...

lilac dewBOT
#

The player#hasPermission method it's returning false for temporary permissions.

` if (!player.hasPermission("essentials.fly") || !player.hasPermission("superior.island.fly")) #this check here works{
player.sendMessage(this.getMessage("no-permission"));
return true;
}
if (player.hasPermission("essentials.fly")) #this check doesn't work {
this.getServer().dispatchCommand((CommandSender)player, "essentials...

#

I feel like your a flaw logic rather than player#hasPermission not working.

For it to even reach the second if condition, both essentials.fly AND superior.island.fly needs to be true. Furthermore, this will result in it being completely impossible to reach the third if condition, since at the point, essentials.fly will definitely be true and it will break out at the second if condtion.

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

When I type "/lp editor" in game or console I get the following error every single time:
https://haste.olziedev.com/icaweyapid.yaml
and it takes about 5 minutes for the command to show me the editor link
Note I'm using the same mysql for my survival servers, at first I used the same mysql for also the bungee luckperms, but I then changed it to only use the same mysql for the paper servers.

Reproduction steps

  1. type "/lp editor"

Environment det...

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

As the name of the setting suggests, you need to "be member of the group" / inherit a group to be able to edit it, this also applies to which groups are uploaded to bytebin when you run /lp editor. The groups are still there and their permissions are still there, but the editor will not upload the groups you do not inherit (at the time of running /lp editor).

lilac dewBOT
lilac dewBOT
#

Description

When i set a temp group or permission it changes to a perm group or permission sometimes when switching servers on bungee

Reproduction steps

It just happened randomly

Expected behaviour

The permission not to turn perm

Environment details

  • Server type/version: Paper running version 1.16.4 build 416
  • LuckPerms version: v5.3.17

Ill post if needed, im in a rush

Any other relevant details

None

lilac dewBOT
#

In the meantime I use LuckPerms in conjunction with player-roles-fabric, they seem to work fine together, but both have their own roles and permissions system. I couldn't find a fabric mod that enables permissions to be managed with LuckPerms as a central system.

Oh,thank you very much!Have you tried 'minecraft.commands.*' alone in LuckPrems before and did it work?

lilac dewBOT
#

Description

Could not pass event PlayerJoinEvent to LuckPerms v5.3.17
java.lang.IncompatibleClassChangeError: Found interface us.myles.ViaVersion.ViaManager, but class was expected

Reproduction steps

  1. when player login in server
  2. See error

Expected behaviour

https://pastebin.com/kuBxDpWf

Environment details

  • Server type/version: Paperrunning version1.12.2build1618`
  • LuckPerms version: v5.3.17

Any other rele...

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

Luckperms config folder is now located within the mods folder, rather than the config folder. It ignores the existing configs in configs/luckperms, and creates a new folder at mods/luckperms.

Reproduction steps

  1. Install LP 5.3.9 on a fabric server
  2. Start server
  3. Open mods folder to see a new luckperms folder populared with files.

Expected behaviour

In LuckPerms 5.2.29, LP created and used the configs located at config/luckperms. I believe it ...

lilac dewBOT
#

Description

Running the command /lp editor takes a really long time to execute (about 2-5 mins).

Reproduction steps

  1. Open the config.yml file, set storage-method to MySQL, fill out the rest of the necessary fields
  2. Restart the server
  3. Run /lp editor
  4. Nothing happens, then after a few seconds errors appear in console

Expected behaviour

A web editor link is generated in a few seconds.

Environment details

  • Server type/version: Tuinity ...
lilac dewBOT
lilac dewBOT
#

Description

There is a state that a User has no Group not even the default group.
Short Conversation on Discord: #luckperms-api message

Reproduction steps

final var uuid = plugin.getUUID(sender); // Get UUID from CommandSender
LuckPermsProvider.get().getUserManager().modifyUser(uuid, user -> user.data().clear(NodeType.INHERITANCE::matches)).thenAccept(v -> {
    final var groups = LuckPermsProvider.get().g...
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

08.04 15:24:36 [Server] ERROR java.lang.IllegalStateException: zip file closed
08.04 15:24:36 [Server] WARN java.lang.IllegalStateException: zip file closed
08.04 15:24:36 [Server] WARN at java.util.zip.ZipFile.ensureOpen(ZipFile.java:686)
08.04 15:24:36 [Server] WARN at java.util.zip.ZipFile.getEntry(ZipFile.java:315)
08.04 15:24:36 [Server] WARN at java.util.jar.JarFile.getEntry(JarFile.java:240)
08.04 15:24:36 [Server] WARN at java.util.jar.JarFile.getJarEntry(JarFile...

lilac dewBOT
lilac dewBOT
#
  1. Please don't dismiss the issue template, it's there for a reason, it helps everyone help faster, even yourself.
  2. You didn't list all your plugins (you clearly have ProtocolLib according to the stack trace, something you didn't list)
  3. Please use a paste site such as https://paste.lucko.me/ to paste logs and errors
  4. Please provide all kinds of information that could be useful (entire server log, LP version, LP config, etc)
lilac dewBOT
#

Description

I want to set up a disallowed permission on a context. I this style command:

/lp user PietElite permission set my.command false my=context

I can see my context my=context listed in the context list with:

/lp user PietElite info

I can see that my context is working correctly (showing false) by running

/lp check PietElite my.command my=context

However, when I turn on /lp verbose and I perform the action that should be denied, it still works an...

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

I tried to use and in LuckPerms for Fabric, but that didn't work. benwoo1110 is right, I looked into the Minecraft code and indeed this is just a Spigot thing.
Also see these Discord messages about the same issue: #789953494534324264 messageminecraft.commands.ban``minecraft.commands.whitelist

Thanks for your help! As you said before, luckperms and player-roles-fabric will work together. Will player roles fabric work alone?

lilac dewBOT
lilac dewBOT
#

Will player roles fabric work alone?

Yes, the player-role-fabric mod can function independently. It is an alternative to LuckPerms. These two mods do not interact/integrate with each other, but they are compatible and the permissions stack. I've installed both because I want to use LuckPerms were possible, and only use player-role-fabric for the vanilla commands which LuckPerms can't control.

lilac dewBOT
lilac dewBOT
#

I finished developing a new mod to implement the permissions minecraft.command.<command> with the Fabric Permissions API.
It was tested with Minecraft 1.16.5 and LuckPerms v5.3.16. Now, I don't need the player-role-fabric mod anymore. Try it here https://github.com/TjeuKayim/minecraft-command-permissions-fabric/releases/latest

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

I am using on my RedisBungee server, problem is that when I run ANY COMMAND, I get a classNotFoundException.

I am using the latest version of LuckpermsBungeecord, LuckPerms v5.3.21
On the latest version of Bungeecord

20:03:56 [INFO] CONSOLE executed command: /lpb creategroup admin Admin
20:03:56 [INFO] [LP] admin was successfully created.
20:03:56 [WARNING] [LuckPerms] An exception was thrown by me.lucko.luckperms.bungee.context.RedisBungeeCalculator whilst calculating static co...
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Same here with LuckPerms v5.3.21 on Waterfall build 405.

The following exceptions are being spammed over and over again when a user joins and plays on any server:

[12:29:49 WARN] [LuckPerms]: An exception was thrown by me.lucko.luckperms.bungee.context.RedisBungeeCalculator whilst calculating the context of subject Galexrt
java.lang.NoClassDefFoundError: com/imaginarycode/minecraft/redisbungee/RedisBungee
	at me.lucko.luckperms.bungee.context.RedisBungeeCalculator.calculate(Redis...
lilac dewBOT
#

Bulk edit is a very dangerous operation that should not be done by automation or without confirmation.

May I ask what is your use case that requires the confirmation to be removed ?

I don't know the java language but with cmi and luckperms I can do a lot of different features, with permission I can track and manage them for the players. So I can make a point through cmi portals to which the player will capture it, only he will be given a special permission, and everyone else will ...

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

think I have the latest 5.3.3

Description

org.bukkit.plugin.InvalidPluginException: me.lucko.luckperms.common.loader.LoadingException: Unable to create bootstrap plugin instance

Reproduction steps

  1. make a server using mohist 1.12.2
  2. add a som mods(think this is none important tho)
  3. start the server

Expected behaviour

the plugin should get loded and work

Environment details

  • Server type/version: mohist running version 1.12.2 build `...
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
#

Same here. Thought it was due to the switch to Docker but seems to be a general problem

[03:10:01 INFO]: [LP] Running LuckPerms v5.3.3 by Luck.
[03:10:01 INFO]: [LP] -  Platform: BungeeCord
[03:10:01 INFO]: [LP] -  Server Brand: Waterfall
[03:10:01 INFO]: [LP] -  Server Version:
[03:10:01 INFO]: [LP]      git:Waterfall-Bootstrap:1.16-R0.5-SNAPSHOT:004e802:406
[03:10:01 INFO]: [LP] -  Storage:
[03:10:01 INFO]: [LP]      Type: MongoDB
[03:10:01 INFO]: [LP]      Ping: 4ms
[03:10:...
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Hello,

My suggestion is for a command to be added for ranking up to a specific rank.
Here's an example:

The Rank Track:
Default -> Member -> Sr. Member -> Mega Member

I have vouches implemented into my server so there's the ability to claim a rank that's lower than their current rank:
Example:

Default gets Mega Member rank, uses the voucher, and gets Mega Member rank.
Mega Member gets Member rank and uses the voucher, would be demoted to Member rank.

If possible, could a tr...

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

Description

Currently, I am unable to use the PlaceholderAPI ParseOther extension to return LuckPerms prefixes for players that are offline. I would like this to be possible, as it can really help. I understand reading a previous issue about offline placeholders that unless PAPI is async it wouldn't be added - however we would really appreciate the feature. Perhaps making it optional?

Proposed behaviour

Placeholders such as ``%parseother_{{username}}_{luckperms_prefix_eleme...

lilac dewBOT
#

Description

Migrated my server from a SparkedHost server over to a dedicated server via r-sync, one of my developers added a PMA (PhpMyAdmin) during this. Everytime I try to give someone a permission group or permission it says its completed it but doesn't follow through with genuinely giving the permission.

Reproduction steps

Best way I can reproduce the error is simply just doing /lp user MrCaust permission set * and it replies with "[Thu, 15. Apr 2021 19:44:03 PDT WARN...

lilac dewBOT
lilac dewBOT
#

I have a problem with uuid player who logins premium account.I have a plugin that allows premium account, but I have this error

[13:22:27] [Netty Worker IO Thread #1/INFO] [LuckPerms]: Processing pre-login for fb23a81a-cd7f-49cb-b886-56faf0a0a840 - CrazyLegend_
[13:22:27] [Netty Worker IO Thread #1/INFO] [LuckPerms]: Processing post-login for bdd35907-83e4-3f50-8548-b8723d29120d - CrazyLegend_
[13:22:27] [Netty Worker IO Thread #1/WARN] [LuckPerms]: User bdd35907-83e4-3f50-8548-b8723d291...

lilac dewBOT
#

Description

When I'm trying to connect LuckPerms on a MySQL database, its timing out... But when I connect LuckPerms to this same database in another server, it work succesfully.

Reproduction steps

  1. Open config.ylm file
  2. enter the database infos (username, password, etc..) and change storage-method to MySQL
  3. restart server
  4. See error

Expected behaviour

LuckPerms connects to the database and I can synchronize my perms on differents servers.

...

lilac dewBOT
lilac dewBOT