Do you think it makes more sense to create another config key for the multiple addresses or that I offer support for a string & a string list from the old config entry?
#issues
1 messages ยท Page 2 of 1
Do you think it makes more sense to create another config key for the multiple addresses or that I offer support for a string & a string list from the old config entry?
Should check if address exists and use that (and possibly migrate that to addresses), if it doesn't exists use addresses
I changed something. Does that correspond to such an idea?
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 ...
The suggestion list is exactly that - a list of suggestions. It's not a full set of permissions available on your server.
If a permission doesn't show in the list, you can still write it in the input.
Also would be helpful if you showed what you're actually setting, and a list of plugins on your server.
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...
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...
Description
This following error shows up on server startup:
[09:26:33 INFO]: [LuckPerms] [DB Upgrade] Stage 1: Exporting the old database to an intermediary file...
[09:26:33 INFO]: [LuckPerms] [DB Upgrade] Stage 2: Importing the intermediary file into the new database...
[09:26:33 WARN]: [LuckPerms] Something went wrong wh...
Description
Hello so basically im using arclight it allows you to use forge mods and spigot/bukkit plugins in one server
and my problem is when i put customnpc mod and try to join server it gives that error that i put in photo
and when i remove the mod i can join to the server or when i remove the luckperms i can join to the server again
what should i do i dont know
...
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
- Create three groups A, B, C
- Summon them together in a track named player
- Use the Placeholder %luckperms_current_group_on_track_player% in a hologram or scoreboard or whereever.
- Do /lp user Pokemoon group add B
- The placeholder should sti...
parent settrack sounds like what you want.
Also, placeholder %luckperms_<prefix|suffix>_element_<element>% accepts any of the prefix stacking elements, meaning %luckperms_prefix_element_highest_on_track_<track>% is possible, among other potentially useful combos.
Thanks, but this seems like a premature fix (we only ever insert into this map from a single thread)
Yep much better, can we keep the config how it was before? (most people I assume will only be using a single instance)
Do you mean that in the default config there is only address instead of addresses and that addresses then only says in the wiki that this is available?
I'll do it for you right away. But I also write that in the comment above the section so that you can read it directly in the config that you can add multiple nodes.
Is now back with before!
The unit/integration tests are failing, I think probably just an import that needs to be updated in the standalone module
The old Jedis version doesn't include some features that I used. I think it was because of that.
That's fine, you'll also need to update this file https://github.com/LuckPerms/LuckPerms/blob/master/common/src/main/java/me/lucko/luckperms/common/dependencies/Dependency.java
and run the DependencyChecksumTest to figure out the new hash
I have adjusted.
I tested it on Velocity 3.2.0-SNAPSHOT and Paper 1.19.4 with two Redis Nodes (7.0.11).
I can not understand. My tests pass at my place?
I refresh my whole local project. I'm very confused right now, sorry.
By default the docker integration tests are skipped, try commenting out this line
and running the redis test :)
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.
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...
Runtime loading/disabling/reloading of LP with Plugman or similar is not supported. Restart your server.
As for the actual issue, LP does not touch any ingame events i.e. block break, another plugin is at fault.
No problem - the tests did their job then! :)
Description
The server crashes after starting with LuckPerms enabled due to Mixins failing to apply
Reproduction Steps
- Setup a Fabric 1.19.2 server](https://fabricmc.net/use/server/)
- Install fabric-api and LuckPerms
- Try running the server
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
The latest available version as of right now is not made for 1.19.2. Try this build instead.
thanks, please add in your website link like "older builds" , thank you
The tests pass and now it also works for non-Redis cluster setups. I also tested it again myself, for single node setups, with the latest Redis Docker Version, Velocity 3.2.0-SNAPSHOT and Paper 1.19.4.
Please have a look again ๐
The issue persists on a clean installation with no plugins other than LuckPerms installed.
I am disabling LuckPerms using Plugman just for comparison. After disablement the issue no longer occurs. The issue also does not occur if the server is started without LuckPerms installed.
Have you tried without luckperms and manually /op the player?
LP de-ops auto-op'd players when they leave or the plugin is disabled, so disabling luckperms during runtime will remove the op status and the state you are trying to reproduce is different by then.
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...
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...
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 ...
parent settrack sounds like what you want.
That is exactly what i wanted i think! Thank you!
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...
Fine, you can merge it now, sorry for the long words, I couldn't explain it otherwise
Btw I have tested it already on my server with modified luckperms jar and my plugin using modified api and it works fine on all true/false/not specified booleans.
If possible please release a new version and api asap after this pr
What are you trying to do in your plugin?
So you want to be able to delete a user?
So you want to be able to delete a user?
Yes,
this PR also fixes the issue, I tested it
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...
Most websites are built with the wordpress engine
what?
im not quite sure what you are trying to do, but something like this seems like it could (and should) be handled by an extension using the api
Description
Hi, I've been using luckperms for several years and I would like to share my suggestion that may be useful to a lot of people
Placeholder
%luckperms_group_expiry_time_highest%
%luckperms_group_expiry_time_primary%
Proposed Behaviour
it will be useful to show the player on e.g. scoreboard when his rank expires
Extra Details
No response
I have committed a fix for the underlying issue & validated with unit tests that LP is now behaving correctly. This workaround should not be necessary :)
https://github.com/LuckPerms/LuckPerms/commit/9f1e74fa7c5ce8226d92a9ab02aa383111c6c461
I have committed a fix for the underlying issue & validated with unit tests that LP is now behaving correctly. The workaround added in this PR should not be necessary :)
Great, it works, thanks.
Description
Hello, my suggestion is that you need a permission to be able to complete something in the tab.
Proposed Behaviour
This means you don't have to use another plugin, most of which don't even have an API.
Extra Details
No response
Needs rebase, but this seems to work for me on 1.19 Folia
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
Description
Migrating the 2 plugins mentioned above to Modrinth would help a lot
Proposed Behaviour
Migrating the two above-mentioned plugins to Modrinth would help a lot there is more control by modrinth when it comes to viruses and the like and then they respect more the authors also have monetisation which gives the authors 100% of the income
Extra Details
No response
LPC is not made by or related to LuckPerms.
And Luckperms is already on Modrinth https://modrinth.com/mod/luckperms
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...
Apologies for LPC I forgot I wrote the problem quickly
But on modrinth I notice that it is only mod and not for servers
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
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...
Turns out there is a new version of JedisPool called JedisPooled which implements a common interface to JedisCluster, which makes things a bit tidier I think :)
I've re-ran the tests and everything looks good! Thanks for the PR :)
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....
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...
Rebased and added support for MC 1.20.1 :) LuckPerms-Bukkit-5.4.96.jar.zip
Please try the following steps:
- stop your server
- take a backup of the LuckPerms folder
- in the LuckPerms folder, rename
luckperms-h2-v1-backup.mv.dbtoluckperms-h2.mv.db - delete all other files related to "luckperms-h2". you should just have a file called
luckperms-h2.mv.db - start the server again
LuckPerms has been using jar-relocator 1.7 since this commit https://github.com/LuckPerms/LuckPerms/commit/6d2a5a63171e1084c5ccb9634aecea0931638827 (LP v5.4.80)
I suspect that upgrading to the latest version will fix the issue, but feel free to comment/re-open this ticket if it does not.
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...
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) ~[?:...
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
- Register listeners for NodeMutate, NodeAddEvent and NodeRemoveEvent.
- Make them print any debug message.
- Compile an...
please use something like pastes.dev to upload a full log, not just the error
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...
nvm, luckperms site says api 4 and higher. theres also 3 and lower
idk if its accidental or not to leave that there
Luckperms for Sponge API 7 can be found here, as it is no longer being updated: https://ore.spongepowered.org/Luck/LuckPerms/versions/5.3.98
Description
Vanilla commands are not visible in luckperms autocompletions and doesn't work after I add them manually. I just copied commands from luckperms wiki to allow ban command, but it just doesn't work. Luckperms see only some mods' commands (ledger, commandspy, armor_stand_editor, polymer, voicechat, luckperms), but can't see others
Reproduction Steps
/lp creategroup ad...
vanilla does not have permissions. you need a mod to add them, such as https://github.com/lucko/minecraft-command-permissions-fabric/releases
Thank you for your answer. This mod is not updated to 1.20, but I found a new one in its issues: https://modrinth.com/mod/vanilla-permissions
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...
im not sure what youre askling for, but this error message should be all thats needed. there is a zip file that is being accessed but has already been closed
this error alone is not enough to tell you exactly what is causing it
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...
Issue is still present in 5.4.98
Can you also provide your code that you used?
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
Extra Details
I happens everytime I run my server.
Description
Unable to get LuckPerms session/link when using lp editor on console/rcon.
Reproduction Steps
Run lp editor on console/ over rcon
Expected Behaviour
Should output a link to the editor
Server Details
paper-1.20.1-60
LuckPerms Version
v5.4.98
Logs and Configs
Extra Details
No response
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...
if you reloaded luckperms, then that is most likely the cause of the issue. reloading plugins is strongly discouraged for exactly this reason.
I didnt mean I reload LuckPerms, i used it to reload other plugins (mainly the ones I code), and maybe PlugmanX "injected" something? or changed the behaviour of plugin manager which caused LuckPerms to break.
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...
CachedMetaData.getPrefix() is able to return null when there is no resulting prefix (no prefix was set, no existing prefix applies in current context, etc.). If that's unexpected, it suggests wrongly configured prefixes in your permission setup or plugin configuration.
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...
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
...
LuckPerms has been using jar-relocator 1.7 since this commit 6d2a5a6 (LP v5.4.80)
I suspect that upgrading to the latest version will fix the issue, but feel free to comment/re-open this ticket if it does not.
The issue is still happening with latest LuckPerms and LibertyBans
Description
Instead of having 5 different JARs for the same plugin just different softwares, compile it all into 1 jar like LiteBans. Makes it simpler for end-users.
Proposed Behaviour
Compile all jars of luckperms into 1 jar.
Extra Details
No response
This wouldn't work for multiple reasons, one of those being that both the bukkit module and nukkit module require a plugin.yml
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 ...
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-...
Description
When try use /stop command server console freez and cant close
Reproduction Steps
.
Expected Behaviour
.
Server Details
Forge 1.19.2
LuckPerms Version
LuckPerms-Forge-5.4.66
Logs and Configs
https://pste.ch/abexefilos.sql
Extra Details
No response
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...
Description
It would be good if the log showed the exact date instead of the time it happened.
Proposed Behaviour
Screenshot:

Extra Details
No response
Hovering your cursor over the time since the log's recording already displays the date & time as shown in #3597
@emilyy-dev Hovering doesn't work - nothing is showed on hover
it's a fairly recent change, make sure you have luckperms updated. https://luckperms.net/download
I'd also want the player to joining and exiting a privilege group by activate the command block, it must Target Selector can be used in Luckperm command XD
Perfect, worked. Thanks.
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
seems awfully similar to #3628
There exists nukkit.yml
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...
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
###...
i assume you are trying to negate "123" for that user, but that permission is in your default group. you would need to use permission set 123 false instead of permission unset 123.
No i really want to unset (for the User Not the Group) it. And any idea Why i can Not Change ranks
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.
###...
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...
the is no permission for the tab completion as there is no permission for the command itself. any player can use /lp, /lpv, or /lpb to see the luckperms versions
Yes his Idea is to set a permission for that
the is no permission for the tab completion as there is no permission for the command itself. any player can use
/lp,/lpv, or/lpbto see the luckperms versions
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...
please send a screenshot of the output of /plugins. in the future, you should follow the issue template
consult the docs for pl-hide to see how to allow commands, or alternatively, remove it entirely
Because noone will show everyone wich plugins she use
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...
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...
its worth noting that the value of what is currently the "world" context on the proxy may not always be the same as value of the "server" context on the backend server. "world" on the proxy uses the proxies name for that server, while "server" on the backend uses the first config option in the luckperms config
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 ...
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...
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.
anyone have an idea how to fix this?
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.
Without logs, server details, and LP versions, there is absolutely no way we can possibly diagnose a crash, let alone fix it. Please follow the issue template.
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
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...
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...
reproduce with only LP and chunky installed
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
Modify the error above by adding the following message:
To allow i...
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...
Assuming all data is displayed as expected for /lp user <affected user> info, this is out of scope for Luckperms. LP only manages the data and makes it available for other plugins to display - if they aren't displaying it correctly, that's not on us.
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...
[LuckPerms/LuckPerms] Issue opened: #3725 Add option to throw `ServerThreadLookupException` silently
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...
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 ...
Yeah, thanks, I know about that setting. In my case I don't want to allow [shitty] plugin to slowdown my server w/o any warnings (or just turn that warnings into one line message), not allow it and get rid of warnings. But there's no way to do that, so I created this issue.
I am unable to reproduce this. It would be very helpful to have the proxy's thread call stacks for when this happens and further diagnose what things are locked on, you can obtain it using the jstack command (bear in mind this command is part of the JDK and not the JRE)
I do have a heap dump of when this occurred. I'll check that.
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 ...
This is unrelated to LuckPerms. You've already received a response on the EssentialsX github issue linked here.
This is unrelated to LuckPerms. You've already received a response on the EssentialsX github issue linked here.
yes i got it taken care of. I forgot i had that plugin installed, dummy moment haha.
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...
I forgot to mention that i can give permissions or set higher Ranks. Not below ranks and unset permissions
I have a suspicion that this is due to the postgresql driver using DriverManager.getConnection instead of using its own driver class directly (this is in BaseDataSource.getConnection), and the DriverManager might pick a registered postgresql driver that is different from the one in "this" driver, although the DriverManager does have s...
Description
README says that java 8+ is required, but build process says 17 is minimum, at java 17 error appears:
Reproduction Steps
git clone project then build it
Expected Behaviour
working jar
Server Details
no server
LuckPerms Version
latest
Logs and Configs
No response
Extra Details
No response
that just looks like the tests for the standalone version are failing, and the actual compile task appears to have run fine
anyway, README is wrong, java 8 is not supported by fabric/forge
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:
- Made myself OP
- Execute
/lp editor - Within the web editor, I have set
*...
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...
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...
(correctly written) plugins will hide their commands if users do not have permission to use them. luckperms itself does not control this. luckperms does hide its subcommands if you dont have permission to use them, but since there is no permission for just /lp, luckperms does not hide it as the player is allowed to run that command.
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...
Description
error while stopping a server
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...
Description
temp group doesn't work properly
yesterday I gave user yagami supreme group for a month but today his temp group is gone I did run lp log userhistory yagami and nothing changed in logs but his rank is gone
Also yesterday I checked his info to make sure I added the rank and duration correctly and it was fine
Also multiple user reported this issue on my server
...
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...
UP. I need this feature too
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...
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...
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...
Description
I suggest adding Apache Kafka support I suggest adding Apache Kafka support.
Proposed Behaviour
Forwarding messages between servers using Kafka
Extra Details
No response
Description
A friend and I are trying to setup LuckPerms on our server but the titles are only showing on the TAB list and not in chat. We tried the commands that should've fixed it but nothing worked.
Reproduction Steps
Followed the commands from th...
LuckPerms does not format the chat. You need a chat formatting plugin for your prefixes to be displayed.
Additionally, if the prefix defined within LuckPerms shows when running /lp user <user> info, then LuckPerms is doing its job.
On our wiki page, you can find some chat plugin recommendations that go along with LuckPerms which you may want to checkout. Link here.
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...
PAPI cannot pull values from luckperms on a proxy. luckperms must be installed on the backend for PAPI to be able to get data from it.
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...
this issue should probably be moved to https://github.com/LuckPerms/migration
Description
The add action would allow admins to add new permission nodes to players depending on nodes they already have.
Proposed Behaviour
Example of the command would be /lp bulkupdate users add permission.one "permission == permission.two". It would allow admins to grant new permissions easily automatically.
Extra Details
No response
Description
when doing a mass add to context field it puts in characters
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...
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...
the latest version of luckperms only supports API 8, which is for 1.16.5, not 1.20.1
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.
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.
The same thing happens from time to time
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...
just an FYI I see this error still and it happens whenever I execute a full server restart from pterodactyl console
old fabric and forge releases can be found on Modrinth or CurseForge. The reason old versions are not saved on download.luckperms.net is because that is basically an alias for the Jenkins CI that actually builds each release of LuckPerms and that doesnt keep old builds
also the latest release is actually ~13mb because it has separate jars for 8 platforms, and since th...
old fabric and forge releases can be found on Modrinth or CurseForge.
Thank you that's really useful. We changed our download link to download the package from CurseForge, hopefully it doesn't break.
I guess it solves my immediate issue, but I still think that it would be nice if the official links didn't break. But feel free to close this issue if you're against...
I'm facing the same issue
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.
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 ...
Description
Motivation:
Some plugins/mods (especially mods) don't use a permissions api. Instead, they check the Permission Level of the user. For instance, carpet mod checks if the player has permission level 2 or above to let you spawn a fake player in a certain gamemode source.
Propo...
Description
So basically when i try exporting from current storage type into another, it does not include tracks, only groups and users saved permissions and properties.
Proposed Behaviour
I think it should include tracks too.
Extra Details
No response
It's ready to use, you don't need wildcards, latest version of minestom has it built in.
I tried this but when someone sets permission from another server it doesn't update permissions in minestom server so i can still use /lp commands
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
- Export MongoDB database to .js file dump.
- Remove database
- Import dump from step 1 again to MongoDB. All tables are fine. But Permissions are broken an...
You'll need to be more descriptive as to what "permissions are broken" means. Additionally, please provide full console logs.
While it shouldn't matter in this case, "latest" is not a version. If asked for a version of something, please provide an actual version number.
- 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)
- I dumped LuckPerms database to file
LuckPerms.js(Pastebin). - Deleted LuckPerms database
- Created new LuckPerms database
- Executed dumped file
LuckPerms.jsand make sure that all tables (collections) with permissions were imported
Then I tri...
Also can you tell which DBMS is more optimal for permissions storage? Maybe MySQL is faster? Do you have stress-testing benchmarks in comparison of different storage types?
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
- Have a mod that does something on death and interacts with luckperms
- Die in game
- Can't respawn correctly
- 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:/...
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:...
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...
when making commands, you should be using the api to make requests like this
when making commands, you should be using the api to make requests like this
I make a command through a plugin, I don't create the plugin itself.
[LuckPerms/LuckPerms] Issue opened: #3751 Ignore default group when doing track promotions/demotions
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...
thank you :) we we had the same issue on our server
thank you :) we we had the same issue on our server
You're welcome. I'm hopeful that it will help many people and that LuckPerms will accept the PR due to the nature of the bug.
.
don't post useless comments on prs
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
- Start a server
- Log in to the server with a minecraft account
- Try to stop or restart the server while you are still logged in.
Expected Behaviour
Not to halt the restart...
Description
This will never work with address of type [xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx]:YYYY
Reproduction Steps
Use ipv6 for database
Expected Behaviour
For it to work
Server Details
This server is running Purpur version git-Purpur-2056 (MC: 1.20....
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...
Description
luckperms is causing high ticks
Reproduction Steps
actually idk
Expected Behaviour
no lag
Server Details
Pufferfish version git-Pufferfish-22 (MC: 1.17.1)
LuckPerms Version
v5.4.102
Logs and Configs
No response
Extra Details
_No re...
LuckPerms is responding to a high amount of permission checks made by other plugins. A full spark report would be more useful here to clear the air and gather some additional info on this, however, this is not something directly related to LuckPerms.
Description
Mixin injection fails while starting the server, see logs attached
Reproduction Steps
Start a fabric server with the fabric version of luckperms
Expected Behaviour
The server starts normally
Server Details
Minecraft 1.20.2 with Fabric Loader 0.14.22
LuckPerms Version
5.4.102
Logs and Configs
https://gist.github.com/hex-agon/a5c8430c185f4d819ea3683de70ab6a9
Extra Details
No response
Should be fixed in the latest version of the placeholder expansions.
Download from here: https://ci.lucko.me/job/LuckPermsPlaceholders/Thank you very much but I via download cmd "/papi ecloud download LuckPerms". Please update.
Displaying 58m 50s how can I change minute, second display. I want to change to 58dk 50sn
please anwser i want same thing too
This issue is really old. I suggest you visit the discord next time for faster reply. I made a script that lets you change the time units and some more qol stuff here.
Description
I don't know
Reproduction Steps
I don't know
Expected Behaviour
I don't know
Server Details
git-catserver-74 MC:1.16.5
LuckPerms Version
5.4.102
Logs and Configs
https://gist.github.com/yuankun1/58c261bb761fa6ad9d2dd55f9a596a25
Extra Details
No response
Bukkit and Forge hybrids, such as the server software you're using - CatServer, are not officially supported.
Please reproduce on a platform LuckPerms supports and install the proper LuckPerms jar from the download page.
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::...
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 ...
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...
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.
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...
This is known. Please disable your antivirus or add luckperms.net to the whitelist if possible. It will remain this way until I can get them to remove the block (it happened a few months ago as well).
this is a closed issue from 6 years ago. is there any particular reason you needed to comment on this?
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...
I'm sorry, I didn't see this!
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...
Caused by: java.net.SocketTimeoutException: connect timed out
firewall or your using the wrong IP in config
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...
you've done it wrong then, because it has nothing to do with luckperms, its a database connection issue
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.
It was hosting issue they said that it was bugged but finally they fixed it so it was ultimately their fault
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...
Luck is just a very busy guy and doesn't have time to send updates to the many platforms LP is hosted.
Probably would be worth setting up some sort of automation to upload versions to Modrinth (and other platforms with an API) as part of the build process in Github Actions.
If that is possible, I'd like to make that my suggestion. I'll add it to the OP
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...
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...
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...
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...
unless this is actually preventing it from loading data, you can just ignore the warning
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
@Aurelien30000 Can you re-open the PR? I'd like 1.20.2 support very much.
Description
Hi, when i restart my server i constantly get this error: https://hastebin.nl/1bFkzL9 any idea what it could be?
Reproduction Steps
Stop or restart the server using /stop
Expected Behaviour
No errors or whatsoever.
Server Details
git-Purpur-2082
LuckPerms Version
5.4.104
Logs and Configs
https://hastebin.nl/1bFkzL9
https://mcpaste.io/97e81e3281f3608e
Extra Details
No response
Having this issue too.
@MCMDEV this commit adds fabric 1.20.2 support. no reason to reopen a pr that adds something that is already supported
https://github.com/LuckPerms/LuckPerms/commit/331a3287714956df9b03bc836e0138acd0e0f867
@MCMDEV this commit adds fabric 1.20.2 support. no reason to reopen a pr that adds something that is already supported 331a328
I seemed to have missed that.
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...
Description
There is i think its a bug but i dont know
[00:41:50 ERROR]: Error occurred while enabling LuckPerms v5.4.106 (Is it up to date?)
Reproduction Steps
Put the luckperms on folder
start server
Expected Behaviour
to work
Server Details
spigot 1.8.8
LuckPerms Version
5.4.106
Logs and Configs
https://gist.github.com/rodopoulos1/54809fada49601c240114a434f74045c
Extra Details
No response
What's new in solving MongoDB problem?
Hi I Have Minefort Server And The Cracked Players Have # or . and more thing have and after # or . will start the his nick name and im not allow to give perms or ranks to that players fix that plz
Please don't comment unrelated things on someone else's issue.
is fucking issue fix that plz
idk how :(
The best place to receive quick support for LuckPerms is the official Discord server linked here. Feel free to ask on one of the support channels on there instead of commenting on another person's bug report.
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
Description
Group names are not being passed into Vault verbatim, and this is causing issues downstream.
Reproduction Steps
- Make roles called "pathfinder", "pathfinder+", etc. (https://github.com/SettleScape/server/tree/master/minecraft/plugins/LuckPerms/yaml-storage/groups)
- Set those up for EssentialsDiscordLink (https://github.com/SettleScape/server/blob/master/minecraft/plugins/EssentialsDiscordLink/config.yml#L44-L56)
Expected Behaviour
Essentials should understand...
I see that your pathfinder+* groups have a displayname.pathfinder node, by default LP will use the group's display name when handing the group name over Vault (because they are often used for, well, displaying), you can change that behaviour with the vault-group-use-displaynames setting
https://github.com/LuckPerms/LuckPerms/blob...
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...
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...
Sorry, this is due to my IDEA automatically performing formatting
Anything new about this?
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...
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 ...
Players always need to have at least one group with no expiry or context (aka their "primary group"). If LuckPerms finds a player without a primary group, it will add them to the default one.
If you only want them to have temporary/contextual groups, you can create a dummy group without any permissions and assign that to stop LP from adding them to the default group.
This is already possible, you can return the strings "true" and "false" :)
Best course of action in this situation is to:
- Roll back to the last installed version of LuckPerms that worked, and do a
/lp export - Stop the server
- Delete (create a backup / move it somewhere else) the old database file
- Start the server and run
/lp import
Forge/bukkit hybrid servers are not supported
Sorry - this is really out of scope for LuckPerms at this time
This is always caused by reloading the server or plugins - nothing LP can do to fix it
The main reason for not doing this is that platforms such as SpigotMC put an arbritrary limit on the jar size of uploads - combining everything would tip us over that edge.
Also there's not really anything wrong with the current way IMO :)
You're running quite an old version. My only suggestion is to restore from a backup and then upgrade to the latest LP version.
Update to the latest version :)
Make sure you only have one instance of the server running from the same LP directory.
i assume you are trying to negate "123" for that user, but that permission is in your default group. you would need to use
permission set 123 falseinstead ofpermission unset 123.
You are looking for user.resolveInheritedNodes() :]
See the comments on the other issues for suggestions on how to resolve: https://github.com/LuckPerms/LuckPerms/issues?q=Something+went+wrong+whilst+upgrading+the+LuckPerms+database
Might be something we can resolve with transactions - but without being able to reproduce it's going to be difficult to validate that it has actually fixed the problem.
I'm inclined to suggest that you just re-open this issue if it happens again. SQL statement logging would also be useful
I guess the other thing we could do is to detect that Geyser is installed & recommend that they change the config based on that (or maybe just enable it for them automatically)
Sorry - there's nothing we can really do aside from the options that are available already. How downstream plugins do their error handling isn't something we can control
Feel free to copy-pasta it (in line with the license of course :))
Hmm this is a tricky one, it is probably safe to ignore. I guess it happens if the server thread shuts down before all of the player disconnections have been processed
Recategorising this as a suggestion - I will accept a good PR to implement this functionality for the storage backends that support IPv6 :)
Bukkit/forge hybrids are not supported
I'm guessing that a context calculator (nested below getQueryOptions) is causing the performance issue, not LuckPerms itself
It does include tracks :)
Did you test...?
Asking because i did, and i tested more than 5 times, and it did not include them:(
I'm usually quite quick to upload. The upgrade to 1.20.2 for Forge is proving to be a bit of a pain, which is why I haven't published them yet.
There is already some automation for uploading: https://github.com/lucko/mod-publish :)
Please see comments on the other issues: https://github.com/LuckPerms/LuckPerms/issues?q=Something+went+wrong+whilst+upgrading+the+LuckPerms+database
I thought this edge case was so unlikely that I didn't even consider it :P
You can safely ignore the warning :)
You can give them permissions using their unique id (UUID) with all LuckPerms commands.
Did you replace the LuckPerms jar (or try reloading the server) while it was running?
Please make sure you have the latest version too :) https://luckperms.net/download
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 :)
Please see the suggestions/comments on the linked issues: https://github.com/LuckPerms/LuckPerms/issues?q=Something+went+wrong+whilst+upgrading+the+LuckPerms+database
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.
The heap dump looks "correct" (there is a CraftPlayer pointed to by a (me.lucko.luckperms...)caffeine entry).
A Scheduler needs to be set for it to perform eager cleanup after the defined expiry times, otherwise it'll perform them lazily as the cache is accessed.
Realistically this is a ...
@lucko Hello, I have it exactly according to the instructions and still sometimes it doesn't work, thank you.
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...
@lucko Nope neither of those, just a regular restart.
Thank you! That did the trick!
It's ready to use, you don't need wildcards, latest version of minestom has it built in.
With those, negated permissions won't work (at least in my testing)
Description
We have a problem with the database. Error with saving user. Here's the error: https://paste.anfanik.me/fureyirobo.sql
Reproduction Steps
I don't know how the problem occurred
Expected Behaviour
Changes in the database are not saved
Server Details
git-Mohist-320 (MC 1.12.2)
LuckPerms Version
v5.4.9
Logs and Configs
https://luckperms.net/download
Extra Details
No response
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....
Description
When i trying to give someone group through RCON it crashes and did nothing
Reproduction Steps
- Opening RCON Site (CraftingStore for example)
- Clicking on Execute manual payment
- Server got RCON request.
- 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...
Description
I'd like the ability to have meta weights allowed for any key made.
I like using meta weights for other types of prefixes and such but its not really possible due to how only prefix and suffix weights are acceptable.
Proposed Behaviour
meta.weight.key
Extra Details
No response
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.
If you're still suffering from this issue please upload a new spark profile report! That one seems to have expired
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...
General consensus is that the idea is out of scope for the main LuckPerms project and would be better fit in another mod/plugin.
Description
When downloading the latest LuckPerms migration script for bungeeperms here, the plugin cannot be started by Velocity, Paper, nor Spigot.
Looking at the resources in the bungeeperms folder here, it looks like it names itself bungee.yml
BungeePerms also runs natively on Velocity, so I think we also need a velocity yaml in there
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...
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...
As a solution for anyone else in this situation: I spun up a local Bungeecord instance just to run the BungeePerms, LuckPerms, and LuckPerms Migration plugins. Allowed me to migrate the BungeePerms -> LuckPerms, and retire using BungeePerms all together.
Hello ! รm here with some more details.
Itโs happened after few hours. For exemple if i start my server and wait 1-2H it works correctly but for 8-12H he donโt want to stop.
I have try to rollback to V104 and i have the same issue too.
What the plugin do when Goodbye message is logged ?
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 ...
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...
Description
I updated server and now it crashes on startup with this error message
Reproduction Steps
- Update server from 1.20.1 to 1.20.2
- Crash, you have to kill the server to use it again.
Expected Behaviour
It functions properly on new version
Server Details
Fabric 1.20.2 loader version 0.15.1
LuckPerms Version
5.4.111
Logs and Configs
Extra Details
I delete...
5.4.111 is for fabric 1.20.3, not 1.20.2. downgrade to 5.4.110
Thanks it now works.
The downloads page on luckperms.net says fabric 1.20.2 but it's actually 1.20.3
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://...
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...
LuckPerms Fabric 5.4.109 is for 1.20.2, not 1.20.1. The highest version that supports 1.20.1 is 5.4.102
Oh, huh. I installed it via the curseforge loader, so it's odd that the loader claims it's compatible with this fabric version.
It works with 5.4.102 though so you can consider this resolved.
Description
It starts the server but while starting it blocks when luckpers strarts to load
Reproduction Steps
- 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...
Hello, sorry for reopening. Has Folia support been cancelled? Currently, Folia has no command permissions management plugin available, making multiplayer servers very limited.
see the linked pr and/or branch. folia is not "released" yet, so there isnt much point in making a real luckperms release for folia either
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...
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.
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?
CurseForge also installs 5.4.109 for the Forge version as well on Minecraft 1.20.1. This needs to be labeled differently on Curseforge so users don't install the incorrect version automatically by default.
Currently have again the issueโฆ If someone can help โฆ @lucko
Does it related with my issue on #3786 ??
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 ...
You can use NodeMutateEvent and check if the PermissionHolder receiving/losing groups is instance of a User and you can check that way if their primary group is different. It's not the exact same thing but it does exactly what you want and this only gets called when permission information gets changed for a Node (Group/Player).
I remember using a similar event in the past (may have been this one), however it was being called so frequently that the final performance was in fact way worse than before.
I faced the same problem. Have you found a solution?
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...
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:...
That is a server exploit that is fixed in newer versions of Paper, so the solution to that is to update the server.
If you have an issue with LuckPerms itself please open a new issue or head over to our discord server.
This is a problem with either the database server or the connection configuration in your LP config. See https://luckperms.net/wiki/Storage-system-errors for more info.
For closure: the BungeePerms migration plugin can only run on BungeeCord, where both LP and BP need to run too.
is there a download for 1.20.2?
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...
This has nothing to do with LuckPerms - I'm not sure what made you think it did? (genuine question - am I missing something?)
If I had to guess it's this?? https://www.spigotmc.org/resources/plan-player-analytics.32536/
Of course not. Brain freeze. Apologies.
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...
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
...
Description
Luckperms on fabric checks permissions against the entity stored in the CommandSource, see here.
However, the assumption that the stored entity is the caller of the command is not generally correct, e.g. the execute command nodes seem to change out the entity if you use execute as.
What this ...
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
##...
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.
go into your server console and do /whitelist off also next time remove your IP from your issues
I don't want non-whitelisted players to connect. The point is they should not be logged by LuckPerms.
As to the second point: it's not my IP, it's the miscreant's IP. I don't mind publishing it.
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
- download luckperms bung...
5.3.70 is not the newest version. the latest (as of posting this) is 5.4.113
5.3.70 is not the newest version. the latest (as of posting this) is 5.4.113
edit: that version isnt even in either of your servers. the proxy is on .4.113 and the hub is on .4.108
should i update them?
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...
@lucko how are things going here?
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
...
This is clearly not a LuckPerms issue, but rather your server running in offline mode and not properly authenticating players. Such behavior is expected on an offline mode server. Consider enabling online mode in your server.properties file or follow the suggested network installation setup if you're on a network.
After installing Luckperm into the proxy, will the LP data on the backend servers be affected?
No. LuckPerms on the proxy side won't automatically sync permissions or replace LuckPerms on your backend servers.
Since you're, longer, on a network we suggest you check the Switching storage types guide on how to properly migrate your permissions and groups and you follow the Network Installation guide to sync LP data across your whole network.
Be sure to take a [backup](https:/...
I did create a dummy group and assign that to the user, but if the user enters and leaves the server wile having the temporary group, when it should expire, it becomes permanent:
your temporary node is expiring just fine. you just also have a permanent group node as well that wont expire
then show that user having neither a perm node or a temp node, you running just the parent addtemp command, and then them having both the perm and temp nodes
First, deleted the user from the database:
Then, user joins and I run lp user ivic_sans parent set fix and lp user ivic_sans parent addtemp adepto 300s accumulate:
It expires without problem. However, if I do it a second time, running lp user ivic_sans parent set fix, then `lp u...
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
- Put your darkest secrets in the
LUCKPERMS_DATA_MONGODB_CONNECTION_URIenvironment variable and start it up - Be frightened as you see your darkest secrets be revealed in the logs
Expected Behaviour
I expect it to not show ...
Description
/lp group Default permission set bukkit.command.plugins false
/plugins can still be used
Reproduction Steps
/lp group Default permission set bukkit.command.plugins false
Expected Behaviour
/plugins can't be used
Server Details
Paper 1.20.1
LuckPerms Version
v5.4.113
Logs and Configs
null
Extra Details
null
did you try with a lowercase "d" in default?
did you try with a lowercase "d" in
default?
Of course
Cannot reproduce on Paper 1.20.4 build #\361 w/ luckperms 5.4.113. Can you try using verbose and sharing a list of your plugins and latest.log? Also please follow the issue template next time.
Description
Proposed Behaviour
This will remove `WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will impa...
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...
Can you please send a /lp editor link? Stuff like this is usually a result of your permissions setup (i.e. setting * to false).
For faster support, try our discord server
I have rebased this PR and updated to Folia 1.20.2 - builds are available from Jenkins: https://ci.lucko.me/job/LuckPerms-Folia/
Sure thing, here you go. https://luckperms.net/editor/WuDiDSCSE3
Thanks for your reply.
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.
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 ...
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...
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...
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...
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?
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
luckperms for forge and fabric can only easily support 1 version of minecraft at a time, that usually being the latest version. modrinth and curseforge are an easy place to find older versions of luckperms for older versions of minecraft for those platforms.
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...
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
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
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...
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...
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...
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
Extra Details
No response
5.4.116 does not support MC 1.20.1, switched to 5.4.102. Closing Issue.
What's the reason behind this change? BOOL/BOOLEAN both mean the same thing.
And the luckperms_ table prefix should not be hardcoded, that's what the {prefix} placeholder is for, as it's configurable in the plugin settings.
Update EssentialsX, you're running a build over 3 years old, that should fix the problem.
(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...
This is a network issue outside of LP's reach, looks like it's taking a really long time to reach or connect to the editor servers (usersockets.luckperms.net unless changed in the settings). If that keeps happening you should contact your server host about it.
As listed on Modrinth, 5.4.109 is for 1.20.2, for 1.20.1 you need to use 5.4.102 which is listed there as the supported for that version.
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...
Vanilla whitelist check happens after the login/authentication process when the player is ready to enter the world basically, LP will grab and cache the UUID during user login which happens before the whitelist/banlist is checked. I guess storing the ID could be delayed until after that but that could have some other implications e.g. around plugins using the API.
Thank you for the contribution :)
As listed on Modrinth, 5.4.109 is for 1.20.2, for 1.20.1 you need to use 5.4.102 which is listed there as the supported for that version.
Hi thanks. On CurseForge client it was allowing 5.4.109 to be downloadable for 1.20.1. I think you had ticked the box for it in the file upload but seems to be resolved now.
i had to run the schema on my own so the bool boolean gave error and similarly prefix
Hybrids are not supported, the setting works correctly on Bukkit servers, the Forge build of LP also has the same setting, maybe that version will work better.
Access denied for user 'u2_ZhdmUp7lrl'@'172.18.0.5' (using password: YES)
The only thing that can be said is that the credentials entered in the config file are incorrect, double check them with the correct info. Otherwise please reach out to our discord server for support
Side note, LP on bungee seems to be using H2, not MySQL, but that's a separate problem easily solved.
Would need to see all threads from the dump, that right there only suggests that some thread is awaiting for tasks to run. The Server Thread is gonna provide some info but the whole picture would be ideal.
After some internal dialogue conclusion is that this is working as intended and it is not in our best interest to change how names/IDs are cached. Thanks for the issue report.
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
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...
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...
That LuckPerms version is for MC 1.20.3-1.20.4. For 1.20.1 you have to use v5.4.102, you can get it on modrinth or curseforge.
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...
The repo for the PlaceholderAPI expansion is located at https://github.com/LuckPerms/placeholders
its not really feesable to do this as it would require either loading every player to see if they have the node (which would be very expensive), or having a dedicated system for counting how many players have a node which could easily be inaccurate if you wantted to include temporary nodes
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...
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 :
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....
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
Caused by: java.net.UnknownHostException: sql204.infinityfree.com
Either your server is having DNS issues (ensure your server has a stable internet connection), or that domain doesn't exist.
Hybrids are also not supported, so use LuckPerms on ArcLight at your own risk.
I will try to do it locally
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...
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...
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...
Hey everyone,
this might be a topic worth revisiting since minestom moved away from jitpack to maven central. Also, there is this PR by @Codestech1 that might come in handy while working on an official integration. Although the last linked pr is currently only on the (now deprecated) ce-Repository, but a rebase should be possible fairly easily.
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
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 ...
Ah oops! Nice spot, thanks :)
Description
down
Reproduction Steps
down
Expected Behaviour
down
Server Details
down
LuckPerms Version
down
Logs and Configs
down
Extra Details
down
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...
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...
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)
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)
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...
@dooburt would need to see the whole server latest.log to give a diagnosis, please upload it
I'll need the server to go quiet later today and I'll come back with a log from a full start using LP. Standby!
do you have fabric api?
Yes: 0.91.0.
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...
Just following up on this now that API 10 is the main supported API version (once again, not all that different from API 9). Using the test build of SpongeForge 1.19.4, the LP API seems to work fine, but it would be awesome to have LP fully integrated into modern SpongeVanilla environments.
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...
Have you tried this on an isolated server in order to ensure this is not an external plugin interfering with Luckperms?
Please try this with a fresh install of Luckperms on a localhost or other server with no external plugins.
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...
As requested: https://mcpaste.io/5a5a7b1a7d28aa46
This was with .88, but the same happens with .119
Have you tried this on an isolated server in order to ensure this is not an external plugin interfering with Luckperms?
I could try, but CMI is passing the command to LuckPerms fine, LuckPerms is executing the command, and the issue looks like it's at LP end. I will try an offline server see if I can get it to fault.
Description
After conducting some tests in these days, I finally have found that the issue could be with LuckPerms itself.
All the heapdumps, gclogs and monitoring was done with onl...
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....
Tests have been done with and without LuckPerms on Velocity. When LuckPerms was not installed, these GC problems disappeared.
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.
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
@dooburt
Any updates, having the exact same issue, on the exact same version, with the same error in log?
@dooburt
I ended up figuring it out. fabric-permissions-api "fabric-permissions-api-v0.2.jar" (https://github.com/lucko/fabric-permissions-api) causes that error... I removed the mod and then it worked perfectly with no issues. Not sure if its just on this version 1.20.1 Fabric but thought i'd just let you know just in case you were still struggling. :-o
Description
I log in to my server and I get the error
Reproduction Steps
I log in to my server and I get the error
Expected Behaviour
no errors are displayed on the console
Server Details
1.20.4 paper
LuckPerms Version
5.4.119
Logs and Configs
https://gist.github.com/bladeRR/11484f5f6e21a94acf63ca0033c5e8ef
Extra Details
No response
Stop the server, delete the folder plugins/LuckPerms/libs, and restart the server.
Description
When we try to make a bulkupdate on the server, there is an error occured (we are on PurPur 1.20.4, MongoDB storage and LuckPerms 5.4.119). Until 1.20.1, we haven't any issues about that.
Reproduction Steps
Launch a 1.20.4 server, and try to make a BulkUpdate comm...
There should be more stacktrace, beneath the caused by. We'll need that to be able to determine the cause.
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...
hello friend, deleting the folder as you told me fixed the problem, I would like to know why it was happening or what I did wrong, but now it works correctly, thank you.
I confirm. When working with Fabric on latest version, i reproduces the same bug. RCON isn't working
a new issue for rcon on fabric is more likely to be noticed than just a comment on a closed issue
Description
As described in the title the namespaced commands for luckperms are still sent even if they are disabled in the spigot.yml config (commands/send-namespaced)
Reproduction Steps
- Disable the config entry
commands/send-namespacedinspigot.yml - Install Luc...
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))
#...
Is this reproducible on latest LuckPerms (as of writing that's v5.4.119)?
yes, tested on paper 1.20.1
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
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
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.
Description
I tryed to download Luckperms Velocity from Luckperms.net. After several failed attempts i foced windows to download it and check it via defender and my other security programms. Seems like it's detecting a Trojan. Used the newest Win 11 Version
Reproduction Steps
Step 1: Try to download LuckPerms - Velocity from Luckperms.net
Step 2: If it doesnt fail - check via...
[LuckPerms/LuckPerms] New comment on issue #3849: Luckperms Velocity - 5.4.120 - Windows 11 Security
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...
Just decided to give every user the default group now as well.
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);...
Description
About https://github.com/LuckPerms/LuckPerms/issues/3807, with the newest version it now logs it twice, once uncensored and once censored...
Reproduction Steps
- Put your darkest secrets in the LUCKPERMS_DATA_MONGODB_CONNECTION_URI environment variable and start it up
- Be frightened as you see your darkest secrets be revealed in the logs
...
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...
This is still happening with 2/10 rankups.
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-...
Per comment in https://github.com/PaperMC/Paper/issues/10321, this should be addressed by plugins.
This is not a bug but intended behaviour. Duplicate of #3802
@BenjiBag thanks for this. Sorry for the delay, I get huge numbers of notifications from GH. So AFAIK, my Fabric API jar is part of the modpack and required. Are you running Prominence (from Luna)? If you are running a published modpack, what effect did ditching the permission jar have for you?
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.
/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.
There may also be a command that allows you to check the player's permission for a specific period of time, e.g. 120 seconds (ability to set in config.yml). This solution would solve my problem the same way.
I need to have this option enabled while running autometed commands.
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...
Description
Data too long for column 'permission' at row 1
my permission: essentials.{spawn,home,sethome,delhome,balance,balancetop,msg,msgtoggle,rtoggle,mail,mail.send,ignore,tpa,tpaccept,tpacancel,tptoggle,pay,paytoggle,motd,warp,warp.list,kit,kits.start,sethome.multiple.default}
Proposed Behaviour
1
Extra Details
No response
increase the limit in the scheme sql
Permissions are hard capped to 200 characters. While the shorthand permissions can be convenient, unless it's a case where the shorthand part is in the middle (i.e. foo.{a,b}.bar), it's usually better to just enter each permission individually.
If there's a legitimate reason to raise the hard cap, please let us know, otherwise this is working as intended.
@underscore11code Some permissions are very long, so you can change the limits to 250 characters
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...
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...
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
- add long expired meta data to a player
- 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...
I'm also seeing this error.
I've also had instances of entities disappearing off the server when this happens, though this seems to be due to an interaction with another plugin.
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...
I'm also seeing this error. I've also had instances of entities disappearing off the server when this happens, though this seems to be due to an interaction with a plugin which I'm writing and could be my fault.
I'm not using plugin's I'm on the fabric version of the mod
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
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 ...
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...
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...
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.
...
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...
This is the picture when they're messing with the Luckperms where they shouldn't have any access to begin with.
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 ...
We've been using Luckperms since 2020, this is the first time this happened and we were shocked as we also changed our Luckperms plugin to a better one.
based off the fact that your editor screenshot shows all alex/steve skins, either your network is misconfigured, or you just use offline mode. neither of those are the fault of luckperms.
We restarted the server because of bot attacks then when the server opens, all our perms as well as the owner's/admin's perms gone. That screenshot came from one of our guy watching the stream of the person who has a permission using something in luckperms.
We were shocked as this was the first time it happened after 4 years of using luckperms. We've encountered a lot of DDOS attack but this is the first time we encountered someone outside accessing luckperms of our server without any "access" in our hosting.
What happened in #3724 is kind of similar but different, because the guys who hacked our LP is not using Aristois client but just the luckperms application.
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...
Understood. Thank you still for entertaining!
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
Expect...
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.
Ah, if you use uuid, everything works.
If by nicknames you mean actual nicknames given by plugins such as EssentialsX, then they won't work.
LP expects a player name, not a nickname. There is a noticable difference between those two, especially since the later is only handled by the plugin that gave it to the player.
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...
Good news everyone! The main Minestom repo has had the changes from Minestom CE merged. That also means the normal Minestom is now available on Maven central.
Well Minestom is now on Maven central, so we no longer need Jitpack. However there is no official extension support in the newest version so https://github.com/hollow-cube/minestom-ce-extensions has to be used.
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, ...
Met the same issue, with full log here:
@zayne-wang please refer to this previous comment
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 for that Minecraft version.
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...
Quoting Luck on #3676, the suggested course of action here is to:
- Roll back to the last installed version of LuckPerms that worked, and do a
/lp export. - Stop the server.
- Delete (create a backup / move it somewhere else) the old database file.
- Start the server and run
/lp import.
Quoting Luck on #3676, the suggested course of action here is to:
- Roll back to the last installed version of LuckPerms that worked, and do a
/lp export. - Stop the server.
- Delete (create a backup / move it somewhere else) the old database file.
- Start the server and run
/lp import.
Quoting Luck on #3676, the suggested course of action here is to:
- Roll back to the last installed version of LuckPerms that worked, and do a
/lp export.- Stop the server.
- Delete (create a backup / move it somewhere else) the old database file.
- Start the server and run
/lp import.
I did what u said...
Quoting Luck on #3676, the suggested course of action here is to:
- Roll back to the last installed version of LuckPerms that worked, and do a
/lp export.- Stop the server.
- Delete (create a backup / move it somewhere else) the old database file.
- Start the server and run
/lp import.
btw with the old version ...
Quoting Luck on #3676, the suggested course of action here is to:
- Roll back to the last installed version of LuckPerms that worked, and do a
/lp export.- Stop the server.
- Delete (create a backup / move it somewhere else) the old database file.
- Start the server and run
/lp import.
it doesnt work
Please fill out all fields and provide adequate information. Your current description fails to provide clear details about the issue you're facing and how it's LuckPerms related.
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...
Issue fixed. Just deleted plugins/luckperms
Also seeing this, already been reported actually!
See here: https://github.com/LuckPerms/LuckPerms/issues/3857
Ok if it crashes again I will upload full crash log and normal logs
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).
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 ...
[LuckPerms/LuckPerms] Issue opened: #3871 A database error occurred whilst loading permissions data.
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 ...
While hybrid software are not supported, the root cause of the issue appears to be related to a locked file:
Caused by: org.h2.mvstore.MVStoreException: The file is locked: /home/container/plugins/LuckPerms/luckperms-h2-v2.mv.db [2.2.224/7]
Without further details about your server environment and setup, it's challenging to pinpoint the exact cause.
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.
Are you saying that my server timed out while trying to connect to the web page editor server? (Please forgive my limited English proficiency, which prevented me from fully understanding).
Please fill out all fields and provide adequate information. Your current description fails to provide clear details about the issue you're facing and how it's LuckPerms related.
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 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.
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...
caused by a corrupt library, which didnt fully download since the server was killed during a previous startup
Description
A relatively common issue we encounter in the LuckPerms discord is corrupt dependency downloads, causing NoClassDefFoundError and ClassNotFoundException (among others). LuckPerms currently only verifies the checksum of downloaded libraries after downloading, and only throws an exception (untested, but i assume on Bukkit, thi...
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...
What's the progress and when will it be merged?
Currently I'm using it normally on 1.20.4.
Description
Hey there, i have a problem with the %luckperms_current_group_on_track% Placeholder. The Placeholder works in it own just fine. However when combined with the command **/lp user parent switchprimarygroup ** . The command will execute but without any real return.
Reproduction Steps
- Create two different tracks in LP and then add a group of both tracks ...
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!
Description
When mythicdungeons unloads or loads a world, it effects luckperms
Reproduction Steps
Mv load or unload worlds, while a spark ticks over 200 is running
Expected Behaviour
no lag spikes
Server Details
1.20.1
LuckPerms Version
5.4.88
Logs and Configs
https://spark.lucko.me/yzLcudCeqj
Extra Details
No response
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:...
Description
add ipv6 support
Proposed Behaviour
add ipv6 support
Extra Details
add ipv6 support
LuckPerms should already support IPV6, can you be more specific as to what isn't working?
็กฎๅฎ ่ฟ้ธbugๆบ็ฆ ๆ็ๅปบ่ฎฎๆฏ็ดๆฅ็จๆง็ๆฌ
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
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) ~[?:?]...
The issue is with it.frafol.cleanping.velocity.commands.PingCommand.lambda$register$5(PingCommand.java:166) ~[?:?]
Hi lucko! Anything else you need to get Sponge API 10 supported? Thanks!
oh, sorry, normally I notice something like that quite quickly. it was actually the plugin's fault.
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...
Perfect it work, thanks for help !
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!

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...
I am having the exact same issue. running on paper 1.20.4, luckperms ver: v5.4.128.
please use a pastebin to send logs and stacktraces in the future.
bytebin is down right now so this isnt an issue with LP itself
Same issue. Glad not to be alone on this
please use a pastebin to send logs and stacktraces in the future.
bytebin is down right now so this isnt an issue with LP itself
I apologize, I am still new to the use of LP. So this means that there is nothing wrong with my install or anything, just have to wait until the bytebin is back?
all you can do is wait. the editor command uploads the data to a pastebin (bytebin) and includes the code for the paste in the editor link, but since bytebin is down, that fails and lp throws an error
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...
I haveing some issue. I'm useing Paper 1.20.1
To avoid cluttering this issue, please use a pastebin to send logs.
Currently, Bytebin (bytebin.lucko.me) is temporarily down affecting access to the LuckPermsWeb. We're fully aware of the situation and have notified Luck about this issue. We expect him to address it as soon as he's able. Will keep you updated when the Web Editor becomes accessible again.
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...
Thank you folks, we're aware, and this is a global problem until such time Luck gets the service running again. Further "I'm affected too" replies are redundant, as everyone is affected. Thank you for your patience.
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...
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...
"last one" is not a version, and forge-bukkit hacks are not exactly well supported. try reproducing on a supported server software like paper or an up-to-date version of forge
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...
I gave you the fine version of luckperms
Mohist use spigot for plugins, I don't know if it makes a difference with paper...
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
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.
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...
I'm interested in looking at this, if it's still needed and if there's anything I can do! :)
Description
On Forge 1.20.6 (and forge 1.19.1) using the pluginmsg messaging service does not work anymore.
Reproduction Steps
- Start forge 1.20.6 server
- Install LuckPerms
- Set
messaging-servicetopluginmsg - Restart
- 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
A simple 'fix' would be by moving the channel registration into the constructor of LPForgeBootstrap. See https://gist.github.com/powercasgamer/62ea56eab7071281149dd60a4c6117f4#file-fix-pluginmsg-patch
Description
Why not make luckperms automatically recognize that a player has a default group without storing it in the database?
Proposed Behaviour
This feature will reduce the size of the database
Extra Details
No response
if you mean dont store group.default along with other groups/perms: you can remove the default group as a parent. its presence cannot be implied
if you mean dont store players who only have group.default: luckperms already does that
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...
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

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...
Upload your full latest.log to a paste site such as pastes.dev
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:
- Implement an edge case into the OP-Processor that denies LuckPerms permission if
commands-allow-opisfalse - Implement an edge case into the `[LuckPermsPermissible](https://github.com/LuckPerms/LuckPerms/blob/c3802c2...
Description
- This was also reported on the ForgeEssentials discord, devs will look at it too.
Reproduction Steps
Clean Forge server 1.18.2
- Download Latest version for ForgeEssentials and LuckPerms 1.18.2
- Start server
Expected Behaviour
- To work
Server Details
Forge 1.18.2 - 40.2.21
LuckPerms Version
v5.4.26 (for Forge 1.18.2)
Logs and Configs
No response
Extra Details
No response
1.18 for forge is no longer supported, please reproduce on 1.20.6
This should work, dropped it in here: https://gist.github.com/SulkyWhale/36730035173135ab878ad0cc96dd7ac2
Follow the steps below to resolve the issue:
- Stop your server.
- Delete the
/plugins/LuckPerms/libs/directory. - Restart your server.
Yeah well than its what is it.
I am running modded forge 1.18.2 server, so I cant switch to different minecraft and forge version of a mod.
I just tried that, it does not work, when starting the server, the directory is added back at line [LuckPerms] Enabling LickPerms v5.4.128, and the error reoccurs
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...
I have more information, I found that this file: LPPlaceholderProvider.class contains a Trojan, and this file was downloaded using the command: /papi ecloud download LuckPerms
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-allandsave-offbeforestop, 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...
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...
Just noticed this is a duplicate of #3857.
That issue has not had much attention.
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...
Description
Add a setting to disable pinging with a
Proposed Behaviour
Add a setting to disable pinging with a
Extra Details
Add a setting to disable pinging with a
Add a setting to disable [LuckPerms] [Messaging] Sending user ping for 'winner32' with id: 385d025a-b26e-4626-a731-a23ea1322683
Can you see if this is fixed by 9805f8b2c41c77afbda83bcd1f14cc1fdb7b6c67 (v5.4.131 or newer - https://luckperms.net/download)
Can you see if this is fixed by 9805f8b2c41c77afbda83bcd1f14cc1fdb7b6c67 (v5.4.131 or newer - https://luckperms.net/download)
Can you see if this is fixed by 9805f8b (v5.4.131 or newer - https://luckperms.net/download)
That's great! This problem has been solved!
The schema isn't the same as table prefix. In PostgreSQL schemas are like folders that contain other tables. By default its public, but what if I wanted to use something different but in the same database?
same version [MC 1.20.1 ,fabric 0.14.25]
I fix the problem by using v5.4.102 on Modrinth
My fabric-api is 0.83.0+1.20.1, maybe you need to downgrade the version of fabricapi
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:
- The player has a VIP expiration of 28 days
- Player receives VIP+ for 30 days
- VIP expiration is suspended for 28 days if VIP+ expiration is active
- VIP+ expiration will start after VIP+ expiration
(Note: VIP has a lower weight than VIP+)
Extra Details
No response
this is not possible. luckperms stores the expiration as a timestamp of when the permission expires, not how much time is remaining on the permission. however, a plugin could easily save the remaining time of a permission and restore it later under the conditions you want
Description
When some player join server is cant connect and server crashes
Reproduction Steps
Randomly player joins the server
Expected Behaviour
I want my server not crash
Server Details
Paper 1.16.5
LuckPerms Version
LuckPerms-Bukkit-5.4.131
Logs and Configs
config - https://pastebin.com/WtsDxzhU
error - https://pastebin.com/T6h0xQp6
Extra Details
No response
Your server failed to reach Mojang's authentication servers. This is a server-wide issue that is not related to/caused by LuckPerms.
[LuckPerms/LuckPerms] Issue opened: #3909 Add silent(-s) argument in the permission settemp command.
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 ...
you can disable seeing log messages in-game with the /lp log command
Description
useSSL: true
message is displayed -> https://pastebin.com/VLaXURex
Reproduction Steps
Expected Behaviour
Server Details
Velocity 3.3.0-SNAPSHOT (git-07f1f9e7-b396)
LuckPerms Version
v5.4.131
Logs and Configs
Extra Details
please follow issue templates. you have ignored it in every issue you have created on this repository, and all the ones i see you have made on other projects. following such template makes it easier to solve the issues you report.
Description
add support for the parent settemp command
Proposed Behaviour
add support for the parent settemp command
Extra Details
add support for the parent settemp command
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) ~[?:?]
...
really, when been is merged?
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!
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 ...
something like LUCKPERMS_DATA_PASSWORD=$(cat password_file.txt) should work on unix based systems
It isn't what I mean. If it is about just storing password in some file and use it than yes this way will come in handy.
But I'm talking about secrets.
Links:
https://docs.docker.com/compose/compose-file/09-secrets/
https://docs.docker.com/compose/use-secrets/
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
-
I start the server
-
I enter the server
-
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...
Description
Hello, can be please added placeholder to display specific group members list? (like /lp group GROUP listmembers)
Proposed Behaviour
It will display the current members of the group, and we can use it for example under the special commands to display the current helpers, mods, etc.
Extra Details
No response
luckperms isnt loading for some reason, but hybrids are not supported (because they are known to cause issues like this), and offline mode
Description
Every time I restart my server this error appears
Reproduction Steps
Restart the server or turn it off:
https://pastes.dev/DtEYRumeYr
Expected Behaviour
start without errors
Server Details
git-Paper-196 (MC: 1.20.1) (Implementing API version 1.20.1-R0.1-SNAPSHOT) (Git: 773dd72)
LuckPerms Version
v5.4.131
Logs and Configs
No response
Extra Details
No response
Description
as the title says, but 102 worked while 131 doesnt
Reproduction Steps
- Install latest luckperms on forge 1.20.1 server
- start
- 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...
That is correct, you can see the LuckPerms versions that support each Forge version on modrinth (https://modrinth.com/mod/luckperms/versions?l=forge), the latest LP version that supports Forge 1.20.1 is LP v5.4.102, newer versions of LuckPerms will work on newer versions of Forge.
Several of your plugins failed to load due to "message from server: "Too many connections"", it isn't specific to LuckPerms but your database configuration, see https://dev.mysql.com/doc/refman/8.4/en/too-many-connections.html
I don't see the server attempting to load LuckPerms altogether. As mentioned, hybrids are not a supported environment; if you can reproduce the issue on a supported server (Spigot/Paper, SpongeForge, Fabric, etc) you can open a new issue for that instead.
As mentioned, next time follow the issue template. The log says "Trying to connect with ssl, but ssl not enabled in the server", which means that ssl is not enabled on the MariaDB configuration, see https://mariadb.com/kb/en/using-tls-ssl-with-mariadb-java-connector/#ssl-not-enabled-on-server
You can use these settings to configure logging to online admins https://github.com/LuckPerms/LuckPerms/blob/9805f8b2c41c77afbda83bcd1f14cc1fdb7b6c67/bukkit/src/main/resources/config.yml#L340-L351
It is indeed a duplicate of that other issue, closing as such in favour of that one.
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.
No appropriate protocol (protocol is disabled or cipher suites are inappropriate)
Is the SQL engine using a certificate (SSL/TLS) clients should require?
Seems to work fine after som light testing on our staging server.
No problem! Thank you (all) for the good work making good tools, and for the clean codebase!
Curious if anyone here managed to find a possible solution to these issues with restarting their server?
In version 1.20.1 everything works, plugins and mods but in this version it also worked but now it no longer works
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
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...
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...
LP is not responsible for restricting anything, it only manages permissions. The permissions for the vanilla commands are handled by either the platform itself (i.e. Bukkit/Spigot/Paper, Sponge), or a third-party mod (i.e. when using fabric).
I found a temporary fix (not really a fix, deleted the libs folder in luckperms and then started the server and only fixed it for one or two restarts)
ะะดัะฐะฒััะฒัะนัะต, ั ะผะตะฝั ะฒะพัะปะด ัะดะธั ะฒะพะพะฑัะต ะฝะต ั ะพัะตั ัะฐะฑะพัะฐัั ั ะฒะพัะปะด ะณัะฐัะด, ัะถะต ัะบะพะปัะบะพ ะฒัะตะณะพ ะฟะตัะตัััะฐะฝะพะฒะธะป, ะฒะพัะปะด ัะดะธั ะบะพะฝัะปะธะบััะตั, ั ะปะฐะบะธ ะฟะตัะผั ะธ ะฝะต ะผะพะถะตั ะธะท-ะทะฐ ััะพะณะพ ะทะฐะฟัััะธัั ะฒะพัะปะด ะณัะฐัะด
`[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) ~[?:?]
...
now Minestom does not use jitpack, only mavenCentral
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...
i dont think the fabric placeholder thing has been updated for 1.21 yet
and when should we expect it?
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...
old version: LuckPerms-Bukkit-5.4.40.jar
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...
Description
I open a server just with the Custom NPCs mod and the LuckPerms Plugin and it shows me this error when im trying to enter
Reproduction Steps
1.Arclight Server 1.16.5
2.Put CustomNPCs in the mods folder and LuckPerms in the plugins folder
3.Open the server
4.Try to enter the server (error)
Expected Behaviour
When you enter this shows up:
 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...
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:...
The proposed solution is only a workaround, as I would still have to change my groups back and forth every time. This could be simplified with a command to toggle such test mode on or off
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...
I also have this issue. I don't know if it is also applying for every permission you give the default track, but my issue does.
@BNTFryingPan ahh i didnt find that issue. But id say that I provide a little more info in my issue either way ^^
Description
Hello, I've granted a user the permission luckperms.user.promote.classic as in picture below.
But when they try to add someone to the track they are blocked, as in picture below.
Reproduction Steps
- Create track "classic" with two groups
- Add one user permis...
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
...
The database address and port, the user and password used are all correct, and other plug-ins on the server can connect normally.
Nevermind. In my situation, EssentialsX was overriding Bukkit commands, causing any usage of those commands to be undefined. Specifying fixed it for me.
Bump! I would love to see this merged anyways. This ("permission checks not being ready") is very annoying, because it causes prefixes of joining players to be inconsistent!
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...
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...
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.
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...
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.
You dont like me commenting on this? Are you a control freak. You all need to get over yourself and stop being ignorant.
I am here and will be wait for a good solution
This appears to be fixed. As we use groups/ranks with + within the name, replacing + with plus (so wallaby+ is no wallabyplus) on the backend solved this issue.
This appears to be fixed. As we use groups/ranks with + within the name, replacing + with plus (so wallaby+ is no wallabyplus) on the backend solved this issue.
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]...
I believe this may fix the current issue I am having. Is there anyway you can dumb it down and explain how to fix this/how to create a new QueryOptionsCache?
New_Text_Document.txt
Completely counter intuitive, had to add this configuration
ALSO SUPER IMPORTANT YOU'VE TO ADD SUPPORT FOR ADVANCED PERMISSIONS IN THE CONFIG
If you want to debug why something is not working you can use /luckperms verbose on <filter>
and for each command you get the permissions that gets verified
closing this issue and keeping it for future people having the same issuse
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
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 ...
LuckPerms does not (currently) have a release available for NeoForge. NeoForge is not the same as Forge.
A similar fix was added in https://github.com/LuckPerms/LuckPerms/commit/5c1ea5633ed5986c02d3fa1ccf187638d143c091 which should fix the problem :)
Rebased and updated to 1.20.6
Instead of this I have made the VerboseHandler initialisation earlier (see above commit)
Thanks for the PR :)
Rebased and updated to 1.20.6
build is failed
I feel quite strongly that we should use the builtin login events - and if these are not suitable (for what I would've thought is a pretty common usecase), then we should endeavour to PR improvements to Fabric API.
Rebased and updated to 1.20.6
build is failed
Thanks, fixed it
Rebased and updated to 1.20.6
Thank you for your efforts on Luckperms plugin, I was planning to maybe give updating to 1.20.6 a try, but you were quicker :1st_place_medal: :heart:
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-...
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...
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...
I am updating from 1.20.4 to 1.21 on fabric vanilla server and can also add that I am getting this error, I suspect as above that the API has not been updated to 1.21. Will monitor to confirm.
Is there a fix planned for this issue ?
Description
่ฟๆ ท๏ผๆๅกๅจ้ๅฏๅๅฐฑๅฏไปฅ่ฟไบ๏ผไฝ่ฟ่กไธๆฎตๆถ้ดๅไผ่ฟๆ ท
Reproduction Steps
่ฟ่กไธๆฎตๆถ้ดๅฐฑไผๅบ็ฐ
Expected Behaviour
ๆๆ
Server Details
1.20.1
LuckPerms Version
5.4.137
Logs and Configs
No response
Extra Details
No response
If you are a server admin, please check the console for any errors
Please provide your full `logs/latest.log file by using a paste services such as https://pastes.dev
And follow the issue template next time, in English preferably. You should also use our discord for support.
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:
- 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.
- lost connection: [LP] Permissions data for your user was not loaded during the pre-login stage - unable to continue. ...
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...
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
defaultis applied to common players.adminis applied to OPs, but I need to disable some vanilla commands (such asfill,setblock,summon, etc.) via Vanilla Permissions mo...
if you want your super_admin group to have every permission, there is no reason for you to make it inherit the permissions from your admin group
please see LuckPerms/Placeholders#58 and LuckPerms/Placeholders#59
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.
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...
hybrids are not really supported since they can cause issues like this. you should try to reproduce this on a supported platform
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...
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.
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...
more specific reproduction steps would be useful (eg. a specific plugin to test, what command to test). afaik luckperms shouldnt affect this at all
Hi, I have the same problem. I have been looking for solutions for this error, but I can't find one, did you find any solution?
I mean, not sure what steps you would require but for example, %bungee_total% placeholder from PlaceholderAPI sometimes works, sometimes doesnt, for example, we had to create our own placeholder to "fix" theirs but it seems even our doesnt work so that would be a starting point I assume
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...
with no specific details given, there is no way to reproduce the issue, and thus nothing can be done about this. you would need to provide logs or something to give some insight as to what is happening, or provide a method to reproduce the issue
Understood, I do not expect this to be fixed. But I opened the issue in an attempt to see if more people are experiencing the same issue. Will update if we manage to find more information
We had a custom piece of code adding permissions. Disabling this piece of code fixed the disapearing.
lpPlgn.getUserManager().modifyUser(uuid, user -> { // Add the permission user.data().add(Node.builder(permission).build()); });
When I use a different path of the JDK, it works
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...
load your data with the old version of LP, and use /lp export. move the h2 file somewhere (and delete the h2 v2 file if the newer version of LP was able to create it). load the server with the latest LP version, and use /lp import
What about a counter-suggestion about this, similar to /lp group default permission check ... that can be used to check LPs result for a command; such as running /lp group default permission checkcmd gamemode creative to see if group default can run the command /gamemode creative?
the existing /lp verbose command command works since it actually runs the commands as a player with everything that entails. there is no way to run the command as a group. also the permission check command returns the result of a single permission, not of a command
the permission check command returns the result of a single permission, not of a command
yes thats why i was asking about this.
however, i did not know that the verbose command exists. thank you for pointing that out; that would obsolete this suggestion, at least from my side
actually, there seems to be an issue with the verbose command
when running /lp verbose command SpaceTy say test, they got a "no perms" message, and no permission checks were caught.
however, when they were manually using the command afterwards, it worked just fine:
it seems to me this belongs into a different issue, not only because it seems to be encountering more in-depth problems, since after using /lp verbose record, the server started stalling unpredictably. i will investigate further and open a bug report when i get the chance
Description
I am having issues where world guard and world edit are causing lag while trying to communicate with luckperms
Reproduction Steps
For me it is mining blocks in a mine with Token enchant
Expected Behaviour
I would expect much lower usage when world guard and world edit are communicatin...
Lag in that method is usually caused by slow context providers in other plugins. If you continue to drill down on the getQueryOptions, you should see some other plugin(s) involved.
To me it seems that the chain ends with a java.lang method but I can send the spark profile if needed
Hey @jpenilla - thank you for this!
I have thought a bit more, I think we should keep supporting regular Forge for the time being in addition to NeoForge. If it becomes too much of a burden, Forge will be removed.
Would you be able to re-instate the Forge module please? :)
@lucko I've added back the forge module.
Do you have any thoughts on requiring an IModInfo or ModContainer for event registration?
https://github.com/LuckPerms/LuckPerms/pull/3950/files#diff-ebe2107a53d10525584eceb9c3d0ecac119f690a38351288dd255307f6088b1aR41
I'm unsure - are there any places in NeoForge where you have to pass either of these? It should be a class similar to Bukkit's Plugin interface.
Another way to look at it - which is easier to get hold of if you're writing a mod?
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.
load your data with the old version of LP, and use
/lp export. move the h2 file somewhere (and delete the h2 v2 file if the newer version of LP was able to create it). load the server with the latest LP version, and use/lp import
Worked, thanks!
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...
do you have LP installed on the client? if so, remove it
NeoForge already has an API for permissions. Is support for this loader planned? The original Forge is already dying, many popular mods are no longer updated on it, they have moved to Neo.
Thanks very much for this :)
Yes, support was added, but when you add it to your server, everyone just gets stuck on the "Joining World..." screen indefinitely despite the console saying you joined. I removed all other mods and tested without LP (Server worked fine and you were able to join) and with LP only (Issue described above occurred).
Description
?
Reproduction Steps
- Install LuckPerms
Expected Behaviour
all plugins crashing with zip file closed, server can't start
Server Details
Purpur 1.21.1-2286-366af80
LuckPerms Version
v5.4.139
Logs and Configs
https://gist.github.com/softy-oniguru/535f232cd71c4ccec96d2dc4c49be9c1
Extra Details
No response
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)
is there anything in the works to officialy add support for this platform with a library?
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).
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
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...
without much information, there isnt really a whole lot that can be done
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...
Description
If a FeedbackForwardingSender is created using Bukkit#createCommandSender it doesn't have permission to run luckperms commands
Reproduction Steps
Create a simple command sender and dispatch a luckperms command with it
Expected Behaviour
For the command specified by the user (for example in a config) to be able to run with the forwarding sender
Server ...
I heard that Minestom is going to remove their permission API. Also, i'm not using Mienstom anymore and i don't plan on maintaing this pull request anymore.
@Codestech1 Where did you here that "Minestom is going to remove their permission API"? To me it looks like permissions are going to be improved.
@Codestech1 Where did you here that "Minestom is going to remove their permission API"? To me it looks like permissions are going to be improved.
On their discord iirc
This happens since the first 1.21.1 paper build
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 )
...
Displaying 58m 50s how can I change minute, second display. I want to change to 58dk 50sn