#issues

1 messages · Page 14 of 1

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#
Caused by: java.sql.SQLException: Field 'id' doesn't have a default value
	at me.lucko.luckperms.lib.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:129) ~[?:?]
	at me.lucko.luckperms.lib.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) ~[?:?]
	at me.lucko.luckperms.lib.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) ~[?:?]
	at me.lucko.luckperms.lib.mysql.cj.jdbc.ServerPreparedStatement.serverEx...
lilac dewBOT
#

Description

I have just updated my plugin version to the latest, alongside updating Paper to 1.16.5#599. The plugin is failing to start with the error here: https://pastebin.com/Q0cS9nif
I have checked the config file, and it seems good. I have also already tried deleting the libs folder letting itself re-create. This also did nothing to help the problem :(

Reproduction steps

Update Plugin/Paper to versions mentioned
Reboot Server
Error in console :(

Expecte...

lilac dewBOT
#

Sure! I've also updated it in the issue. It doesn't show much -- just that all permissions are granted with or without explicit denial in the given context (/lp user PietElite info shows that I consistently have the context nope.host.spawn=true)

LP Verbose

Also, if you're interested, these are the files that I use to implement the custom contexts:

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Well, it's just a validation step, for example:

  • it stops people from mistyping UUIDs and having LP treat them as usernames
  • it prevents people from making typos in usernames and adding junk entries to their database or sending invalid UUID lookup requests to Mojang (or via the server cache)

There wasn't a good reason to not have validation for it, so the setting defaults to false

lilac dewBOT
#

Description

LuckPerms track editor command is giving an error

Reproduction steps

  1. Run /lp track dronators editor

Expected behaviour

`22:30:03 [SEVERE] java.lang.IllegalArgumentException: holders is empty

22:30:03 [SEVERE] at com.google.common.base.Preconditions.checkArgument(Preconditions.java:122)

22:30:03 [SEVERE] at me.lucko.luckperms.common.webeditor.WebEditorRequest.generate(WebEditorRequest.java:90)

22:30:03 [SEVERE] at me.luck...

lilac dewBOT
lilac dewBOT
#

Description

I've setup a managed Redis database through DigitalOcean, it has the default username, a password, a host address and custom port.

I entered this in the config.yml

# Settings for Redis.
# Port 6379 is used by default; set address to "host:port" if differs
redis:
  enabled: true
  address: "host:port"
  password: "###"

and this error floods my console

[01:46:53 WARN]: [LuckPerms] Redis pubsub connection dropped, trying to re-open the conn...
lilac dewBOT
lilac dewBOT
#

Description

As someone with luckperms.autoop, anytime I teleport or switch gamemodes my ping will spike up to 300-500. This can also sometimes increase the ping for random players as well. This spike typically lasts 1-3min until it reverts back to normal if Im not doing any command actions. I upgraded from the 5.3.10 version that fixed this issue to test if it was fixed and it was not. Is it safe to downgrade back to that version?

This version mostly fixed the issue: LuckPerms-B...

lilac dewBOT
#

Profiling on a Spigot 1.16.5 server without LuckPerms installed: https://spark.lucko.me/4f59qsQaMx?hl=18,32,40,47

Those same hotspots will unfortunately occur when LP is installed too, note that the only permissible there is the server console (org.bukkit.craftbukkit.v1_16_R3.command.ServerCommandSender) - the problem will get linearly worse with each extra player (unless you have LP installed) / permissible / NPC / whatever.

lilac dewBOT
#

Description

I was messing around with /execute, trying to accomplish something completely unrelated to LuckPerms, but stumbled upon this issue anyway. As far as I understand, only vanilla commands can be used in /execute, but the tab-complete menu shows a couple options from LuckPerms. Curious as I am, I started messing around with it, and got an "internal error while attempting to tab-complete this command." The first time I tried, it completely crashed the server.

Reproduc...

lilac dewBOT
#

Description

Luckperms is using tons of tick time to do a function called ExpiringCache.get() when DiscordSRV is connected using a database. You can see it from this spark report (https://spark.lucko.me/zBMwyRdauw). This might be DiscordSRV's issue, but the fact that It is luckperms that's showing up on the spark report is confusing to me, which is why i opened the issue here.

Reproduction steps

  1. Create a Waterfall server, an Airplane server, and a MySQL database with ro...
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Also not helping matters, the spark report doesn't show any children for ExpiringCache for some reason (I'm guessing it's not taking 2.5s itself)

ExpiringCache is a cache - and has measures in place (locking) to ensure that only one thread does the actual calculation while the other threads wait.

I think this line is what's causing the problem:

https://github.com/DiscordSRV/DiscordSRV/blob/41b8f04815b028463cbccec42664943b94c199a6/src/main/java/github/scarsz/discordsrv/hooks/per...

lilac dewBOT
#

Description

❗ Read my conversation with ben to fully understand my problem ❗

The short description of this bug is in the your Discord, when i talk with ben https://discordapp.com/channels/241667244927483904/241667244927483904/837274919095631892

Reproduction steps

This problem is so strange that it is not known when it occurs. It usually occurs every morning in the morning.
I don't know how to cause this problem.

Expected behaviour

  1. Luckperms went...
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

In the case that LuckPerms detects a plugin such as PermissionsEx, PowerRanks, etc is installed on the server too, it would alert the server owner to this.

Proposed behaviour

It could output in a few places depending on which would work best:

  • It could output into console on boot - although this might be missed by some users
  • It could output to console whenever a player joins
  • It could output whenever an OP'd player joins the game (can't check permissions f...
lilac dewBOT
#

Thanks for the additional information. The behaviour you're describing with recalculatePermissions is indeed what I observed when stepping through the Bukkit implementation with a debugger last weekend.

From your end, there is one very easy change you can make to resolve the problem: define your permissions so they are not automatically granted by default.

Won't this mean a change in default behaviours for users which have overridden the parent permission node and set it to fals...

lilac dewBOT
lilac dewBOT
#

The commit above adds a mesage to the console / log file every time a player connects and another permission plugin is detected.

Some permission plugins (those that conform strictly to the Bukkit PermissionAttachment API) actually will be compatible - it's just other plugins that inject using reflection like LP does which won't be. It makes sense to have a generic check there instead of a hardcoded list of other permission plugins to detect IMO.

Thanks for the suggestion! :)

lilac dewBOT
lilac dewBOT
#

Description

After setting the group permission using API to a user, the primary group is not updated in the database.

Reproduction steps

  1. Add a group to the user using the API
  2. Look in the database

Expected behaviour

The database must contain the correct primary group

Environment details

  • BungeeCord/1.16-R0.5-SNAPSHOT (build 1559)
  • LuckPerms version: v5.3.33

https://gist.github.com/Sceri/978eca438086011245d3f2a18ded6d4f (used code)

Before givin...

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

If you use /lp editor to get to the web editor it will only display 500 players even if a server has more.

Reproduction steps

  1. Get a server that has more than 500 players
  2. Run /lp editor
  3. See error

Expected behavior

It will show all the players.

Environment details

PaperSpigot-534
LuckPerms v5.3.0

Any other relevant details

Server this bug was found on has 1681 unique players.

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

Description

When i install the plugins and restart the server, i can't join and show me an error

Reproduction steps

1.Install the plugin
2.Restart the server
3.Try to log in again

Expected behaviour

Environment details

  • Server type/version: CraftBukkit running version 1.16.5 build I don't know
  • LuckPerms version: v5.3.3

https://gist.github.com/FakasMadas/ad5ed3db94dff014fe0e4ed7956c59cb

Any other relevant details

lilac dewBOT
#
[12:32:23 WARN]: [LuckPerms] It appears that your server is running CraftBukkit and configured in offline (cracked) mode.
[12:32:23 WARN]: [LuckPerms] Due to a CraftBukkit limitation, LuckPerms cannot function correctly in this setup.
[12:32:23 WARN]: [LuckPerms] To resolve this, please either a) upgrade from CraftBukkit to Spigot or Paper, or b) enable online-mode.
[12:32:23 WARN]: [LuckPerms] For more info, please see: https://luckperms.net/wiki/Installation#craftbukkit-and-offline-...
lilac dewBOT
#

Description

Target selectors not working on spongeforge server if executed from functions

Reproduction steps

  1. Create a spongeforge server. I'm actually using forge-1.12.2-14.23.5.2847 with spongeforge-1.12.2-2838-7.2.0 only as mod, and LuckPerms-Sponge-5.3.34 as plugin.
  2. Start your server, let the world being generated.
  3. Stop the server. Go to .root_server_directory/world_directory/data/functions
  4. Create a folder named "custom"
  5. Insert a file named "test.mcfunctio...
lilac dewBOT
#

Description

Make it so that you have an option to where the Expiry doesn't go down when the server is online.

Proposed behaviour

Having timed based permissions like global boosters. Such as for my example 2x sell price for 1 hour.

lilac dewBOT
#

Description

I have created some groups using LP but prefixes don't show. I've tried 5 different chat plugins, placeholderapi and vault.
Nothing fixed the issue

Reproduction steps

  1. Make a group
  2. Save changes
  3. Add yourself to the group and type something
  4. Prefix doesn't show

Expected behaviour

I expected the prefix to show.

Environment details

  • Server type/version: Paper running version 1.8.8 build latest
  • LuckPerms version: `v...
lilac dewBOT
#

<!--
/* Font Definitions /
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/
Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
code
{mso-style-priority:99;
font-family:"Courier New";}
.MsoChpDefault
{mso-style-type:export-only...

#

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!

https://luckperms.net/wiki/FAQ#why-are-prefixessuffixes-not-working
https://luckperms.net/wiki/Prefixes,-Suffixes-&-Meta#displaying-prefixes-and-suffixes

lilac dewBOT
#

<!--
/* Font Definitions /
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/
Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0p...

lilac dewBOT
lilac dewBOT
#

Description

Using MariaDB 8.0.22-0ubuntu0.20.04.3 as a backend fails because the plugin does not support caching_sha2_password.

Reproduction steps

  1. Install LuckPerms
  2. Configure MariaDB backend in config.yml as usual
  3. Start server
  4. If specified MariaDB server is version 8.0 or higher and using caching_sha2_password as the password algorithm, the error appears in console.

Expected behaviour

LuckPerms authenticates with MariaDB and uses it as a storage...

lilac dewBOT
#

player join to the server - waterfall #415

Error:

[15:33:22] [Netty Worker IO Thread #18/WARN] [LuckPerms]: A permission check was made for player LavishKK - 269bd77d-c867-30c2-96a5-aa9eec454a29, but LuckPerms does not have any permissions data loaded for them. Perhaps their UUID has been altered since login?
java.lang.Exception: null
at me.lucko.luckperms.bungee.listeners.BungeePermissionCheckListener.onPlayerPermissionCheck(BungeePermissionCheckListener.java:65) ~[?:?]
at jdk.int...

lilac dewBOT
#

Description

I seem to be running into a bug related to multiple tracks and prefix stacking. I have got three tracks set up: donateur (donator track), staff (staff track) and general (server specific ranks, similar to the 'mine' prefixes of a prison server). When I promote myself using '/lp user promote staff', for example, I correctly get set to the first (from default) on the track, which would be builder in this case. This somehow messes up my prefixes, as I get shown the highest pref...

lilac dewBOT
#

Description

Server has been running fine for weeks (still daily restarts) and then it randomly died. Starting spamming luckperm messages saying "unloading user data for" and blocked the main thread which led to everyone being timed out.

Reproduction steps

I have no idea how to reproduce this error.

Expected behaviour

To not spam messages and block the thread.

Environment details

Latest Tuinity (1.16.5)
LuckPerms version: 5.3.16

https://pastebin.com/fTuymg89
...

lilac dewBOT
lilac dewBOT
#

As mojang announced, that the latest snapshot requires Java 16 and some projects already announced, also push to Java 16 you maybe need to have a look at this exception:

22:54:49 WARN]: java.lang.reflect.InaccessibleObjectException: Unable to make protected void java.net.URLClassLoader.addURL(java.net.URL) accessible: module java.base does not "opens java.net" to unnamed module @8b7e800
[22:54:49 WARN]: at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleO...

lilac dewBOT
lilac dewBOT
#

Ive testet any solution to bypass permissions but it doesnt work ... the only solution which workes is to change the LuckPerms config.yml in Line 504 from "apply-default-negated-permissions-before-wildcards: false" to "apply-default-negated-permissions-before-wildcards: true" and also change Line 676 from "resolve-command-selectors: false" to "resolve-command-selectors: true" and restart the server

#

I have an Server on which the First-Join-World is only in adventure mode because i dont want others to be able to destroy or modify any stuff i build in this World (SPAWN) - like on other servers and their lobbys or so - the problem ive have starts after i updating the server from 1.16.2 to 1.16.5 ... befor that all players will change the gamemode automatically if they enter an other world - after that all players still stays in adventure mode and so they cant do anything in there own buildi...

lilac dewBOT
lilac dewBOT
#

I havent change anything ... still setup the server and put the plugins we need into it ... just setup the multiverse maps with the standard behaviour for the maps you also can choose in standard singleplayer like gamemode, maptype, cheats off and so on ... i still have used the commands which was provided by the plugins and also setup the portals to switch within the maps ... everything went as planned up to the point where we took luckperms in ...

especially as it turned out during test...

lilac dewBOT
lilac dewBOT
#

Description

Hey
Just wondering if it would be possible to use pluginmsg to sync data between flatfile (H2 mainly) databases.
I have been using MariaDB to sync my permissions but sometimes it decides to disconnect if my VPS has a quick restart (This happens quite often for me).
Also it would mean that no external server would be needed to sync permissions.

Proposed behaviour

Luckperms would use pluginmsg channels to sync permissions, etc. between flatfile databases (H2, SQL...

#

Description

Cannot access the editor. Everytime i run the command "lp editor" in game or in console i get the message "Unable to communicate with the editor. Check the console for errors."

Reproduction steps

  1. Use "/lp editor". (for me)

Expected behaviour

To be able to use the plugin, add permissions/groups using the editor.

Environment details

  • Server type/version: Paper version git-Paper-576 (MC: 1.16.5)
  • LuckPerms version: Running LuckP...
lilac dewBOT
#

I don’t see have flat file syncing is a good idea. Plugin message only works if players is online on the server iirc. Anyways many ppl use sql database without issues.

Yes SQL is fine for me until the connection is interrupted briefly or our database restarts

This causes Luckperms to error and not let anyone join

Maybe another syncing method needs to be made that doesn't require a external database

#

That’s is completely dependent on your own database reliability. Free/Poor host provider may be the cause of your issue.

Would it be possible to have a main DB (MariaDB or MySQL) then luckperms would sync permissions from the main DB to a local DB (H2) so if the main DB ever went offline luckperms could use H2 until it can reconnect?

Or is this already possible with split storage or something?

lilac dewBOT
#

The permissions listed in the drop down of the web editor are just a suggestion. So you can use any permissions.

The permissions that show up there are the permissions that have been checked since the server is running. To populate the list, you can run /help.

So you also need to save the changes. In the top right corner is a save icon. Click that and then run the command it shows you on the server.

hey i have the same issue. but what did you mean by /help? (yes ik this p...

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

Luckperms seem having memory leak problem, i am using luckperms 5.3.39 , when my server run for more than 4 hours, the memory problem start going bigger and bigger, i have done a heapdump after server have running for 7-8 hours, and the heapdump result show this:

https://cdn.discordapp.com/attachments/835783863497523220/843663122547343370/unknown.png

Reproduction steps

  1. run a server and wait for 5-6 hours+
  2. get a heapdump
  3. use the heapdump using...
#

Please could you upload the .hprof file to something like WeTransfer or Google Drive and send me the link :)

yes sure, but the file size is huge, 11 GB, i will try to upload to like dropbox, it will take me maybe an hour : (

i also heard that heapdump files have sensitive information, can i send the download link to you privately? thx

lilac dewBOT
lilac dewBOT
#

like this?
-----BEGIN PGP MESSAGE-----
Version: Keybase OpenPGP v2.1.13
Comment: https://keybase.io/crypto

wcFMAxavkAf6LzVtAQ/+Ovrx6DkudwluO75KwIyvXcAi5cJ2HxGL1CeXu5DAWA3r
8sLFH6xoizwEvJJpurDsU0BkrlIEkIYLtZfLtqsMR4T+9QUEF/NWmvp3WNqd6g+Q
FE423ijjHZa1hjXBMNhb3O0m1Z+Zfk6K+NpXDV66XYyWI7C9vi5X7tvuPl7IkC+K
m/iK7HMYOqXF0oaFVDP3GorpUzF9rEzHJ5A7lIbeLe+LEgn2aystOpVouzMl9jY/
wvwnOkvtVoaElWnNHxc5Uzj49KjD8e4kjNkWuE9fAN0Csgu+HbCLZiz/y+yHfzmN
aK0BNdkh7G9+27jZPJmhWNA+wCKIXwyk4/cW2WfcxZ0KbJ5kZLoGBJ...

lilac dewBOT
lilac dewBOT
#

Description

When LuckyPerms is installed on a 1.12.2 Forge server running Sponge along with CodeChickenLib and ForgeMultiPart, the server crashes when trying to load FMP, but works fine if it only has CCL installed.

Reproduction steps

  1. Install CCL and FMP on a 1.12.2 Forge server running Sponge
    Downloads: https://www.curseforge.com/minecraft/mc-mods/codechicken-lib-1-8 https://www.curseforge.com/minecraft/mc-mods/cb-multipart
  2. Install LuckPerms
  3. Start server, and...
lilac dewBOT
#

Description
Please add a Sign system that lets the players to buy ranks from signs with money from vault or other ecconamy plugins

Proposed behaviour
the sign formt may be
sign lines

1.[lp Rank]
2.gourp
3.price
4.context

this would add the gourp listed to the player who clicks the sign and the context option if left black will add the gourp to the context or the server the player is in when clicking or it may use a command like "/lp ranksign gourp pr...

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

Today a very long console error appeared regarding LuckPerms and the MySQL database. Players reported increase in lag and my server pinged me in the Discord server informing me it was experiencing extreme lag.

Reproduction steps

I'm not sure because this has never happened before and it happened randomly.

When a player tried to connect it showed them:
https://cdn.discordapp.com/attachments/696658607001042945/845732502840279050/6877cbb22baa30e4ef12b00bf0942...

lilac dewBOT
#

Description

Luckperms seem having memory leak problem, i am using luckperms 5.3.40 , when my server run for more than 7 hours, the memory problem start going bigger and bigger, i have done a heapdump after server have running for 7-8 hours, and the heapdump result show this:

image

Reproduction steps

  1. run a server and wait for 5-6 hours+
  2. get a heapdump
    ...
#

A keybase private message have been sent to lucko , which have a dropbox download link of hprof heapdump file
-----BEGIN PGP MESSAGE-----
Version: Keybase OpenPGP v2.1.13
Comment: https://keybase.io/crypto

wcFMAxavkAf6LzVtAQ//fII9QcEz2D92L867rfaCxAHGhfxi/JeTxjBHSTirb+ZN
2gPpVBEKfef+FhHh/xm+0Ks8VX3kO/nAd7PV2p/Mt8yceo7tTnutMylYI6Ezy0zJ
E8ZaKgx+94OhmQfQuZsHYpcMWbomGb2Fd7fhUhok2lHMNt9cbN5RfhivpIxJNdlm
68X0nHySv9cEp2Ln8tvRb0rNNoxcHwoTayhSILTiyg6dG/79jPfYyl0yd33etAYx
QMeQirkRzY4u8LFotRh/b...

lilac dewBOT
#

Description

Add option to handle OutOfMemory exception for repair after will be avaible memory. I mean to stop spam in console with this error:

`[21:59:38] [pool-17-thread-3/WARN]: Exception in thread "pool-17-thread-3" java.lang.OutOfMemoryError: Java heap space
[21:59:38] [Paper Watchdog Thread/WARN]: Exception in thread "Paper Watchdog Thread" java.lang.OutOfMemoryError: Java heap space
[21:59:38] [pool-17-thread-1/WARN]: Exception in thread "pool-17-thread-1" java.lang.OutOfMe...

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 behavior

This morning I migrated from MongoDB to MySQL following the steps indicated in the Wiki, however, the export was successful without fail. More than 1.2 million users exported correctly. However, some of them out of the blue, have had failures since their rank d...

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

your sql database basically just disconnected. I don’t really see how it’s linked to paper, unless they really introduce a bug then you should report to them. Tho your version shows your are 40 builds behind. I suggest update both paper and luckperms first.

I cannot update Paper until the conflict with EasyBackup is fixed. Also Luckperms I believe is already fully up to date.

Thanks for the feedback though

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

The [temporary modifier] part cannot be used in the menu. For example, the command is: lp user id permission settemp 1 true 1m replace. I can use the command directly, but it cannot be used in the menu to replace the original time.I am not using luckperms GUI, it is the trmenu plugin. I configured events, that is, when I open the menu, I execute instructions, but I can't use lp user id permission settemp 1 true 1m replace to replace the original time. The prompt is that this has been set. Aut...

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

It seems like another plugin on your server is loading user data for lots of players at runtime then not unloading it. Doesn't appear to be a LuckPerms bug

if you talk about a plugin that load alot of data and use luckperms, the only one comes out of my mind is grief defender .. but i don't have any envidence

this is the plugin list of my server
image

lilac dewBOT
#

hi, i'm trying to migrate from ultrapermissions to luckperms, i tried some methods (all require the luckperms-migration-ultrapermissions.jar). 1st method, install luckperms and the migration jar, restart the server and write in chat "/lp migrate ultrapermissions". 2nd method: install luckperms and the migration jar, restart the server and write in chat "/migrate-ultrapermission". both did not work. can someone help me?

#

hi, i'm trying to migrate from ultrapermissions to luckperms, i tried some methods (all require the luckperms-migration-ultrapermissions.jar). 1st method, install luckperms and the migration jar, restart the server and write in chat "/lp migrate ultrapermissions". 2nd method: install luckperms and the migration jar, restart the server and write in chat "/migrate-ultrapermission". both did not work. can someone help me?

lilac dewBOT
#

[01:43:51 ERROR]: Could not load 'plugins\LuckPerms-Bukkit-5.2.92.jar' in folder 'plugins'
org.bukkit.plugin.InvalidPluginException: java.lang.ExceptionInInitializerError
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:157) ~[patched_1.16.5.jar:git-Purpur-1140]
at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:414) ~[patched_1.16.5.jar:git-Purpur-1140]
at org.bukkit.plugin.SimplePluginManager.loadPlugins(Simple...

lilac dewBOT
#

Description

I have a server with a proxy, mysql and one under server. /lpb for BungeeCord dont work
i have enabled sync. But it still not work and if I give me over the proxy console /lpb user Cooler_LK permissions set * or lpb.* i cant run the command /lpb

Reproduction steps

  1. Installed it on the server
  2. Connected it to MySQL
  3. Run /lpb user Cooler_LK permission set *
  4. I wrote /lpb
  5. No Permissions

Expected behaviour

I think the Plugin is how broken....

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

Description

Hi, I have a problem with the latest build of Luckperms, on spigot server 1.13.2

If I put the group Founder, when I exit the game and re-enter, I find myself automatically no longer Founder, but the default group. I also tried on spigot 1.8.8, and everything works perfectly.

The problem there is only on 1.13.2

Reproduction steps

Use /lp parent set .

Exit and re-enter the server.

Luckperms version : v.5.3.42

lilac dewBOT
lilac dewBOT
#

Btw my luckperms is the latest.

so i go to the editor make changes to the default group and i need to save it so i do i get the code thing and i paste it into my game. it said "No changes were applied from the web editor, the returned data didn't contain any edits." ok so i go on my alt account and it did not work.

Reproduction steps

I went to the Luckperms editor after i did /lp editor, i changed the default group with some commands i added, i saved it, i got hthe command which ...

lilac dewBOT
lilac dewBOT
#

Description

When I start the proxy running on latest Waterfall, I got an error message.

Reproduction steps

Configure the database settings and start the server.

  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

I thought it works.

Environment details

  • Server type/version: Waterfall running version 1.8-1.16.5 build 427
  • L...
lilac dewBOT
lilac dewBOT
#

Description

Sadly luckperms doesn't really have any "punishment" for not configuring weights and having wrong primary group of users. However, this is a problem for plugins that take primary group from LP and further use it, as wrong group is picked and plugin does not work as expected. A good example would be my own plugin, which takes primary group of users and then sorts players based on it. By now we have had hundreds of users asking for help why is sorting not working, with the most...

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

So I wanted to have a context to check if the player is in a specific group. I tried to put in this:
placeholderapi: true
placeholderapi-placeholders:
allowflight: "%player_allow_flight%"
#plus: "%luckperms_in_group_plus%"
#premium: "%luckperms_in_group_premium%"
#ultra: "%luckperms_in_group_ultra%"
#super: "%luckperms_in_group_super%"
#legend: "%luckperms_in_group_legend%"

But when someone is present in the server, i get a whole bunch of errors
[14:18:54] [User Au...

lilac dewBOT
#

what im trying to do is to have a command that promotes someone if they have a particular rank. Lets say I have a track with:
1-->2-->3-->4-->5 where 1,2,3,4,5 are the ranks. a user is on 2, then he purchases some package that upgrades him to lets say, rank 4 only if he is in rank 3. not that I cant manually enter the command, but I'm buycraft to settle the commands for me, and I do not have a way to check if the user inherits the correct rank. is there any way going about this, because I j...

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

I have the issue where I can't use luckperms with craftbukkit, I get the errors pasted in the pastebin.
https://pastebin.com/9zfgu2t2

Reproduction steps

Luckperms does not make a config and does not start, I don't know why luckperms does this. I do not know how to reproduce this error.

Expected behaviour

I expected luckperms to work normally like it did every time I set up a bukkit server.

Environment details

Current LP version: LuckPerms v5.3.42 ...

lilac dewBOT
lilac dewBOT
#

Description

When shutting down my server, LuckPerms sends the following error: https://hastebin.com/urafirumuz.md

Reproduction steps

I do not know exactly how to reproduce it aside from turning off my server.

Expected behaviour

It would be expected to not have these errors, but no issues have been noticed yet.

Environment details

Tuinity 1.16.5 latest build
Java 8
LuckPerms v5.3.42
MySQL Database

https://hastebin.com/urafirumuz.md

Any ...

lilac dewBOT
#

Description

LuckPerms commands are not working in Fabric.

Reproduction steps

Run /lp + anything

Expected behaviour

I expected it to work like in Spigot I guess?

Environment details

  • Server type/version: Fabric running version 1.16.5 build ???
  • LuckPerms version: 5.3.9

Any other relevant details

It just says [LP] Running LuckPerms v5.3.9. every time I run a command

lilac dewBOT
lilac dewBOT
#

Description

When my server starts, luckperms not loading

Environment details

  • Server type/version: Paper running version 1.12.2 build 1618
  • LuckPerms version: v5.3.42

Any other relevant details

Error when starts server

[16:48:24] [Server thread/ERROR]: Error occurred while enabling LuckPerms v5.3.42 (Is it up to date?)
java.lang.NoClassDefFoundError: me/lucko/luckperms/lib/caffeine/cache/Caffeine
at me.lucko.luckperms.common.util.Caffe...

lilac dewBOT
#

Just been asking about this is in the Discord server, and then checked here...
Definitly would love to see a Filter command as above where I can use it to check if a user has a group and then let them access something according to it!

Using a CommandSign to check if user has a specific rank/group and then allowing the command to run if they do.
That would be amazing !

lilac dewBOT
lilac dewBOT
#

====Error====
java.lang.NullPointerException: null
at me.XStudio.XChats.methods.LuckPermsAPIUtils.hasPermission(LuckPermsAPIUtils.java:15) ~[X-Chats.jar:?]
at me.XStudio.XChats.methods.CommandUtils.execute(CommandUtils.java:31) ~[X-Chats.jar:?]
at net.md_5.bungee.api.plugin.PluginManager.dispatchCommand(PluginManager.java:207) [server.jar:git:BungeeCord-Bootstrap:1.17-R0.1-SNAPSHOT:633ff1c:1578]
at net.md_5.bungee.api.plugin.PluginManager.dispatchCommand(PluginManager.java:157) [server.j...

lilac dewBOT
lilac dewBOT
#

@Aurelien30000 In the meantime, you should also update all these dependencies

That needs to be done eventually, but changing the def minecraftVersion might make this mod no longer compatible with 1.16. I think it is better if someone who knows how to update the CI/CD changes the dependency versions, because it will also require Java 16. So, I won't add it to this pull request.

There were little changes between Minecraft 1.17-rc1 and 1.17, and I can confirm LuckPerms still works with...

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

when a player joins my server i have this error in the console and i can't use luckperms in the game
`[10:00:35 INFO]: UUID of player emo14 is 4bac439d-34d2-39bf-8e44-c7601dd8fffe
[10:00:35 ERROR]: Could not pass event PlayerJoinEvent to LuckPerms v5.3.3
java.lang.NoSuchMethodError: us.myles.ViaVersion.api.Via.getManager()Lus/myles/ViaVersion/ViaManager;
at me.lucko.luckperms.lib.adventure.platform.bukkit.BukkitFacet$ViaHook.apply(BukkitFacet.java:346) ~[?:?]
at me.lucko....

lilac dewBOT
#

I'm not sure a warning / error message is the best fix.

It is perfectly valid to have a setup without any group weights - primary groups are a concept which I don't really like to encourage (this is partly why they are somewhat hidden away and minimalised in LuckPerms)

If it is causing you a problem in your own plugin, perhaps a good solution would be to detect it (using the LuckPerms API, or otherwise) at that end, and print an error message accordingly.

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

tested dident work

Description

When i run /lp and /luckperms it get nothing not papper saying that the command dosent exist or luckperms giving me anything

Reproduction steps

  1. open chat
  2. type /lp
  3. get nothing in the chat

Expected behaviour

i get a message telling me that i shuld run /lp help or that its tellimg me i dont have permision to run anything else and tell me what version of luckperms i run

Environment details

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

@lucko I noticed that you closed a lot of these issues without adressing them properly. You can easily reproduce this by creating a free cluster on MongoDB Atlas and using the srv connection string in the config.
IMO it is not an issue with the driver but rather the way your plugin handles MongoDB connection strings.

You should be able to just paste mongodb+srv://dbUser:<password>@mycluster.awfcu.mongodb.net/myFirstDatabase?retryWrites=true&w=majority for example and be fine. The issi...

lilac dewBOT
#

Description

There appears to be an issue relating to SSL using TLSv1.2 or higher. TLSv1.2 and higher is required for both Java 16 (requirement for Minecraft v1.17) and MariaDB v10.5.

Reproduction steps

  1. On the server, setup MariaDB v10.5 and configure to use SSL
  2. Using MariaDB v10.5, set up a luckperms user requiring an SSL connection to log in.
  3. On the client side, configure to use SSL to log in to server. Confirm that you are able to do so from the client machin...
lilac dewBOT
#

Description

As title states, when doing a lookup using DataTypeFilter.TRANSIENT_ONLY it does not seem to check group inheritance.

Reproduction steps

  1. Create a new LP group called 'test'
  2. Set group 'test' as parent of 'default' group with a group weight of -100
  3. Apply transient permission to group 'test'.
  4. Perform a transient permission lookup against the 'default' group for the permission added to 'test'. This lookup should be using DataTypeFilter.TRANSIENT_...
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

Context groups, similar to permissions groups. As things are, if I wanted to add a large set of contexts onto a set of existing permissions, I can either type them both out individually, or delete them and re-add them with context. If I am simply adding a new permission with those same contexts, I need to type them all out again regardless. Adding or removing a context from existing permissions is also a bit of a pain if there are more than a handful of permissions involved. ...

lilac dewBOT
#

Description

One of these every 30 seconds on a quiescent server (ie., no players connected):

[17:01:11] [ForkJoinPool-3-worker-53/WARN]: java.lang.RuntimeException: Exception occurred whilst generating event instance
[17:01:11] [ForkJoinPool-3-worker-53/WARN]:     at me.lucko.luckperms.common.event.EventDispatcher.generate(EventDispatcher.java:122)
[17:01:11] [ForkJoinPool-3-worker-53/WARN]:     at me.lucko.luckperms.common.event.EventDispatcher.post(EventDispatcher.java:12...
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

### Description
I've been doing some hobby-support in the LuckPerms Discord lately and it appears that there is a common misunderstanding regarding tracks using the editor. As soon as people assign group weights, the editor will, smart as it is, sort the group by weight, highest up top, lowest in the bottom in the 'Groups' section.
Once people advance enough to use tracks, the order in which the tracks are being dragged is lowest up top to highest in the bottom, exactly the other way a...

lilac dewBOT
lilac dewBOT
#

a problem that occurs when joining in the Warterfalls version and in the Flamecord version (waterfall fork)
in version 5.3.40 the error was not only in 5.3.48

java.lang.Exception: null
at me.lucko.luckperms.bungee.listeners.BungeePermissionCheckListener.onPlayerPermissionCheck(BungeePermissionCheckListener.java:67) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl....

lilac dewBOT
lilac dewBOT
#

Description

  • permission node does not work in luckperms

Reproduction steps

  1. /lp user permission set * true
  2. See error

Expected behaviour

should have permission to everything

Environment details

  • Server type/version: Paper version git-Paper-"47605b8" (MC: 1.17) (Implementing API version 1.17-R0.1-SNAPSHOT)
  • LuckPerms version: LuckPerms-Bukkit-5.3.47

Any other relevant details

lilac dewBOT
lilac dewBOT
#
  1. See error

What is the error?
Also * may not mean every permission depending on how your setup is. https://nucleuspowered.org/docs/nowildcard.html

actually, no error is produced, it just that even after granting * node, I still wouldn't have access to commands, and to second point, it is not just a problem with one plugin, it is a problem with all the plugin i currently have installed, even including the command provided by PaperMC and Mojang, this is really awkward since I...

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

hey there 1.16.5
there isthis error while editing
[19:21:09] [Server thread/INFO]: RIPISDEAD issued server command: /lp editor
[19:21:19] [ForkJoinPool-1-worker-1/WARN]: [LuckPerms] Command execution [editor] has not completed. Trace:
java.base@16.0.1/java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
java.base@16.0.1/java.net.InetAddress$PlatformNameService.lookupAllHostAddr(Unknown Source)
java.base@16.0.1/java.net.InetAddress.getAddressesFromNameService(Unknown Source)...

lilac dewBOT
lilac dewBOT
#

Description

每次开服务器它就一直在加载配置,无论我重新下载jar,重启服务器都没用,我等了一个下午也还是在加载配置
When my server starts, luckperms is just loading configuration all the time, and doesn't stop loading

System Info: Java 16 (OpenJDK 64-Bit Server VM 16.0.1+9) Host: Windows 10 10.0 (amd64)
Loading libraries, please wait...
[22:05:38 INFO]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftser...

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

You can just create a group and make other groups/users inherit from it? Unless you are taking about some more complex nested folders implementation.

I more so mean folders of grouped permission nodes within one specific group/rank. This would be useful in organising plugin-specific permissions for a particular group/rank without creating an entirely new group itself.

lilac dewBOT
#

I'd rather see this implemented as a system property check instead of an additional file, similar to the server option:

https://github.com/lucko/LuckPerms/blob/979c80d9eeabd45b107401c119f77cf0e3a3081f/common/src/main/java/me/lucko/luckperms/common/config/ConfigKeys.java#L90-L92

Something like....

diff --git a/common/src/main/java/me/lucko/luckperms/common/config/ConfigKeys.java b/common/src/main/java/me/lucko/luckperms/common/config/ConfigKeys.java
--- a/common/src/main/j...
lilac dewBOT
#

That could work. I am confused about how this could be done securely, however; my understanding is that to set a system property in such a way, there are two possible paths:

  1. Use the command line interface and specify it as an argument (e.g. java -Dluckperms.database.password=toor server.jar)
    • This is problematic because the password is visible through inspection of the process (on Linux, cat /proc/$PID/cmdline; on Windows, with procexp64.exe from SysInternals)
  2. Use `java.ut...
lilac dewBOT
lilac dewBOT
#

Description

When I run /stop, the server saves chunks and then says [Server thread/INFO]: Thread Query Listener stopped, which is usually the last line before the process exits, but with LuckPerms installed, the process gets stuck there and never exits.

Reproduction steps

  1. Install LuckPerms on Fabric 1.17
  2. Start the server
  3. Run /stop
  4. Observe that the server gets stuck on shutdown at [Server thread/INFO]: Thread Query Listener stopped and the process stays runn...
lilac dewBOT
#

I agree with @emilyy-dev and @underscore11code that LuckPerms has no reason to involve itself in this, as it is the fault of the plugin developers (in this case the developers of WorldEdit, one of the best plugins ever) for not using permissions to limit Tab Completer functionality. There is nothing LuckPerms can (or at least should) do about that. But it's cool that you made a plugin to solve this problem @NotStarRift ! I am having the same issue, and it is very frustrating. Can you provid...

lilac dewBOT
#

Description

Running the server with Tab Modifier crashes using LP5, I have tried all combinations of with and without both default and legacy LP extensions.

Reproduction steps

Install latest LP with both extensions added;
Install latest Tab Modifier;
Run server

Expected behaviour

Should use LPAPI from legacy.

Environment details

Data Center in New York
Rapid Deploy Server - Intel Xeon E5 1650 V3 64GB (PNJ)

  • Server type/version: spongeforge-1.12.2-2838-7....
lilac dewBOT
#

Hello

ave same error, but papermc 1.17, luckperms 5.3.50, java version "16.0.1" 2021-04-20

`[06:53:55] [Server thread/ERROR]: Error occurred while enabling LuckPerms v5.3.50 (Is it up to date?)
java.lang.NoClassDefFoundError: me/lucko/luckperms/lib/gson/JsonParseException
→ at me.lucko.luckperms.lib.adventure.text.serializer.gson.GsonComponentSerializerImpl$BuilderImpl.build(GsonComponentSerializerImpl.java:149) ~[?:?]
→ at me.lucko.luckperms.lib.adventure.text.serializer.craftbu...

lilac dewBOT
lilac dewBOT
#

Description

Api seems to never be enabled on newer versions. Confirmed all interactions with the LuckPerms api take place after onEnable, along with making sure the plugin.yml specifies a dependency on LuckPerms. The same code has been used since 5.2.xx and has never had an issue.

Reproduction steps

  1. Place LuckPerms dependency in plugin.yml
  2. Attempt to build a MetaNode onEnable

Expected behaviour

Documentation states that the api should be available to ac...

lilac dewBOT
lilac dewBOT
#

Hello, today I came across this error on my server running luckperms. This error happens when you just run "/". As error message it gives me:

[Server thread/ERROR]: Could not pass event PlayerCommandPreprocessEvent to LuckPerms v5.3.47
org.bukkit.event.EventException: null
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[server.jar:git-Spigot-dcd1643-e60fc34]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[server.jar:git...

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

Description

Starting the server will result in LuckPerms spamming console with IllegalStateException: zip file closed when checking permission nodes in plugins. The server will then crash when finished loading with the following exception:

Description: Exception in server tick loop

java.lang.IllegalStateException: zip file closed
        at java.base/java.util.zip.ZipFile.ensureOpen(ZipFile.java:828)
        at java.base/java.util.zip.ZipFile.getEntry(ZipFile.java:327)...
lilac dewBOT
lilac dewBOT
#

Description

Include LuckPerms ExtraContexts (https://github.com/LuckPerms/ExtraContexts) in LuckPerms itself as some of the extra contexts (especially the worldguard ones) are extremely important to some servers and including them in the main LuckPerms plugin would make them easier to keep updated and would make the entire LuckPerms "Experience" more integrated and in my opinion better.
This removes the need to have an additional add-on for an in my opinion very important feature.

...

lilac dewBOT
#

Tnx man it get solved after updating

On Fri, Jul 9, 2021, 03:18 lucko @.***> wrote:

Try setting your machines DNS server to use Google/Cloudflare instead, use
8.8.8.8 or 1.1.1.1


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/lucko/LuckPerms/issues/3087#issuecomment-876792424,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASHNDQCEYS3XCXXNTSTPT2TTWYTMHANCNFSM47IEWARQ
...

lilac dewBOT
#

Description

Server 1.16.5 crashes on getting LuckPerms rights tested with Airplane and Purpur kernel. Java 16

Reproduction steps

In my case, when I write /tab reload, the server freezes and crashes.
Plugin developer TAB told to unsubscribe to you

Expected behaviour

Environment details

  • Server type/version: Airplane and purpur running version 1.16.5 build 9(Airplane) or 1171(Purpur)
  • LuckPerms version: v5.3.51

https://p.reflex.rip/faxi....

lilac dewBOT
#

Description

whenever i use the command /lp edior this error pops up and i cant use it
BigWillyBilly69 issued server command: /lp editor
[05:22:04] [luckperms-scheduler-worker-2/WARN]: [LuckPerms] Command execution [editor] has not completed. Trace:
java.base@11/java.net.PlainSocketImpl.socketConnect(Native Method)
java.base@11/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:399)
java.base@11/java.net.AbstractPlainSocketImpl.connectToAddress(Abst...

lilac dewBOT
#

Description

When promoting a user on a track twice there is a chance for an exception to occur.

Reproduction steps

I believe the issue existed because of promoting someone on a track twice which then caused some sort of error on Luck Perms and DiscordSRV having an exception triggered. So far I cannot replicate the issue and am unaware of the cause.

Expected behaviour

No console output, plugin behavior is normal just there is some sort of error triggered i...

lilac dewBOT
lilac dewBOT
#

Description

Hello. I am using Minecraft 1.17.1, latest Carpet and latest LuckPerms. When you enter the command /player Alex spawn, which should spawn a fake player, an error appears in the chat, and an exception appears in the console if you enter the command /carpet superSecretSettings true in advance.

Reproduction steps

Install Carpet and LuckPerms on Minecraft 1.17.1, enter the command /carpet superSecretSettings, and then try to spawn a fake player using the command /play...

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

I have permission nodes in a group called plotperms and I use this group to give permissions to players to use in specific server/world contexts by adding it as a parent to the default group. In previous versions of LuckPerms this seemed to work fine, but I am setting up a new network and applying the same technique but the player is not able to inherit these permissions.

Reproduction steps

  1. Example permission of plots.auto exists in the group plotperms
    2)...
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

Gradle command "./gradlew build" throws an error stating:

$ ./gradlew build

←[1A
←[31mFAILURE: ←[39m←[31mBuild failed with an exception.←[39m

  • Where:
    Settings file 'C:\Users\Njowi\Downloads\BuildTools\LuckPerms\settings.gradle'

  • What went wrong:
    Could not compile settings file 'C:\Users\Njowi\Downloads\BuildTools\LuckPerms\settings.gradle'.
    ←[33m> ←[39mstartup failed:
    General error during semantic analysis: Unsupported class file major version 60

...

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Hey Guys!
I wanted to make an Citybuild based Server with Aternos.
So i got some plugins for the Server and for managing the permissions i choosed Luckperms.
One of the plugins was an Warp plugin so i set that everyone has the Permission to warp, but when my friend tested the server he can´t warp and it show the "error" You dont have the permission or something.
But the weird thing is all other Permissions work. And for the warp plugin there was only one permission so i cant´t choose a w...

lilac dewBOT
#

Description

WHEN TALKING ABOUT PREFIXES I REFER TO SUFFIXES TOO

My idea is that you can create a list under "Tracks" named "Prefixes" where it works like the track drag and drop but instead of creating tracks you create prefix priorities. In other words, I suggested that you virtualize the "prefix.(number)" thingy and get rid of it.

Proposed behaviour

When you click this "Prefix" list, all prefixes FOR EACH GROUP, will display. When you click a group, you can chang...

lilac dewBOT
#

Description

When you list permissions, parents, meta, etc., you should be able to hover over one item in the list, for example a permission, and see a Hover message telling you "Click to remove...". This doesn't work anymore after updating to 1.17.1 (from 1.16.5) (Clicking also doesn't generate the remove permission command like before)

Reproduction steps

  1. You can create a brand new 1.17.1 server with default settings, I tested different softwares (spigot, airplane, a...
lilac dewBOT
lilac dewBOT
#

Well, it just needs its context implementation that's all. Things that are not dependent on other plugins such as gamemode or world should be built-in and I believe it's already present (at least for bukkit).

However, for other contexts, such as those related to worldguard will be dependent on worldguard plugin and may result in a maintainability issue. E.g. if worldguard API change, luckperms will need an update as well which doesn't make sense. These should then be implemented in a sepa...

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#
  1. You can remove a group from all users. See https://luckperms.net/wiki/Bulk-Editing
  2. you can set groups to expire at a certain time for each user with https://luckperms.net/wiki/Parent-Commands#lp-usergroup-usergroup-parent-addtemp-group-duration-temporary-modifier-context

/lp bulkupdate all delete "permission == group.default" So that will work? Will it cause problems if I run the command when the server is online?

lilac dewBOT
lilac dewBOT
#

That is not quite how the editor system works. It is completely safe to share editor links in public, as people have to run the lp applyedits command for any changes to take effect.
Now that being said this calls you have bigger issues on your server/network, if someone was able to create an editor session and make changes you should be worrying about how they got access to it in the first place, and patch that pothole. Just as they ran the editor commands they could have also run any o...

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

Description

I got this error after using CrazyAdvancementsAPI

5.07 12:24:57 [Server] ERROR Exception occurred whilst loading data for 8069233e-5b25-410c-9475-daa6a044c365 - GamerCoder215
25.07 12:24:57 [Server] INFO java.util.concurrent.CompletionException: org.h2.jdbc.JdbcSQLNonTransientConnectionException: Database may be already in use: null. Possible solutions: close all other connection(s); use the server mode [90020-199]
25.07 12:24:57 [Server] INFO at me.lucko.luck...
lilac dewBOT
lilac dewBOT
#

Description

I have online-mode=false in server.properties and LuckPerms won't let me join. How do I bypass this?

Reproduction steps

Set online-mode to false in server.properties.
Launch CraftBukkit Server (1.16.5).
Join on premium/cracked account.
Won't let you in.

Expected behaviour

Error should not pop up

Environment details

  • Server type/version: CraftBukkit/Bukkit running version 1.16.5 build Latest at the time of 2021 Jul 16 - 11:09 AM
  • Luc...
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

So One day I joined my server to see everything was griefed. I checked the console to see they have done world edit commands. but They should not have had permission. I checked the Luckperms editor and 3 people that are not staff on the server had OWNER rank.

I cant rly say the steps because IDK how they got owner

Erm... not give owner to random players???

Environment details

  • Server type/version: papermc running version 1.17.1 latest build
  • LuckPerms version:...
#

[14:53:59] [LoginProcessingThread/INFO]: UUID of player Asi33r is d318071e-f37d-3f9f-b991-04dcbcca479e This is an offline mode uuid. So there is 3 possible issue that are all unrelated to luckperms:

  1. You want the cracked client to join your server, so you allowed offline-mode UUID (you really shouldn't)
  2. Your backend IP is not secure behind firewall, so a player manage to bypass your bungeecord and join the server directly.
  3. A bungeecord config issue cause wrong uuids to happen, st...
lilac dewBOT
#

How do i fix: Your backend IP is not secure behind firewall, so a player manage to bypass your bungeecord and join the server directly.

That is completely dependent on how your server is hosted. There is no one answer to it.

bungee mode was not enabled on 1 server but was on others so it is not: 3. A bungeecord config issue cause wrong uuids to happen, steps to check thingy.

One server having the wrong config is all that is needed to cause the problem. Assuming you synced permiss...

lilac dewBOT
#

Description

My English is really bad so I used google translator.

LuckPerms in combination with EssentialsX increases ping when changing the gamemode or when switching to another world. The more plugins are enabled, the ping jumps higher and it is quite bothersome because it causes temporary lag for a player.

Videos showing this:
LuckPerms and EssentialsX:
https://www.youtube.com/watch?v=00lfAOeiZdI

Only LuckPerms:
https://www.youtube.com/watch?v=g2Spht4Wtg4

Only Essen...

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

Description

When using GeyserMC the users have a . (or whatever prefix you choose infront of their name). I noticed luckperms dont support this. I know that GeyserMC gives them a uuid of some sort as it works fine with some other plugins.

Proposed behaviour

This would allow for not only interacting with java players but bedrock players as well. For example I have a bedrock user called ".killalittle05" if support is added I should be able to do /lp user .killalittle05 info whi...

lilac dewBOT
#

Description

LuckPerms-Velocity-5.3.54 hangs the velocity proxy. The console does not respond.

Reproduction steps

  1. Update to LuckPerms-Velocity-5.3.54 from LuckPerms-Velocity-5.3.53
  2. Restart the proxy
  3. Observe that the console is hung

Expected behaviour

This issue does not exist prior to LuckPerms-Velocity-5.3.54, specificallyLuckPerms-Velocity-5.3.53

Environment details

  • Server type/version: Velocity 3.0.0
  • LuckPerms version: `LuckPerm...
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

[LuckPerms] Enabling LuckPerms v5.3.51
[10:43:35 INFO]: __
[10:43:35 INFO]: | |) LuckPerms v5.3.51
[10:43:35 INFO]: |
_ | Running on Bukkit - Paper
[10:43:35 INFO]:
[10:43:35 INFO]: [LuckPerms] Loading configuration...
[10:43:35 INFO]: [LuckPerms] Loading storage provider... [MYSQL]
[10:43:35 INFO]: [me.lucko.luckperms.lib.hikari.HikariDataSource] luckperms-hikari - Starting...
[10:43:36 INFO]: [me.lucko.luckperms.lib.hikari.HikariDataSource] luckperms-h...

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

Initially the login procedure functions, but when the new entity is to be added, server responds:

{uuid} - Steve doesn't currently have data pre-loaded - denying login

The fake player won't spawn as expected, and carpet prints statements like "something unexpected occured".

I checked Issue#1531, and switched the item "debug-login", also modified the server property "online-mode" from True to false and back, but sa...

lilac dewBOT
#

Forgot how but I managed to do just this with a few lines of code. It generated a list of permission nodes that you'd assign commands to in a yaml to associate with commands. Then those very commands override the default chat complete for players, depending on what permission nodes they had access to. I grouped them in lists for my rank ladder

lilac dewBOT
#

Description

ref. title

Reproduction steps

  1. Install Bukkit LP on any Bukkit-based server
  2. Start up
  3. Give some permissions to a holder e.g. default group
  4. Run /lp group default permission info
  5. Hover and click events don't work on the permission nodes (same applies to anything else that's hoverable/clickable).

Expected behaviour

For them to work

Environment details

  • Server type/version: Paper running version 1.17.1 build 157
    ...
lilac dewBOT
#

I think it would be super useful to have an additional placeholder %luckperms_prefix_clean% that would simply return the player's prefix with no color codes (&d or &#FFFFF) for use in plugins that send messages in other mediums (such as DiscordSRV) or GUI management plugins that do not automatically convert hex codes or color codes in general.

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

I have a minecraft network that has ranks and was looking at the console and it just spams it so much! hastebin: https://hastebin.com/amohemewah.md

Reproduction steps

  1. just use mysql on multiple servers?

Expected behaviour

no console spaming and ranks syncing propely. <- sorry for bad spelling

Environment details

  • Server type/version: paper spigot running version 1.12.2 latest build
  • LuckPerms version: `latest'
  • all other servers r...
lilac dewBOT
#

Description

I run a couple of servers behind Velocity and want to use the RememberMe plugin to auto connect to the last connected server. But that also causes players to get connected into the lobby on a reconnect if they got sent there due to the actual game server going down.
I wanted to fix this by introducing a new permission to RememberMe rememberme.notracking which would be true for the lobby server.

Without any contexts set on ...

lilac dewBOT
#

Using verbose to further inspect this issue indeed confirms that at the time when the permission gets checked neither the old nor the new world context are set.

https://luckperms.net/verbose/bwjkR0UD8f

note: I changed the onServerChange eventlistener to @Subscribe(order = PostOrder.LAST) but this didn't change anything.

Is there some way I can properly wait for LuckPerms to update contexts after a server change?

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

[19:45:09] [Server thread/WARN]: java.util.concurrent.CompletionException: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
[19:45:09] [Server thread/WARN]: at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:314)
[19:45:09] [Server thread/WARN]: at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:319)
[19:45:09] [Server thread/WARN]: at java.base/java.util.concurrent.CompletableFuture...

lilac dewBOT
#

Description

add rank colours so you can do /rankcolour so if you prefix was for example: [vip] you can change it to &6&l[&6&lvip&6&l] so it would be gold.

Proposed behaviour

It can change colours so the player can customize there rank how ever the like!

lilac dewBOT
lilac dewBOT
#

Description

When running /lp editor, I get the following error. After a few moments of seeing the error, it shows the link as normal. I go to the link, make changes, paste the new link back into console, and it works as expected. Any ideas for what I could be doing wrong?

> lp editor
[14:34:31 WARN]: [LuckPerms] Command execution [editor] has not completed. Trace:
  java.base@16.0.1/jdk.internal.misc.Unsafe.park(Native Method)
  java.base@16.0.1/java.util.concurrent.lock...
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

LP v5.3.57 running on paper-1.17.1-186

After adding an empty prefix ( meta addprefix 99 "" ), my group file can't be read by the plugin. I get the following errors when the plugin tries to view or read any info about the group.

[18:33:34] [Server thread/INFO]: 3XC4L1B3R issued server command: /lp editor
[18:33:34] [ForkJoinPool-1-worker-39/WARN]: me.lucko.luckperms.common.storage.implementation.file.FileIOException: Exception thrown whilst reading/writing file: dei
[18:33:34] [...
lilac dewBOT
#

This is honestly a bad idea to add to LuckPerms and here is the reason:
LuckPerms itself does not whatsoever alter your chat or tablist. I get why people would think it does, but it doesn't.
The color codes you can use on prefixes and suffixes solely depend on the plugins that will display it, so for example chat or tablist - whichever plugin you may use. On 1.16 and above, if 'dispaly-plugins' support it, you can also use hex colors, but sometimes they take different coloring formats. Som...

lilac dewBOT
lilac dewBOT
#

I personally find this very useful for network servers where permissions vary a lot based on the different gamemodes.
I have a bit of a different idea though , see this picture:
image
Why not make a global tab and a context tab where you can add more tabs using a plus-button.
This way, users can see which permissions apply in contexts on one page and also, when removing a gamemode,...

lilac dewBOT
lilac dewBOT
#

Where exactly are you using this placeholder?
If you for example use it in a scoreboard or menu, there is a possibility that those plugins fail to update it or encounter errors which break the display. When the break happens, have you looked at your console to see if anything throws any errors? Have you tried this on a server that literally only has lp, papi, the expansion and the plugin for the placeholder (aka it's permission) and if you use one, the displaying plugin?

#

Where exactly are you using this placeholder?
If you for example use it in a scoreboard or menu, there is a possibility that those plugins fail to update it or encounter errors which break the display. When the break happens, have you looked at your console to see if anything throws any errors?

I'm using them in a GUI yes, so the player can know how much left time he got for some boosters permissions.
There is nothing in console/logs when it doesn't display anymore

Have you trie...

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

Description

At the moment, users obtained through the API (that aren't online) are discarded regardless of how often or frequently they are accessed. This means that unnecessary storage calls could be being fired repeatedly.

Proposed behaviour

In order to prevent User instances that are in active use by plugins/mods from being expired, the UserHousekeeper method registerApiUser could be touched on get calls in addition to load calls.

This would mean that the 5 mi...

lilac dewBOT
lilac dewBOT
#

In the original translation, "Context" was translated as "情境", which is incorrect.
It is translated as "上下文" in the Chinese Wiki. This is correct.
The same "track" being translated as "权阶" is also incorrect,"轨道" is the correct translation.
The original translation is really bad, please replace it as soon as possible.
[Difference contrast ](https://github.com/Beoo-666/My-Plugin-translation/commit/38438af528958a346ab89f39...

lilac dewBOT
lilac dewBOT
#

This issue persists in Luckperms v5.3.64:

{
  "schemaVersion": 1,
  "id": "luckperms",
  "version": "${version}",
  "name": "LuckPerms",
  "icon": "assets/luckperms/icon.png",
  "description": "A permissions plugin (mod)",
  "authors": [
    {
      "name": "Luck",
      "contact": {
        "sources": "https://github.com/lucko",
        "homepage": "https://lucko.me/"
      }
    }
  ],
  "license": "MIT",
  "contact": {
    "homepage": "https://luckperms.net",
...
lilac dewBOT
lilac dewBOT
#

It is like Emily already said.
LuckPerms literally gives raw data to other plugins, such as chat and tablist. For LuckPerms, a prefix is literally a "random" combination of letters and numbers such as &7[&4Owner&7]. LuckPerms itself is in no way responsible for the display of the prefix. So all LP does is give this combination of numbers and letters to your chat/tablist/scoreboard plugin, depending where you display the prefix and/or suffix.
Having that said, LP will take ANYTHING as pref...

lilac dewBOT
#

Description

Everytime I reload the server, there are errors printed in the console. Updated from 5.3.61 to 5.3.64, error is still there.

Reproduction steps

  1. Start the server with new LuckPerms installation
  2. Use the /reload Command
  3. Error in console

Expected behaviour

I expected no error and my prefix assigning system using bukkit permissions assignes the default prefix to me. Just when I rejoin, my plugin assigns the right prefix. I made sure that my p...

lilac dewBOT
lilac dewBOT
#

Description

Subscribing to the NodeRemoveEvent, I expect to see whenever a node is removed, explicitly or implicitly.
Doing the following commands:

/lp user TheUsername parent set lmao
/lp user TheUsername parent set default

Will call NodeAddEvent for both lmao and default, but will not call NodeRemoveEvent for the nodes it is clearing. In this case, I expect setting the parent to default to call this event for lmao.

The response message says "had their e...

lilac dewBOT
#

Description

So I am using version 1.17 and I made a new group with a prefix. The prefix itself is showing when I type /lp user [username] info but it isn't showing up when I type in chat. I have both the essentials and vault plugins and made sure that the format was correct. Does anyone know something I can try?

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

I have come upon multiple situations in which I would have liked to have something like /lp user (player) permission set (permission) toggle, where it would set the permission to the opposite of what it's set to.

Proposed behaviour

An option to put "toggle" in the command, which would switch around the permission in one command.

lilac dewBOT
#
nginx_1       | 192.168.128.1 [31/Aug/2021:11:58:47 +0000] TCP 200 5 35 600.100 "192.168.128.2:6379" "35" "5" "0.000"
nginx_1       | 192.168.128.1 [31/Aug/2021:11:58:52 +0000] TCP 200 51 77 600.006 "192.168.128.2:6379" "77" "51" "0.000"
bungeecord_1  | [11:58:52 WARN] [LuckPerms]: Redis pubsub connection dropped, trying to re-open the connection
bungeecord_1  | me.lucko.luckperms.lib.jedis.exceptions.JedisConnectionException: Unexpected end of stream.
bungeecord_1  |         at me.l...
lilac dewBOT
#

Hi there!
I'd like to request a bulk update addition.
Let me first give an example to explain:
Let's assume I - by accident - removed the default group from users by using 'parent set' instead of 'add' (or other reasons). Now those users have a different group, however lp will not add the default group back to them because their data is not empty. Surely, when using inheritance, it does not really matter if users have default or not is said groups inherit from it, either directly or indir...

#

Hello once again! xD
Today, we helped someone out in the discord, where the user had changed the server name in the config file and reloaded the config, hoping the server name change would work, allowing the user to use the context without a server restart. Generally speaking, I understand why server owners try to avoid performing server restarts. So here is my proposal:

It is nowhere to be found which settings exactly get reloaded and will work on /lp reloadconfig. So my idea is to add a...

#

I personally think this would be a good idea. I have seen many times that people have requested the ability to add a permission or group to add users at once. This would also be extremely useful if you're wanting to say add a separate permission to all users if they already have another specific permission.

For example. If players had the permission essentials.fly and one day you decided that you were wanting to add the permission essentials.fly.safelogin to everyone who has the fly permi...

#

Technically this is already a feature in the Web-editor and you can just quickly open the users web-editor with /lp user <name> editor and click the true|false button to toggle it.

I do understand having a toggle command for it though would be a little quicker. Something like /lp user|group <name> permission toggle <permission> and if the permission is not set, it will automatically add it and set it to true.

lilac dewBOT
lilac dewBOT
#

The "issue" here is how bulk operations work, they essentially scan storage one node at a time, it iterates through them one by one, and if it matches the constraints it applies the operation (delete / update (or rather, "edit")); it's also dependent on what storage method the plugin is using, for SQL-based storage types it delegates the task to the database engine with just a handful of instructions (UPDATE/DELETE FROM).

Alternatively though, the /lp editor command also takes some a...

#

Thx. But if this is deliberately ignored, there could be a console message that says that luckperms is not compatible with /reload on reload.

Not only LuckPerms but a plethora of plugins break/error out when reloading (I personally have experienced issues with WorldEdit, WorldGuard, Quests, McMMO, GriefPrevention, GriefDefender, EssentialsX, Citizens2, and a long list of etceteras I barely even remember), surprisingly enough even the server itself in the long run will show erroring behav...

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

relentless flood on my console.

Reproduction steps

Expected behaviour

Lucperms is flooding this "[luckperms-scheduler-worker-1] WARN me.lucko.luckperms.lib.hikari.pool.PoolBase - luckperms-hikari - Failed to validate connection me.lucko.luckperms.lib.mysql.cj.jdbc.ConnectionImpl@3e375342 (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value." code on my console relentlessly, and I've already taken a look at th...

lilac dewBOT
#

Description

wen /lp editor is inputed, the response is (lp editor.... is running

Reproduction steps

do /lp editor

Expected behaviour

the webpage to open

Environment details

Luckperms latest version, paper 1.7.1

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

Any other relevant details

lilac dewBOT
#

Tips in the game: Cannot communicate with the network editor, check the console for errors.
Error report when starting the web editor:
[LuckPerms] Command execution [editor] has not completed. Trace:
java.base@16.0.2/sun.nio.ch.Net.poll(Native Method)
java.base@16.0.2/sun.nio.ch.NioSocketImpl.park(NioSocketImpl.java:181)
java.base@16.0.2/sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:548)
java.base@16.0.2/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:597)
...

lilac dewBOT
lilac dewBOT
#

Description

When "/luckperms editor" is used, the link does not appear and instead "Unable to communicate with the editor" appears

Reproduction steps

  1. Run /luckperms editor from the console or gamechat
  2. See error

Expected behaviour

The editor session link will appear in the chat

Environment details

  • Server type/version: paper running version 1.17.1 build 255
  • LuckPerms version: v5.3.65

[17:34:16 WARN]: [LuckPerms] Comma...

lilac dewBOT
#

I'm trying to set up luckperms with minecraft spigot server 1.17.1 but I keep getting the following error (see serverlog below).

This server is running
CraftBukkit version: 3238-Spigot-6c1c1b2-9217b52
MC: 1.17.1
Implementing API version: 1.17.1-R0.1-SNAPSHOT

It doesn't matter what I do. The messaging service stays on and keeps saying that these attempts are not recognized in config.yml
( SQL / sql / MySQL / mysql ).

I have tried luckperms bukkit and bukkit legacy and bo...

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Please provide some screenshots of the command output, any editor links (if any) it gives you, and your console logs.
Its logs are as follows:

[16:00:25 INFO]: [LP] Preparing a new editor session, please wait...
[16:00:35 WARN]: [LuckPerms] Command execution [editor] has not completed. Trace: 
  java.base@16.0.2/sun.nio.ch.Net.poll(Native Method)
  java.base@16.0.2/sun.nio.ch.NioSocketImpl.park(NioSocketImpl.java:181)
  java.base@16.0.2/sun.nio.ch.NioSocketImpl.timedFinishConne...
#

请提供命令输出的一些屏幕截图、它为您提供的任何编辑器链接(如果有)以及您的控制台日志。

重新:
其日志如下:

[16:00:25 INFO]: [LP] Preparing a new editor session, please wait...
[16:00:35 WARN]: [LuckPerms] Command execution [editor] has not completed. Trace: 
  java.base@16.0.2/sun.nio.ch.Net.poll(Native Method)
  java.base@16.0.2/sun.nio.ch.NioSocketImpl.park(NioSocketImpl.java:181)
  java.base@16.0.2/sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:548)
  java.base@16.0.2/sun.nio.ch.Nio...
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

Setting a blank prefix in a group, i.e "", will work until restart then on restart LP will throw an error and not load any prefixes.

Only an issue with "storage-method: yaml". Works correctly when in db mode.

Reproduction steps

  1. /lp creategroup newgroup
  2. /lp group newgroup meta addprefix 1 ""
  3. /lp user you parent add newgroup
  4. Restart the server

Expected behaviour

A player with no prefix.

Environment details

Paper 243. 1.17.1
LP...

lilac dewBOT
#

I found a way that works for me.
Instead of storage-method MySQL, set to MariaDB and enter the port of MySQL (3306) after the hostname.

storage-method: MariaDB

data:
	# address: Domainname or IP address : MySQLpoort
	address: 192.168.1.1:3306
	
	# database: Databasename
	database: luckperms_minecraft
	
	# username: your MySQL username for the database
	# password: your MySQL password for the database
lilac dewBOT
#

I see you've already seen this page, but I'll draw your attention to a specific part of it once more:

https://luckperms.net/wiki/Storage-system-errors (the first few paragraphs)

The error messages are not originating from LuckPerms, there is nothing I can do to fix them.

The wiki page contains my exhaustive advice on the issue, anything further is beyond what I am capable of helping with.

#

I have seen many times that people have requested the ability to add a permission or group to add users at once

This is fundamentally poor usage - regardless of how useful or "often" people try to do it.

If you need to add a set of permissions to all users, these should be included in the default group to avoid needless replication/duplication.

#
[19:25:45 INFO]: CONSOLE: Are you sure you wish to reload your server? Doing so may cause bugs and memory leaks. It is recommended to restart instead of using /reload. To confirm, please type /reload confirm
> reload confirm
[19:25:48 INFO]: CONSOLE: Please note that this command is not supported and may cause issues when using some plugins.
[19:25:48 INFO]: CONSOLE: If you encounter any issues please use the /stop command to restart your server.
[19:25:48 INFO]: Server Ping Player S...
lilac dewBOT
#

In my Tab the nicknames i do show up normally but then in chat it doesent i will try later if its to do with luckperms if it is/isnt i will reply later in like 10 mins bcs its rlly annoying me and ppl on my server are complaining and im simply not smart enough to fix this

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Please add placeholder %luckperms_highest_group_by_weight_expiration% or %luckperms_exipration_group%
So that "VIP" players know when their best VIP ends. + so that it is possible to somehow set the expiration format eg 1w 1d 1h to another language for example or just limit the format to 1w / 1d only, ... From what I've looked at placeholders, none of that is what I imagine. Just to show you the expiration time of the highest group you have, and if it doesn't find your expiration time, it wi...

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

The other day when 5.3.67 came out I've /stop and replaced the jar and started the server. I didn't notice it then, but now I did when I did a stop and start today and spotted the startup error regarding locale file.

[11:19:57 INFO]: [LuckPerms] Enabling LuckPerms v5.3.67
[11:19:58 INFO]:         __
[11:19:58 INFO]:   |    |__)   LuckPerms v5.3.67
[11:19:58 INFO]:   |___ |      Running on Bukkit - Paper
[11:19:58 INFO]:
[11:19:58 INFO]: [LuckPerms] Loading ...
lilac dewBOT
lilac dewBOT
#

Description

Reference: https://github.com/lucko/LuckPerms/issues/3165

Translation files generate errors.

Reproduction steps

Occasional, not every restart.

Expected behaviour

The solution proposed in #3165 (closed) was for the server operator to delete the files and regenerate them. I can add that to my start-up scripting, but most operators do not use a sophisticated scripting system. Several questions:

  • Why is the burden placed on the server operator?
    -...
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

My suggestion is that you should be able to give players perms for vanilla admin commands in luckperms fabric, like how it works in bukkit.

Proposed behaviour

On a fabric server with luckperms and fabric API in the mods folder, the command /luckperms user [user] permission set minecraft.commands.op should give the user the ability to do the /op command, exactly how it works in bukkit.

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

I got a server in 1.16.5 running latest luckperms' dev build in MySQL.
I got 100-150 players, and I got a lott of permissions check.

Sometimes when player receive a permission (given by a plugin) it doesn't give them the permission.
I got a
[LP] Another command is being executed, waiting for it to finish...

And sometimes they will never get their permission.

Reproduction steps

  1. Give a lot of permissions to players

Expected behaviour

It should gi...

lilac dewBOT
#

I cant start my server when I install this plugin plzz help me
It's stuck at this
[13:29:44 INFO]: [LuckPerms] Enabling LuckPerms v5.3.68
[13:29:46 INFO]: __
[13:29:46 INFO]: | |) LuckPerms v5.3.68
[13:29:46 INFO]: |
_ | Running on Bukkit - Paper
[13:29:46 INFO]:
[13:29:46 INFO]: [LuckPerms] Loading configuration...

ServerVersion:Paper-783 1.16.5
configuration file
LuckPerms.zip

lilac dewBOT
lilac dewBOT
#

[20:37:34 WARN]: java.sql.SQLTransientConnectionException: luckperms-hikari - Connection is not available, request timed out after 15722ms.
[20:37:34 WARN]: at me.lucko.luckperms.lib.hikari.pool.HikariPool.createTimeoutException(HikariPool.java:695)
[20:37:34 WARN]: at me.lucko.luckperms.lib.hikari.pool.HikariPool.getConnection(HikariPool.java:197)
[20:37:34 WARN]: at me.lucko.luckperms.lib.hikari.pool.HikariPool.getConnection(HikariPool.java:162)
[20:37:34 WARN]: ...

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Happy to accept some of these changes, but I feel that they would be better off in separate PRs. There's some things here which look incomplete, and some changes which I'm not so sure on..

If you'd like to pursue this further please let me know and I can give some more specific feedback, but for now I'll close this - thanks :)

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

[16:21:27] [Server thread/INFO]: [LuckPerms] Enabling LuckPerms v5.3.69
[16:21:28] [Server thread/INFO]:   __ 

[16:21:28] [Server thread/INFO]:  | |__) LuckPerms v5.3.69

[16:21:28] [Server thread/INFO]:  |___ | Running on Bukkit - CraftBukkit

[16:21:28] [Server thread/INFO]: 

[16:21:28] [Server thread/INFO]: [LuckPerms] Loading configuration...
[16:21:29] ...

lilac dewBOT
#

Description

I have UltimateClaims and trying to allow to the default group to run any action except of anything under ultimateclaims.toggle
I have this permission check for ultimateclaims.toggle.hostilemobspawning like this:

23:01:53.262
[CHAT] [LP] Permission information for ultimateclaims.toggle.hostilemobspawning:
23:01:53.262
[CHAT] [LP] - default does not have ultimateclaims.toggle.hostilemobspawning set.
23:01:53.262
[CHAT] [LP] - default does not inherit ultimate...
lilac dewBOT
lilac dewBOT
#

Description

I tried to add a permission to an user, it gave me a lot of errors (but it worked), and 10mn after, I tried again and I didn't get any error.
So sometimes it throw errors without reason, I didn't restart the server or change anything.

Reproduction steps

Give a permission to a player

Expected behaviour

Shouldn't throw an error

Environment details

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

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

There's a error with a scheduler

`[17Oct2021 18:19:58.553] [modloading-worker-1/ERROR] [org.spongepowered.forge.launch.plugin.PluginModContainer/LOADING]: Failed to create plugin instance. PluginID: luckperms, class me.lucko.luckperms.sponge.LPSpongeBootstrap
com.google.inject.CreationException: Unable to create injector, see the following errors:

at LPSpongeBoots...

lilac dewBOT
lilac dewBOT
#

This seems to be related to #1375 - the problem is twofold. One, you can't set permissions as contexts on permissions because it can lead to an infinite loop of permission checking. Two, you should be using groups for this. For example, create a group with asd.perm and one with test.perm and toss it on whoever instead of trying to add permission-contextualized permissions. That's what groups are for, after all!

#

It seems to me that this is best done external to LP - it's a tossup whether toggle should automatically set to true or false or simply reject the command to being with, if the permission isn't present. For your use case, I'm not sure which would be best but I imagine it will vary depending on who uses it.

I'm happy to be overruled by anyone else, if there's some vital reason this should be within LP and not in an external plugin, it may be a worthy addition. Seems to me to just be a bi...

#

Ben's right - the add-on is an add-on for a good reason, in that it entirely relies on external plugins and is also not something that should be an integral part of LuckPerms. Other plugins should ideally be registering their own contexts and not relying on a LuckPerms extension! It makes things maintainable by each project and ensures that they can update things on their end when major changes happen, without having to go through LuckPerms. If you've got some special plugins that EC covers...

#

Context groups seem like a potentially useful idea - context tabs on the other hand would require a lot of web-dev and even more work internally to synchronize. Seems to me that context groups are also totally different to context-tabs in that a context group is a named object which contains a list of other context names and values. If this were to be implemented and then added to the web-editor, it would likely work best as a an extra section, along with Users and Groups. So as an idea for...

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Hi Laarryy,
As it took quite some time to get a response from LP, I have changed my permission configuration to something that does work regarding tracks, but it requires me to duplicate all permissions I grant my highest rank on track1 to my lowest on track2, as they must not inherit from each other. I remember the issue probably being as follows: track2 consisted of my staff ranks. I wanted the lowest staff rank to inherit all permissions of the highest player rank (track1). Therefore e.g...

lilac dewBOT
lilac dewBOT
#

I wanted the lowest staff rank to inherit all permissions of the highest player rank (track1). Therefore e.g. lowest-staff-rank inherited perms from highest-player-rank. This lead to the prefixes also getting inherited by the lowest-staff-rank, probably messing up the track-based prefix formatting.

Ah! Yes, this is what would have caused that. If a group inherits the prefix from another group, it will pass it on. This is intended LP behaviour. I'm not sure what we could even do to modify...

lilac dewBOT
#

Glad to hear we could confirm the cause of my issue! And indeed, as I also expected, it's probably unavoidable default LP behaviour as you mentioned as well. Some sort of config setting for these kinds of use-cases sounds very helpful to me, but indeed perhaps LP currently offers something I do not know off that would help me avoid permission duplication for the two ranks. Looking forward to Lucks reply.

Regarding the '-prefix'-permission, I did try the LP way by using the web-based editor...

lilac dewBOT
#

We've sure had a lot of internal discussion about this, and the verdict is that this is generally much too niche a feature to include in the plugin.
First, it only seems to make sense in one very specific and extreme example where contexts need to be changed for a whole load of groups very often - anyone else, which is most people, would have no use for it.

Second and most importantly, it's mostly achievable through clever group structuring that would only require contexts to be changed...

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

I have updated to the latest version (5.3.71) as I have started getting an issue where the server hangs on initial data load

image

The gets stuck here and stays like it until forcefully stopped.

This only happens about 50% of the time

I am using a MariaDB database and I am certain there aren't any problems with it as I have a website that also uses the d...

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

101ms is very bad for databases and will probably make getting data very slow. Looking at how you have 38 groups and probably quite a lot of users, I'm not surprised it's just taking very long to load data from the database. In this case, not much luckperms can do. The error you show is just telling you the syncing task is taking unusually long, which makes sense since lp sync is a database heavy task, and your database is likely very slow.

lilac dewBOT
#

101ms is very bad for databases and will probably make getting data very slow. Looking at how you have 38 groups and probably quite a lot of users, I'm not surprised it's just taking very long to load data from the database. In this case, not much luckperms can do. The error you show is just telling you the syncing task is taking unusually long, which makes sense since lp sync is a database heavy task, and your database is likely very slow.

I understand my database is slow but when start...

#

Is it possible to test this by running a database on the same machine as the minecraft server? You can easily lp export <anynamehere> to create an export file, and then import it to the local database by connecting LP to it and running lp import <samenamehere>

This would help us to understand if the problem is only due to the bad latency, and therefore measures need to be put in place to account for it, or if there is some other underlying issue that even low latency cannot fix. It i...

lilac dewBOT
#

Is it possible to test this by running a database on the same machine as the minecraft server? You can easily lp export <anynamehere> to create an export file, and then import it to the local database by connecting LP to it and running lp import <samenamehere>

This would help us to understand if the problem is only due to the bad latency, and therefore measures need to be put in place to account for it, or if there is some other underlying issue that even low latency cannot fix...

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Hello! This is a common MySQL setup misconfiguration error - something somewhere is preventing LP on your server from connecting to your database. Usually it's because your database isn't on or you've inputted incorrect connection values into the config. Take a look at this page for some help and possible fixes if what I've just said doesn't help: https://luckperms.net/wiki/Storage-system-errors#luckperms-cannot-connect-to-my-mysql-server

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

Description

Entering a region set to worldguard will generate an error in the console.
The region has the following flags.

I guess there seems to be a problem with worldguardextraflag and extracontexts.

leaf_gym_inside:
min: {x: -448.0, y: 1.0, z: 1216.0}
max: {x: 383.0, y: 255.0, z: 1502.0}
members: {}
flags:
console-command-on-entry: [/soundplay %username% flattown_normal_bgm 0.4 1]
console-command-on-exit: [/...

lilac dewBOT
#

안녕하세요 - 이 문제는 WorldGuard 및 ExtraContexts의 최신 버전으로 수정되어야 합니다. 사용 가능한 최신 버전으로 업데이트해 보십시오!

I'm running a mod server, so I'm currently using the 1.12.2 server bucket. I updated ExtraContexts to the latest version, but worldguard should use version 6.2.2 (for MC 1.12.2). Is there any other way?

lilac dewBOT
#

Description

When I start my server, LuckPerms errors out since I upgraded from version 5.3.47 to 5.3.74 and from MC version 1.16.5 to 1.17.1. I have tried a lot of things to get it working again, but to no avail. Is there any way this can be fixed?

Reproduction Steps

Starting my server (35 individual plugins, newly migrated from 1.16.5)

Expected Behaviour

LuckPerms to start up and not break the rest of the server.

Server Details

git-paper-394

LuckPerms Version

v...

lilac dewBOT
#

I'm going to close this on the assumption that something has changed and this is no longer a problem. If you or anyone else reading this happens to encounter it again, please do open a new issue and fill out the new issue template, even if that means copying some descriptions from this issue. Thank you!

lilac dewBOT
#

Description

Hello LuckPerms programmers, I want to report something that happened to me: when I go to install the luckperms plugin from its official page in the 1.8 Spigot / Bukkit / Paper option, when I turn on the server, the plugin does not run (let's clarify that I have spigot 1.8 .8) please solve, I like to use that plugin but it only runs in minecraft 1.16 :(, I ask you to comment on the version for that server, since, no permission plugin like permex or groupmananger has as many o...

lilac dewBOT
lilac dewBOT
#

If you would like support, you need to please include logs, as well as the other required fields. Please re-open a new issue and provide all of the requested, pertinent information, otherwise we cannot help you. Furthermore, if you simply need support with getting LuckPerms running, please click the provided discord link (https://discord.gg/luckperms) and we're happy to help troubleshoot in real-time over there. Thanks!

lilac dewBOT
#

Description

With using of LuckPerms I can't use wildcards in the permissions.yml. Normal permissions are usable.

  • The LuckPerms config option apply-wildcards: is activated.
  • Tested with storage type H2 and mysql.
  • I tested the LuckPerms config option enable-ops:, but the options haven't an impact of this behavior.

It this as intended?

In difference, with PEX for example I can use wildcards in the permissions.yml.

Reproduction Steps

Permissions.yml:

demo:...
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

05.11 23:47:58 [Server] INFO MinerCoffee97 issued server command: /lp editor
05.11 23:47:58 [Server] WARN java.lang.RuntimeException: Error uploading data to bytebin
05.11 23:47:58 [Server] WARN at me.lucko.luckperms.common.webeditor.WebEditorRequest.createSession(WebEditorRequest.java:179)
05.11 23:47:58 [Server] WARN at me.lucko.luckperms.common.commands.misc.EditorCommand.execute(EditorCommand.java:111)
05.11 23:47:58 [Server] WARN at me.lucko.luckperms.common.command....

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

I'm going to go with database connection issue as the cause of this problem. Hopefully it has been resolved, but if not, we will need very clear reproduction steps to be able to take a look at this productively. Simply knowing that the database connection is spotty is our best clue towards this, as nothing else seems wrong, so we would need to be able to reproduce this on a testing setup that does not have such database issues in order to know it's a problem with LuckPerms and not the db conn...

lilac dewBOT
#

Description

I was tryna to use old version of configs from 1.16
and I got this in console

Reproduction Steps

moved all to plugin folder

Expected Behaviour

Working and seeing at web page all "Tracks","groups","players",

Server Details

git-Paper-100 (MC: 1.17.1)

LuckPerms Version

v5.3.74

Logs and Configs

[16:18:16 ERROR]: [LuckPerms] Exception occurred whilst loading data for 24671a7e-f434-3a94-b476-d684a2fb695d - ThEnchanted
java.util.concurrent.CompletionE...

lilac dewBOT
#

Description

Hi, i encouraged this warnings at server boot:

22:41:23 [WARNING] Exception encountered when loading plugin: LuckyInjector
java.lang.RuntimeException: Failed to load relocated-netty-all-4.1.51.jar!
at dev.luckynetwork.alviann.luckyinjector.helper.DependencyHelper.load(DependencyHelper.java:126)
at dev.luckynetwork.alviann.luckyinjector.helper.DependencyHelper.load(DependencyHelper.java:204)
at dev.luckynetwork.alviann.luckyinjector.loader.Loader.startInject...

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

Description

Hello, I have installed LuckPerms on my server. I need to disable the vanilla op system for other plugins. But according to Minecraft to use command block you have to be op, so I'm appealing to you because if I want to use a command block, I can't open the interface and so I can't use it.

Reproduction Steps

  • Disable the vanilla op system
  • Set the '*' permission on the WebEditor
  • Try to open a command block (isn't work)

Expected Behaviour

I would have liked to...

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Ok, I think I've added all the blank lines back. I don't know if you have posted it already anywhere, but I think it would be really helpful have your code style configuration uploaded somewhere, all these changes "I did" were basically done by the default IntelliJ IDEA code-style config. I may like to PR more things in the future and having your code-style will avoid the need of those micro adjustments, even if you just send it privately to me, that would be really appreciated.

#

On the topic of auto-formatters, my personal suggestion would be to disable them entirely when you're working on other people's projects, and be sure to review the diffs in the files you're editing before you commit. I find that generally there's much less friction that way. :)

However, I'm happy to share my IntelliJ config if that would be useful.
https://gist.github.com/lucko/be4287a2b08821f2a608d25ea16124c1

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

A way to group permission nodes together in the web editor. In drop down menus that can be titled

Proposed Behaviour

A drop down menu inside of groups that contains permission nodes and can be named. It should be collapsible too

Extra Details

It would also be nice to nest these groups. But it isn’t essential for the functionality of this suggestion

lilac dewBOT
#

Description

I have a problem with LuckPerms reading mysql database. Also, according to luckperms wiki with mysql issues, everything should be working. MySQL connection limit is also enough as all luckperms instances own fifth of whole limit. I can't join server because of that error and I need it to work

Reproduction Steps

Will not be possible for you so I will tell how I made it:
-Installed bungee on my whole network (also in bungeecord plugins itself)
-Changes server names to c...

lilac dewBOT
#

Description

I was trying to implement the LuckPerms API into my plugin but when it enables, the error attached occurs. I've attached my code in the gist below - it doesn't quote a line reference so I've attached it all.

Code: https://gist.github.com/hanatic/7c2fb0f8bcfbc36d44e85745ef53b5d4

Reproduction Steps

  • Create a plugin which uses the LuckPerms developer API
  • Reference the Node interface at some point in your code
  • Compile the plugin and add it to your /plugins folde...
lilac dewBOT
#

This particular 'failure to connect' error is caused by javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate)

If you don't want to use SSL, set useSSL in the config to false.

Also, you mentioned that you installed "bungee" on all the servers - if you want to use LP properly, you install LP-Bungee only on the proxy (bungee, waterfall, etc) and then you install LP-Bukkit on each backend. Then you connect each server ...

#

There is a separate repository for the editor and other web services - LuckPerms/LuckPermsWeb

I also imagine that the answer will be a no, simply because you can 'nest' or categorize permissions by adding them to groups which you then add as parents to other groups. There's no need for additional visual organization tools because the group method is plenty sufficient. However, I'll ask Luck to move this issue over to the correct repository for further discussion.

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Considering the wealth of other options available, there doesn't seem to be a great reason to add this alternative database option. If there are any others that would like to see this added, feel free to react to this message with a 👍 and we can revisit at a later date.
However, considering that your suggestion is not only the first time this storage method has been requested, it is also the first time that anyone on the LP team has heard of its existence, it seems a highly esoteric additio...

lilac dewBOT
lilac dewBOT
#

Description

Luckperms is very heavy on my server, I can't determinate why ?
A plugin ? A problem with my config ?

Reproduction Steps

Expected Behaviour

Server Details

git-Airplane-12 (MC 1.16.5)

LuckPerms Version

v5.3.73

Logs and Configs

https://pastebin.com/HkTBp9LZ

Extra Details

  • On both Mysql/Sqlite luckperms uses a lot of cpu !
  • I tried on 1.12.2/1.16.5 java 11/java 16
  • I got a dedicated machine, ping between server and database is 0ms,...
lilac dewBOT
lilac dewBOT
#

It isn't 'that high'. LuckPerms does everything it can do off of the main thread, but even so with a lot of players and most likely a lot of plugins checking loads of permissions, things take a little bit of time.

If you can test this on a testing server after having removed all the plugin jars except Spark, and still get around 2% of the tick, please let us know. However, this seems entirely normal for that many online players and the scale of the operations to me.