#issues

1 messages ยท Page 2 of 1

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

I've got a few plugins that aren't showing in luckperms web editor and aren't working in game.

SimpleStaffChat2
SignShop
MineableSpawners
JoinSoundReloaded
ItemJoin
InfiniteBucket
StackMob
TabList
worldedit
worldguard

Reproduction Steps

Using the above plugins or similar, opening web editor and trying to assign permissions.

Expected Behaviour

I expected for all permissions to show up and work if I tell them to or not. I've set perms in the web editor ...

lilac dewBOT
#

Description

LP causes server to crash during startup with following error

[12Jun2023 17:51:51.840] [main/ERROR] [net.minecraftforge.eventbus.EventBus/EVENTBUS]: Exception caught during firing event: 'com.mojang.brigadier.builder.LiteralArgumentBuilder net.minecraft.commands.Commands.literal(java.lang.String)'
	Index: 2
	Listeners:
		0: NORMAL
		1: ASM: net.minecraftforge.common.ForgeInternalHandler@1f62a01a onCommandsRegister(Lnet/minecraftforge/event/RegisterCommandsEvent;)V...
lilac dewBOT
#

Took a deep dive into issue and discovered 5.4.84 jarinjar did not reobf properly.

5.4.67

@SubscribeEvent
   public void onRegisterCommands(RegisterCommandsEvent var1) {
      for(String alias : COMMAND_ALIASES) {
         LiteralCommandNode command = ((LiteralArgumentBuilder)Commands.m_82127_(alias).executes(this)).build();
         ArgumentCommandNode argument = ((RequiredArgumentBuilder)Commands.m_82129_("args", StringArgumentType.greedyString()).suggests(this).executes(t...
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

This plugin should have a better handling for the %luckperms_current_group_on_track_[track]% placeholder.

If a player have two groups that are both in the track, the placeholder will stop working.

Reproduction Steps

  1. Create three groups A, B, C
  2. Summon them together in a track named player
  3. Use the Placeholder %luckperms_current_group_on_track_player% in a hologram or scoreboard or whereever.
  4. Do /lp user Pokemoon group add B
  5. The placeholder should sti...
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Sorry, I've been looking for the problem all this time.
I didn't consider that normal Redis instances logically don't work in a cluster.

Since the cluster support is also disabled in the test, the test (fortunately) does not pass. Since I tested it in a Redis cluster, I was always wondering why it works for me. I'll work on it and add additional support for it when cluster support is disabled.

lilac dewBOT
#

Description

Blocks are unable to be placed down for a non-op player, when said player is in range of a OP.

  • BlockPlaceEvent is not cancelled, and the corresponding block is removed from the playerโ€™s inventory after being placed, but the block disappears immediately.

Reproduction Steps

Give one player luckperms.autoop

Have corresponding auto op features enabled.

Have a non op player place a block near the opped player.

Expected Behaviour

The block will disapp...

lilac dewBOT
lilac dewBOT
#

Description

The server crashes after starting with LuckPerms enabled due to Mixins failing to apply

Reproduction Steps

Expected Behaviour

The mod should work fine with 1.19.2 or maybe mark itself as incompatible

Server Details

Minecraft 1.19.2 with Fabric Loader 0.14.21

LuckPerms Version

5.4.88

Logs and Configs

https://gist.github.c...

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

LuckPerms attempts to relocate certain class files, but for driver classes, it writes the incorrect class name.

Reproduction Steps

The bug can be reproduced by running LibertyBans and LuckPerms at the same time. When LibertyBans attempts to class load the MariaDB driver class, a NoClassDefFoundError is thrown because the class file was incorrectly relocated by LuckPerms.
https://github.com/A248/LibertyBans/issues/213

Expected Behaviour

LuckPerms writes valid cl...

lilac dewBOT
#

Description

If you have a server, and you have a command like, /freerank for example, you code it so when they do this it adds a group to them, but then everyone on the server with the permission gets a notification saying they did that. Maybe, add like a --silent flag so it doesn't send notifications.

Proposed Behaviour

Add a --silent flag, which would make it not send notifications in game, rather in console, or not at all. Depending on how you configure it.

Extra Det...

lilac dewBOT
#

Every time this has been brought up, it has been denied as the people suggesting this had a different issue at play (see #3484 and #3486 ). It was also brought up for someone with a badge plugin that ran LuckPerms commands, and a log filter was added to solve this. Does the resolution in #1980 not work for you? If not, please explain why. Additionally, if you would like to stop seeing log messages, you can disable them with /lp log notify off. You cannot disable log messages in the console ...

lilac dewBOT
lilac dewBOT
#

Thanks, but this seems like a premature fix (we only ever insert into this map from a single thread)

just for reasons that you have getChildMap published through a race, I made changes, if this method is called in one thread, we donโ€™t need a lock at all (synchonized)

otherwise, if getChildMap is still rummaged through different threads, then we still have to put volatile on the map (even if the other methods are read by 1 thread), the map is published through a race, you can also repl...

lilac dewBOT
lilac dewBOT
#

Description

Hey ;)
I would like to ask you to add a new function that synchronized user permissions with wordpress instance. Most websites are built with the wordpress engine. Adding synchronization of permissions between wordpress and luckyperms would be something desired by a large group of users - including me :D .

Proposed Behaviour

Luckperms would synchronize (or synchronization would only work unilaterally) permissions with the wordpress database so that depending on the ra...

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

LPC is not affiliated with LuckPerms.
the mod versions of luckperms are already on modrinth
it has been proposed to also include the plugin on modrinth, but that would add 1-3 additional releases (depending on if the proxy versions get included) that need to made with every luckperms release, in addition to the current 2 modrinth releases, 2 curseforge releases, the spigot release, and the ore release.
luckperms is also entirely free, so not sure how t...

lilac dewBOT
lilac dewBOT
#

luckperms itself does hide its own autocompletions to users based on permissions. it is up to other plugins to do the same. plugins that allow you to hide autocompletions are a bandaid fix to plugin developers not handling autocompletions correctly, but this bandaid fix should not be part of luckperms itself

I mean the Commands /lp or /lpv them have no permission every player can see them, you can't prevent it

lilac dewBOT
#

Description

The Issue

The coexistance of multiple permissions management plugins with LuckPerms, is a frequently encountered issue which is known to:

  • Cause conflicts throughout LuckPerms permission system.

  • Produce overlapping permission nodes and permission/groups incosistencies.

  • Result to confusion to newcomers to LuckPerms (that neglect checking their console logs).

  • Lead to an everyday concern of newcomers to LuckPerms...

lilac dewBOT
lilac dewBOT
#

Description

When I do /lp log recent in game the console gets massively spammed with NPEs.
Note: I use yaml storage which might be relevant.
The command does give what seems to be correct output in game.

Reproduction Steps

Have done things in LP.
Use yaml storage. (I've not tested with other storage types, but it seems it might be related)
Use /lp log recent in game
Console is spammed with errors

Expected Behaviour

No errors :3

Server Details

git-Paper-43 (MC: 1....

lilac dewBOT
#

Description

`[16:46:53] [Server thread/INFO]: [LuckPerms] Enabling LuckPerms v5.4.94
[16:46:53] [Server thread/INFO]: __
[16:46:53] [Server thread/INFO]: | |) LuckPerms v5.4.94
[16:46:53] [Server thread/INFO]: |
_ | Running on Bukkit - Paper
[16:46:53] [Server thread/INFO]:
[16:46:53] [Server thread/INFO]: [LuckPerms] Loading configuration...
[16:46:54] [Server thread/INFO]: [LuckPerms] Loading storage provider... [H2]
[16:46:54] [Server thread/WARN]: [Luc...

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

bukkit/src/main/java/me/lucko/luckperms/bukkit/messaging/PluginMessageMessenger.java:63 should be updated to Folia; the Folia code would look something like runAtFixedRate on

server.getAsyncScheduler().runAtFixedRate(plugin, task -> {
    Collection<? extends Player> players = PluginMessageMessenger.this.plugin.getBootstrap().getServer().getOnlinePlayers();
    Player p = Iterables.getFirst(players, null);
    if (p == null) {
        return;
    }

    p.sendPluginMessag...
lilac dewBOT
#

Description

I am seeing this error when I restart or stop my server.

Reproduction Steps

luck perms is running on a bungeecord network

Expected Behaviour

no errors.

Server Details

Paper 1.20

LuckPerms Version

v5.4.98

Logs and Configs

[05:05:06 ERROR]: Error occurred (in the plugin loader) while disabling LuckPerms v5.4.98 (Is it up to date?)
java.lang.IllegalStateException: zip file closed
at java.util.zip.ZipFile.ensureOpen(ZipFile.java:831) ~[?:...

lilac dewBOT
#

Description

The NodeMutate-, NodeAdd-, and the NodeRemoveEvent are only fired on the server where you triggered the in-game command on. Or if triggered on the Proxy, the events are still fired on the server where the player is currently online. (I assume the Events UserPromote- or UserDemoteEvent aren't fired either.)

Reproduction Steps

  1. Register listeners for NodeMutate, NodeAddEvent and NodeRemoveEvent.
  2. Make them print any debug message.
  3. Compile an...
lilac dewBOT
lilac dewBOT
#

Description

It just doesnt seem to recognize luckperms, I upgraded from the ore page to the luckperms official dl and deleted all configs/luckperms folders.
There is nothing in the log besides it finding the mod but it never tries to initialize.

Reproduction Steps

spongeforge latest 1.12.2
install luckperms and nucleus.
nucleus loads but luckperms doesnt

Expected Behaviour

both to load and initialize

Server Details

spongeforge-1.12.2-2838-7.4.8-RC4142

LuckPerm...

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

I think this can be solved by using the ignore-vanilla-permissions setting in commands.yml on craftbukkit/spigot/paper. This setting basically removes the "op level" check for permissions, so only the bukkit permissions is checked.

The issue is that an opped player has a permission level (1-4). When the game goes to check if a player can use a vanilla command, first the op level check is done. If that fails, the bukkit permission is checked. The above setting just makes the first op le...

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

Im using the latest version of LuckPerms but when I try getting the prefix from the group metadata it returns null. The metadata isn't null so its a problem with the prefix.

Reproduction Steps

Get the metadata of a group and then use .getPrefix() which returns null.

Expected Behaviour

I expected to receive the prefix from the group a player is currently parented inside.

Server Details

git-Paper-55 (MC:1.20.1)

LuckPerms Version

v5.4.98

Logs and Con...

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

Log error

Reproduction Steps

I just started my server on my own computer.

Expected Behaviour

Well, I don't really know, the error message asked to report it on github.

Server Details

Paper-1.20.1-59

LuckPerms Version

5.4.98

Logs and Configs

https://pastebin.com/a4CEyWkt

Extra Details

I happens everytime I run my server.

lilac dewBOT
lilac dewBOT
#

The issue appears randomly. It still happens even if I have all my plugins freshly installed on paper server (non bungeecord, 1.19.4 and 1.20.1) and never messed with LuckPerms.
I don't know does @Osanchez has a plugin reloading plugin or not but personally I have PlugmanX installed, and this thing broke after paper plugin manager updates, don't know if PlugmanX broke something to get things to work or not and causing LuckPerms not to work.
Dunno whether the information helps or not, I just...

#

Description

My server was recently breached due to lack of security and an offline-mode player spoofing as the owner wiped our entire LuckPerms database. We resolved the issue and moved hosts entirely but we keep getting this in the console logs. Does this person still have access to our server?

[17:38:16 WARN]: [LuckPerms] Player '00000000-0000-0000-0000-000000000000' is spamming LuckPerms commands. Ignoring further inputs.
[17:38:16 WARN]: [LuckPerms] Player '00000000-0000-000...
lilac dewBOT
#

Description

You haven't issued an update to luckperms on your spigotmc page for six months. I suggest here that you issue an update to spigotmc because not everyone knows how to go directly to your website and are still using a very old version and a bit unpleasant from them in my opinion.

Proposed Behaviour

here is the spigotmc of luckperms: https://www.spigotmc.org/resources/luckperms.28140/
version: 5.4.40
and luckperms now: 5.4.98
here is the luckperms website: https://luckp...

lilac dewBOT
#

That is intended behaviour, such events can only fire in the environment the changes were made in; if a messaging service is configured, the other servers will only receive a notification to reload data from storage, and related messaging events are fired in those servers as well (or if a log is published to common log storage, the [log receive event](https://javadoc.io/doc/net.luckperms/api/l...

lilac dewBOT
#

Description

I want to display [Gracz] (this is displayname for default) but on the first message its [default]

Reproduction Steps

Using it: https://www.spigotmc.org/resources/โœจ-clean-screenshare-โ€ข-proxy-based-screenshare-server-handler-bungeecord-velocity-redis-support.107548/updates
with discord webhook

Expected Behaviour

Wrong displaying of player rank

Server Details

PaperSpigot - 1.19.3

LuckPerms Version

v.5.3.98

Logs and Configs

...

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

I have a proprietary mod that connects to a postgresql database and whenever I try to start the server with both luckperms and my mod luckperms refuses to connect to the database

Reproduction Steps

Have any other mod that uses org.postgresql:postgresql:42.6.0 to connect to a database installed
Config luckperms to use postgresql as a database

Expected Behaviour

Luckperms should be able to connect to the database

Server Details

Fabric 0.14.21 for Minecraft ...

lilac dewBOT
#

Description

I rebooted the server while using LuckPerms and all the players' permissions were reset without using the LP command

Reproduction Steps

I don't know if it's because I've never used the database, but the server has been running stably for a year and it didn't appear the problem of permission loss until it was restarted today.

Expected Behaviour

LuckPerms does not lose data

Server Details

paper1.17

LuckPerms Version

5.3.0

Logs and Configs

[2023-07-...

lilac dewBOT
lilac dewBOT
#

Description

[18:56:54 ERROR]: java.util.concurrent.CompletionException: org.h2.jdbc.JdbcSQLNonTransientConnectionException: Database may be already in use: "/home/Server/proxy/plugins/LuckPerms/luckperms-h2-v2.mv.db". Possible solutions: close all other connection(s); use the server mode [90020-214]
[18:56:54 ERROR]: at me.lucko.luckperms.common.storage.Storage.lambda$future$1(Storage.java:104)
[18:56:54 ERROR]: at java.base/java.util.concurrent.CompletableFuture$AsyncRun.r...

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

I think luckperms should have an option for comments in the web editor for each permission. This way its much easier to know what each permission does so you don't have to go through the hassle of checking each one.

Proposed Behaviour

It would provide a box in the web editor where you can provide a comment for each permission. I think this will be really beneficial to people using the plugin.

Extra Details

No response

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

Apparently there is something wrong with my LuckPerms upgrading to some new database? Please help me resolve this error!

Have a great day!

Reproduction Steps

.

Expected Behaviour

.

Server Details

paper-68 (1.20.1)

LuckPerms Version

v5.4.98

Logs and Configs

[00:10:25 WARN]: [LuckPerms] [DB Upgrade] Found an old (v1) H2 database file. LuckPerms will now attempt to upgrade it to v2 (this is a one time operation).
[00:10:25 INFO]: [LuckPerms] [DB...

lilac dewBOT
#

Description

If I want to set the rank of an admin to default it works. But if I rejoin he has the same admin rank again.

I can not unset permissions/metas etc. with the lp editor or with commands.

Reproduction Steps

/lp user Uzuark parent set default
/lp user Uzuark permission unset 123

Expected Behaviour

/lp user Uzuark parent set default --> Should clear your ranks and set it primarily to default
/lp user Uzuark permission unset 123 --> Should unset the permission

###...

lilac dewBOT
lilac dewBOT
#

Description

It appears Luckperms can possibly deadlock the Velocity LoginEvent & will prevent further logins from occurring. Also luckperms hangs when shutting down according to Velocity when this issue occurs.

Reproduction Steps

It's hard to say what causes this occur, possibly a race condition or a continuation not being resumed, but one thing I did notice is when shutting down a proxy you have to usually kill it since luckperms won't shutdown properly according to Velocity.

###...

lilac dewBOT
#

Description

For example, there is a premium group that is inherited from VIP. The player has a premium group. How to get all permissions including premium group and vip group permissions?

I tried to get the primary group and its permissions, but there are no permissions from the vip group.

final Group group = LuckPermsProvider.get().getGroupManager().getGroup(user.getPrimaryGroup());
for (final Node node : group.nodes()) {
  ...
}

Proposed Behaviour

Extra De...

lilac dewBOT
#

Description

when I use Lp I set it for a group to be able to "/heal"

with Add command captions like this

  • essentials.heal
  • essentials.heal.other
  • essentials.heal.cooldown
  • essentials.heal.cooldown.bypass
  • luckperms.viewcommand
  • essentials
  • essentials.viewcommand

but unable to work and still issue information "you has't has access for that command"
Is there a way out for this, 'please I'm almost out of ways'

Proposed Behaviour

but unable to work and still issue...

lilac dewBOT
#

Description

[08:26:03] [Server thread/WARN]: [LuckPerms] Something went wrong whilst upgrading the LuckPerms database. Please report this on GitHub.
org.h2.jdbc.JdbcSQLSyntaxErrorException: Sequence "SYSTEM_SEQUENCE_D9A7B1D8_4B3E_476C_B37A_BE42DD11EA51" already exists; SQL statement:

CREATE SEQUENCE "PUBLIC"."SYSTEM_SEQUENCE_D9A7B1D8_4B3E_476C_B37A_BE42DD11EA51" START WITH 1 BELONGS_TO_TABLE [90035-214]
at org.h2.message.DbException.getJdbcSQLException(DbExceptio...

lilac dewBOT
#

Description

This has come up both on Discord as well as other issues (#3038 #3410 #2336) and it seems that the general consensus is that it could be better but people rely on the grandfathered functionality too much to make a breaking change.

Issue: When running a bungeecord/velocity proxy (tested velocity in my case) LuckPerms Velocity (LPV) interprets context server as the proxy the user is connected to, and context world as the backend server the user is connected to (through the p...

lilac dewBOT
#

Description

We have a serious with the last few releases of LuckPerms:

If the database server was unreachable for longer than a few seconds (most likely some network issues in the data center where the host is located), LuckPerms did behave odd multiple times: The table 'luckperms_user_permissions' had got inserted the same record over and over again.

After the network issues were over, LuckPerms didn't recover itself from that and made many of the log entries like these you find ...

lilac dewBOT
#

I am closing this as duplicate of #3410 since that's what it is.

For clarity: we are well aware of the problem and that it unfortunately is an issue that cannot be solved without presenting risks. The real problem that underlies this (and prevents this from being solved (and other storage-wise improvements to be performed)) is that there is no storage versioning; why this is a problem is fairly straight-forward: especially in the context of a centralized database, if one instance of LP was...

lilac dewBOT
#

I am closing because there was no response for two weeks, this means that the programmers are not active here and probably would not have responded if I had left it open.
It's a shame that there are programmers who give space to ask for requests or complain about faults but don't really come to provide the promised support, it would be better if you didn't open your own github and you would save us the time to just write things.

lilac dewBOT
#

Description

Technically I tested on
1.16.5
1.19.2
1.20.1

The crash was the same regardless of version. It seems to be a backend issue.

Reproduction Steps

Get luck perms on those versions.

Expected Behaviour

No crash on startup.

Server Details

Multiple Test Environments

LuckPerms Version

Multiple Test Environments

Logs and Configs

I didn't keep them.

Extra Details

I am shocked this happening.

lilac dewBOT
#

Description

Can you add 2 placeholder :

1:
Display the number of group on a track, ex โ†’ %luckperms_count_track_% => 10

2:
Display the player number group on a track, ex โ†’ %luckperms_count_player_position_track_% => 5

This feature is very usefull for scoreboard and stats for show our progression => current / max => 5 / 10

Proposed Behaviour

โ†‘

Extra Details

No response

lilac dewBOT
lilac dewBOT
#

I couldn't help but comment here. You're attitude in this issue comes across as very entitled and you should probably adjust your expectations when it comes to dealing with open source software maintainers.

Firstly, it is not necessary to continuously update the plugin on Spigot or other websites, LuckPerms is pretty stable with most versions so there's not really much that people are missing out on by running an older version.

Secondly, Luck is the sole developer of the LuckPerms plug...

lilac dewBOT
#

Description

Recently, my server has been crashing with this error: https://mclo.gs/oKIqdqv, which seems to suggest a conflict between LuckPerms and Chunky Border on a FabricMC server. Here is my server log: https://mclo.gs/d3ByMZT.

Reproduction Steps

Install LuckPerms mod and Chunky Border mod on a FabricMC 1.20.1 server and wait for the error to happen.

Expected Behaviour

LuckPerms and Chunky Border should not be conflicting with each other and should not be causing the serv...

lilac dewBOT
#

Description

We get a lot of Geyser users on Discord looking for support with invalid usernames. It's pretty easy enough to respond with the Clippy response !geyser or !bedrock but we can probably eliminate the need for them to seek support in the first place by improving the error message.

Proposed Behaviour

image
Modify the error above by adding the following message:

To allow i...

lilac dewBOT
#

Description

Hi.

I'm using GeyserMC and floodgate to enable bedrock players to join my server.
But when I give them ranks, it is not showing up on the tab list (alas playerlist), chat, nametag.
Where for Java players, they work as expected.
Have any solution?

Reproduction Steps

  • GeyserMC & Floodgate
  • LuckPerms setten up to allow bedrock players to get ranks
  • Using LuckTab to show these things.
  • Aternos server

Expected Behaviour

I expected to work just like for Ja...

lilac dewBOT
lilac dewBOT
#

Description

This Isnt Support But Its To Report. People Are Getting Full Perms To Servers Using Luckperms
https://www.youtube.com/@MultiZen
This Isnt Advertising This Is A Report
Idk how they do it but its happened to me
Somehow they give themselfs a perm called *
Down Below Is What They First Did To get Access
[02:33:48] [luckperms-command-executor/INFO]: [LP] LOG > (Oraxenz) [U] (_cancello)
[02:33:48] [luckperms-command-executor/INFO]: [LP] LOG > permission set * true
The clien...

lilac dewBOT
#

Description

Currently, if some [shitty] plugin will do bad/stupid things (e.g. lookup an UUID for player that was disconnected several hours ago) then LP will prevent it from doing this and throws an ServerThreadLookupException, that will result in ~75+ lines being printed to the server console & saved to logs. And it's lucky if it happens just once, not every second.. or tick :/

Of course I agree that this is an issue of some [shitty] plugin, not LP. But its development may be disc...

lilac dewBOT
#

Having the log file from when that happened is immensely useful, just sharing those two singular lines is next to useless, as there is no information that can be used to diagnose any potential issue.

That being said, every time this has been brought up in our discord server it ends up being an issue with server/network misconfiguration, offline mode, lack of security/proper firewall setting such as leaving ports open or letting the server accept connections outside of the proxy; allowing f...

#

Throwing an exception that "will not be printed in the server console and logs" is not really a thing, the exception is thrown to, broadly speaking, abruptly interrupt the process that was "incorrectly" using Vault, but whether it's printed or not highly depends on the context it was originally called from.

I can see the value in having a setting to reduce the message and perhaps not convey the entire call stack (although, the idea to include that is to point out the plugin performing the ...

lilac dewBOT
lilac dewBOT
#

Description

luck perms not providing permission essentials.repair to players. I am not sure of this is a luck perms bug or an essentials bug, i reported this to both.

Reproduction Steps

give a non-opped player essentials.repair and essentials.repair.enchanted
They will not be able to use /repair to repair items, enchanted or not.

Link to bug report on essentials github: https://github.com/EssentialsX/Essentials/issues/5460

Expected Behaviour

the player should be able ...

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

I think it would be nice to have https://github.com/LuckPerms/LuckPerms/blob/master/common/src/main/java/me/lucko/luckperms/common/util/Difference.java available in the API.

Proposed Behaviour

Eh, it would make it available in the API?!?

Extra Details

I'm making a plugin that matches group permissions to a YAML file so I can version it with Git. Sync storage wouldn't work cause it's multiple servers.

Right now I can just copy the file, but the class being in th...

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

Luck Perms Version: v5.4.102
Minecraft Version: 1.20
Other conditions: I am using a Paper server and using EssentialsX 2.20.0 (no other plugins are used for this test)

Hello, I would like to ask something that has been causing me grief for the past few days.
My goal is to make it so that the default group has no commands what's so ever.

This is what I did in an attempt to do so:

  1. Made myself OP
  2. Execute /lp editor
  3. Within the web editor, I have set *...
lilac dewBOT
#

The root /lp command (and it's various aliases) have no permission associated with it, and will always be runnable. However, unless the player has permissions for a subcommand, it simply returns the LP version.

It's worth noting that (with a few, plugin-defined exceptions), all permissions default to false anyways. Setting * to false on default usually causes more problems than it solves, and we generally discourage it. Plugins can explicitly declare a permission to default to ever...

lilac dewBOT
#

Okay, if I'm interpreting this correctly, its not best practice to be excluding * from default, and /lp can't be excluded normally from LuckPerms.

However, that raises another question. If /lp is not allowed to be hidden, how does the LuckPerms tool handle the use-case of a regular user only seeing the commands assigned to them (e.g. A user only has access to /sethome, /home, and /delhome).

I've tried looking at the Wiki and guides online to do so. The only leads are some va...

lilac dewBOT
lilac dewBOT
#

Dang, that's unfortunate. I was kinda hoping to make a clean command interface on my MC server.
I guess this may or may not be an issue from certain people's perspectives.

As a little suggestion for the dev team, would it be possible to make an option in the config.yml where only OP-ed users in a server can see and use /lp?
That way it gets around the issue of having Admins try to outright disable luckperms.* or * on their permission settings for default, and allowing Admins...

lilac dewBOT
#

Description

error while stopping a server
luckperms

Reproduction Steps

happens sometimes (like twice every 10~ times) when you type stop in the console to stop a server

Expected Behaviour

the server should have stopped normally

Server Details

Fabric loader 0.14.21 (MC 1.20.1)

LuckPerms Version

5.4.102

Logs and Configs

No response

Extra Details

_No re...

lilac dewBOT
lilac dewBOT
#

This is most likely a result of you running offline mode. I suspect you'll find that the group always disappears after the affected user disconnects and reconnects to the server. Make a note of the UUID of a player who receives a temporary group, when they loose it, check their UUID, it will most likely have changed.

If this is indeed the case, there is absolutely nothing LP can do about it - UUIDs are supposed to be immutable, one UUID per player, and as such all proper plugins store the...

#

This is most likely a result of you running offline mode. I suspect you'll find that the group always disappears after the affected user disconnects and reconnects to the server. Make a note of the UUID of a player who receives a temporary group, when they loose it, check their UUID, it will most likely have changed.

If this is indeed the case, there is absolutely nothing LP can do about it - UUIDs are supposed to be immutable, one UUID per player, and as such all proper plugins stor...

lilac dewBOT
lilac dewBOT
#

Description

An optional folder feature to help organize permissions in the case where one group is filled with many permissions.
This would be exclusively for the website (/lp editor)

Proposed Behaviour

Adding an optional grouping/folder method for permissions would help a lot with clutter in the case where one of your groups/ranks is filled to the brim with permissions.
This would not affect LP's main behaviour whatsoever, and would just be there as an optional feature to keep...

lilac dewBOT
#

Not exactly, as the main purpose of this feature request would be to clean up clutter with large groups, instead of having to shovel through a giant list of sub-groups that you used to store/organize perms while giving players ranks
So instead of:
Groups:
Builder
Builder_Perms_Worldedit
Builder_Perms_Misc

It would be:
Groups:
Builder
โˆŸ Worldedit
โˆŸ Server Access
โˆŸ Miscellaneous

The main purpose of this suggestion is quality of life. While there is a method t...

lilac dewBOT
#

Description

We use Redis as message broker in our luckperms configuration and we are getting sometimes exception related to Redis while disabling proxy server, however this issue doesn't exist in bukkit version

[16:42:37 INFO]: Closing listener [id: 0xdf741741, L:/[0:0:0:0:0:0:0:0%0]:25565]
[16:42:37 INFO]: Closing pending connections
[16:42:37 INFO]: Disconnecting 0 connections
[16:42:37 INFO]: Saving reconnect locations
[16:42:37 INFO]: Disabling plugins
[16:42:37 INFO] [Lit...
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

I'm setting up a velocity server where the luckperms plugin is in the velocity proxy server, not in every individual server. I'm using PlaceholderAPI and the luckperms placeholders are not working at all.

Reproduction Steps

Install the luckperms plugin in the velocity proxy plugins folder, install the placeholder plugin in the server you want to test the placeholders on, set a placeholder in the config file of a supporting plugin (for example essentialsx chat, %luckperm...

lilac dewBOT
#

Description

While using luckperms-migration-groupmanager.jar on the latest version on minecraft 1.20.1 and with the latest groupmanager version It doesn't finish the migration:

Reproduction Steps

Everything said on the wiki.

Expected Behaviour

To have migrated but nothing is actually migrated.

Server Details

git-Purpur-2017 (MC: 1.20.1)

LuckPerms Version

v5.4.40

Logs and Configs

[23:02:40 INFO]: PirataGu issued server command: /migrate-groupmanager
[23:02:4...

lilac dewBOT
lilac dewBOT
#

Description

when doing a mass add to context field it puts in characters
Screenshot_766
Screenshot_767

Reproduction Steps

use lp editor in server - open link - do trust procedure if required
i specifically search for grief then select all in the category i want - in context field i add se...

lilac dewBOT
#

Description

I installed LP on my sponge (non forge) server and it is giving errors when loading.

Reproduction Steps

Dowload sponge 1.20.1
Create mods folder
Create plugins folder inside mods folder
Drop LP into plugins folder
Run once to accept eula
Run again.

Expected Behaviour

Should work, I downloaded the LP version for sponge, unless its for the forge version.

Server Details

SpongeAPI: 11.0.0-SNAPSHOT Sponge: 1.20.1-11.0.0-SNAPSHOT SpongeVanilla: 1.20.1...

lilac dewBOT
lilac dewBOT
#

Description

I'm using LuckPerms on my spigot 1.20.1 server and it crashes about every half hour.
The log says the error is from LuckPerms.

Reproduction Steps

This is all the plugins i installed.
LiteItemShow, WorldEdit, ChatImage, ScreenInMC, Boom, fakeplayer, GSit, ViaVersion, HuskHomes, floodgate, InvSeePlusPlus, QuickLogin, ViaBackwards, CoreProtect, SkinsRestorer, Geyser-Spigot

From the crash log, I see "MySQL". So it might be a database problem, I'll give the database her...

#

Nope, this crash is not caused by LP. When watchdog kills the server, it prints every running thread; LuckPerms is running several threads, hence it's appearance several times. Database connections also usually maintain several threads, hence MySQL appearing a bunch. The thread you care about is the first one, Server Thread. Looks like something to do with world generation or loading.

lilac dewBOT
#

Nope, this crash is not caused by LP. When watchdog kills the server, it prints every running thread; LuckPerms is running several threads, hence it's appearance several times. Database connections also usually maintain several threads, hence MySQL appearing a bunch. The thread you care about is the first one, Server Thread. Looks like something to do with world generation or loading.

Thanks.

lilac dewBOT
lilac dewBOT
#

Description

Download links for old links stop working after a while.

For example here's a link to LuckPerms 5.4.17:
https://download.luckperms.net/1483/fabric/LuckPerms-Fabric-5.4.71.jar
Trying to download this file results in 404 Not found.

This is a bit annoying. We have a script which downloads the plugin and sets up the server, but it stopped working when the link started throwing 404.

Proposed Behaviour

Would it be possible to keep old versions of LuckyPerms arou...

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

When updating to the latest version of LP, the plugin automatically updates its database from V1 to V2. The following error occurred when this happened and it told me to report this on GitHub.

https://mclo.gs/iyB2Xqn

Reproduction Steps

Perform a V1 database update to V2 on git-Paper-"c016e03" (MC: 1.20.1). The error message is then printed to the console.

Expected Behaviour

The V1 database should be automatically updated to V2 without any errors.

Server ...

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

I using MongoDB as permissions storage and after any re-importing of database all permissions are not working. I even can't connect server. If I removing MondoDB LuckPerms database and configuring it again, all is work. So I can't migrate my database and I required to recreate it from scratch

Reproduction Steps

  1. Export MongoDB database to .js file dump.
  2. Remove database
  3. Import dump from step 1 again to MongoDB. All tables are fine. But Permissions are broken an...
lilac dewBOT
#
  • LuckPerms v5.4.102
  • Velocity v3.2
  • Paper fork SlimeWorldManager version git-SlimeWorldManager-15259 (MC: 1.20.1) (Implementing API version 1.20-R0.1-SNAPSHOT) (Git: 51c5638 on paper_upstream)
  1. I dumped LuckPerms database to file LuckPerms.js (Pastebin).
  2. Deleted LuckPerms database
  3. Created new LuckPerms database
  4. Executed dumped file LuckPerms.js and make sure that all tables (collections) with permissions were imported

Then I tri...

lilac dewBOT
#

Description

When a player dies and any mod listens to both luck perms and the death event it causes players to not be able to respawn.,

Reproduction Steps

  1. Have a mod that does something on death and interacts with luckperms
  2. Die in game
  3. Can't respawn correctly
  4. Delete player data to respawn

luck perms

Expected Behaviour

Players to respond normally

Server Details

Minecraft Forge 1.20.1-47.1.3

LuckPerms Version

5.4.102

Logs and Configs

https:/...

lilac dewBOT
lilac dewBOT
#

Description

hello i have an eror when i use /lp editor, can you help me ?

[20:47:33] [luckperms-command-executor/INFO] [STDERR/]: [me.lucko.luckperms.common.command.CommandManager:execute:283]: java.util.concurrent.CompletionException: java.lang.NullPointerException: Cannot invoke "java.lang.reflect.Constructor.newInstance(Object[])" because "this.connectionConstructor" is null
[20:47:33] [luckperms-command-executor/INFO] [STDERR/]: [me.lucko.luckperms.common.command.CommandManager:...

lilac dewBOT
#

Description

Hello dear developer. Currently there is a placeholder "%luckperms_meta_weight%" which displays the weight of the current group in number format. Is there a placeholder where I can specify a specific group name to check its weight?

Proposed Behaviour

For example, something like this: "%luckperms_meta_weight_%"

Extra Details

If this does not exist yet, this will be a very useful thing for creating functions/commands where you can compare the weights of groups thro...

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

When promoting a player along a track the action fails if the player is in more than one group that belongs to said track. However if you promote a player along a track that has the default group on it (which is reasonable to do for things like meta-formatting) the check does not ignore the default group which leads to the action failing.
If the command instead ignored the default group in its calculations the action would prove more useful for evolving servers.

Propose...

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

Currently using v5.4.46 (Fabric 1.19.2). If a player is online when the server is stopped or restarted, it causes the server to move into a weird "limbo" state. The only way to get around this is kill the server or wait upwards of 15 minutes for it to manually re-boot.

Reproduction Steps

  1. Start a server
  2. Log in to the server with a minecraft account
  3. Try to stop or restart the server while you are still logged in.

Expected Behaviour

Not to halt the restart...

lilac dewBOT
#

Description

when i am executing /lp editor in console i am getting this error:

....=>....Sep 21, 2023 8:46:14 PM org.bukkit.craftbukkit.v1_16_R3.CraftServer dispatchServerCommand
WARNING: Unexpected exception while parsing console command "lp editor"
org.bukkit.command.CommandException: Cannot execute command 'lp' in plugin LuckPerms v5.4.40 - plugin is disabled.
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
at org.bukkit.command.SimpleCommandMap.dispatch(Sim...

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#
public static CompletableFuture<Set<User>> getAllUsersAsync() {
        Set<User> users = new HashSet<>(luckPerms.getUserManager().getLoadedUsers());
        return luckPerms.getUserManager().getUniqueUsers().thenComposeAsync(uniqueIds ->
                CompletableFuture.allOf(uniqueIds.stream()
                        .map(uniqueId -> luckPerms.getUserManager().isLoaded(uniqueId) ?
                        CompletableFuture.completedFuture(getUser(uniqueId)).thenAcceptAsync(users::...
lilac dewBOT
#

Description

On fabric (tested with LP v5.4.102) some parts of the config are generated under /config/luckperms and some under /mods/luckperms
Specifically, the H2DB, the libs and the contexts.json will end up in the mods folder.
Luckperms.conf and translatiosn will end up in the config folder.

Proposed Behaviour

Ideally, I'd expect the contexts.json to end up in the config folder as well, since it is a config and not a jar that needs to be loaded. (And should probably stay close ...

lilac dewBOT
#

Description

With lp, I can see the permissions minecraft.command.gamemode.survival/creative/spectator/adventure. But when I set one of the four to ture, the player can use gamemode to change into all four modes, even if I set others to false.
So do I mistake the use of minecraft.command.gamemode.survival/creative/spectator/adventure, or it's really a problem?

Reproduction Steps

set minecraft.command.gamemode.creative and survival to ture, others to false--> fail
set minecraft.com...

lilac dewBOT
#

If you have essentials installed, know that it overrides the /gamemode command. Meaning the vanilla gamemode permissions aren't even asked. Furthermore, the vanilla gamemode permissions can NOT be split into different modes BUT essentials has this feature. Please note that luckperms does not own, implement, or invent these permissions, not even vanilla ones. Vanilla permissions are added by your server software such as purpur, paper etc.

lilac dewBOT
#

Description

Avast reports the website "https://luckperms.net" as a HTML:Script-inf malware. Don`t know if this legit. But I can not use some of the plugins functionalities.

It just comes up, if something of luckperms.net is used.

Don`t know if its false alarm, but better be safe.

Reproduction Steps

Just go on website or use website related commands like /lp editor

Expected Behaviour

Website works as intended.

Server Details

No plugin problem

LuckPerms Version...

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

When attempting to stand up a new server on Aternos for Fabric 1.20.2, Aternos only has access to the versions of LuckPerms that is available on CurseForge and Modrinth. The latest currently available version for Fabric on CurseForge and Modrinth (5.4.102) crashes on startup for Fabric 1.20.2
Aternos does not let people upload their own mods and people who are using Aternos are at the mercy of what is uploaded to CurseForge and Modrinth. Please update LuckPerms on CurseFor...

lilac dewBOT
lilac dewBOT
#

Description

Please I am having this error only when connecting when connecting luckperms to the database and I keep receiving this error A database error occurred whilst loading permissions data. Please try again later. If you are a server admin, please check the console for any errors. I have already checked My credentials are absloutely right help is really really appreciated thank you.

Reproduction Steps

Even reproducing and causing problem when all plugins and their folders del...

lilac dewBOT
lilac dewBOT
#

nope already done that not working

On Tue, Oct 10, 2023 at 5:43โ€ฏPM smashyalts @.***> wrote:

Caused by: java.net.SocketTimeoutException: connect timed out

firewall or your using the wrong IP in config

โ€”
Reply to this email directly, view it on GitHub
https://github.com/LuckPerms/LuckPerms/issues/3764#issuecomment-1755257814,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AWLMPBC25CZSVE5W43GSCMTX6U3WHAVCNFSM6AAAAAA52FZYC6VHI2DSMVQWIX3LM...

lilac dewBOT
#

If it's intended that new versions are only posted on luckperms.net and Modrinth/Curseforge are no longer updated, we can fetch versions directly from luckperms.net (which I think we already do for some platforms).
This would, however, mean that some relevant information, like the supported Minecraft versions for a given LuckPerms version, could no longer be displayed on Aternos, as this information currently seems to be hardcoded in a JavaScript bundle instead of being available through the...

#

I do not believe Aternos is willing to do that, but I can send a request to have them pull directly from the LuckPerms website. I don't see them going for that though.

But if it is decided that the projects on Modrinth and CurseForge are no longer going to be updated, then so be it, and I will need to find a new hosting option. It would be a shame though, as Aternos is one of the better free hosting options out there.

Is there any possibility that a decision can be made on this in any...

lilac dewBOT
lilac dewBOT
#

Description

Redis security guidelines state applications should use TLS where possible. I am currently using Luckperms on multiple servers that connect over the internet to my Redis server for messaging.

It would be nice to have the option to use client certificates in order to enable TLS connections to Redis. The Redis docs [provide example Java code for connecting via TLS](https://redis.io/docs/clients/java/#connect-to-your-...

#

Additionally, LuckPerms currently cannot establish a connection to a Redis server with TLS enabled, even if tls-auth-clients optional is specified in redis.conf:

<details>

<summary>redis.conf snippet</summary>

# By default, clients (including replica servers) on a TLS port are required
# to authenticate using valid client side certificates.
#
# If "no" is specified, client certificates are not required and not accepted.
# If "optional" is specified, client certificat...
lilac dewBOT
#

Description

I updated LuckPerms and the old database fails to upgrade to V2.

Reproduction Steps

  • Plugin loads
  • Old sqlite DB is not upgraded and doesn't work

Expected Behaviour

The database should upgrade automatically

Server Details

git-Paper-125 (MC: 1.19.2)

LuckPerms Version

v5.4.102

Logs and Configs

[16:25:16 WARN]: [LuckPerms] [DB Upgrade] Found an old (v1) H2 database file. LuckPerms will now attempt to upgrade it to v2 (this is a one time operation...

lilac dewBOT
#

Description

lukperm is outdated for the new version of groupmanager's migration, I'm using this groupmanager [https://www.spigotmc.org/resources/groupmanager.38875/] right now.
The latest version of this plugin has some new changes in the configuration file, causing the old migration plugin for lp to not migrate automatically, I really want to switch to luckperm, please help me update the migration plugin for lp, really please!

Reproduction Steps

the old migration plugin for lp to...

lilac dewBOT
#

Description

When there is a minecraft account, with for example the name "test123", and they join my server, then they change their name and someone else claims the name "test123" and they also join my server, luckperms nags me about it:

LuckPerms already has data for player 'SpicyRamen' - but this data is stored under a different UUID.
'SpicyRamen' has previously used the unique ids [f5e5393e-4bfa-44e2-a767-c29c4597b232] but is now connecting with '7a7736a0-f76a-4004-9f3d-89a645f882...

lilac dewBOT
#

Description

Luckperms is a plug-in added after we have been playing for a while. After startup, it is found that players who enter the server before adding the plug-in will not be recorded as user by luckperms, which makes their permissions beyond my control.I hope there can be an instruction to manually add users to the user table.

Proposed Behaviour

None...

Extra Details

No response

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

Platforms such as Bukkit provide ways of plugins to specify default values for their permissions (i.e. default - everyone gets it unless overridden, op - opped users get it unless overridden, Bukkit's default, none - no one gets it by default, generally for "restrictive" permissions i.e. foo.prevent.bar). For some more advanced users, exposing the listing of these in a filterable way would be beneficial in at least 2 cases I can think of:

  • An admin wishes to audit t...
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

I'm trying to update my fabric 1.20 server to 1.20.2, and the latest LP build fails to load. I understand that I might be missing something, but I'd like to know what I should do in this situation. Do I have any choices other than waiting?

Proposed Behaviour

It would... load up on a fabric 1.20.2 server I guess?

Extra Details

No response

lilac dewBOT
lilac dewBOT
#

Description

Group names are not being passed into Vault verbatim, and this is causing issues downstream.

Reproduction Steps

  1. Make roles called "pathfinder", "pathfinder+", etc. (https://github.com/SettleScape/server/tree/master/minecraft/plugins/LuckPerms/yaml-storage/groups)
  2. Set those up for EssentialsDiscordLink (https://github.com/SettleScape/server/blob/master/minecraft/plugins/EssentialsDiscordLink/config.yml#L44-L56)

Expected Behaviour

Essentials should understand...

lilac dewBOT
lilac dewBOT
#

Description

LuckPerms is leaking bukkit player instances.

I was trying to find a memory leak with Bukkit world unload (that doesn't actually exist, as it turns out), and after a heap dump analysis I found out that LuckPerms was keeping references to the player instances.

Reproduction Steps

Have LuckPerms on a server, leave and join the server a couple of times. Wait a minute, and wait until a GC has taken place, then take a heap dump, and see that there are more player instanc...

lilac dewBOT
#

Description

Been receiving this console error on startup for a while, not sure what it means or how it may be affecting the plugin, but it seems to function normally.

[20:00:42] [Server thread/WARN]: [LuckPerms] Something went wrong whilst upgrading the LuckPerms database. Please report this on GitHub.
org.h2.jdbc.JdbcSQLSyntaxErrorException: Sequence "SYSTEM_SEQUENCE_309C4C1F_74E2_48DF_8AD2_05734C385094" already exists; SQL statement:
            
CREATE SEQUENCE "PUBLIC"."SY...
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Hey, thanks for the PR :)

I have reverted the changes you made to SqlStorage.java - I think maybe you misunderstood what the SQL statement was doing:

DELETE FROM '{prefix}players' WHERE username=? AND NOT uuid=?

This has the effect of deleting all conflicts, which is the intention - so there's no need to make batch updates. However, maybe I have misunderstood, and if so, please feel free to reclarify what that change was intending to achieve.

I've also added some mo...

lilac dewBOT
#

The reason I haven't merged this yet is because I'm not sure whether this is really the correct fix. I think we need to be careful about "revivingCaps" when the player genuinely is in an inactive state. It feels to me like Forge need to fix the capabilities system at their end if it is causing problems. As far as I can tell, LuckPerms' usage of the system is correct.

Maybe we should just switch to a centralised Map<UUID, User> instead of using the capabilities if it is going to continue ...

#

Hmm that's a fun one. I think the Caffeine cache only does housekeeping periodically, or during other operations on the cache. It should clear everything after approx 1 minute but might be a bit longer.

I haven't had any other reports of memory leaks, so maybe this is just a weird edge case?

Sorry - don't have the right tooling installed on my current machine to view your heap dump, but I will try to have a look soon when I'm back on my normal machine :)

lilac dewBOT
#

I agree Forge is to blame. We sadly have to work around them sometimes due to the nature of that project. Most will likely move to NeoForge, and I have higher hopes for them. For now, while it's not the ideal fix, I didn't want to re-work your entire plugin for any platform this touches.

Changing it to a map might be better; however, if we go that route vs this patch, you'd have to backport it to 1.20. and 1.20.1 vs. forward porting. The choice is ultimately up to you.

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Please see comments on the other issues: https://github.com/LuckPerms/LuckPerms/issues?q=Something+went+wrong+whilst+upgrading+the+LuckPerms+database

One of those other "issues" is mine and it never got fixed until this day and it was the second post. Since then many more have reported the exact same.... The very first "issue" like this one wasn't resolved either and all the other ones you just mention to go look. look at what?
It mentions he thinks his is corrupted, you never traced t...

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

While LuckPerms doesn't officially support hybrid software, such as Mohist, you may want to:

  • Ensure that the user connecting to the H2 database has the necessary permissions to perform database operations.
  • Confirm that the file system permissions on the directory containing the H2 database files allow write access. If the server process doesn't have the necessary file system permissions, it won't be able to write to the database files and save any users....
lilac dewBOT
#

Description

When i trying to give someone group through RCON it crashes and did nothing

Reproduction Steps

  1. Opening RCON Site (CraftingStore for example)
  2. Clicking on Execute manual payment
  3. Server got RCON request.
  4. LuckPerms is leaking down...

Expected Behaviour

When i clicked "Execute manual payment" on Minecraft store panel, it shows a RCON connection and after that LuckPerms crashes

Server Details

1.7.10 Thermos (Cauldron fork)

LuckPerms Version

[v...

lilac dewBOT
lilac dewBOT
#

java.lang.NoClassDefFoundError: org/bukkit/command/ProxiedCommandSender

ProxiedCommandSender is a class that must be present in all Bukkit servers, hybrids are not really supported for reasons like this. If you can reproduce this issue on a supported Bukkit server (CraftBukkit/Spigot/Paper) then it ought to be fixed, but otherwise the hybrid environment is at fault here.

lilac dewBOT
#

Description

I would like to see a new feature for temporary permission. The feature is that if the temporary permission expires, it will run certain commands.

Proposed Behaviour

Example:

/lp user Verzante permission settemp rewardsperm 1d cmds: give %player% diamond 1, give %player% emerald 5

Result: After 1 day, this permission will expire and player Verzante will be given 1 diamond and 5 emeralds

Extra Details

I will pay for it to get it higher priority for i...

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

Luckperms with Translator error in first startup

[00:51:00 INFO]: [LuckPerms] Loading LuckPerms v5.4.108
[00:51:00 ERROR]: me/lucko/luckperms/lib/adventure/translation/Translator initializing LuckPerms v5.4.108 (Is it up to date?)
java.lang.NoClassDefFoundError: me/lucko/luckperms/lib/adventure/translation/Translator
at me.lucko.luckperms.common.plugin.AbstractLuckPermsPlugin.load(AbstractLuckPermsPlugin.java:127) ~[?:?]
at me.lucko.luckperms.bukkit.LPB...

lilac dewBOT
lilac dewBOT
#

Description

Luckperms don't stop correctly and lock my thread on "Goodbye" message. When i use /stop command after a while of server running (like 12H running)

Reproduction Steps

Don't know how to reproduce.
I used lp bungee & lp bukkit on my backend server on latest version [v5.4.108

Expected Behaviour

Stop correctly

Server Details

Purpur 1.19.1

LuckPerms Version

v5.4.108

Logs and Configs

My pool settings :

maximum-pool-size: 10

# Sets the mi...
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

So every now and then even though there is no player on the server, these warnings from luckperms come up every now and then. I can't really say that, I have only connected it to my database mysql since I have the luckperms on the server, the first since that Never, but it's been happening more often for a few weeks now

Reproduction Steps

Good question, but I don't even know that myself because as I said, it just appears in the console even though there is no player on ...

lilac dewBOT
#

Ok, thanks for the clarification.

On Tue, 10 Oct, 2023, 6:24 PM Fryingโ˜†Pan, @.***> wrote:

as you have been told now both on discord several times and here on github
now too, the issue is with your setup, not with luckperms.

โ€”
Reply to this email directly, view it on GitHub
https://github.com/LuckPerms/LuckPerms/issues/3764#issuecomment-1755369259,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AWLMPBCCVZ4XSUPD6MEUTBTX6VAOVAVCNFSM6AAAAAA5...

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

Carpet mod scripts can no longer execute lp commands unless run by player with perms. The command is sent but rejected saying the internal/Server has undefined perms.
https://luckperms.net/verbose/67ENVnwHya

Carpet mod dev suggests something might have changed with LP permission manager between v5.4.66 and v5.4.83 because the way scarpet scripts are executed with global scope (by the server) did not change. Scarpet ...

#

Description

Fabric LP 5.4.112 (and v5.4.111) fail to start server using Fabric settings listed in build.gradle. This is due to CommandManagerMixin injection exception (see log below).

Reproduction Steps

  • Create Fabric server with loader 0.15.1, api 0.91.2, and LP v5.4.112 (and nothing else).
  • Start server.

Expected Behaviour

Server launches properly.

Server Details

Fabric 1.20.4, loader v0.15.1

LuckPerms Version

v5.4.112

Logs and Configs

[https://...

lilac dewBOT
#

Description

Server loads normally with any of the other installed mods, but breaks when LuckPerms is installed.

Reproduction Steps

Install mods listed with LuckPerms for 1.20.1

Expected Behaviour

Server to boot normally

Server Details

Fabric_Latest_1.20.1 (via Shockbyte)

LuckPerms Version

LuckPerms-Fabric-5.4.109

Logs and Configs

https://gist.github.com/kaolincash/7ff7ca2fa751c8b5b09e2d7f1043603b

Extra Details

I also hit the same issue with LuckPerms-F...

lilac dewBOT
lilac dewBOT
#

Description

It starts the server but while starting it blocks when luckpers strarts to load

Reproduction Steps

  1. Starting the server

Expected Behaviour

starts the server and make possibly to join the server, all without problems

Server Details

Fabric 1.20.4 0.15.1

LuckPerms Version

5.4.112

Logs and Configs

[06:02:21] [main/INFO]: Loading Minecraft 1.20.4 with Fabric Loader 0.15.1
[06:02:22] [ForkJoinPool-1-worker-1/WARN]: Mod getittogetherdrops uses the ve...

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

Currently, when the web editor fails to list all available permission nodes, it seems like ignoreing the extra permissions. Therefore, we can't view every available permissions on the server. That may cause confusion, especially when installed https://github.com/DrexHD/VanillaPermissions.

Proposed Behaviour

So what I mean is that, there should be a place where we can see all registed permission nodes on the server. The solution could be the one on the title, and if th...

lilac dewBOT
lilac dewBOT
#

plugins and mods dont "register" permissions with the server, they just check them when needed. luckperms saves every permission that is checked to a list which is what is used for suggestions. if a permission isnt checked, there is no way luckperms can know that it exists.

Thanks for answering. But in my case, I can see some suggestions by typing them partly, but they don't appear when I was beginning to type. Is that expected?

lilac dewBOT
lilac dewBOT
#

Description

Adding an API event that would trigger when player's primary group changes.
Currently the closest event that can be used is UserDataRecalculateEvent, however, this event is being called very frequently and multiple times at once from several threads even when group didn't change, which makes is sub-optimal at best.
Additionally, I have seen this event not being called on world/server switch where player's primary group has changed due to contexts, which makes the event ...

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

[20:15:18] [luckperms-worker-8/WARN]: [me.lucko.luckperms.lib.hikari.pool.PoolBase] luckperms-hikari - Failed to validate connection me.lucko.luckperms.lib.mysql.cj.jdbc.ConnectionImpl@615c29e2 (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value.
[20:15:18] [luckperms-worker-8/WARN]: java.sql.SQLTransientConnectionException: luckperms-hikari - Connection is not available, request timed out after 5056ms.
[20:15:18] [luckperms...

lilac dewBOT
#

Description

A player come in my server and spam some luckperm command for kick all player

Reproduction Steps

Spaming command like

  • lpx
  • luckpermsvelocity
  • luckpermsbungee

Expected Behaviour

Fix that...

Server Details

Paper 1.20.1 v196

LuckPerms Version

5.4.84

Logs and Configs

[18:34:39] [Server thread/ERROR]: Failed to handle packet net.minecraft.network.protocol.game.PacketPlayInWindowClick@15d64a2f, suppressing error
net.minecraft.ReportedException:...

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

plugins/Plan/AnalysisResults/locale/CUSTOM.json seems to have incorrect content on my server -- the wrong web server URL. Where/how is the file content generated?

Reproduction Steps

  • Stop server
  • Edit plugins/Plan/AnalysisResults/locale/CUSTOM.json to provide correct URL
  • Start server
  • Observe that file content has changed

Expected Behaviour

Understand where/how the file content is generated, so I can correct it

Server Details

git-Paper-339 (MC: 1.2...

lilac dewBOT
lilac dewBOT
#

Description

Hello,
I've tried to modify a few values from common folder but it doesn't seem to do anything. I'm compiling the jars as it is shown in README.md and taking them from the correct folder for Bukkit (plugin works on my local server).

My question is - How can I modify common package to see the changes in my compiled Bukkit jar?

Reproduction Steps

N/A

Expected Behaviour

Compile the Bukkit jar according to the common package.

Server Details

z

LuckPerms...

lilac dewBOT
#

Description

I just setup MariaDB database support but it just doesn't. I checked everything. The address, correct. the user, correct. Everything seemed correct.

Reproduction Steps

1: set the data type as MariaDB
2: enter the correct credentials
3: you get the error

Expected Behaviour

It connects without any problems

Server Details

Velocity 3.3.0-SNAPSHOT (git-21ae82e7-b306)

LuckPerms Version

5.4.113

Logs and Configs

config: https://srcb.in/iqBqNY1Prc

...

lilac dewBOT
lilac dewBOT
#

Description

Player information is written to plugins/LuckPerms/yaml-storage/uuidcache.txt even if player fails to authenticate

Reproduction Steps

  • Non-whitelisted player tries to connect, fails to authenticate
  • Player information written to plugins/LuckPerms/yaml-storage/uuidcache.txt

Expected Behaviour

No logging of players who fails to authenticate

Server Details

git-Paper-342 (MC: 1.20.4)

LuckPerms Version

5.4.113

Logs and Configs

No response

##...

lilac dewBOT
#

Only log information

[21:03:45] [User Authenticator #0/INFO]: UUID of player ChegBurp is e97019e5-216d-4037-a0df-1caaff480b23
[21:03:45] [Server thread/INFO]: Disconnecting ChegBurp (/98.243.172.249:61679): You are not whitelisted on this server!
[21:03:45] [Server thread/INFO]: ChegBurp (/98.243.172.249:61679) lost connection: You are not whitelisted on this server!

I have enabled

debug-logins: true

to get more information on the next one.

lilac dewBOT
lilac dewBOT
#

Description

im trying to connect my servers with bungeecord and then have a mysql database to connect luckperms and luck perms is giving me this error [LuckPerms] Failed to init storage implementation

when i try to join my server it gives this
Kicked whilst connecting to lobby: [LP] A database error occurred whilst loading permissions data. Please try again later. If you are a server admin, please check the console for any errors.

Reproduction Steps

  1. download luckperms bung...
lilac dewBOT
#

Description

Player file gets randomly deleted. Iโ€™m using the YAML storage system. Players will have permissions and ranks and everything will be fine for a bit. Then randomly one day when they log in all their ranks and permissions are gone.

Reproduction Steps

There is no clear reason why. It just randomly deletes their file

Expected Behaviour

Rank and permissions disappears

Server Details

git-purpur-2095

LuckPerms Version

5.4.102

Logs and Configs

_No respo...

lilac dewBOT
lilac dewBOT
#

Description

I'm having a situation where I ban a player's IP (essential) but they can still access the server with a different UUID but the name is still the same.

Reproduction Steps

  • Banip player
  • He changes his UUID (idk how)
  • Ho can connect my server after that

Expected Behaviour

I see that after fake UUID times, luckerperm will notify the console

Server Details

Paper 1.20.1

LuckPerms Version

lastest

Logs and Configs

https://mclo.gs/iDqRcCc

...

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

Description

Luckperms will log the MongoDB connection URI even though it contains sensitive information:

[LuckPerms] Resolved configuration value from environment variable: LUCKPERMS_DATA_MONGODB_CONNECTION_URI = mongodb://...

Reproduction Steps

  1. Put your darkest secrets in the LUCKPERMS_DATA_MONGODB_CONNECTION_URI environment variable and start it up
  2. Be frightened as you see your darkest secrets be revealed in the logs

Expected Behaviour

I expect it to not show ...

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

Description

When I make myself OP through the console while being in the default permission group I cannot perform any commands that are not allowed in the perm group.

Reproduction Steps

I looked through the LP config. Tried changing enable-ops: and commands-allow-op: to false and back to true with no effect. Other options don't seem to be of help.

Expected Behaviour

I thought the OP role should grant all permission.

Server Details

git-Paper-"931781c"

LuckPerms Ver...

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

Hi, im currently updating LuckPerms on DarkRPG and noticed when testing a server it fails to load after updating to the latest version.
5.4.102 seems to work fine
but after updating to 5.4.109 it doesnt load. Here is the log - https://pastebin.com/bNgeTxDN
This is on Fabric 1.20.1 0.15.3

Reproduction Steps

Update LuckPerms to 5.4.109 on DarkRPG Modpack and run a server with it

Expected Behaviour

Does not load server

Server Details

1.20.1

LuckPerms ...

lilac dewBOT
#

Description

[16:51:45 WARN]: [LuckPerms] Command execution [editor] has not completed. Trace:
java.base@17.0.3/sun.nio.ch.Net.poll(Native Method)
java.base@17.0.3/sun.nio.ch.NioSocketImpl.park(NioSocketImpl.java:181)
java.base@17.0.3/sun.nio.ch.NioSocketImpl.timedRead(NioSocketImpl.java:285)
java.base@17.0.3/sun.nio.ch.NioSocketImpl.implRead(NioSocketImpl.java:309)
java.base@17.0.3/sun.nio.ch.NioSocketImpl.read(NioSocketImpl.java:350)
java.base@17.0.3/sun.nio.ch.NioSock...

lilac dewBOT
#

Description

Hello found this bug while playing on a server with Compact Machines loaded...pretty much a new dimension if a player logs off within it stops us from being ablet o log back in.

Reproduction Steps

Install compact machines 1.16.5 and sponge forge. build a compact machine log off inside...try to reconnect.

Expected Behaviour

failed to connect

Server Details

1.16.5 SpongeForge

LuckPerms Version

latest

Logs and Configs

5
at me.lucko.luckperms.spong...

lilac dewBOT
#

Description

There is an large console error that appear sometimes after I install ExtraContext and add a placeholdercontext

Reproduction Steps

1 Install ExtraContext
2 Add a placeholder context
3 Add a permission with this context

Expected Behaviour

I really don't know because all is working but this error appear sometimes

Server Details

Mohist 1.20.2-131

LuckPerms Version

v5.4.102

Logs and Configs

Here the config of extracontext and the console error
htt...

lilac dewBOT
lilac dewBOT
#

Yeah, I'm having a similar issue. (If not the same one) I haven't been able to get LuckPerms-Fabric-5.4.109 to load on my fabric 1.20.1 server either.

Is there a way to find an older version for 1.20.1 and use that? Or did you find a fix?

I am using this file and it works fine - https://www.curseforge.com/minecraft/mc-mods/luckperms/files/4738951
the update fails to start the server, hopefully can be looked into

lilac dewBOT
lilac dewBOT
#

There is my jstack @lucko. That's all i have about luckperms :

`"luckperms-command-executor" #3226 daemon prio=5 os_prio=0 cpu=101.12ms elapsed=78388.55s tid=0x00007f47f11a0c90 nid=0x3889f2 waiting on condition [0x00007f47f54fe000]
java.lang.Thread.State: WAITING (parking)
at jdk.internal.misc.Unsafe.park(java.base@17.0.9/Native Method)
- parking to wait for <0x00007f4aaf268c30> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at java.util.concurrent.l...

lilac dewBOT
#

Description

Hey! I would love to use a placeholder that counts how many players have X permission. I want to make a placeholder that counts how many players have a certain tag (tags.XXXX) permission.
So it would say like "81 players have XXXX tag!"
but the placeholder would be "%luckperms_count_permission_tags.XXXX%" or something.

Would love it <3

Proposed Behaviour

Look up

Extra Details

No response

lilac dewBOT
#

Description

I personally think that luckperms can get a bit messy after a while. I think having folders to organize ranks would make the plug-in a lot cleaner!

Proposed Behaviour

It should be in folders like

Default, ๐Ÿ“‚ (Rewards)
|
Daily, weekly, etc.

But able to be called like Daily without calling the folder.

Extra Details

No response

lilac dewBOT
lilac dewBOT
#

Description

I am currently using FTB-Quests to set the progression level of each player as well as other things, however in version 1.20.1 the parsing selector does not seem to be supported by LP as in previous versions, even though the command-selectors option is enabled. Would there be any way to get around this? waiting for an update

Proposed Behaviour

version - 5.4.116

Extra Details

`[16:13:49 WARN] [LuckPerms]: Error parsing selector '@p' for CraftPlayer{name=Reavik} exe...

lilac dewBOT
#

Description

Minecraft 1.20.2 added the configuration phase, since FabricProxy-Lite receives player profiles from the proxy in the login phase, if LuckPerms can be changed to read data in the configuration phase, player profiles inconsistent will no longer occur.

Proposed Behaviour

Prepare player data in the configuration phase, not the login phase.

Extra Details

Due to changes in FabricAPI, the workaround used by FabricProxy-Lite is temporarily broken. If LuckPerms can use th...

lilac dewBOT
#

Description

When I try to execute the command /lp editor the command isnโ€™t completing as expected. It has worked previously in the past and I have the most recent development build running on our server.

Reproduction Steps

/lp editor is typed in chat; "Preparing a new editor session, please wait..." No session is executed is ever linked.

Expected Behaviour

The link to be displayed in chat.

Server Details

Paper 1.20.2

LuckPerms Version

v5.4.116

Logs and Conf...

lilac dewBOT
#

Description

As stated in the title, when the MC server gets to the LuckPerms load, it fails and then doesn't start.

Reproduction Steps

Attempt to run LuckPerms mod on Fabric Server.

Expected Behaviour

LuckPerms load and server to continue to boot.

Server Details

Fabric Loader 0.15.6, Fabric Installer 1.0.0, MC 1.20.1

LuckPerms Version

v5.4.116

Logs and Configs

https://pastebin.com/5i6CYCpM

Extra Details

No response

lilac dewBOT
lilac dewBOT
#

(Most) LP placeholders cannot be used in contexts, why that is is because, for example, permission abc has as context %luckperms_check_permission_xyz%, and that placeholder needs to be resolved, the plugin needs to check whether xyz applies, and to check whether a permission applies or not the contexts need to be resolved, which requires the placeholder to be resolved which requires to check the permission .... and it is caught in an endless loop (until this error happens).

The sugge...

lilac dewBOT
#

Are you saying that if I disable a perm with the mod, then players lose that perm even if they have OP?

I just want to make sure I have that correct, as I have been looking for a mod that does exactly that. I personally do not see this as an issue as long as you can adjust perms on a per player basis.

OP status will be taken into account as the "fallback" when the permission is not explicitly set (to either true or false), the configured permissions will always take priority (as t...

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

Description

LuckPerms is suitable for different Minecraft implementations, but not all implementations use the plugin system. Please publish the common module in some maven repository or add jitpack support

Proposed Behaviour

ability to add spark to a project via gradle or maven. For example

implementation("net.luckperms:common:5.4")

Extra Details

No response

lilac dewBOT
#

Description

Now every time I need to re-set the language on the client so that LuckPerms can correctly recognize the corresponding language.
Otherwise, English is displayed by default.
My previous server version was 1.20.1 and the language recognition was working fine.
As soon as I entered the game, "luckperms" were able to recognize the language correctly.
The language of the game client is Chinese.

Reproduction Steps

The game client sets Chinese, enters the server, and uses t...

lilac dewBOT
#

Description

wont work on neoforge

Reproduction Steps

install on neoforge server

Expected Behaviour

the server launches

Server Details

neoforge 1.20.1-47.1.96

LuckPerms Version

LuckPerms-Forge-5.4.117

Logs and Configs

[18:57:52] [main/ERROR] [minecraft/Main]: Failed to start the minecraft server
net.minecraftforge.fml.LoadingFailedException: Loading errors encountered: [
LuckPerms (luckperms) encountered an error during the common_setup event phase
ยง7java...

lilac dewBOT
lilac dewBOT
#

Hi, i'm using spigot and I have this error here, the same error apper when i use @p instead of @minecraft:nearest_player or @p[r=10]. Can someone help me to solve it please?

[LuckPerms]: Error parsing selector '@minecraft:nearest_player' for CraftPlayer{name=Goodinhoo} executing [user, @minecraft:nearest_player, meta, removesuffix, 7, &f๐“†&f]
java.lang.IllegalArgumentException: Could not parse selector: @minecraft:nearest_player
at org.bukkit.craftbukkit.v1_20_R1.CraftServer.selec...

lilac dewBOT
lilac dewBOT
#

Description

Hello,

After I use nether portal for once with Immersive Portals mod, any command, or typing into the chat causes kick from the server with error missing capability for my UUID. After reconnection it works again until I use the portal again. When I delete Luckperms from the server, the problem stops. Server log doesn't show much, it is in the end of the log:
latest.log

Reproduction Steps

Connect...

lilac dewBOT
#

Additional info :
Redis needs the client (luckperms) to give a certificate and you need to trust the server certificate.

You can add the server certificate to your java using :
keytool -import -alias CERTALIASYOUWANT -keystore $JAVA_HOME/lib/security/cacerts -storepass KEYSTORE_PASSWORD -file redis_ca.pem
(default KEYSTORE_PASSWORD in java is changeit)

And you can specify your own certificat by running the server java with parameters :

lilac dewBOT
#

Description

This issue seems to be duplicated with https://github.com/LuckPerms/LuckPerms/issues/3405, but became more serve because I've installed a world backup mod QuickBackupM.
When trying to rolling back the world, LuckPerm throws the error that causing world to be saved twice, leading to a race condition on world operation and partial rollback of the world mod.

Reproduction Steps

Install the [QuickBackupM](https://github....

lilac dewBOT
#

Description

I can't get it to work even with local or MySQL it gives the same error, I'm using arclight with some mods

Reproduction Steps

I just put the mod together with pixelmon in arclight and it gave this error

Expected Behaviour

I hoped everything would go well because they told me that arclight is good for luckperms

Server Details

arclight-forge-1.16.5-1.0.25.jar

LuckPerms Version

5.4.117

Logs and Configs

https://gist.github.com/Segund1a/04fd62f9d92f1...

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

LuckPerms/]: Failed to init storage implementation
java.lang.RuntimeException: java.lang.NoSuchMethodException: org.h2.jdbc.JdbcConnection.<init>(java.lang.String,java.util.Properties,java.lang.String,java.lang.Object,boolean)
at me.lucko.luckperms.common.storage.implementation.sql.connection.file.H2ConnectionFactory.init(H2ConnectionFactory.java:64) ~[?:?]
at me.lucko.luckperms.common.storage.implementation.sql.SqlStorage.init(SqlStorage.java:162) ~[?:?]
at me.lucko.luckperms.common.s...

lilac dewBOT
#

Description

By default, LuckPerms will determine whether to calculate UUID based on the username based on the OnlineMode. When the server uses the WaterFall group server, the OnlineMode of the sub server will be forcibly closed. However, when the user logs in using an external device at the same time, modifying the username UUID will not change. Therefore, calculating UUID for the user's name is not necessary for external login and may result in the loss of user permissions. A configurat...

lilac dewBOT
#

Description

Error:

>lp editor
[05:10:27 INFO]: [LP] Preparing a new editor session, please wait...
java.net.ConnectException: Failed to connect to usersockets.luckperms.net/2606:4700:20:0:0:0:681a:ec0:443
        at me.lucko.luckperms.lib.okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.java:265) ~[?:?]
        at me.lucko.luckperms.lib.okhttp3.internal.connection.RealConnection.connect(RealConnection.java:183) ~[?:?]
        at me.lucko.luckperms.li...
lilac dewBOT
lilac dewBOT
#

Description

I would like you to add the message event to luckperms, when it is received from redis and before it is processed in processIncomingMessage (LuckPermsMessagingService)

this should be added instead of the print below

image

Proposed Behaviour

This helps in the case of, for example, using the rest api in docker and standalone in another process, when I add a node I need ...

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

I have a procedure where I want to remove an InheritanceNode if it is found on an offline users node data. But the changed node data doesn't get saved correctly when I queried the user information via "/lp user info" beforehand (where I noticed the problem).

Let's assume the user has a parent group of "member" and "groupToRemove", the group "groupToRemove" does get removed from the NodeMap but after trying to save the data does not get persisted in the database and anothe...

lilac dewBOT
#

Description

Using: https://modrinth.com/mod/luckperms/version/v5.4.102-fabric on MC1.20.1 (Fabric 0.14.25) on an existing stable server (running Luna Pixel's Prominence II RPG modpack coincidentally). When adding LuckPerms to mods, it causes the server to fail to start with the following:

18.02 22:59:26 [Server] [INFO] java.lang.RuntimeException: Could not execute entrypoint stage 'server' due to errors, provided by 'luckperms'!
18.02 22:59:26 [Server] [INFO] at net.fabricmc.loa...
lilac dewBOT
lilac dewBOT
#

I am having the same issue adding LuckPerms to an existing 1.20.1 server. I am running the BigChadGuys Plus mod pack with cobblemon. I have the fabric api (fabric-api-0.91.0+1.20.1.jar) and I am using the latest LuckPerms (LuckPerms-Fabric-5.4.119.jar)

servercrash.log

On Fabric/Forge latest LuckPerms will only work on latest Minecraft. For 1.20.1 you need to use the correct version [listed on Modrinth](https://mo...

lilac dewBOT
lilac dewBOT
#

Description

We use CMI to read players votes and execute lp user [playerName] parent settrack once a certain vote count is hit. Now 8/10 luckperms promotes players correctly and removes the old group perfectly, but for those 2 the players will retain both groups, and then when they are ready to get promoted again, they canโ€™t due to โ€œuser is in multiple groups so canโ€™t promote them errorโ€.

Example user: DesiOnRTX

[luckperms-command-executor/INFO]: [LP] desionrtx had their existing...

lilac dewBOT
lilac dewBOT
#

This seems like normal behaviour.

The editor user list will always include online players. It is then "topped up" (to a limit of 1000) with other offline players with permissions already set.

Therefore, offline players, with no permissions/parents defined beyond the default group will not be shown.

If you think this ^ could be useful, then I'm happy to consider adding it - but it's not a bug. :)

I have the same issue and can not add a permission to a user when they a...

lilac dewBOT
lilac dewBOT
#

Description

Hello! Hoping you having a good one!
Basically, there are certain hours where users don't have certain permissions. For example, yestarday a vip told me that he hadnt some cosmetics permissions and now today is fixed.

My luckperm's database is almost 2GB size. Using mariadb

Here is a slow query log of 5s. I have like 30 databases, and only LuckPerms appear in these logs.
https://gist.github.com/msmanui/89405c94bec3ca3cc512427bd29d1b02

Reproduction Steps

I'm no...

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

What makes you suspect there is a memory leak? Does the JVM crash running out of memory?

What you are showing with those screenshots is not a memory leak, LuckPerms messages can be translated to the viewer's langauge, by default it will fetch and load translations, that is a one time operation done during startup and the translations are kept loaded for rendering a message when sent to a viewer.

#

What makes you suspect there is a memory leak? Does the JVM crash running out of memory?

What you are showing with those screenshots is not a memory leak, LuckPerms messages can be translated to the viewer's langauge, by default it will fetch and load translations, that is a one time operation done during startup and the translations are kept loaded for rendering a message when sent to a viewer.

Thanks for replying, I suspect because of GC behaviour having problems with Metaspace....

lilac dewBOT
#

That sounds like a GC configuration problem. If you could provide the heap dump and the JVM flags used it can be investigated further, but without any more info there isn't much else to do.

I passed the HeapDump on discord, flags used were the recommended by Velocity Docs -XX:+UseG1GC -XX:G1HeapRegionSize=4M -XX:+UnlockExperimentalVMOptions -XX:+ParallelRefProcEnabled -XX:+AlwaysPreTouch -XX:MaxInlineLevel=15

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

Thanks for your answer. Here you get all logs of the error (I just edited the backend IP for the MongoDB server)

[01:40:16] [luckperms-command-executor/INFO]: [LP] Running bulk update.
[01:40:16] [User Authenticator #0/INFO]: UUID of player Phildelas is 85428757-753c-45c1-b0c9-4422ece5eb32
[01:40:16] [Server thread/INFO]: Disconnecting Phildelas (/92.184.116.47:40110): Le serveur est actuellement fermรฉ !
[01:40:16] [Server thread/INFO]: Phildelas (/92.184.116.47:40110) lost connectio...
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

Memory leak with luckperms on rejoining.

Reproduction Steps

Putting only luckperms and spark in a server. Rejoining a bunch of times. Executing /spark heapsummary. This will show multiple EntityPlayers/CraftPlayers loaded. While only you are online. Doing this without luckperms shows only one player.

Expected Behaviour

Unloading the players when they leave.

Server Details

git-Paper-409 (MC: 1.20.4) but same on Paper 1.8.8 and 1.20.1 (did not test others))

#...

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Can someone help me? I have the same bug like that the rcon can excute "say", but if I do a luckperms then its not working

You can use external storage like MySQL and configure luckperms to reload config from storage once every few minutes. Then, you can modify the rights on the fly, but through SQL. This will require additional skills

lilac dewBOT
#

Let's not continue to post on a 5 year old issue please. Feel free to open a fresh issue, though it'll most likely continue to be blocked by the aforementioned Spigot PR on the Bukkit platform.

@HyperPaint Note that hand modifying our SQL database storage methods is unsupported, if you break the database in the process of manually editing, you're on your own for either repairing it or reloading a backup.

lilac dewBOT
lilac dewBOT
#

Thanks for the report
https://www.virustotal.com/gui/file/90d0cfacd0ca1f9415d4526b6474c9f00e1061ba26af74dec735df4f0aebc95d
JAR files are generally a pain for antiviruses to accurately scan and it seems to not be a worthy investment in the industry given that false-positives are way too common. I recommend giving your setup a full scan if anything.
If this becomes a problem for more people as time goes on, we can reach out to whatever AVs are flagging it, but until then (and without somethi...

lilac dewBOT
#

Hello, i was be testing this problem on my main servers and trying fix error in this way:

UserCapabilityListener

private final ThreadLocal<Player> previousPlayerData = new ThreadLocal<>();

@SubscribeEvent
public void onPlayerClone(PlayerEvent.Clone event) {
    Player previousPlayer = event.getOriginal();
    Player currentPlayer = event.getEntity();

    previousPlayer.reviveCaps();
    try {
        UserCapabilityImpl previous = UserCapabilityImpl.get(previousPlayer);...
lilac dewBOT
lilac dewBOT
#

Description

Trobles to update database. I have server on 1.16.5 now and will go to 1.20.4 but this problem :(

Reproduction Steps

Just setup old LP database and start on last plugin version

Expected Behaviour

I need to update my database and save all data

Server Details

Paper 1.20.4

LuckPerms Version

v5.4.102

Logs and Configs

[21:09:09] [Server thread/WARN]: [LuckPerms] Something went wrong whilst upgrading the LuckPerms database. Please report this on GitHub...

lilac dewBOT
#

Description

Occasionally, someone finds my non-public server and attempts to connect. Since they are not whitelisted, the connection fails, but sometimes LuckPerms pre-login processing is performed. On other occasions, such attempts are blocked before LuckPerms sees them. I am not able to ascertain the difference between these cases.

In the former case, an entry is made in LuckPerm's uuidcache.txt. I would prefer that did not occur.

Reproduction Steps

  • Login attempt by non-...
lilac dewBOT
lilac dewBOT
#

Description

Possibility to check the permissions of a player who is not on the server without using the luckyperms commands.

Proposed Behaviour

What do I expect? Querying the server for user permissions would be successful.

Extra Details

Currently, when using placeholders, I get an error or the value is empty.

image

  • /papi parse test-player %vault_group% (using vault alway...
#

Querying of any data for an offline player will require performing a data load - a slow operation. It could maybe be considered to add the ability to load data for placeholders parsed in an async context (Similar to our vault integration for offline players), but (again, like our vault integration) any placeholders parsed in a sync context would need to be blocked otherwise there'd be a large lag spike.

lilac dewBOT
#

Description

[21:07:26 INFO]: [LuckPerms] Loading configuration...
[21:07:27 INFO]: [LuckPerms] Loading storage provider... [H2]
[21:07:27 WARN]: [LuckPerms] [DB Upgrade] Found an old (v1) H2 database file. LuckPerms will now attempt to upgrade it to v2 (this is a one time operation).
[21:07:27 INFO]: [LuckPerms] [DB Upgrade] Stage 1: Exporting the old database to an intermediary file...
[21:07:27 INFO]: [LuckPerms] [DB Upgrade] Stage 2: Importing the intermediary file into the new da...

lilac dewBOT
lilac dewBOT
#

I've been doing this for almost 4 years now, and the only times I've ever seen the limit be an issues is either a) cases like this where shorthand or regex permissions are being abused, or b) prefixes/suffixes with hex code gradients with a 14 character RGB format (i.e. spigot's &x&R&R&G&G&B&B).

If you can provide a real-world example of a public plugin that utilizes 200+ character permissions, provide it here, and we might consider raising the limit if/when v6 happens. Otherwise, this i...

lilac dewBOT
#

Description

[17:41:26] [Server thread/ERROR]: Exception stopping the server
java.util.concurrent.RejectedExecutionException: null
at java.util.concurrent.ForkJoinPool.externalPush(ForkJoinPool.java:2179) ~[?:?]
at java.util.concurrent.ForkJoinPool.externalSubmit(ForkJoinPool.java:2196) ~[?:?]
at java.util.concurrent.ForkJoinPool.execute(ForkJoinPool.java:2664) ~[?:?]
at me.lucko.luckperms.common.plugin.scheduler.SchedulerAdapter.executeAsync(Scheduler...

lilac dewBOT
#

Description

If expired temporary meta data is added to a player, the player cannot join the server and the command "/lpb user meta info" fails. (No feedback, no error in the console)

The mentioned expired meta data is strangely not cleaned up

Reproduction Steps

  1. add long expired meta data to a player
  2. try to join the server or execute the above mentioned command

Expected Behaviour

expired meta data should be cleaned up and even if not, should not prevent or affect jo...

lilac dewBOT
lilac dewBOT
#

I've also had instances of entities disappearing off the server when this happens

luckperms does not touch the world, so its incredibly unlikely that luckperms would cause entities to disappear. also you say you are writing a plugin, which implies you are running on a bukkit based platform, where this exact error could not possibly occur. If you are in fact running a bukkit based platform, please open a new issue with the exact error (or ideally a fully log, uploaded to a [pastebin](ht...

lilac dewBOT
lilac dewBOT
#

Description

Hi, I have error in the console, I asked the AJLeaderboards dev and got answer that:

Sounds like luckperms is clearing the player data before theyโ€™ve fully disconnected

Reproduction Steps

I'm not sure, sorry

Expected Behaviour

Any error on user leave

Server Details

Current: git-Purpur-2159 (MC: 1.20.4)* Previous: git-Purpur-2062 (MC: 1.20.1) * You are running the latest version

LuckPerms Version

v5.4.117

Logs and Configs

https://gist.github...

lilac dewBOT
#

luckperms does not touch the world, so its incredibly unlikely that luckperms would cause entities to disappear. also you say you are writing a plugin, which implies you are running on a bukkit based platform, where this exact error could not possibly occur. If you are in fact running a bukkit based platform, please open a new issue with the exact error (or ideally a full log, uploaded to a pastebin)

I'm using fabric. The plugin (or mod if you prefer) I mentioned ...

lilac dewBOT
#

Description

Currently, the root LP command (/lp, /lpv, /lpb, etc) is publicly accessible to all players, with a vague Running LuckPerms v5.4.### message should the calling player not have permission for any sub-commands. An exceedingly common FAQ in the support channels is "Is there a way to change this message" or "Is there a way to not allow users to run the command / see the tabcompletion for it"? In general, I agree, the fact that the command is exposed to everyone with no ab...

lilac dewBOT
#

Description

Hello. I use the latest version of Luckperms, but when LuckPerms uses a permission that is the default, for example, an Auth plugin /login command (no assigned permission), then the players simply do not have permission to use the given command.

Reproduction Steps

The nLogin plugin login and registration processes do not work using LuckPerms. By default there is no permission to use these commands, it should be default. Furthermore, the permissions of several plugins ca...

lilac dewBOT
#

Linking this issue here since it's somewhat relevant, though there is little discussion. Notably it was marked by Luck as Not planned.
https://github.com/LuckPerms/LuckPerms/issues/3729

That said, I'm very partial to maintaining expected behavior, so I believe either option 1 if we're going to engage in this, or 4.

While I don't think it's a particularly valuable contribution to the overall state of the software, I do think it would follow the expected behavior of plugins in general.
...

lilac dewBOT
#

Description

Just earlier, our server's luckperms got hacked by external people even though we did not give them any permission on the hosting. May I know how to prevent this or how did they do this?

Reproduction Steps

Let me know of a solution on how to prevent this.

Expected Behaviour

I expect to get the correct explanation and answer to our problem as server owners.

Server Details

RPG

LuckPerms Version

5.4.40

Logs and Configs

No response

Extra Detai...

#

Has LuckPerms been exploited/hacked?

Most certainly: no. In most cases a 'LuckPerms exploit' is a simple case of human error, which can be avoided easily. Look below for some tips to be on the safe side.

Don't give random people full ( * ) permissions / admin permissions

While this should be obvious, a lot of times a exploit can be traced back to faulty permission settings. You should always take your time with permissions and read the plugin documentations. In 99% of all cases ...

#

As per Frypan, whether intentional or not, your server is running in offline mode. This was either an intentional choice (in which case, this is what happens when you disable security settings), or you're running an improperly configured Bungeecord network, and a malicious actor was able to bypass the proxy and connect directly to the backend.

Either way, the attack vector is most likely the following:

  • Malicious actor learns the username of someone with full permissions
  • Malicious ac...
lilac dewBOT
#

Description

The group name seems to be having spaces when trying to add a group Assistant Staff Manager it supposed to be Assistant-Staff-Manager But it does Assistant-Staff Manager

Reproduction Steps

  • do /lp editor
  • open the link
  • create a new group
  • copy Assistant Staff Manager
  • paste Assistant Staff Manager into the group name

Here is a Video

Expect...

lilac dewBOT
#

I still have this problem. A player has a space in his nickname, for example "DAF MERKURIY", and when I try to give him rights, I get the message that the command is not recognized

/luckperms user "DAF MERKURIY" parent set donater

I also want to say that I have set allow-invalid-usernames=true, but it didn't help.
image

lilac dewBOT
#

Description

[18:33:37] [Server thread/ERROR]: Exception stopping the server
java.lang.NullPointerException: Cannot invoke "me.lucko.luckperms.common.webeditor.store.WebEditorStore.sockets()" because "this.webEditorStore" is null
at me.lucko.luckperms.common.plugin.AbstractLuckPermsPlugin.disable(AbstractLuckPermsPlugin.java:262) ~[LuckPerms-Fabric-5.4.102.jar:?]
at me.lucko.luckperms.fabric.LPFabricBootstrap.onServerStopping(LPFabricBootstrap.java:152) ~[LuckPerms-Fabric-5.4.102.jar...

lilac dewBOT
lilac dewBOT
#

Description

Permission checks do not work for me, not with any plugins, but luckperms itself works fine. In the same deluxemenus or mycommand. Previously, for some reason, everything worked, and then suddenly everything stopped working.

Let's say in deluxemenus in view_requirement, when I create a check for permissions, item is simply not shown, but when I create another check, say for money, then everything is fine. In mycommand itโ€™s the same.

I couldnโ€™t find a solution anywhere, ...

lilac dewBOT
lilac dewBOT
#

Description

This problem make my server lagging

Reproduction Steps

Pls update this plugin and fix this problem

Expected Behaviour

Pls update this plugin and fix this problem

Server Details

paper-1.20.4-45.jar

LuckPerms Version

5.4.121

Logs and Configs

[05:32:11] [Server thread/INFO]: [LuckPerms] Enabling LuckPerms v5.4.120
[05:32:12] [Server thread/INFO]: __
[05:32:12] [Server thread/INFO]: | |__) LuckPerms v5.4.120
[05:32:12] [Server t...

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

java.lang.NoClassDefFoundError: me/lucko/luckperms/lib/adventure/translation/Translator
        at me.lucko.luckperms.common.plugin.AbstractLuckPermsPlugin.load(AbstractLuckPermsPlugin.java:127) ~[?:?]
        at me.lucko.luckperms.velocity.LPVelocityBootstrap.onEnable(LPVelocityBootstrap.java:134) ~[?:?]
        at me.lucko.luckperms.velocity.Lmbda$10.execute(Unknown Source) ~[?:?]
        at c...
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Something else I've noticed is that it only ever seems to happen when someone is online. If nobody is on the server when it's stopped, the crash doesn't occur. A workaround might be to kick all players before issuing the stop command.

Another thing that might work is running save-all and save-off before stop, to prevent the crash from interfering with save state (which it seems to do sometimes).

lilac dewBOT
#

Description

After the server starts normally and Luckperms shows normal loading, using the command "/lp editor" has no effect and the reason cannot be confirmed.

Reproduction Steps

Start the server using the mohist-1.18.2-153 core and install plugins CMI-9.6.0.9, CMILib1.4.4.2, LuckPerms Bukkit 5.4.121, ProtocolLib, and Vault-1.7.3. Enable whitelist and enter /lp editor after the server starts normally

Expected Behaviour

In theory, it should output the website address of the ...

lilac dewBOT
#

Description

Hello! I have my own SMP MineCraft modded server and I'm having some problems at creating it.
Well, basically, the lug-in "Luck-Perms" is the things that's making no player get into the server. Me and the people who are creating the MineCraft server, we're trying to enter it, but it always appears a crash on the console
https://pastebin.com/0ya4tK0n

Reproduction Steps

I put the mods and plugins and luckperms start the server didn't show crash, so I went to enter the ...

lilac dewBOT
lilac dewBOT
#

This issue stems from network-related factors affecting your server's connectivity with the web editor servers at usersockets.luckperms.net. Given that it's taking an extended period to reach or establish connections with the editor servers, it's likely beyond LuckPerms' control and we'd advise you reach out to your host regarding potential issues with outbound connections on their end.

lilac dewBOT
lilac dewBOT
#

I donโ€™t even have anything in the console, where can I get information from, nothing just works for me, no matter what I try, everything I know, I wrote

I'm still having a difficult time trying to understand this issue and the information provided remains vague and lacks details. Please, refer to my initial message above and provide more and clear information about the issue you're experiencing.

lilac dewBOT
#

Description

For some reason I get some strange error when trying to connect to my database and every other plugin works just fine

Reproduction Steps

start the server

Expected Behaviour

server connects to database

Server Details

Velocity 3.3.0-SNAPSHOT (git-75d6dcc1-b371)

LuckPerms Version

v5.4.121

Logs and Configs

https://gist.github.com/Danieljunek17/72234d167d0228599cd32831c6aa6f82

Extra Details

This happend after I enabled cloudflare proxy and switc...

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

I donโ€™t even have anything in the console, where can I get information from, nothing just works for me, no matter what I try, everything I know, I wrote

I'm still having a difficult time trying to understand this issue and the information provided remains vague and lacks details. Please, refer to my initial message above and provide more and clear information about the issue you're experiencing.

In plugins such as deluxmenus there are checks for the playerโ€™s rights, and for some...

#

I donโ€™t even have anything in the console, where can I get information from, nothing just works for me, no matter what I try, everything I know, I wrote

I'm still having a difficult time trying to understand this issue and the information provided remains vague and lacks details. Please, refer to my initial message above and provide more and clear information about the issue you're experiencing.

Plugins like deluxmenus have checks for whether the player has permission, and for s...

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

This has now been ported to 1.20.5-rc2 and is ready for review. No further changes are expected for 1.20.5!

This port passes DynamicRegistryManager.EMPTY to text serialization to avoid having to pass wrapper lookups around. The main usage in text serialization seems to be item hover events, which are not used by this mod!

lilac dewBOT
lilac dewBOT
#

Description

I configured luckperm's config file with correct info, however, when player is trying to join the server, it shows errors below:

java.util.concurrent.CompletionException: java.sql.SQLTransientConnectionException: luckperms-hikari - Connection is not available, request timed out after 5000ms.
at me.lucko.luckperms.common.storage.Storage.lambda$future$0(Storage.java:91) ~[?:?]
at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:...

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

่ฏญ่จ€ๆฒกๆœ‰ๅŠžๆณ•่ฟ›่กŒ่‡ชไธป่ฏ†ๅˆซ

Reproduction Steps

ๆ’ไปถๅœจๅŽๅฐไปฅๅŠๅฎขๆˆท็ซฏไฝฟ็”จ็š„ๆ—ถๅ€™๏ผŒ่ฏญ่จ€ๆฒกๆœ‰ๅŠžๆณ•่ฟ›่กŒ่‡ชไธป่ฏ†ๅˆซ๏ผŒ้œ€่ฆๆ‰“ๅผ€่ฎพ็ฝฎๅˆ‡ๆขๅฎขๆˆท็ซฏ่ฏญ่จ€ใ€‚ไฝ†ๆ˜ฏๅˆ‡ๆขไน‹ๅŽๅŽๅฐไปๆ—งๆ˜ฏ่‹ฑๆ–‡ใ€‚

Expected Behaviour

ๆˆ‘ๅธŒๆœ›ๅฏไปฅๅœจconfigๆ–‡ไปถ้‡Œ้ข็›ดๆŽฅ่ฟ›่กŒ่ฏญ่จ€็š„้€‰ๆ‹ฉใ€‚

Server Details

Purpur 1.20.4

LuckPerms Version

5.4.124

Logs and Configs

No response

Extra Details

No response

#

Description

่ฏญ่จ€ๆฒกๆœ‰ๅŠžๆณ•่ฟ›่กŒ่‡ชไธป่ฏ†ๅˆซ

Reproduction Steps

ๆ’ไปถๅœจๅŽๅฐไปฅๅŠๅฎขๆˆท็ซฏไฝฟ็”จ็š„ๆ—ถๅ€™๏ผŒ่ฏญ่จ€ๆฒกๆœ‰ๅŠžๆณ•่ฟ›่กŒ่‡ชไธป่ฏ†ๅˆซ๏ผŒ้œ€่ฆๆ‰“ๅผ€่ฎพ็ฝฎๅˆ‡ๆขๅฎขๆˆท็ซฏ่ฏญ่จ€ใ€‚ไฝ†ๆ˜ฏๅˆ‡ๆขไน‹ๅŽๅŽๅฐไปๆ—งๆ˜ฏ่‹ฑๆ–‡ใ€‚

Expected Behaviour

ๆˆ‘ๅธŒๆœ›ๅฏไปฅๅœจconfigๆ–‡ไปถ้‡Œ้ข็›ดๆŽฅ่ฟ›่กŒ่ฏญ่จ€็š„้€‰ๆ‹ฉใ€‚

Server Details

Purpur 1.20.4

LuckPerms Version

5.4.124

Logs and Configs

No response

Extra Details

No response

lilac dewBOT
#

Description

On a velocity network, if someone gets the * permission or get inside a group, containing the * permission, the player gets kicked with the exception:

[08:24:05 ERROR]: [server connection] Fruxz -> lobby: exception encountered in com.velocitypowered.proxy.connection.backend.BackendPlaySessionHandler@73fecb05
java.lang.NullPointerException: permission
        at me.lucko.luckperms.common.cacheddata.type.PermissionCache.checkPermission(PermissionCache.java:98) ~[?:?]...
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Fwiw the following patch launches LuckPerms fine;

--- a/sponge/src/main/java/me/lucko/luckperms/sponge/LPSpongeBootstrap.java
+++ b/sponge/src/main/java/me/lucko/luckperms/sponge/LPSpongeBootstrap.java
@@ -49,6 +49,7 @@ import org.spongepowered.plugin.metadata.PluginMetadata;
 
 import java.io.IOException;
 import java.io.InputStream;
+import java.lang.invoke.MethodHandles;
 import java.nio.file.Path;
 import java.time.Instant;
 import java.util.ArrayList;
@@ -197,7 +19...
lilac dewBOT
lilac dewBOT
#

Description

We currently use %luckperms_groups% to display usersโ€™ groups when people hover over someoneโ€™s name in chat. This works well but is quite limited, as it's only displaying the rank groups by the "backend โ€œname, which does not actually reflect what the actual group is displayed as set by the meta prefix.

I'm wondering if we can get some placholders introduced which will displayer users highest inherited prefixes for each group that they are in.

Thanks!

![image](https:...

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

I am running a 1.20.1 server with luckperms 5.4.128 and get an error when trying to run the editor. Here is the error:

[16:52:25] [luckperms-worker-1/WARN]: [LuckPerms] Command execution [editor] has not completed. Trace:
java.base@17.0.11/java.lang.Object.wait(Native Method)
java.base@17.0.11/java.lang.Object.wait(Object.java:338)
me.lucko.luckperms.lib.okhttp3.internal.http2.Http2Stream.waitForIo(Http2Stream.java:660)
me.lucko.luckperms.lib.okhttp3.internal.h...

lilac dewBOT
#

Description

[04:57:57 WARN]: [LuckPerms] Command execution [editor, users] has not completed. Trace:

java.base/java.lang.Object.wait0(Native Method)

java.base/java.lang.Object.wait(Object.java:366)

java.base/java.lang.Object.wait(Object.java:339)

me.lucko.luckperms.lib.okhttp3.internal.http2.Http2Stream.waitForIo(Http2Stream.java:660)

me.lucko.luckperms.lib.okhttp3.internal.http2.Http2Stream.takeHeaders(Http2Stream.java:151)

me.lucko.luckperms.lib.okhttp3.internal.http2...

lilac dewBOT
#

Same here not working updated the plugin and server too
[02:37:36 WARN]: [LuckPerms] Command execution [editor] has not completed. Trace:
java.base@17.0.10/java.lang.Object.wait(Native Method)
java.base@17.0.10/java.lang.Object.wait(Object.java:338)
me.lucko.luckperms.lib.okhttp3.internal.http2.Http2Stream.waitForIo(Http2Stream.java:660)
me.lucko.luckperms.lib.okhttp3.internal.http2.Http2Stream.takeHeaders(Http2Stream.java:151)
me.lucko.luckperms.lib.okhttp3.internal.http2.Htt...

lilac dewBOT
#

Description

Hello there,

I've been using luckperms for three years now and I haven't encountered any problems. however, when it comes to a larger network of servers, where luckperms runs in bungee, managing permissions becomes quite complicated. so I came up with a suggestion: a comment function. thus, in the web editor we will have a new column, called comment. users will be able to write a specific message next to the desired permission, which will facilitate the management of hundr...

lilac dewBOT
#

Description

I need to autorise playsound command in a server. I used the "minecraft.command.playsound" to ad the habilitation, but still not work.

I don't know if an other one exist and is required for the plugin.

To ad more informations, I'm in server with mods and plugins

Reproduction Steps

impossible to use the command /playsound (except of admin)

Expected Behaviour

command work...

Server Details

Mohist 1.16.5

LuckPerms Version

last one

Logs and Con...

lilac dewBOT
lilac dewBOT
#

Description

A not-uncommon request I see in support channels is the ability to use what I'm calling "relative fixed" expiries in the various temporary commands. These are expiries that have a fixed expiry time (i.e. midnight), but a relative date (i.e. "in X days", "next Sunday", "the X day of the following month"). As expiries are already stored as fixed timestamps, and we already calculate offsets in most cases (the 4d2h0m syntax), this should be fairly simple and lightweight to impl...

lilac dewBOT
lilac dewBOT
#

Description

Velocity+Mohist

Reproduction Steps

Velocity have plugin Ambassador
Mohist have mod proxy-compatible-forge-1.18.2-1.1.4.jar and plugin luckperms-bukkit

Expected Behaviour

i'm try join mohist passthrough velocity server
i get this outout

Server Details

Mohist version 1.18.2-170 (Implementing API version 1.18.2-R0.1-SNAPSHOT, Forge version 40.2.17)

LuckPerms Version

v5.4.128

Logs and Configs

https://gist.github.com/8MiYile/73316608c595ccb6ce9cb1a6...

lilac dewBOT
#

Description

When using PostgreSQL as data storage it would be really handy to have an option to use an specific schema, that way a single database could be used on multiple purposes divided by schemas, for example in a network having a shared schema with permissions only could be really great.

Proposed Behaviour

Within configuration file being able to have some connection extra option for postgres like "schema" should be sufficient.

Extra Details

None.

lilac dewBOT
#

Description

[me.lucko.luckperms.lib.hikari.pool.PoolBase] luckperms-hikari - Failed to validate connection me.lucko.luckperms.lib.mariadb.Connection@7e20ff86 ((conn=5955) Connection.setNetworkTimeout cannot be called on a closed connection). Possibly consider using a shorter maxLifetime value.

Mariadb config: https://pastebin.com/QwTZjwDP
Luckperms config: https://pastebin.com/02Tkf6YF

Reproduction Steps

1

Expected Behaviour

1

Server Details

purpur 1.20.6-2211-3d256...

lilac dewBOT
lilac dewBOT
#

Description

On Forge 1.20.6 (and forge 1.19.1) using the pluginmsg messaging service does not work anymore.

Reproduction Steps

  1. Start forge 1.20.6 server
  2. Install LuckPerms
  3. Set messaging-service to pluginmsg
  4. Restart
  5. error

Expected Behaviour

For it to work (lol). Registration likely needs to happen earlier

Server Details

Forge 1.20.6-50.0.30

LuckPerms Version

v5.4.128

Logs and Configs

https://gist.github.com/powercasgamer/62ea56eab70712...

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

The player has 2 groups:

  • default (weight=1)
  • king (weight=3)

the default group has the right:
bending.ability.earthgrab = false

The king group has the right:
bending.ability.earthgrab = true

as a result, the player does not have the right to earthgrab, although this right is in the group with a higher priority.

Reproduction Steps

everything is described above

Expected Behaviour

the plugin will use the group right, with the highest priority

Ser...

lilac dewBOT
#

Description

Hello,
I am using MariaDB and I'm searching how to disable the table "luckperms_actions" as I'm using a single server.

Reproduction Steps

try messaging-service: notsql and messaging-service: none and check the table "luckperms_actions"

Expected Behaviour

The table should stay empty

Server Details

UniverseSpigot 1.20.4

LuckPerms Version

5.4.126

Logs and Configs

![image](https://github.com/LuckPerms/LuckPerms/assets/31826333/1372ff04-2b72-42d...

lilac dewBOT
#

That table is for saving action logs, it is not used for messaging and is available for all storage formats, local ones too. LuckPerms will save action logs when a change is made, e.g. when you run a command such as /lp group default permission set essentials.fly or make changes in the editor, LP will save a description of those changes in a readable log you can see with /lp log, see https://luckperms.net/wiki/Log-Commands

lilac dewBOT
#

Description

If the commands-allow-op config value in LuckPerms is set to false AND the config value auto-op is true AND a player has the permission luckperms.autoop, they can use all LuckPerms commands.

Reproduction Steps

Change the following values according to this in the config.yml

apply-bukkit-default-permissions: false
apply-bukkit-child-permissions: false
enable-ops: false
auto-op: true
commands-allow-op: false

Expected Behaviour

A player wi...

lilac dewBOT
#

Description

I used /papi ecloud download LuckPerms followed by /papi reload as per the wiki and receive this error: Failed to load expansion class LuckPermsExpansion (Is a dependency missing?)

Reproduction Steps

Using PlaceholderAPI file PlaceholderAPI-2.11.6.jar and LuckPerms file LuckPerms-Bukkit-5.4.128.jar all in plugins file running /papi ecloud download LuckPerms followed by /papi reload

Expected Behaviour

[PlaceholderAPI] Placeholder expansion registration initializing...

lilac dewBOT
lilac dewBOT
#

I've taken a look at the source code and figured that the reason this doesn't work is actually because if apply-bukkit-default-permissions is false, the commands-allow-op option is ignored as it is implemented using default permissions.

Two possible solutions are:

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

Hello, I think it would be great to have an additional command alongside the /lp user meta set command that allows adding or removing something to/from the value.

Proposed Behaviour

The current command /lp user meta set changes the value.

With the new command /lp user meta add or /lp user meta remove , you could modify the values by adding to or removing from the existing value.

Extra Details

I think this would be a simpler and better way to mo...

lilac dewBOT
lilac dewBOT
#

Something else I've noticed is that it only ever seems to happen when someone is online. If nobody is on the server when it's stopped, the crash doesn't occur. A workaround might be to kick all players before issuing the stop command.

Another thing that might work is running save-all and save-off before stop, to prevent the crash from interfering with save state (which it seems to do sometimes).

My Forge servers are having this issue as well. Did the above work around have s...

lilac dewBOT
#

Description

Heya, upon trying to stop the server, I often get an error saying "Exception stopping the server" that is to do with LuckPerms.
This only happens when a player is still on the server when the server stops.
If no players are online when the stop instruction is issued, everything is fine.

Reproduction Steps

Download LuckPerms Fabric v5.4.46 on Fabric 1.19.2 version 0.15.11.
(Possibly add the placeholder api hook for fabric too).
Join the server.
Stop the server while...

lilac dewBOT
#

Description

me.lucko.luckperms.lib.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Truncated incorrect DOUBLE value: '2024-06-01 14:58:30'
[15:42:44 WARN]: at me.lucko.luckperms.lib.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:104)
[15:42:44 WARN]: at me.lucko.luckperms.lib.mysql.cj.jdbc.ServerPreparedStatement.serverExecute(ServerPreparedStatement.java:637)
[15:42:44 WARN]: at me.lucko.luckperms.lib.mys...

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

Description

It would be great if it would be possible to pause the expiration of a lower weight groupie if the player has an active expiration of a higher weight groupie

Proposed Behaviour

Example:

  1. The player has a VIP expiration of 28 days
  2. Player receives VIP+ for 30 days
  3. VIP expiration is suspended for 28 days if VIP+ expiration is active
  4. VIP+ expiration will start after VIP+ expiration

(Note: VIP has a lower weight than VIP+)

Extra Details

No response

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

I am providing permission to users with settemp, such as experience boost. but there is a problem that the op's chat is seriously obscured.
Please add a silent(-s) argument to prevent LuckPerms LOG message from being output in settemp as well.

Proposed Behaviour

/lp user/group permission settemp [temporary modifier] [context...]
-> /lp user/group permission settemp [temporary modifier] [silent and else flags] [context...]
if command executed with silent ...

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

Description

Every time I restart my server this error appears

Reproduction Steps

Restart the server or turn it off:
[04:06:24 ERROR]: Error occurred (in the plugin loader) while disabling LuckPerms v5.4.131 (Is it up to date?)
java.lang.IllegalStateException: zip file closed
at java.util.zip.ZipFile.ensureOpen(ZipFile.java:840) ~[?:?]
at java.util.zip.ZipFile.getEntry(ZipFile.java:339) ~[?:?]
at java.util.jar.JarFile.getEntry(JarFile.java:517) ~[?:?]
...

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

We appreciate the interest everyone, but comments like "when will this be merged" or "any updates" do nothing but clutter the PR.

When Luck deems the PR ready, it will be merged. Keep in mind there's more thought that goes into adding supporting a new platform than just "does the code work", especially for a bleeding-edge platform like Folia.

If and when there is any updates, they will be posted here, on the Discord, or some combination thereof.

Thank you!

lilac dewBOT
#

Description

Postgres lets you a way to configure password with passfile. There are a lot of services that allow you to use that file instead a clear password (by specifing pass file in environment variable with _FILE in the end of name). That gives a way to use secrets in e.x. docker. Clear way can leed to password leaks from docker ispection.

Do you have this feature too?

Proposed Behaviour

Database password can be set by changing LUCKPERMS_DATA_PASSWORD environment variable ...

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

Description

I have tried changing the version, removing all the plugins, and it still doesn't work, I have used all versions 2023 and 2024 and it still gives the plugin deactivated error

Reproduction Steps

  1. I start the server

  2. I enter the server

  3. I enter the command /lp edit or any other

4.does nothing

Expected Behaviour

luckperms has always worked for me but not now

Server Details

1.16.5 (384 - 36.2.42) ARCLIGHT

LuckPerms Version...

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

as the title says, but 102 worked while 131 doesnt

Reproduction Steps

  1. Install latest luckperms on forge 1.20.1 server
  2. start
  3. crash

Expected Behaviour

Server loading up normally

Server Details

Forge 1.20.1

LuckPerms Version

5.4.131

Logs and Configs

FML: 47.2
Forge: net.minecraftforge:47.2.0[19:09:18] [main/ERROR] [minecraft/Main]: Failed to start the minecraft server
net.minecraftforge.fml.LoadingFailedException: Loading erro...

lilac dewBOT
lilac dewBOT
#

Checking permissions for vanilla commands is up to the platform to do, or an external mod/plugin that does it if the platform doesn't provide it, real Paper provides such check, other platforms like Fabric require a mod to add them; Mohist nott checking permissions like Paper does is not something LuckPerms can fix, LP allows you to configure the permission access.

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

I have issue where my server is spamming for luckperms wokers java.lang.ArrayIndexOutOfBoundsException

Reproduction Steps

i dont have any specfic steps to reproduce but i think it happend when i installed towny and towny chat plugin

Expected Behaviour

i dont think that exception should popup in normal working plugin behavior

Server Details

spigot-1.20.4

LuckPerms Version

v5.4.133

Logs and Configs

https://gist.github.com/cvetkokv/194e929736645e94...

lilac dewBOT
#

Description

I have a player on my server that cannot join the server. They are greeted with an "invalid player data" error when they try to join. I've had over 30 people connect to the server with no issues, however, this one person is having an issue and it looks like LuckPerms is causing it. They have the same modpack as everyone else.

Reproduction Steps

Player tries to join the server.

Expected Behaviour

The player tries to join but gets kicked before they even join the w...

lilac dewBOT
#

Description

Title. At the current state, you can only give players the permission to use the entire whitelist command. This includes turning the whitelist off. The additions of the minecraft.command.whitelist.add and minecraft.command.whitelist.remove will allow for finer control over which players can add or remove others from the whitelist without giving them the power to turn the whitelist off.

Proposed Behaviour

The permission minecraft.command.whitelist.add would allo...

lilac dewBOT
lilac dewBOT
#

ะ—ะดั€ะฐะฒัั‚ะฒัƒะนั‚ะต, ัƒ ะผะตะฝั ะฒะพั€ะปะด ัะดะธั‚ ะฒะพะพะฑั‰ะต ะฝะต ั…ะพั‡ะตั‚ ั€ะฐะฑะพั‚ะฐั‚ัŒ ั ะฒะพั€ะปะด ะณัƒะฐั€ะด, ัƒะถะต ัะบะพะปัŒะบะพ ะฒัะตะณะพ ะฟะตั€ะตัƒัั‚ะฐะฝะพะฒะธะป, ะฒะพั€ะปะด ัะดะธั‚ ะบะพะฝั„ะปะธะบั‚ัƒะตั‚, ั ะปะฐะบะธ ะฟะตั€ะผั ะธ ะฝะต ะผะพะถะตั‚ ะธะท-ะทะฐ ัั‚ะพะณะพ ะทะฐะฟัƒัั‚ะธั‚ัŒ ะฒะพั€ะปะด ะณัƒะฐั€ะด

#

`[21:04:24] [Server thread/ERROR]: Could not dispatch event: com.sk89q.worldedit.event.platform.PlatformReadyEvent@34afd85b to handler EventHandler{priority=NORMAL}
java.lang.reflect.InvocationTargetException: null
at com.sk89q.worldedit.util.eventbus.EventHandler.handleEvent(EventHandler.java:75) ~[?:?]
at com.sk89q.worldedit.util.eventbus.EventBus.dispatch(EventBus.java:193) ~[?:?]
at com.sk89q.worldedit.util.eventbus.EventBus.post(EventBus.java:181) ~[?:?]
...

lilac dewBOT
lilac dewBOT
#

Description

When trying to open a server with luckperms and LuckPerms-Fabric-PlaceholderAPI-Hook, the server brings up the following error:

java.lang.IllegalAccessError: class me.lucko.luckperms.placeholders.LuckPermsFabricPlaceholders tried to access private method 'void net.minecraft.class_2960.(java.lang.String, java.lang.String)' (me.lucko.luckperms.placeholders.LuckPermsFabricPlaceholders and net.minecraft.class_2960 are in unnamed module of loader net.fabricmc.loader.impl.launch...

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

i want to upgrade from old version (a year) of db to the latest and getting this error.
I didnt find any solution...

[03:33:26] [Server thread/WARN]: java.util.concurrent.CompletionException: java.lang.IllegalArgumentException: display name is empty
[03:33:26] [Server thread/WARN]: 	at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315)
[03:33:26] [Server thread/WARN]: 	at java.base/java.util.concurrent.CompletableFuture...
lilac dewBOT
lilac dewBOT
#

Description

It would be very helpful to have a command that would temporarily put you into some kind of permission test mode; where LP pretends like you're not OP or in a whole different group.

Proposed Behaviour

For admins, its not always clear what permissions have which effect; so they always have to fire up a secondary instance with an alt account for testing.

A command such as for example /lp simulate could work around this.
Verify for permissions is good, but it does n...

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

unless you need to test permissions for luckperms commands, you can simply give yourself the permission for /op (usually minecraft.command.op) and all luckperms permissions (luckperms.*), and that lets you de-op yourself, set whatever things you want to test, test them, iterate until it works how you want, then re-op yourself and set your group back to whatever you normally have. if you need to test permissions for luckperms commands, youd need to make the changes from console if you wa...

lilac dewBOT
#

Description

Users cannot connect to my lobby due to a database issue

Reproduction Steps

Starting the server

Expected Behaviour

The database would be connected and allow players in the server

Server Details

Paper 1.20.4

LuckPerms Version

v5.4.134

Logs and Configs

24.06 21:29:10 [Server] ERROR [luckperms]: Exception occurred whilst enabling SQL messaging service
24.06 21:29:10 [Server] INFO java.lang.RuntimeException: java.sql.SQLTransientConnectionException:...

lilac dewBOT
lilac dewBOT
#

Description

I am a user who appreciates the convenience and features of Modrinth, a modern platform for distributing Minecraft plugins and mods. Currently, LuckPerms is only available for download through your own website, which limits the options for automated download and management.

Centralized download options for users are great because they provide a streamlined and consistent experience, making it easier to find, manage, and update plugins or mods across different platforms or...

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

The dependency cannot be loaded, resulting in mysql being unable to connect. The following are the configuration and logs

Reproduction Steps

Config

storage-method: mysql
data:
  address: this_mysqlserver_addr
  database: mc_server
  username: mc_server
  password: 'this is password'
  pool-settings:
    maximum-pool-size: 10
    minimum-idle: 10
    maximum-lifetime: 1800000 # 30 minutes
    keepalive-time: 0
    properties:
      useUnicode: true
   ...
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

Few days ago, i was able to do /lp editor before and it gave me the link but now, it stuck on "preparing a new editor session, please wait..." It also do the same with other /lp command. I keep removing the plugin and put it back in, it did not fix it. Im not sure if there's an error or something that prevent it or the plugin is not stable

Reproduction Steps

  • Removing and re-adding the plugins
  • Do the /lp editor
  • The command works but does not give the link

Ex...

lilac dewBOT
#

Safe to ignore

Thiss is by far a good answer. There is something causing underlying issues and This OP is not the only person looking for a solve. I as well and so so many other people are searching for the Problem and a Fix. I see many people Using Gm seing it but I also see people getting the same problem on Luckperms b ut the issue we are all having is the Devs are NOT paying attention and trying to solve this issue WITH us and FOR US. WE DONT WANT A ( IGNORE IT ) This is NOT fixing t...

lilac dewBOT
#

This error (almost) always means EssentialsX encountered a tiny bit of lag when trying to fetch data on player login - which is to be expected since LP is still loading that user's data, hence Luck's response that it's safe to ignore.

If you are actually experiencing server crashes that you have logs indicating LP is at fault for, please open a new issue, instead of commenting on a one year old closed issue with no supporting information.

lilac dewBOT
#

Okey then please fix the error on your end. This is an error from
luckperms. Not us.

On Tue, Jul 2, 2024, 1:34โ€ฏPM Underscore11 @.***> wrote:

This error (almost) always means EssentialsX encountered a tiny bit of lag
when trying to fetch data on player login - which is to be expected since
LP is still loading that user's data, hence Luck's response that it's safe
to ignore.

If you are actually experiencing server crashes that you have logs
indicating LP is at f...

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

Running luckperms on my 1.20.1 forge cobblemon server. Everything works great till a player dies and respawns almost like the server can't find there data file. To fix it I have to delete that players data file. But if they die again, I need to delete it again. If I remove luckperms from the server everything is fine even after respawning. I have no idea what's going on with it. Here's a file of the exact moment of death and respawn from the console.
[New_Text_Document.txt]...

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

When trying to start, luckperms crashes the server.

LuckPerms (luckperms) encountered an error during the common_setup event phase
ยง7java.lang.NoClassDefFoundError: net/minecraft/server/network/ConfigurationTask

Reproduction Steps

Turn on the server after enabling the mod

Expected Behaviour

The server to boot

Server Details

Forge 47.3.4 1.20.1

LuckPerms Version

v5.4.134

Logs and Configs

https://gist.github.com/CodeOverloader/19de01...

lilac dewBOT
#

Description

LuckPerms Forge versions 5.4.133 and 5.4.134 are not compatible with NeoForge for Minecraft 1.21. The mod jar is being skipped during loading as it's detected as being for Minecraft Forge or an older version of NeoForge.

Reproduction Steps

Install NeoForge 21.0.61-beta for Minecraft 1.21
Add LuckPerms-Forge-5.4.133.jar or LuckPerms-Forge-5.4.134.jar to the mods folder
Attempt to start the server
Observe the error in the logs

Expected Behaviour

LuckPerms should ...

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

I have a memory leak on my velocity server, and in addition to it, I also have a pufferfish server on which I also have luckperms installed. I did a heapdumb and it turned out that the java.util.uuid class has 109 million objects, each with some entry about luckperms, nothing about other plugins. I don't know much about this.
Zrzut ekranu 2024-07-09 224835
![Zrzut ekranu 2024-07-...

lilac dewBOT
#

Those clents would just abuse bad plugins/mods.
The fact that they gain access to the console tells me that a plugin/mod gives them acces and LP does NOT do that, so having this wouldn't help at all...

It's a modded server like i said, i can not just go and ban a random mod or whatever mod does it because it will literally kill the whole progress because 95% of the mods are connected to each other and needs each other to work properly. That's how modpacks works, you can not jus...

lilac dewBOT
#

Description

I am divided on weather this should be an issue on nix-minecraft repo, or here, but I have decided to put it here. I believe luckperms download some dependencies automatically, and I'm not sure if there is a workaround, or a way I could install them manually.

Reproduction Steps

have the mods folder be a read only symlink.

Expected Behaviour

Luckperms doesn't crash

Server Details

fabric 1.20.4

LuckPerms Vers...

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

่ฟ™ๆ ท๏ผŒๆœๅŠกๅ™จ้‡ๅฏๅŽๅฐฑๅฏไปฅ่ฟ›ไบ†๏ผŒไฝ†่ฟ่กŒไธ€ๆฎตๆ—ถ้—ดๅˆไผš่ฟ™ๆ ทBE6B143CEC8EC0886ECAB8B260781C5E

Reproduction Steps

่ฟ่กŒไธ€ๆฎตๆ—ถ้—ดๅฐฑไผšๅ‡บ็Žฐ

Expected Behaviour

ๆš‚ๆ— 

Server Details

1.20.1

LuckPerms Version

5.4.137

Logs and Configs

No response

Extra Details

No response

lilac dewBOT
lilac dewBOT
#

Description

I'm running a velocity network. One of the server will be used for Pixelmon. After trying to set-up Luckperms multiple times, I can't connect to the server.

Console Messages:

  1. User a03f31a1-536b-4235-9613-0d1bac11fc0c - Optional[Its_Lazzy] doesn't have data pre-loaded, they have never been processed during pre-login in this session. - denying login.
  2. lost connection: [LP] Permissions data for your user was not loaded during the pre-login stage - unable to continue. ...
lilac dewBOT
#

Description

I often find myself in a situation where I could use more advanced customization options for Bukkit default permissions.
It usually looks something like this:

  • I use luckperms.autoop for administrators
  • I don't want administrators to have anti-permissions
  • I don't want to explicitly deny all anti-permissions
  • I don't want to use plugin developer defaults

Proposed Behaviour

See my PR

Extra Details

_No r...

lilac dewBOT
#

Description

Sometimes, behavior like more specific permission (like worldedit.selection.hpos) take priority over wildcards (like worldedit.*) is needed in server management.

For example, consider such a situation:
There are 3 levels of permisson groups in server: default, admin, super_admin

  • default is applied to common players.
  • admin is applied to OPs, but I need to disable some vanilla commands (such as fill, setblock, summon, etc.) via Vanilla Permissions mo...
lilac dewBOT
lilac dewBOT
#

Sure, the inherit from admin to super_admin is not proper. Actually, I set these perm groups separately, but let super players have both parent groups admin and super_admin.

Generally, permissions in super_admin should override admin unconditionally, as I have given it higher weight than admin. However, the default behavior of specific permissions take priority over wildcards breaks this expectation.

lilac dewBOT
#

Description

ๅœจๆˆ‘่Žทๅพ—ไผ ่พ“ๅˆฐๅ…ถไป–ไธ–็•Œ็š„ๆƒ้™ๅŽ๏ผŒๆˆ‘ๅฐ†ๅคฑๅŽป่ฎธๅฏใ€‚่ฟ™ไธช้—ฎ้ข˜ๅœจ้€€ๅ‡บๅ’Œ้‡ๆ–ฐ่ฟ›ๅ…ฅๆœๅŠกๅ™จๅŽไผšๆถˆๅคฑ๏ผŒไฝ†ไธ€ๆ—ฆๆˆ‘ๅ†ๆฌกๅผ€ๅง‹ไผ ่พ“๏ผŒๅฎƒๅฐฑไผšๅ‘็”Ÿใ€‚
I don't know if it's a plug-in problem. I use a hybrid server (version 1.18.2 cat serverยฅ

Reproduction Steps

ไฝฟ็”จcatserverๆ‰“ๅผ€ๆœๅŠกๅ™จ๏ผŒThen load the Multipleversecore plug-in and the permission plug-in, and give tp permission after creating a new world. After successful transmission, the permission will be lost.

Expected Behaviour

Uploading CatServer-1.18.2-edda1229-server.zipโ€ฆ
Please tell me if this need...

#

Description

After I get permission to transmit to other worlds, I will lose my permission. This problem will disappear after exiting and re-entering the server, but once I start the transmission again, it will happen.
I don't know if it's a plug-in problem. I use a hybrid server (version 1.18.2 cat serverยฅ

Reproduction Steps

Use catserver to open the server
Then load the Multipleversecore plug-in and the permission plug-in, and give tp permission after creating a ne...

#

Description

After I get permission to transmit to other worlds, I will lose my permission. This problem will disappear after exiting and re-entering the server, but once I start the transmission again, it will happen.
I don't know if it's a plug-in problem. I use a hybrid server (version 1.18.2 cat serverยฅ

Reproduction Steps

Use catserver to open the server
Then load the Multipleversecore plug-in and the permission plug-in, and give tp permission after creating a ne...

lilac dewBOT
lilac dewBOT
#

Description

[18:14:58 WARN]: [LuckPerms] [DB Upgrade] Found an old (v1) H2 database file. LuckPerms will now attempt to upgrade it to v2 (this is a one time operation).
[18:14:58 INFO]: [LuckPerms] [DB Upgrade] Stage 1: Exporting the old database to an intermediary file...
[18:14:59 INFO]: [LuckPerms] [DB Upgrade] Stage 2: Importing the intermediary file into the new database...
[18:14:59 WARN]: [LuckPerms] Something went wrong whilst upgrading the LuckPerms database. Please report th...

lilac dewBOT
#

Description

Please add compatibility for additional permissions for bedrock players. This allows you to e.g.

  • Create scoreboard only for bedrock
  • With additional permissions display messages only for bedrock
  • Additional commands only for bedrock players
  • Many possible uses (by configuring plugins accordingly)

Proposed Behaviour

Add permissions for a player with platform context. A player logging in through a given platform has a different set of permissions.

Extra Deta...

#

LP has no way of determining if a player is logging in via Geyser or not - Geyser's entire point is the rest of the server thinks they're on Java like normal.

Additionally, integrations with 3rd party plugins are best handled by either the plugin itself (i.e. Geyser) or third party resources (such as the one you linked). There's no advantage to be gained by adding additional plugin-dependent contexts to the core LP, aside from adding bloat to servers not using said plugin.

lilac dewBOT
#

Description

I have a plugin that communicates with the proxy side to communicate and send information over, the problem is that it seems that when LuckPerms is on the proxy, for some reason the plugin messaging don't work very well, it seems fails most of times and its been quite some time until i figured out it was luckperms blocking this, if i remove LuckPerms from proxy, it seems it got working. I already checked several times if i'm communicating in the right away and everything seem...

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Description

We've noticed change in behaviour in the permission system, as it has a chance of reverting a certain permission (think prison, rank a to b). If a person is b, they sometimes reset to a with no clear cause. We recently upgraded from luckperms (forgot which version, oops) to the latest version. And upgraded java 8 to 21.

Reproduction Steps

Honestly not clear, it's been at random intervals with no logging that accompanies the reverting

Expected Behaviour

Not reverti...

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

Description

I tried to upgrade my server from 1.17.1 to 1.21, but the LP database continues to fail to upgrade, even when restarting the server and my PC. The 1.17.1 server also ran on Fabric (the specific version is fabric-server-mc.1.17.1-loader.0.15.11-launcher.1.0.1), as does my 1.21 server.

Reproduction Steps

Create a DB on Fabric 1.17.1
Create some permission group and assign players to them
Upgrade the DB by running the server on Fabric 1.21 with a new mod version

Exp...

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

Looks like ModContainer is used much more often.
Mod authors can get their ModContainer by declaring it as a parameter of their @Mod class constructor:
https://github.com/LuckPerms/LuckPerms/pull/3950/files#diff-8f07a3e4f1d64aac49ffd7402fba4eb0e5028ee62fedc1f5bfd5f91101caf111R52

The ModContainer seems to be more analogous to a Plugin as well, with IModInfo being more like the plugin description. Extension points, configs, etc are registered through it.

lilac dewBOT
lilac dewBOT
#

Description

When I connected Forge 1.21 server with luckperms(latest). And then disconnect cause by: mismatched mod channel list.
I found any error messages, I thought it's luckperms error

Reproduction Steps

Luckperms Forge 5.4.137

Expected Behaviour

[098ๆœˆ2024 11:58:45.334] [Netty Server IO #3/ERROR] [net.minecraftforge.network.NetworkRegistry/NETREGISTRY]: Channels [luckperms:update] rejected their client side version number
[098ๆœˆ2024 11:58:45.336] [Netty Server IO #3/ERRO...

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

if all your plugins are doing this on startup (as opposed to on a reload), i suspect this malware from some other plugin that has injected itself into every jar it can find. if this issue still occurs with other plugins if you remove LP from your plugins folder, then this is not an issue with LuckPerms. If it does not occur after removing LP, download the latest version from the website and send a full log (not a partial log)

lilac dewBOT
lilac dewBOT
#

is there anything in the works to officialy add support for this platform with a library?

@Danieljunek17 I don't think there is any official work yet. I don't think the LuckPerms developers have interest at the moment (mainly because it is not as popular as compared to Spigot, however there is a new YouTube tutorial that might change that).

lilac dewBOT
#

Description

minecraft.command.selector is true, but player cant use selector in command.

1.21 is working but 1.21.1 is broken

Reproduction Steps

/minecraft:kill @e

Expected Behaviour

Selector not allowed
...raft:kill @e<--[HERE]

Server Details

Paper version 1.21.1-15-master@11b4ac7

LuckPerms Version

v5.4.139

Logs and Configs

No response

Extra Details

No response

lilac dewBOT
#

Description

Hi, I have default rank players weight setting 1 receiving permissions set for higher ranks/levels main two permissions I have noticed are affected so far is essentials.fly and veinmining. I have recenlty update the plugin to your latest version which I believe may be the trigger that has caused this.

Reproduction Steps

Not 100% clear as I do not know the exact cause behind why the plugin would be applying permissions incorrectly. I guess obtaining a 1.21 paper serve...

#

Well given there clearly seems to be an issue with permissions and how they are being applied as evidenced with other similar tickets it surely is worth you looking at rather than just sending a very bland reply.
If you tell me what sort of information you want/need that would assist you then maybe we can move this forward rather than ignoring the issue and hoping it will go away?
I have just managed to get fly fixed by completely removing ther permission via the web editor and hitting sa...

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

Description

So i have a server hosting with Mohist 1.19.2 (i know i lot of people don't like it but is the only oprtion i have to put mod and plugins together in my server host)
I made my self Owner here is the link for the Permissions i made :

https://luckperms.net/editor/Gkds2kOJGb

plugins in game are all green so they work properly (not really but that's anoth issue i wil ask for help later one)
(plugins i have are : EssentialsXCha , EssentialsX , EssentialsXSpawn , Vault )
...