#issues

1 messages ยท Page 5 of 1

lilac dewBOT
lilac dewBOT
#

This error comes up several times on a fresh Spigot installation using OpenJDK11.

`[Server thread/INFO]: This server is running CraftBukkit version git-Spigot-f56e2e7-07e504c (MC: 1.13.2) (Implementing API version 1.13.2-R0.1-SNAPSHOT)
[Server thread/INFO]: Debug logging is disabled
[Server thread/INFO]: Using 4 threads for Netty based IO
[Server thread/INFO]: Server Ping Player Sample Count: 12
[Server thread/INFO]: Generating keypair
[Server thread/INFO]: Starting Minecraft server o...

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

On start-up, my bungee server has an error with the latest version of UTF8:
`20:27:33 [SEVERE] [LuckPerms] Failed to init storage dao
20:27:33 [SEVERE] java.sql.BatchUpdateException: Unknown character set: 'utf8mb4'
20:27:33 [SEVERE] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
20:27:33 [SEVERE] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
20:27:33 [SEVERE] at sun.reflect.DelegatingConstructorAccessorImpl.n...

lilac dewBOT
lilac dewBOT
#

Version 4.4.2

The message that appears when running /lp applyedits is a positive. It says permissions added/or removed depending on what I am doing...

Could it be this setting below as the perms I am adding are world specific but its a bungee server:

If users on this server should have global (non-world specific) groups applied

apply-global-world-groups: true

So I am guessing this should be false. The dev has LP on every server. Do I need to go in and change config on each one? ...

lilac dewBOT
#

That setting shouldnโ€™t affect anything. It just means that if a group has the world global that it also gets applied. Which is what you want typically. And youโ€™re running 4.2.2 which is severely outdated. Please update the plugin. Latest is 4.3.73 or something like that.
When you do that I suggest you rename your old configs and let the new one generate. As there have been quite a few changes to the config.

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Line 3247 - you can see that your server has started shutting down (LuckPerms has disabled) - but your server is still accepting logins.

That's why you're seeing those errors.

Seems to be an issue with the com.razorblur.mcguicontrol plugin causing your server to stop responding (it's doing some sort of database request on the main thread.

I'm guessing the SpigotLib plugin is what's shutting everything down.

[01:04:11] [pool-27-thread-1/INFO]: ============== SpigotLib Crash R...

lilac dewBOT
#

I'm also experiencing this issue. Though I'll test with 4.3.79 once I get the chance. One thing I'd like to notice is that my 1.13.2 server doesn't experience this issue at all which is running build 4.2.89 while my 1.12.2 server is running 4.3.73 which does experience the issue. So there is a possibility that something happened between 4.2.89 and 4.3.x which caused this issue to appear.

lilac dewBOT
lilac dewBOT
#

Did you edit the files manually (Added the stuff manually) or did you made it through commands/the web editor?
Because editing files manually isn't recommended from us, because errors like the one you reporting can (and will) appear.
We really recommend to actually use the commands or the web editor.
And to your issue: Mind sharing the group-files with us? preferably through hastebin or a GitHub-gist.

lilac dewBOT
lilac dewBOT
#

Using LP v4.3.79

I currently have the following permission in default.json

"context": { "gp_claim": "0c1ceb06-b8cc-47fd-8a45-cc1b16e196ea", "used_item": "minecraft:wooden_sword" }, "data": { "griefprevention.flag.entity-damage": true }

The transient permissions use the following contexts [gp_claim_default=BASIC, gp_default_holder=holder]

GP makes the following permission call
`Tristate value = GriefPreventionPlugin.GLOBAL_SUBJE...

lilac dewBOT
#

I agree with Luck here, it doesn't really make sense to add a rate limit when LP provides 2 solutions to this problem.

  1. Use a filter
  2. Use /lp verbose record as this will not send any data to the client other than the URL to view data after paste.

Also, a rate limit would only apply to Spigot/Paper servers. For Sponge servers, contexts may be used so even though you may see duplicate permissions, it doesn't mean it is the same lookup.

lilac dewBOT
#
[15:40:25] [luckperms-0/WARN]: [LuckPerms] Exception thrown whilst performing i/o: owner

So yeah, your owner.yml file has bad formatting, around this area:

[15:40:25] [luckperms-0/WARN]: java.io.IOException: while scanning an anchor
 in 'reader', line 5, column 3:
    - &8[&4Owner&8]:
      ^
expected alphabetic or numeric character, but found [(91)
 in 'reader', line 5, column 5:
    - &8[&4Owner&8]:
        ^

I suggest deleting that section of the file ...

lilac dewBOT
lilac dewBOT
#

LuckPerms Bungee 4.3.73 seems to randomly hangs/crash bungeecord without any further response.
Log: https://haste.jartexnetwork.com/idusimozis
Bungeecord version https://ci.md-5.net/job/BungeeCord/1390/ (https://github.com/SpigotMC/BungeeCord/commit/9a2acc826e4cc37642219f718cdb8c1eca0c8703)

I am not sure this really crash has to do with luckperms as I never had any issues with luckperms before, but because I only saw this luckperms error I thought it could have something to do with it.

lilac dewBOT
#

https://pastebin.com/0QvFYZjq

I'm getting this error all the time in console even if that player is online and offline and sometimes for online players with "/find" it says they're offline..
Don't know what I did wrong and is it even my fault.. Users in that error doesn't have any permissions on the LuckPerms.

config.yml: https://pastebin.com/Wa5MLNWY

groups:
vlasnik.yml : https://pastebin.com/MtT1LYBy
skin.yml : https://pastebin.com/JjVW3LvH
mod.yml : https://pastebin.com/XUhMQR...

lilac dewBOT
#

When permission entries contain long strings, such as a large shorthand node, the permissions display area overruns the editor width. This has caused the delete and edit buttons to appear off screen with a normal width browser window. My window initially cut off in the middle of the "contexts" column. My browser is around 90% the width of my 1920x1200 monitor, so about 1700 pixels wide.

This affects Chrome. I do not know if it affects other browsers.

Images speak volumes, so:
![2e...

lilac dewBOT
lilac dewBOT
#

I have Argument based command permissions working for one set of permissions for staff, they can add parent for a specific group, but they are refused to addtemp parent, this was working at one point, I cant see whats wrong here, I even tried verbose and it suggested luckperms.user.parent.addtemp in general, but I added this and it didnt work.

    world: PirateCraft_1
    value: true
- luckperms.user.parent.removetemp.privateer:
    worl...
lilac dewBOT
#

Spigot 1.13.2 latest
LuckPerms 4.3.80
Namer 1.1.2

I am testing Namer, which forges the user name somewhere in the Mojang internals. The player UUID is unchanged, so I am still counted as Admin/OP, and LuckPerms still gives me full permissions appropriate to my real group. But

>perms user SlimeDog info
[18:40:55 INFO]: [LuckPerms] A user for SlimeDog could not be found.
lilac dewBOT
lilac dewBOT
#

Hey,

I found a bug on LuckPerms with WorldGuard.

In the LuckPerms config.yml, I activated the "auto-op: true".
Which allows you to automatically assign OPs to a group or user, which receives permission "luckperms.autoop", and so far everything ok.

In WorldGuard in the config.yml I set "op-permission: false", which also allows who and OP, not to have WorldGuard permissions.

But the bug is not working, if luckperms and on the server, as soon as I removed the plugin luckperms, World...

lilac dewBOT
#

After downloading the latest LuckPerms and latest Bungee I cannot get LuckPerms to load as it comes up with the follow error.

`17:53:54 [WARNING] Exception encountered when loading plugin: LuckPerms
java.lang.NoClassDefFoundError: com/google/common/collect/Streams
at me.lucko.luckperms.lib.text.serializer.LegacyComponentSerializerImpl.<clinit>(LegacyComponentSerializerImpl.java:47)
at me.lucko.luckperms.lib.text.serializer.ComponentSerializers.<clinit>(ComponentSerializers.java:...

lilac dewBOT
lilac dewBOT
#

I use WorldGuard 7 on spigot 1.13.2, but I do not think this makes the difference.
It is a problem of LuckPerms not of WorldGuard.

Because if I remove the LuckPerms plugin, Worldguard blocks OP, if the option op-permission: false.
If instead of luckperms and on the server, WorldGuard no longer blocks OP.

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Hello,

I recently noticed a big problem with your plugin. After I added permission on the server (survival) in my BungeeCord network, another server on the other dedicated server (skyblock) doesn't allow players to login. I think that this is due to a big ping to the server with the MySQL database. On the thread dump you can see that the server disconnected the players because of your plugin: https://pastebin.com/vsbzDGz1

`[07:47:19] [luckperms-0/INFO]: [LP] LOG > (nickname@survival) [G...

lilac dewBOT
#

Just tested this. I'm running this on Spigot 1.13.2, LP version 4.3.73. Denying myself bukkit.command.op and then allowing it resulted in an allow. This functions as @PrincessRTFM described in their post.

Commands were run in this order:

/ess version
/perm user Foxtrek_64 permission set bukkit.command.op false
/perm user Foxtrek_64 permission set bukkit.command.op true
/perm user Foxtrek_64 permission info

![image](https://user-images.githubusercontent.com/7003081/518959...

lilac dewBOT
lilac dewBOT
#

The base system is a rented dedicated server that I have installed Ubuntu 16.04 LTS and Multicraft on.
I used Multicraft to create the MySQL databases.

On 4.3.80 and 4.3.83 LuckPerms for bungee;

FYI: Everything works fine on servers, so I am assuming I am doing everything right in configuration, and I have included a redacted config farther on. The servers work, including syncing changes across servers.

It was suggested in the LuckPerms Discord channel that I open an issue h...

lilac dewBOT
#

That web editor is great, but it's also a bit heavy for just changing one or two things - like if you forgot to add false at the end of a line - and it doesn't work right on all server rental services. In particular, MelonCube and their Multicraft control panel break the input so that you can't use the console to apply the changes. Furthermore, you can't script it, so you couldn't make an adventure server or something similar that toggles permissions on players without an intermediate `unse...

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

A haaa, I had forgotten this was added already! ๐Ÿ˜…

Since this commit, this behaviour should already be happening: https://github.com/lucko/LuckPerms/commit/d28170cc3f03583edc3d8cbca1427133bdf99445

Also, talk of the web editor is irrelevant - I've hidden those comments.

Sooo, yes, seems like a bug if your'e not seeing this behaviour already. @TheRealLogical Can you make sure you're using the latest version, and then give us the commands you tried to run.

#

The exception itself (it's not a crash) should be resolved in the latest version.

As for dealing with bot attacks, I don't see that as being a LP problem. It will load user data for any user who connects, as you would expect.

Either you need to get an anti-bot plugin which can cancel the connections before they are handled by plugins on the server, or enable online mode and let Mojang do that for you.

#

I think you're getting the WorldGuard op-permission option confused with deop-everyone-on-join and block-in-game-op-command.

The op-permission setting, when set to true, will allow server operators access to WorldGuard even if they don't have the permission for it - when it's false, the system just works as normal with permissions - if they have the perm, they can use the command, otherwise they can't.

#

I'm still totally lost with this issue. I've done a number of tests to try to trigger bad behaviour with LP's permission attachment handling - resulting in the fix above - but that still doesn't seem to have fixed the issue.

I've also compared the difference between the current version and the versions that are supposedly fine, but can't really see anything significant.

As I said, I really need steps in the style of [this](https://github.com/lucko/LuckPerms/issues/1330#issuecomment-4520...

#

About the logs: Had to capture off of the console as it stopped recording them. I know I need to fix this. It seems about a week ago, all my servers stopped logging.

Also, for the bungee version, it seems having '#' as the first character of the password causes an issue.

I currently have the bungee version successfully connecting to a MySQL on another machine. To do that, I had to remove the '#' from the password.

The bungee will connect to the MySQl that the servers are conne...

lilac dewBOT
lilac dewBOT
#

I don't want OPs, has WorldGuard permission, for security reasons

That's fine, but simply setting op-permissions to false won't do that. By default, Bukkit gives operators access to all permissions - which is what's happening here.

How do I deny WorldGuard.* to the OP?
You can only deny on a group or player, not on OP.

Just deny it for all players (the default group)

lilac dewBOT
lilac dewBOT
#

We have already told you the steps that produce it or that seem to produce it (in a margin of 90%).

The last thing you could do, to try to help you find the error, would be to invite it one day that you can to the server.

It is provided with the necessary tools for testing, (configurations, op, rank admin and it indicates the steps to follow so that the error occurs at the moment)

lilac dewBOT
#

Even "keep trying this" x times until the issue appears is fine - I understand it only happens sometimes.

However, I have never used Towny before and don't even know where to start with that. I don't have hours to spend messing around with the plugin just hoping to stumble upon the issue, which is why I need instructions.

Make a clean server, containing only LuckPerms & Towny with default (or very close to default) configs and try to reproduce the issue. If you're able to, explain how a...

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

I am creating a bungeecord network and using LuckPerms. I have made a bungeecord network with LP before and it worked fine. I followed all of the instructions in the GitHub for setting up with a network. I am using the same configs and jars from the previous server (besides the bungeecord proxy), and I have no clue why it doesn't work.

lilac dewBOT
#

So I'm getting some huge errors when I type /lp editor, here they are...

[00:50:42] [pool-7-thread-1/WARN]: java.lang.RuntimeException: java.net.UnknownHostException: bytebin.lucko.me: Temporary failure in name resolution
[00:50:42] [pool-7-thread-1/WARN]: at me.lucko.luckperms.common.web.StandardPastebin.post(StandardPastebin.java:156)
[00:50:42] [pool-7-thread-1/WARN]: at me.lucko.luckperms.common.web.StandardPastebin.postJson(StandardPastebin.java:123)
[00:50:42] [pool-7-thread-1/W...

lilac dewBOT
lilac dewBOT
#

Hey, I ended up updating the plugin but it didn't work at all.

I'm using a dedicated machine and I tried on a normal mc server from a host and it worked fine, please help me, I don't know what's going on with my server.

It's not resolving the host with most plugins, also with vault, buycraft and etc.
Please tell me or give me a hint on what could be happening with my server.

#

It's giving very similar errors with most plugins, such as this...

[02:24:39] [Thread-20/INFO]: [HeadsPluginAPI] null
java.net.UnknownHostException: freshcoal.com
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184) ~[?:1.8.0_191]
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[?:1.8.0_191]
at java.net.Socket.connect(Socket.java:589) ~[?:1.8.0_191]
at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:666) ~[?:1.8.0_191]
at sun.net...

#

Here too...

[02:24:08] [Thread-12/ERROR]: [MinePacks] null
java.net.UnknownHostException: api.curseforge.com
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184) ~[?:1.8.0_191]
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[?:1.8.0_191]
at java.net.Socket.connect(Socket.java:589) ~[?:1.8.0_191]
at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:666) ~[?:1.8.0_191

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Hello,

As the title says, only luckperms is having this problem from 1 to 3 hours after I start the server. The error message appears around that window of time. No other errors. Just keeps repeating itself again after 1 to 3 hours between each message.

Yes, I already followed the "Storage system errors" in the Wiki.
I double checked the MySQL wait_timeout and it is 28800 (default). I didn't change the default in config.yml either.
Here is the [storage section from my co...

lilac dewBOT
lilac dewBOT
#
07:55:05 [INFO] [LuckPerms] Performing initial data load...
07:55:08 [INFO] 07:55:08.054 [luckperms-hikari connection adder] DEBUG me.lucko.luckperms.lib.hikari.pool.HikariPool - luckperms-hikari - Cannot acquire connection from data source java.sql.SQLException: Access denied for user 'jacobal1_admin'@'cpc77299-basf12-2-0 cust104.12-3.cable.virginm.net' (using password: YES)```

Why is this not working?
hasteb.in htt...
lilac dewBOT
#

Quite simple. Either you have the wrong password, wrong database or wrong server.

Since you probably are on a hoster, my guess would be that you just picked a database name instead of using the one assigned to you. Use the one it tells you to use on the hosterโ€™s site where you got the username and password from.

lilac dewBOT
#

Hello, bug haven't been fixed:

[15:57:27] [Server thread/ERROR]: Encountered an unexpected exception
java.util.NoSuchElementException
at java.util.concurrent.ConcurrentSkipListMap$Iter.advance(ConcurrentSkipListMap.java:2316) ~[?:1.8.0_201]
at java.util.concurrent.ConcurrentSkipListMap$KeyIterator.next(ConcurrentSkipListMap.java:2351) ~[?:1.8.0_201]
at com.google.common.collect.AbstractMapBasedMultimap$Itr.next(AbstractMapBasedMultimap.java:1150) ~[spigot-1.8.8-8.jar:git-Spigot-21fe...

#

`[15:57:27] [Server thread/ERROR]: Encountered an unexpected exception
java.util.NoSuchElementException
at java.util.concurrent.ConcurrentSkipListMap$Iter.advance(ConcurrentSkipListMap.java:2316) ~[?:1.8.0_201]
at java.util.concurrent.ConcurrentSkipListMap$KeyIterator.next(ConcurrentSkipListMap.java:2351) ~[?:1.8.0_201]
at com.google.common.collect.AbstractMapBasedMultimap$Itr.next(AbstractMapBasedMultimap.java:1150) ~[spigot-1.8.8-8.jar:git-Spigot-21fe707-e1ebe52]
at java.util.Colle...

lilac dewBOT
lilac dewBOT
#
[00:11:13 INFO]: artur9010 issued server command: /lp applyedits oN1YroJ8Bqv
[00:11:13 WARN]: java.lang.RuntimeException: Got response: 404 - Not Found - Invalid path
[00:11:13 WARN]:        at me.lucko.luckperms.common.web.HttpClient.exceptionForUnsuccessfulResponse(HttpClient.java:69)
[00:11:13 WARN]:        at me.lucko.luckperms.common.web.HttpClient.makeCall(HttpClient.java:55)
[00:11:13 WARN]:        at me.lucko.luckperms.common.web.WebEditor.getDataFromGist(WebEditor.java:152)
...
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#
[14:46:08] [Server thread/ERROR]: [LuckPerms] Failed to init storage dao
[14:46:08] [Server thread/WARN]: java.lang.RuntimeException: Property characterEncoding does not exist on target class me.lucko.luckperms.lib.postgresql.ds.PGSimpleDataSource

You need to remove the property that doesn't exist for your storage provider from the properties section in the configuration file

Am, postgresql does not exists?
![image](https://user-images.githubusercontent.com/23015901/...

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

That's not the full log.

31.01 22:24:21 [Multicraft] Skipped 74 lines due to rate limit (30/s)

I need to see the full proxy log file.

Please just follow my instructions exactly - I'm not trying to be difficult, quite the opposite, I need the steps to be followed in order to help you.

Could you restart your proxy, and then try logging in.
If the error still shows, could you send over the full log?

#

Appreciate you taking the time to read the wiki before making an issue! <3

I'm not sure either. These errors aren't from LuckPerms, and I don't know enough about the way MySQL / the MySQL driver works to be able to give much more advice.

As it's not an LP issue, there's really nothing I can do. I guess in terms of practical advice, you could:

  • Attempt to set the lifetime even lower
  • Switch back to MariaDB?? (if it worked before then perhaps that's gonna be the easiest way to resol...
lilac dewBOT
lilac dewBOT
#

I use LuckPerms v4.3.87, last build on this moment.
ChatEx - v1.6.
So .. I have problems with the tracks and not only.
I have two tracks, a donor and a staff. So, if I set the donor track to the user and then install the track to it, the user will have the last group from the first track and the penultimate of the second in the chat. Two prefixes as in the first screenshot.
image
![im...

#

Well, around 17 plugins use that database, and all of them are fine. Only LuckPerms is having the issue.
My database logs show no signs of LuckPerms trying to reconnect.

As you said, you don't know enough about MySQL, this could mean you may have left out some important configuration (or correction) while setting up the JDBC? Several other plugins that I use have the autoReconect option in their code for MySQL.

The issue is closed, no need for me to keep poking. Just asking kindl...

#

Absolutely, I'm definitely not infallible - far from it. ๐Ÿ˜‰

The reason I closed the issue is because as far as I can tell, there's nothing I can immediately change or identify within LuckPerms itself to resolve the issue.

The JDBC settings are fairly standard, and I'm using a very popular (and I would say generally well regarded) 3rd party library to handle connection pooling. I believe auto reconnect functionality is handled by Hikari in this instance.

If anything else comes up, or ...

lilac dewBOT
lilac dewBOT
#

I went back to review all the content of this discussion and I think I will detail again what exactly happens.
After seeing the tests he did, using the gamemode command I can see that he did not do the tests properly. (It should be noted that the command you introduced wrong to not have essentials)

As many of us already know, the towny permissions are assigned in the file townyperms.yml and the permissions in LuckPerm go by a different path

First, I want to emphasize that the errors h...

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

In the API there are calls to register a context calculator and calls to subscribe to events. I need a way to unsubscribe and unregister as well so my plugin works well with loading and unloading. Otherwise I cannot say that my plugin handles memory management properly.

A lot of people say you should never reload plugins. Personally, I reload my plugins individually 100 times before a server reboot is considered because of good housekeeping practices. To prevent any memory leaks I would l...

lilac dewBOT
#

Based on what I have seen so far from the code I believe the easiest way to add this functionality without breaking existing API calls would be to make your system like the bukkit scheduler system. When you add a listener or something of that nature, return an integer key that can be used to remove the item later. Alternatively, allow people to unregister all "things" that have been registered by plugin X.

lilac dewBOT
#

@lucko ok.

I typed /lp group vip editor
I got that url: https://luckperms.github.io/editor/#IT0j5MUhCJ

Added permission essentials.compact
Typed /lp applyedits GWAuKJbmeu on server
Got 404

[18:10:41 INFO]: artur9010 issued server command: /lp applyedits GWAuKJbmeuv
[18:10:41 WARN]: java.lang.RuntimeException: Got response: 404 - Not Found - Invalid path
[18:10:41 WARN]:        at me.lucko.luckperms.common.web.HttpClient.exceptionForUnsuccessfulResponse(HttpClient.java...
lilac dewBOT
#

I'm attempting to migrate from Powerfulperms to Luckperms, but I just can't seem to get it to work.

I'm getting the following Error in chat when I'm attempting:
"Error - Couldn't find table"

I've now quadruple checked that the table name in chat is correct, as it appears in MySQL as with the standard name "players"

I'm running the latest version of both plugins (LP and PP) that is, of cause.

lilac dewBOT
lilac dewBOT
#

When passing permission griefprevention.flag.interact-block-secondary.minecraft with context gp_claim_default=wilderness I receive UNDEFINED result when the node list shows the permission griefprevention.flag.interact-block-secondary being true.

[21:26:05 INFO]: Created node ImmutableNode(permission=griefprevention.flag.interact-block-secondary.minecraft, value=true, override=false, server=Optional.empty, world=Optional.empty, expireAt=0, contexts=ImmutableContextSet(contexts=...
lilac dewBOT
lilac dewBOT
#

If I can't use CachedData, I would have to construct all these methods myself to handle permissions/contexts like Sponge proxies do.

For example, https://github.com/lucko/LuckPerms/tree/master/sponge/sponge-service-api7/src/main/java/me/lucko/luckperms/sponge/service/proxy/api7

These proxies contain all the required functionality that I will need for Bukkit. If this proxy could be moved to a common interface where I could make the same permission calls as Sponge then I would have no is...

lilac dewBOT
lilac dewBOT
#

I would need the following methods in a common interface to function the same

SubjectProxy

SubjectData getSubjectData()
SubjectData getTransientSubjectData()
Tristate getPermissionValue(@NonNull Set<Context> contexts, @NonNull String permission)
Optional<String> getOption(@NonNull Set<Context> contexts, @NonNull String key)
Set<Context> getActiveContexts()
boolean hasPermission(@NonNull String permission)
boolean hasPermission(@NonNull Set<Context> contexts, @NonNull String...
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Hello, I have currently a pixelmon server (gen 7.0.1) and I have it running on spigot/bukkit. I am basically running spigot/bukkit with mods for 1.12.2. So the problem I have is that I have luckperms on my server and I put the perms etc. on each rank and they work. When I put forge permissions like permissions from the pixelmon mod to luckperms they don't still allow the users to use the command or anything. Is there a way to get forge perms compatible to use on my spigot server? I have down ...

lilac dewBOT
#

When adding LP API 4.3 as a dependency in dev, I get the error below on startup. However, If I depend on LP Sponge(latest) instead, it works fine.

java.lang.NoSuchMethodError: me.lucko.luckperms.api.Contexts.setContexts(Lme/lucko/luckperms/api/context/ContextSet;)Lme/lucko/luckperms/api/Contexts;
	at me.lucko.luckperms.common.context.ContextManager.formContexts(ContextManager.java:149) ~[ContextManager.class:?]
	at me.lucko.luckperms.sponge.context.SpongeContextManager.formContexts(...
lilac dewBOT
lilac dewBOT
#

I'm trying to connect to a MySQL server in order to use global ranks (BungeeCord network). However, I got this error when starting my SkyBlock server:

https://mclo.gs/GSnau3n

At first, I thought it was a connection error, however, it's consistent (it happens every time I restart the server) AND the MySQL connection works fine on both the lobby server and the BungeeCord proxy.

Does anyone know why this is happening?

lilac dewBOT
#

So you seem to have a couple problems here. However, it's this problem that's causing the connection to outright fail.

See line 30 where it reports the following:
[17:10:25 WARN]: Caused by: me.lucko.luckperms.lib.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: User JPIcG8LzOp already has more than 'max_user_connections' active connections

For this issue, read this article on the wiki regarding [storage system errors](https://github.com/lucko...

lilac dewBOT
lilac dewBOT
#

Upon attempting to have permissions synced via mysql I use the same config on multiple servers. Although one server will not run LuckPerms and throws this error
`[05:46:27] [Server thread/INFO]: [LP] Loading storage provider... [MYSQL]
[05:46:27] [Server thread/ERROR]: Error occurred while enabling LuckPerms v4.2.17 (Is it up to date?)
java.lang.reflect.UndeclaredThrowableException
at com.sun.proxy.$Proxy20.init(Unknown Source) ~[?:?]
at me.lucko.luckperms.common.storage.StorageFactory...

#

Hi thanks for quick reply.

Even after updating it still does not work. Cant seem to figure out why...

New error:

[06:04:18] [Server thread/INFO]: [LuckPerms] Attempting to apply relocations to hikari-3.3.0.jar...
[06:04:18] [Server thread/INFO]: [LuckPerms] Loading storage provider... [MYSQL]
[06:04:19] [Server thread/ERROR]: Error occurred while enabling LuckPerms v4.3.94 (Is it up to date?)
java.lang.NoSuchMethodError: org.apache.logging.log4j.spi.LoggerContext.getLogger(Ljava...

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

So the issue here seems to be that when adding multiple permissions at a time, the editor will trigger this failure. The log snippet shows a successful use of the editor, when addding a test permission, but then a failed use when editing a group.

LP Info

Running LuckPerms v4.3.94 by Luck.
 Platform: Bukkit
 Server Brand: Paper
 Server Version: git-Paper-524 (MC: 1.13.2) - 1.13.2-R0.1-SNAPSHOT
 Storage:
    Type: MariaDB
    Ping: 0ms
    Connected: true
 Messaging: Sql
...
#

[WARNING] [LuckPerms] User bc7ee6b4-a219-3f2e-8e68-85e7ab62db82 - FNGaming doesn't have data pre-loaded, they have never been processed during pre-login in this session. - denying login.

[INFO] Disconnecting com.mojang.authlib.GameProfile@c9d61f1b[id=bc7ee6b4-a219-3f2e-8e68-85e7ab62db82,name=FNGaming,properties={},legacy=false] (/46.217.73.209:51515): ยง7ยงl[ยงbยงlLยง3ยงlPยง7ยงl] ยงcPermissions data for your user was not loaded during the pre-login stage - unable to continue. Please try again later...

lilac dewBOT
#

Server: Paper version git-Paper-474 (MC: 1.13.2)
LuckPerms Version: 4.3.73
DeluxeChat Version: 1.13.2
Group information: https://pastebin.com/raw/mbTzHgmJ

There's an issue with my chat format being displayed due to a permission issue with LuckPerms. With help from Imortalshard in Discord we've ruled out DeluxeChat being the cause of this (so far).

To give you a rundown, the default group having the permission chatformat.default (with contextual data matching the ...

lilac dewBOT
lilac dewBOT
#

`[07:10:53] [Server thread/INFO] [nucleus]: FrostEffects ran the command: /lp log notify off
[07:10:53] [pool-4-thread-1/INFO] [STDERR]: [me.lucko.luckperms.common.command.CommandManager:execute:219]: java.util.concurrent.CompletionException: java.lang.IllegalArgumentException: No enum constant me.lucko.luckperms.api.LogEntry.Type.U
[07:10:53] [pool-4-thread-1/INFO] [STDERR]: [me.lucko.luckperms.common.command.CommandManager:execute:219]: at java.util.concurrent.CompletableFuture.encodeThr...

lilac dewBOT
#

Luck - Last Sunday at 23:21
Fng I'm assuming you're FNG12358 on github

Fng - Last Sunday at 23:21
yes

Luck - Last Sunday at 23:21
are you using craftbukkit?
or spigot?

Fng - Last Sunday at 23:21
yes
craftbukkit

Luck - Last Sunday at 23:21
is your server in offline mode

Fng - Last Sunday at 23:21
yes its cracked

Luck - Last Sunday at 23:22
ok, you need to either make it online mode (not cracked) or use spigot/paper instead

Fng - Last Sunday at 23...

#

As for practical advice, I suggest removing plugins, especially those written by less reputable authors, which you've updated or installed recently, and see if that fixes the problem.

Alternatively, you can more frequently restart your server, to try to prevent it from getting to a point where it runs out of memory.

lilac dewBOT
#

Hey lucko,
Cheers for your reply.

I ran verbose and received the following:
[LP] VB > camm_ - chatformat.default - undefined
It's stating the permission is undefined for my user, which means not true nor false, correct?

My groups are:
[LP] - Primary Group: default
[LP] - Parent Groups:
[LP] - > default (server=survival)
[LP] - > default

The group I'm in has the correct permissions:
[LP] default (Settler)'s Permissions: (page 1 of 1 - 3 entries)
`> chatf...

#

@Andre601 I thought that, but I can't actually remove the default parent:

> lp user CAMM_ parent remove default
[LP] camm_ no longer inherits permissions from default in context global.

I assume the above would remove the default parent with no contextual data, however it still displays both groups.

@Tur

Are you on Discord? Might be easier to help you if you join our support server https://discord.gg/luckperms

I am in the Discord already :)

lilac dewBOT
#

After adjusting all the groups/permissions to remove contextual data and have everything global, and trying some troubleshooting with Unlucky Mods on Discord, the problem still persists.

The permission chatformat.default being added directly to myself works, verbose and in-game chat confirms this. The same permission being added to my primary group, doesn't work, verbose and in-game chat confirms this.

I'm really not sure what else to do, adding permissions per player per ran...

lilac dewBOT
lilac dewBOT
#

4. However, LuckPerms does not have to register these permissions, nor mark them as denied, because these permissions are controlled by the townyperms file

You're misunderstanding how the townyperms file works. Everything is still controlled through LuckPerms.

Just to reiterate what I've said already:

Even "keep trying this" x times until the issue appears is fine - I understand it only happens sometimes.
However, I have never used Towny before and don't even know where to star...

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

This should stop for new or users with 0 knowledge this error and stop wasting time to search.

[Thu, 21. Feb 2019 12:12:47 CET WARN] Thu Feb 21 12:12:47 CET 2019 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is se...
lilac dewBOT
lilac dewBOT
#

You're misunderstanding how the townyperms file works. Everything is still controlled through LuckPerms.

I know how the towny permissions works perfectly.

And I keep telling you, that your plugin does not have to control these permissions.
Because in this way LuckPerm can not differentiate between which users have ranges in towny and which do not.

I can not assign permissions of assistant, mayors or other towny ranks through LuckPerm.
https://pastebin.com/hKNFz7QP

I'll take ...

lilac dewBOT
#

I also don't see a reason, why the config would have useSSL with a default value of false.
There are only a very few people that report issues with SSL and adding the config option manually isn't that much of an issue.
Most MySQL systems always have SSL active by default, since in most cases they are hosted by a Server-host.
And since those databases are often used by multiple people with multiple different IPs a SSL connection is a must have to make sure, that a secure connection is given.

lilac dewBOT
#

And I keep telling you, that your plugin does not have to control these permissions.

It's not doing anything special to "control" them.

  • Causing the / t spawn error -

Here's a log of me testing the first "error" you described.

I ran though the steps 10 times, worked fine every time.

[14:26:30 INFO]: Done (9.021s)! For help, type "help"
[14:26:30 INFO]: Timings Reset
[14:26:30 INFO]: [TownyChat] -******* TownyChat enabled *******-
[14:26:31 INFO]: [Vault] Checking f...
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

The only sensible option would be to explicitly enable SSL and certificate verification.

The inexperience of some shouldnโ€™t be the reason for insecurity of many.
Because if we did that it would be like saying we canโ€™t use passwords anymore because some people forget them.

Insecure by default is a very bad idea. And a much bigger issue than some people struggling setting up the plugin.
I also believe that if you canโ€™t find the solution to a problem which solution is explained in th...

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Suppose I have a track that looks like the following:

default -> donator1 -> donator2 -> donator3

With the way I set up perms (following Microsoft best practice), groups represent roles, and as such, those groups only have as many permissions as is required to fulfill that role and nothing more. This means, the default group, which acts as my member role, will only have those permissions required by the entire playerbase regardless of staff membership, donation, and so forth.

An ...

lilac dewBOT
lilac dewBOT
#

your perm groups should inherit the previous group as needed. this means any promotion along that line will maintain previous perm groups.

That's a very good point, @ktole1999. And that matches the recommended configuration. The issue is if you want to automatically promote without them manually being added to the lowest group of the track, then one needs to make the lowest group of the track the default group. This works well, as long as there is only one track - users will be p...

#

I agree Discord may be a better place to have a discussion.

My server has three tracks, one for graylisting, one for staff, and one for donors. The setup that works for me is:

Track    | Path
---------+----------------------------
Greylist | default -> greylist
Staff    | chatmod -> mod -> admin
Donor    | donor

And I have both chatmod and donor inheirt the greylist group, and it works well for me.

lilac dewBOT
#

Hello, Maybe you guys can help me.
When I try to use a sign I made with essentials, i can only use them as a server OP. Nobody can use them even as owner with all-perms. The only way I can use the signs is if i'm op'ed from the server cmd. Even when i give myself in-game all-perms. as my personal account, warp signs wont help. I even went through the config. files and checked everything to the best of my ability. Please help. Here are some picture for you to see the perms. of all group...

lilac dewBOT
#

Any perm.* reference should be changed

Sent via the Samsung Galaxy Sยฎ 6, an AT&T 4G LTE smartphone

-------- Original message --------
From: ShadowAngel25 notifications@github.com
Date: 2/27/19 8:34 AM (GMT-06:00)
To: lucko/LuckPerms LuckPerms@noreply.github.com
Cc: Bebo ktole1999@hotmail.com, Mention mention@noreply.github.com
Subject: Re: [lucko/LuckPerms] Can't Use Signs (#1443)

@ktole1999https://github.com/ktole1999 I'm assuming you're referring to the owner permissions?

...

lilac dewBOT
#

@ktole1999 incorrect. That only works on Sponge.

And in regards to your problem @ShadowAngel25 I'd highly recommend you debug your permission issues with Verbose.
Also please keep in mind that LuckPerms is not responsible for the actual permission nodes. When you're having issues with plugin's permissions, ask for help on their support places.

lilac dewBOT
#

Hello, Maybe you guys can help me.
When I try to use a sign I made with essentials, i can only use them as a server OP. Nobody can use them even as owner with all-perms. The only way I can use the signs is if i'm op'ed from the server cmd. Even when i give myself in-game all-perms. as my personal account, warp signs wont help. I even went through the config. files and checked everything to the best of my ability. Please help. Here are some picture for you to see the perms. of all groups....

lilac dewBOT
lilac dewBOT
#

Hello, Maybe you guys can help me.
When I try to use a sign I made with essentials, i can only use them as a server OP. Nobody can use them even as owner with all-perms. The only way I can use the signs is if i'm op'ed from the server cmd. Even when i give myself in-game all-perms. as my personal account, warp signs wont help. I even went through the config. files and checked everything to the best of my ability. Please help. Here are some picture for you to see the perms. of all gro...

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

It doesn't need to be a fault on LPs side, since a missconfiguration on your MySQL database (for example a too short lifetime for connections) can cause that too.

And the error clearly states, that LP tries to connect on an already closed connection, which means that either the setting in the config of LP or the one in MySQL is set wrong.
I already linked the page about common errors in storage systems and yours could be one of 2 listed errors.

lilac dewBOT
lilac dewBOT
#

Just use /lp verbose on <your IGN> and use the signs, to see what permissions are checked.
You can then disable verbose again after that with /lp verbose off

LPs verbose can return permissions with three values:

  • true The user has permission to use the command/function.
  • false The user has the permission, but it is denied.
  • undefined The permission isn't set for either the user and/or the group.
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

unable to get instance of API inside a plugin running on the proxy (BungeeCord) all servers including the proxy are running LuckPerms, and my proxy plugin is depending on LuckPerms plugin.

Here's the error
`18:40:24 [INFO] Enabled plugin LuckPerms version 4.3.99 by Luck
18:40:24 [WARNING] Exception encountered when loading plugin: ProxyQueue
java.lang.IllegalStateException: API is not loaded.
at me.lucko.luckperms.LuckPerms.getApi(LuckPerms.java:54)
at ca.pureplugins.gg.dawn.P...

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

I try /lp editor and get this in the console:

[15:32:58 WARN]: java.lang.RuntimeException: java.net.SocketTimeoutException: Read timed out
[15:32:58 WARN]: at me.lucko.luckperms.common.web.StandardPastebin.post(StandardPastebin.java:155)
[15:32:58 WARN]: at me.lucko.luckperms.common.web.StandardPastebin.postJson(StandardPastebin.java:122)
[15:32:58 WARN]: at me.lucko.luckperms.common.commands.misc.EditorCommand.execute(EditorCommand.java:110)
[15:32:58 WARN]: ...

#

It's designed like that on purpose. Because most servers don't have the luxuxy of being able to have any additional port they like. Especially when using hosters.
The solution with using an external datastorage allows everyone to use the editor without any additional setup.

Also the editor and the bytebin backend are open source aswell. There's a rough guide on how to set it up yourself and how to change the URLs, so it works with your selfhosted instances.

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

I had set vault-unsafe-lookups: false (I didn't really want to, but it was the recommendation of all the errors by LuckPerms spit out below. I did some more reading about those errors and it seems the LuckPerms devs all agree it is the cause of other plugins. This likely caused the errors I was getting above. Can you help me to know who I should be contacting? WorldGuard? Citizens? So many different plugins are listed below I'm not sure which ones I should be approaching. Thanks!

https...

lilac dewBOT
#

For some reason, whenever I update the default group permissions in GP it does not take effect until AFTER I restart server. Here is the code

    public boolean setPermissionValue(PermissionHolder holder, String permission, Tristate value, Set<Context> contexts) {
        DataMutateResult result = null;
        ImmutableContextSet set = ImmutableContextSet.fromEntries(contexts);
        final Node node = GriefDefenderPlugin.getInstance().luckPermsProvider.getLuckPermsApi().g...
lilac dewBOT
#

I am using version 4.3.73 for my game servers... I took all of the nessasary steps to migrate from PEX to LP, although when I run /lp listgroups I do not see any of our old PEX groups.
-First I connected all our serverโ€™s PEX filed into the same database
-Then I downloaded LP on each server
-After, I ran the migrate command
-I then ran the bulk update command
-After that I ran the export command
-I deleted all PEX files
-I shut down all of our servers and configured LP onto the same da...

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

So...
my problem is that I'm currently working on a bigger project and now the time comes to use luckperms as permission system. I'm developing a Mod and Plugin which run on SpongeForge. When I now try to run the server and then connect via client to the server, i get this error:

[19:55:43] [User Authenticator #1/ERROR] [Sponge]: Could not pass ClientConnectionEvent$Auth$Impl to Plugin{id=luckperms, name=LuckPerms, version=4.3.99, description=A permissions plugin, url=https://luckperms....

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

after several days, in a clean server I have managed to make the errors appear.
However, it is really complicated to occur and even more if the test I'm doing only with 2 accounts.

-> On my test server I can make the error, every, much, much, much time by entering commands

-> In my online server, as the number of users interacting with the plugin is much greater, failures occur with greater ease and speed.

Disappointingly I have not been able to take a series of steps to produce the...

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

This is a question I see quite often in the Discord - someone comes from PEX and gets worried when they don't see a permissions.yml file. So instead of accepting the learning curve and learning a new system, they decide that remaining with what they know, even if it's detrimental for the server, is better than the objectively better system. This FAQ entry would provide some insight into why LP doesn't default to flat file permission systems with a hope of dissuading someone from using it wi...

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

i have this error in console java.lang.NoSuchMethodError: org.apache.logging.log4j.spi.LoggerContext.getLogger(Ljava/lang/String;)Lorg/apache/logging/log4j/spi/E

and in minecraft when i connect from the bungee i get a database error occured whilst loading permissions data. please try again later.

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Hiya,

The latest luckperms does not allow for the security options necessary to manage a secure MySQL installation as of versions that have been out for a good while now (at least a year). Please refer to below.

Every time luckperms accesses secured MySQL, the log generates this. This is normal for plugins that ignore secure vs insecure MySQL and there is no way to stop these.

[07:35:18] PST 2019 WARN: Establishing SSL connection without server's identity verification is not recommen...

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Curently (version 4.3.75) if I select split storage and configuring it to save only groups and tracks into my database (postgres) - all other luckperms_* tables are being created. Specifically user_permissions, actions and users. And since they have no functionality with such configuration and only cluttering my DB schema it would be such a great addition to skip tables creation for not configured data types.

I have checked the code and see that SqlStorage.init() method have no parame...

lilac dewBOT
#

i get this error on using luckperms with bungeecord
it's werid like the error is happens on randomly player
it's start spamming when that player online, it's stopped spamming when that player loggout

`21:55:59 [ๅšด้‡] ?T?? 10, 2019 9:55:59 ?U?? net.md_5.bungee.event.EventBus post
??i: Error dispatching event PermissionCheckEvent(sender=migitpigie, permission=bungeecord.command.list, hasPermission=false) to listener me.lucko.luckperms.bungee.listeners.BungeePermissionCheckListener@aeab9a1...

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

You may find that running with a flat file storage system causes LuckPerms to run much slower than usual, and it will complain of such in the server console.

This isn't true - it won't have an impact on the speed at which LP will run.

I'm happy to add a FAQ entry for this, but I believe it is already covered somewhat by the benefits/drawbacks section of this page.

https://github.com/lucko/LuckPerms/wiki/Storage-types

lilac dewBOT
lilac dewBOT
#

Enabled yaml file but can't get any of the permissions to work

name: default
permissions:

  • ftbutilities.homes.max: <10>
  • ftbutilities.homes.cross_dim
  • command.ftbutilities.tpa
  • command.ftbutilities.tpaccept
  • command.ftbutilities.sethome
  • command.ftbutilities.home
  • command.ftbutilities.delhome
  • command.ftbutilities.back
  • command.ftbutilities.warp
  • command.ftbutilities.setwarp
  • command.ftbutilities.delwarp
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

When testing things for my server I tried using the /lp group <group> permission set pixelmon.command.pokegive true command to give my admins the /pokegive command, and it went through. But when attempting to use the pokegive command it did not work. It worked only once I used the /lp user <user> permission set pixelmon.command.pokegive true to give myself access. I ampart of the admin group, so it should have worked, But it doesn't, and if I run the group command again it says that the admin...

lilac dewBOT
#

Hey, i am kinda "new" to spigot peogramming, and i wanted do connect my Chat plugin with Luckpers. i e. I want to get the prefix from the User/group.

Hwo do i do this?

I have no clue!

I use Eclipse and i dont know how to "connect" the API to Eclipse.

lilac dewBOT
#

Hello i have a litle problem with luckperm with SQL in deed:

The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
[05:00:32 WARN]:        at sun.reflect.GeneratedConstructorAccessor264.newInstance(Unknown Source)
[05:00:32 WARN]:        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
[05:00:32 WARN]:        at java.lang.reflect.Constructor.newInstance(C...
lilac dewBOT
#

I submitted this error to both citizens2 and worldguard. Worldguard said the latest update just hides the issue, but the root cause has to do with citizen2 and luckperms.

Citizens2 told me it was a worldguard issue, but also a luckperms issue. Probably worth a look at.

https://hastebin.com/dojavitiko.sql

Latest Paper 1.13.2
Latest Luckperms 4.3.109
Latest Citizens2 Citizens-2.0.24-b1625
Latest Worldguard 7 Beta 3

#

Essentially, this LuckPerms warning stacktrace shows:

com.google.common.util.concurrent.UncheckedExecutionException: com.google.common.util.concurrent.UncheckedExecutionException: java.lang.RuntimeException: The operation to load user data for 'cfa4fcb1-a786-23fc-b956-33914c7bb373' was cancelled by LuckPerms. This is NOT a bug.
The lookup request was made on the main server thread. It is not safe to execute a request to
load data for offline players from the database in this context.
...
#

Another possible solution (which would enable proper permission checks for NPCs) could be to get LuckPerms to load the data too when an NPC is spawned/added. Not sure which events LP is listening on exactly but I would imagine it just uses one of the join/login events, could NPCs call these when the "join" (spawn)? (Although I would imagine that this would cause issues on server start as every NPC would then join at once :thinking:)

But at the same time it could enable plugins that listen ...

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

I'm going to be revising the aliases soon, although, it will most likely be to remove a lot of them.

Tried to find my previous comment on this - but haven't been able to. Basically, the issue with adding aliases is that it can be confusing/misleading when the aliases do weird things.

For example, there's an alias from /lp user <user> set <permission> to the actual command, /lp user <user> permission set <permission>.

However, users can mix this up, and run `/lp user <user> set pe...

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

The console isn't a player or group. It has full access to all permissions, and you can't change that.

If a command doesn't work from the console, then that's because the command itself refuses to work on the console. For example, a command like Essentials' /suicide refuses to work on the console, because the console isn't a player and can't die. This has nothing to do with permissions - it's just how the commands work.

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

I know there are similar issues out there but I am a newbie at all this stuff so didn't understand a word of it. The server boots completly fine but when a player joins the real issue occurrs: [LP] An database error occurred whilst loading permissions data. Please try again later. I looked in the console and found this: https://pastebin.com/XbsVfY3y. I don't know what is happening at all I've had my server for a few days now and it has worked completly fine so...

lilac dewBOT
lilac dewBOT
#

Hello, I also got the error myself just today. Something hung my server up soon thereafter.

[01:18:46] [Netty Worker IO Thread #7/WARN]: Error dispatching event PermissionCheckEvent(sender=[redacted], permission=[redacted.perm.node], hasPermission=false) to listener me.lucko.luckperms.b
ungee.listeners.BungeePermissionCheckListener@143d9a93
java.lang.IllegalStateException: No permissions data present for player: Babybread - 61aa3342-21e6-41a5-8f71-cda7da2cda44
        at me.lucko....
#

Hello, I also got the error myself just today. Something hung my server up soon thereafter. The [redacted] player has been playing on the server for a while, so their data definitely exists on the server.

[01:18:46] [Netty Worker IO Thread #7/WARN]: Error dispatching event PermissionCheckEvent(sender=[redacted], permission=[redacted.perm.node], hasPermission=false) to listener me.lucko.luckperms.b
ungee.listeners.BungeePermissionCheckListener@143d9a93
java.lang.IllegalStateExcept...
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

whenever i try to use placeholder api i will get the error of ERROR:me.lucko.luckperms.sponge.service.reference.CachedSubjectReference Cannot be cast to org.spongepowered.api.service.permission.subject in virtual chest I am trying to use placholder apis %rank% or whatever it is and get that idk if it would just be the 1 thing as ive had nothing else to test it in but will later

lilac dewBOT
#

I am not truly certain how to explain this issue further except with a bunch of photos.
I am using VaultChatFormatter (because I thought the problem existed only within EssentialsXChat) with the following format: format: "{prefix}{name}{suffix}&7:&r {message}"

I have configured prefix stacking to work as such:

  prefix:
    format:
      - "highest_on_track_staff"
      - "highest_on_track_donor"
      - "highest_on_track_local"
    duplicates: first-only
   ...
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Hi there, I've been loving LP so far, and I have a suggestion for the devs. Can you please add a addtemp command so that we could add more time into a temp permission that already has a time? right now we only have settemp, where if we wanted to settemp the same permission, it doesn't do anything

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

hi i have this error when i change group for some user

[19:50:32 INFO]: [LP] LOG > parent remove voyageur server=survie
[19:50:32 WARN]: [LuckPerms] Unable to pass event NodeRemoveEvent to handler us._donut_.skuniversal.luckperms.LuckPermsListener$$Lambda$2565/907807372
[19:50:32 WARN]: java.lang.reflect.UndeclaredThrowableException
[19:50:32 WARN]:        at com.sun.proxy.$Proxy125.isUser(Unknown Source)
[19:50:32 WARN]:        at us._donut_.skuniversal.luckperms.LuckPermsListener...
lilac dewBOT
#

Hi, would you consider this idea as valid?
What will be the disadvantages?

I'm currently struggling on spawn permissions, where I deny in some region things that are handled by worldguards block permission - and becomes overwritten by them.

Of course this is a priority thing from worldguard - but in general I'll have so much use cases where I want to apply permissions for some special group within a special region :+1:

thank you in advance

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Latest version of LP?

You can try running these MySQL statements to change the charset. If you first ran LP with a version newer than https://github.com/lucko/LuckPerms/commit/2cb5e437fd65200eefe9a39f418d94da6a14c167#diff-eda03aa13dd70ab596751634e727f2b5 , this change will not have applied.

ALTER TABLE luckperms_user_permissions CONVERT TO CHARACTER SET utf8mb4;
ALTER TABLE luckperms_group_permissions CONVERT TO CHARACTER SET utf8mb4;
lilac dewBOT
#

If plugin.yml's permission's 'default' is set to false, console can't use the command with LuckPerms

This is normal.

Test plugin:

package me.lucko.test;

import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;
import org.bukkit.plugin.java.JavaPlugin;

public class TestPlugin extends JavaPlugin {

    @Override
    public boolean onCommand(CommandSender sender, Command command, String label, String[] args) {
        sender.sendMessage("succe...
lilac dewBOT
lilac dewBOT
#

Hi there, I'm currently using:
paper Build #577
luckperms v4.3.73
PlaceholderAPI 2.9.2

I've download luckperm's placeholder on PlaceholderAPI, and now I'm trying to test out the placeholder.

I've tested %luckperms_groups%, it returns an empty line and a 'member'
then i set a temp permission on a user with /lp user playername permission settemp insertpermissionhere true 24h

after that, i tested the placeholder %luckperms_check_permission_<permission>%, and it says yes, which means...

lilac dewBOT
lilac dewBOT
#

We've had this reported via a customer (I am from Tebex/Buycraft), but we've recently released a new feature called 'push commands' - this means rather than polling for commands to run, we push them to the server over http.

As a side-effect, multiple commands will run near-instantaneously (basically as fast as the server can do it!).

When this happens with LP commands, it looks like the LP permission handles the command, but the DB isn't being updated:

[12:00:31] [Server thread/...
lilac dewBOT
#

LP handles its commands async. Everything else would be insane. Though that has the downside, that commands ran too quickly will get lost.
If I remember correctly there was a rationale behind it why the commands donโ€™t wait for eachother in the background. @lucko will have to answer that.

In the meantime if a fix is urgent, just wait. Or use the API.

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

[19:54:59 WARN] [me.lucko.luckperms.lib.hikari.pool.PoolBase]: luckperms-hikari - Failed to validate connection me.lucko.luckperms.lib.mysql.jdbc.JDBC4Connection@572267e7 (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value.

Annyone nows how to fix this one, my console is getting spammed with it.

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

-There is no way to create multiple groups on a single file from the console/game
-Manually trying to set up more than one grup on a YAML combined permissions doesnt work at least with any sintax i could think of.
-There is no real documentation for the sintax of yml files; people shouldnt have to guess how the plugin reads the config file in order to setup the groups.

I understand you 'dont recommend to us' manually editing permission files, but its something many server owners want, sp...

#

I'm sure you'll appreciate that this is a very large plugin and not everything can possibly be documented thoroughly. There is a brief description of how it works in the config, which to be completely honest, covers it well enough in my opinion.

So how exactly does it not work for you? Maybe describe the steps you have taken so far to come to this conclusion.

On the other hand, it's generally not a good idea to blindly edit files without knowing how they're meant to be written. Genera...

#

Hey, yes, i understand, and im sorry if my initial comment was a bit harsh. I've tried to create a combinedgroups file, creating a yaml file named yaml-combined.yml and then i placed more than one group using the normal sintaxes using the examples you provide on the webpage, but the lastly listed groups overwritte the first ones, for example from the yaml parser:
https://yaml-online-parser.appspot.com/?yaml=name%3A VIP prefix%3A 'vipprefix' sufix%3A 'VIPsufix' permissions...

lilac dewBOT
#

There isnt anywhere that says what parameters you can include for a group in the config file, or which structure they should follow, how to make temporary/worldbased permissions /group paths/ etc.

This is mainly because it isn't meant to be edited by file.
Either use the commands or what Turbotailz suggested, use the web-editor.

Also there is a storage setting in the config to have all groups in one single yaml file (that doesn't mean you have to create a yaml file with -combined i...

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

I have the latest version of LuckPerms for Spongeforge.

I have been configuring/sorting out the commands each group can use for my Pixelmon server, up until trying again just now. None of the basic minecraft commands such as minecraft.command.ban even show up on the "Permission" section and none of my pixelmon.commands are showing up either.

The only commands it is allowing me to mess with are with Nucleus commands and also luckperms itself, nothing else is showing up. I want to add n...

#

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

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

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

lilac dewBOT
#

Whatever the reason is, it is not a fault on LPs side.
It is a most likely a misconfiguration on either the LP side (config.yml) or on your database's side.

LuckPerms does nothing wrong here. The error only points out that it lost connection to the database, due to a timeout.
I linked the part of a wiki that lists the possible causes of this, but again: It's not an issue on LuckPerms side and more a misconfiguration.

lilac dewBOT
#

The log is also showing

[14:51:30] [Connect Thread/INFO]: [Connect] Lost connection to the cloud, reconnecting

so your server is losing connection to LilyPad too - suggesting that more general networking problems is the cause.

Not really much I can do to help - perhaps an issue with your hosting provider? Or is the database on the same server as Lily Connect - maybe that box is overloaded?

lilac dewBOT
lilac dewBOT
#

This server is running Paper version git-Paper-610 (MC: 1.13.2) (Implementing API version 1.13.2-R0.1-SNAPSHOT)

> [10:53:29 INFO]: Server permissions file permissions.yml is empty, ignoring it
> [10:53:29 INFO]: [LuckPerms] Enabling LuckPerms v4.4.4
> [10:53:29 INFO]: __
> [10:53:29 INFO]: | |__) LuckPerms v4.4.4
> [10:53:29 INFO]: |___ | Running on Bukkit - Paper
> [10:53:29 INFO]:
> [10:53:29 INFO]: [LuckPerms] Loading configuration...
> [10:53:30 ERROR]: Error occurred while...
lilac dewBOT
lilac dewBOT
#
java version "1.8.0_202"
Java(TM) SE Runtime Environment (build 1.8.0_202-b08)
Java HotSpot(TM) 64-Bit Server VM (build 25.202-b08, mixed mode)
:/home/container$ java -Xmx2400M -jar paperclip.jar
System Info: Java 1.8 (Java HotSpot(TM) 64-Bit Server VM 25.202-b08) Host: Linux 4.9.0-8-amd64 (amd64)
Loading libraries, please wait...
[14:10:59 INFO]: Loaded 0 recipes
[14:10:59 INFO]: Starting minecraft server version 1.13.2
[14:10:59 INFO]: Loading properties
[14:10:59 INFO]: Defau...
lilac dewBOT
#

While player using /afk with feature AFK tab list modification enabled, using LuckPerms, the command for adding suffix is incorrect. A priority is not specified.

Expected behaviour: Running /lp user <player> meta addsuffix <priority> Afk

Actual behaviour: Running /lp user <player> meta addsuffix Afk

lilac dewBOT
lilac dewBOT
#

I've tested a few versions.
4.3.8 On ore appears to be the last working version

4.3.75 Also on ore is where the breakage begins.

I also tested the latest and oldest available versions on Jenkins (that I could manage to find)
4.4.4 and 4.3.108 and neither of those worked.

Tested with
Nucleus: 1.9.2-S7.1
Sponge: 7.1.6-RC3616

Steps to reproduce:

/lp creategroup mod
/nucleus setupperms mod mod

/lp group mod permission list -> just for listing perms, also...

lilac dewBOT
#

Hey! I recently had to change LuckPerms storage method because of this. MySQL server is stable, the server is used by other plugins, and they all work well. My maximum-lifetime was set to 10 minutes, exactly like MySQL wait_timeout (yeah, it should be less, but it shouldn't kick everyone from the server). Server log: hastebin

lilac dewBOT
#

Like the title says I'm getting errors when starting my bungee server up with Mysql storage settings

12.04 05:02:40 [Server] INFO Attempting to apply relocations to mysql_driver-5.1.47.jar...
12.04 05:02:40 [Server] INFO Attempting to apply relocations to hikari-3.3.1.jar...
12.04 05:02:40 [Server] INFO Loading storage provider... [MYSQL]
12.04 05:02:40 [Server] SEVERE INFO me.lucko.luckperms.lib.hikari.HikariDataSource - luckperms-hikari - Starting...
12.04 05:02:40 [Server] SEVERE IN...

lilac dewBOT
#

Add a way to restrict groups to set the parent of user that are only in specific groups.

For Example:
The Group Moderator has following permissions:

  • luckperms.user.parent.set
  • luckperms.user.parent.set.user
  • luckperms.user.parent.set.default
  • luckperms.user.parent.set.modify.others
  • luckperms.user.parent.set.usecontext.global

Overall there are 4 groups:
Default, User, Moderator and Admin.

There are two User:
UserA --> group Moderator
UserB --> group Admin

Now, as fa...

lilac dewBOT
lilac dewBOT
#

Steps to reproduce:

  1. Using Sponge's PermissionService, create a new SubjectCollection using collection = service.loadCollection("foo") (name doesn't matter).
  2. Create a subject using subject = collection.loadSubject("bar") (name doesn't matter).
  3. When a player logs in, run player.addParent(new HashSet<>(), subject.asSubjectReference()) which will return false, meaning it failed to add the parent.

I would like to use a custom SubjectCollection for representing a town's cus...

lilac dewBOT
#

I tried connecting the plugin to my database on a webserver. I had the exact same config as my other server and that one worked, but for some reason it doesn't work on my second one:
`14.04 00:32:59 [Multicraft] Received start command
14.04 00:32:59 [Multicraft] Loading server properties
14.04 00:32:59 [Multicraft] Starting server!
14.04 00:32:59 [Multicraft] Loaded config for "Default"
14.04 00:32:59 [Multicraft] Updating eula.txt file
14.04 00:32:59 [Server] INFO ---------------------...

lilac dewBOT
#
x1p

I'm testing migration of PEX
I see the following:
PEX:

  rank-a:
    options:
      default: true
      prefix: '&a'
    permissions:
    - blah

Is being translated into LP like:
default.yml
(empty file)
rank-a.yml

name: rank-a
permissions:
- blah
meta:
- default:
    value: 'true'

I wonder why LP would not prefer to make a default.yml, place the rank-a permissions into this one and make this default rank have a displayname "rank-a"

I think this will ...

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

So, I know there is another closed case of this, but none of the solutions worked on my server.
Facts first:

I installed these Mods on my Server (Spigot 1.13.2):
Dynmap 3.0
EssentialsX 2.16.1.125
EssentialsXChat
LuckPerms 4.4.1
Vault
WorldEdit 6.1.9

I set the ''no-op-permissions: true'' in the WorldEdit Config.

WorldEdit doesn't show up in the lp tree, but when I type in /plugins it's shown as installed.
And I certainly do not know how to re-add them there or something.

I ...

#

Well, just add the permissions to the appropriate groups. They are very well documented on the WE docs.

And as a little explanation, /lp tree shows all permissions that have been checked since the server is running. If a plugin isnโ€™t showing up there that doesnโ€™t mean itโ€™s not working. It just means no permissions of it have been checked so far.

And if youโ€™re struggling with English, try https://deepl.com

lilac dewBOT
#

Well, just add the permissions to the appropriate groups. They are very well documented on the WE docs.

And as a little explanation, /lp tree shows all permissions that have been checked since the server is running. If a plugin isnโ€™t showing up there that doesnโ€™t mean itโ€™s not working. It just means no permissions of it have been checked so far.

And if youโ€™re struggling with English, try https://deepl.com

Ahh, thank you for the explanation!

lilac dewBOT
#

I have no idea what I'm doing wrong, I've set up the groups, I've set up the group's prefixes, but they arent displaying the prefixes in game - What it says is [world] (ign) >> ______
The plugins we have installed are:
BF - Folder
CoreProtect - Folder
Essentials - Folder
HolographicDisplays - Folder
LuckPerms - Folder
Multiverse-Core - Folder
OpenInv - Folder
PlayerHeads - Folder
PluginMetrics - Folder
Updater - Folder
WorldEdit - Folder
WorldGuard - Folder
bStats - Fo...

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Luckperms 4.4.5
SpongeForge 1.12.2-2768-7.1.6-RC3652
GriefPrevention 1.12.2-4.3.0.662

I currently having issues with the meta set command using YAML setup.
When running the /lp group default meta set griefprevention.initial-claim-blocks 0
I get the following expected entry into the permission file:
`meta:

  • griefprevention.initial-claim-blocks:
    value: '0'But when I do /lp group default meta set griefprevention.blocks-accrued-per-hour 0 It changes the above option to:permi...
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Can you add a command like "/lpb list <maybe server-name>" to show the list of online-players like:

<prefix><groupname 1>:
    &f<user1>, <user2>
<prefix><groupname 2>:
    &f<user3>
...

BungeeCord have a "/glist" command an Bukkit a "/list" command but without a group-order.

I think it would be great, if the staff (or the player too) can check the player-groups with this feature without a staff-tablist or other external list plugins.

lilac dewBOT
#

When using /lp verbose on LuckPerms will show permission checks of plugins in the console or in-game, depending on where you run the command.
The issue here is, that this can get quite spammy and the permissions you actually searched for can get go down in the flood of permission checks.

This is because some plugins check permission every single tick (f.e. Scoreboard plugins).
My idea is to add an option, to make Verbose only show permissions in chat/console that had a recent change.
...

lilac dewBOT
#

I'm not so sure about this.

Verbose is meant to be, well, verbose. It's in the name!

Actually implementing the change detection system isn't super straightforward either - I don't think it's worth it personally.

Filters solve this issue perfectly - you can filter right down to a specific plugin / player very easily. "Most people" not knowing or being too lazy isn't a good reason to implement this.

lilac dewBOT
lilac dewBOT
#
20:05:38 [่ณ‡่จŠ] [ggka] disconnected with: ยงf[Proxy] Lost connection to server.
20:05:38 [่ณ‡่จŠ] [ggka] <-> DownstreamBridge <-> [duel] has disconnected

...

20:05:50 [่ญฆๅ‘Š] Error dispatching event PermissionCheckEvent(sender=ggka, permission=bungeecord.command.list, hasPermission=false) to listener me.lucko.luckperms.bungee.listeners.BungeePermissionCheckListener@2a79d4b1
java.lang.IllegalStateException: No permissions data present for player: ggka - e1f86c95-1917-4796-833f-8c7f36c6db76
...
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Version Franรงaise :
Hey Salut,
Je vous avez dรฉjร  envoyรฉ un message privรฉ sur spigot, et je me suis dis en re-lisant l'affiche de LuckPerms, qu'il fallait ouvrir un ticket sur Github. Donc avant de commencer, dรฉsolรฉ de vous avoir mp :/
LuckPerms (j'utilise la version 4.4.7 sous Spigot 1.8.8) est incompatible avec deux plugins prรฉsent sur mon serveur : UUID Spoof Fix et Staff+.
Elle empรชche de lire les donnรฉes liรฉ ร  l'UUID d'un joueur qui se connecte sur une base MySQL.
Elle provoque l'err...

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

waterfall build 276
LuckPerms 4.4.4 (I understand I'm out of date, but did not see this fixed in issues)
Tracks/groups:

owner track: owner (highest group)
staff track: staff -> admins -> execs
player track: default -> champion

I have two accounts: Main and Alt

When Main is set to owner, and Alt is set to execs,
Alt can successfully issue the command:
/lpb user Main parent set default
However, Alt is not able to issue the command:

lilac dewBOT
#

Yes please - not sure what would've fixed it, but I haven't been able to reproduce despite testing various different approaches.

My test code is:

var console = server.getConsoleSender();

function dispatchCommand(command) {
	server.dispatchCommand(console, command);
}

Commands.create()
	.assertOp()
	.handler(function(c) {
		for (var i = 0; i < 50; i++) {
			dispatchCommand("lp user c1d60c50-70b5-4722-8057-87767557e50d permission set test-" + i);
		}
	})
	.registerAn...
lilac dewBOT
#

I suspect this may be because the execs group has or inherits the * permissions from somewhere? That's something I didn't account for when implementing the feature, and is fixed in the above commit.

Maybe it goes some way to solving the issue?

However, assuming in this case, execs has permission to all LuckPerms commands, they'll still be able to use the parent clear command on someone with the owner group and clear all of their permissions.

I'd argue that it isn't really a s...

lilac dewBOT
lilac dewBOT
#

As the title says. Just a placeholder that returns the group that a player is on within a track. e.g. Staff track has Helper, Mod, Admin, Owner. Player is Mod. Placeholder will return that the player is Mod.

Possible Placeholder:
%luckperms_group_on_track_<track>%

Or I could be completely overlooking something and this already exists.

Thanks for the help, I hope you consider my request :)

lilac dewBOT
#

I'm just gonna reply to counter your thing here AeSix, realistically how can you say its a security issue, when if your worried about them removing the owner rank, you can give it yourself back and demote the admin, with this magic device called "Console". It seams with your concern of an admin being able to remove an owner rank would only be a problem if this magic device does not get created! ah wait, it already exists!

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

@JE201506 It would be nice if you could refrain from being antagonistic. I understand you believe to have a greater amount of knowledge and skill, apt to administer a game server. I've done nothing but reported an issue. Yes, I know the console exists.

I provide support for multiple communities, and I can assure you, that level of knowledge and skill is not the norm. I also know that there are a lot of people who run Minecraft servers who a) have limited to no access to console, b) do ...

lilac dewBOT
#
x1p

I'm trying a migration from Pex.
The basic setup is:
Groups:
default
group1 (inherites default)
group2 (inherites group1)
group3 (inherites group2)
staff (inherites group3)
admin (inherites staff)

When migrating, LP saves admin/staff users like:

uuid: whatever
name: AdminPlayer123
primary-group: admin
parents:
- admin

I noticed that staff/admin doesn't inherit the some of the default permissions.
According to the wiki, if I'm correct. the staff players should be m...

lilac dewBOT
#

When adding a player to a group, existing metadata will not be exposed to plugins, despite appearing as inherited in /lp user <user> meta info.

Steps to reproduce:

  1. Create a group with /lp creategroup <group>
  2. Set a meta item onto the group with /lp group <group> meta set <key> <value>
  3. Add the player to the group with /lp user <user> parent add <group>
  4. Run /lp user <user> meta info, and verify that the meta added in step 2 is shown as inherited.
  5. Call `player.g...
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

@lucko @liam-wiltshire

This is absolutely 100% still a problem.
BuyCraft push commands simply do not work with LuckPerms.
Disabling push commands returns everything to perfection.

Latest test environment:
PaperSpigot: Build 624
LuckPerms: Build 4.4.16
BuyCraft: Latest as of https://github.com/BuycraftPlugin/BuycraftX/commit/8b38fe51767b9868d705bd86df4d86f55a818ae4

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Hello. I noticed something interesting while using LP. It works just fine, Using MariaDB. But when i add this plugin https://www.spigotmc.org/resources/staff-the-ultimate-moderation-plugin-1-7-1-13.41500/
I get this error
https://pastebin.com/1Vzw0aAy
https://pastebin.com/94NmCg8L
And obviously i cannot just the server because
ยง7ยงl[ยงbยงlLยง3ยงlPยง7ยงl] ยงcA database error occurred whilst loading permissions data. Please try again later.

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Hello, I have found after long night of research that the Messaging portion has a small error which causes a failed 'Networksync' in game.

When you set 'messaging-service: sql' in the configs whether it is on spigot server or in bungee it causes the error recorded in the screenshots below.

When you set 'messaging-service: none' it assumes that you are using sql based on that you have MySQL set as DB. and it works flawless when all servers configs are matching.

if using 'messaging-s...

lilac dewBOT
lilac dewBOT
#

I have 3 groups: default, Premium, Ultra. They are connected to parent groups. How can I do that for example in default-perms: teamspeak.default, premium-perms: teamspeak.premium and ultra-perms: teamspeak.ultra. That is all permissions for only 1 group.

But if I have Ultra Rank, he'll take rank.default, rank.premium, and rank.ultra.

How can I do the rank.premium only for Premium and not for Premium and Ultra?

lilac dewBOT
lilac dewBOT
#

When moving players from one server to another Luckperms appears to be opening threads which are then not closed or not closed within a long time at least.

My test has been the following:

  1. Open all servers and let players join the hub server.
  2. Let players join the queue to the main server which starts sending them over as it is currently empty.
  3. Using watch -n1 "ps huH p <pid of waterfall server> | wc -l" I can see the number of threads increase dramatically from the normal leve...
lilac dewBOT
lilac dewBOT
#

Executing command on console was fine. but player executing command that they have permission to will result in lost connection.

The text "You do not have permission to execute this command!" also turn white when using affected version of luckperms, not sure if those info will help

BungeeCord : latest
Errors only occur when using LuckPerms 4.4.18+
No error while initialize

This is error when I try to execute /find
https://gist.github.com/Porama6400/53cf73b98f6b42f29e4fdd48ae00...

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

https://pastebin.com/hHTuQkm1

Luck Perms 4.4..17 works, 18/19 give this problem

Waterfall 282
Luck Perms 4.4.18
BC2 2.1.6.855

After logging in and typing a chat message, nothing shows in the ingame chat, my bungee discord bot DOES carry it to discord. But that error is what spams the console. Reverting to 4.4.17 fixes, so it appears to be with 4.4.18. I did test 4.4.19 this morning and got the same error though.

Reported it to BC2, was told it was a LP bug

#

I mean, we have some similar errors in the log, but the reason were getting them is entirely different.

I dont have problems with disconnecting or commands, or permissions, I have problems with chat being carried. If Im told they are duplicates, Im sure it will be closed by someone who has a bit more information. Thank your for the response though

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

I have the same error. Here are the relevant parts of the log.

https://hastebin.com/azekalevon.cs

First stack happens after user with wrong MC version tries to join.
Second stack happens when a player runs custom command that uses TextComponent to get the result.

It never mentioned LuckPerms once, so it took me a while to find out that LuckPerms is the culprit of the issue. I'm not sure if the logs will help in debugging the problem, but it should help on knowing what libraries ar...

lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Hello, i'm new on gitHub because i need your help ! When i place a crafting block only in the overworld
crafting co processing unit
crafting storage 1k
crafting storage 4k
crafting storage 16k
crafting storage 64k

i can't break them. disapear and replace... i didn't know what mod/plugin do this bug :(
AE2 codder said me it was a permission plugin, and i'm using luckPerms and universe guard... Somebody have an idea ?

Minecraft Version: 1.12.2
AE2 Version: appliedenergistics2-rv6-s...

lilac dewBOT
lilac dewBOT
#

I'm not sure what inheritance has to do with adding another group. Just add the second group and all should work properly, provided you set group ~properties~ priorities (weight) properly

If you setup weight and inheritance correctly then there should be absolutely no issue with using addtemp.
Higher weighted groups override lower ones by defalt

ฤฐ have +30 ranks and +30 kits. i need single group set.if this is not the case, the authority of the kit that I have assigned to eac...

lilac dewBOT
#

I myself am a beginner, I hope not zagnobite.
The problem is that I cannot register op on the server due to LuckPerms [Server thread / INFO] [minecraft / DedicatedServer]: [LP] Please note that itโ€™s not a problem. Please edit user data directly.

#

Luckperms
ะะต ั€ะฐะทั€ะตัˆะฐะตั‚ ะฒั‹ะดะฐะฒะฐั‚ัŒ op ะฝะฐ ัะตั€ะฒะตั€ะต ะผะฐะนะฝั€ะบะฐั„ั‚ะฐ ั‡ะตั€ะตะท ะบะพะฝัะพะปัŒ

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

i need single group set.if this is not the case, the authority of the kit that I have assigned to each group will interfere.

I would like you to rethink the setup. I'm not sure what you're ultimately trying to do, but that sounds like a badly configured set-up or a bad plugin.

Consider the following:

  • Group default has permission:
    • kit.basic = true
    • weight of 1
  • Group silver has permission:
    • inherits default permissions
    • kit.silver = true
    • weight o...
lilac dewBOT
lilac dewBOT
#

I can't reproduce this.

Test code:

var command = {
    "process": function(source, arguments) {
        var result = source.getOption(source.getActiveContexts(), "test");
        logger.info("meta lookup result for 'test': " + result);
        return CommandResult.success();
    }
}

registerCommand(command, "testmeta");

Outcome:

In step 5 - the correct result is being returned for me. (see 3 lines up in the screenshot ab...

lilac dewBOT
lilac dewBOT
#

Hello I am trying to setup my network and when i am adding staff ranks I need to set them up on each and every server locally, this means that I need to go onto every server and add all the ban permssions etc. It could be a LOT easier is there is an option to add them to the bungeecord version of LP and it synchronizes it across all the servers.
I know there is a sync command but as far as I know it syns all the permissions and I would like to specify what commands are being synced because ...

#

The sync command doesn't just sync the permissions.
It performs an update task that, depending on what is set as a messaging-service, sends a ping to all LP instances on the different servers and tell them to update their storage of players, groups and permissions so that groups and permissions can be synchronized.
But this is also a thing that LP normally does on its own when a permission, group or user...

lilac dewBOT
lilac dewBOT
#

The syncing will only work if all instances of LP share the exact same database, meaning that they share the same set of permissions, groups, etc.
Again. Check the page I linked because it explains how you properly setup LP with everything needed to work on a server-network. The issue-tracker isn't really for general support.

#

I get that this is not for general support but what i am getting is not what i ment. I will try to explain better.

I would like a main permissions list per group that syncs across all servers.
So [A] is the main server or bungeecord and B and C are backend game servers.

I would like it so when i want to change a permission for for example mods i would go into the lp editor of [A] that will push an update to [B] and [C]. But when i am making changes to [B] to give a mod plot kick permis...

#

If you have a proper network setup, you can have per server and per world permissions, no issue.
The wiki page Contexts is your friend.

And in general suggestions are always better first discussed on the Discord. Because chances are itโ€™s either already implemented/possible (in a slightly different way than you imagine) or has been asked before and either been put on the to do list or rejected.

lilac dewBOT
#

Per server 'ranks', eg. skyblock & prison have different 'ranks'

Would make it possible for eg. BungeeTabListPlus to sort them correctly. Instead of having none-ranked with ranked players at the top. (because they have a rank with a high weight on the other server)

Aswell as displaying the right primary group on the right server

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

I'm not sure if it's connected to lucky perms, but mb. This is by log part with errors. As you can see there are a lot of messages about Current Thread: luckperms-worker

[11:25:48] [Spigot Watchdog Thread/ERROR]: ------------------------------
[11:25:48] [Spigot Watchdog Thread/ERROR]: The server has stopped responding! This is (probably) not a Spigot bug.
[11:25:48] [Spigot Watchdog Thread/ERROR]: If you see a plugin in the Server thread dump below, then please report it to that auth...
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Basically we are adding a temp permission via api and refreshing the group where the permission was added. The usecase is, that this temp perm should apply to all users on this server, as this group is the basegroup off all existing groups. We probably have to refresh all groups, but that sounds like too heavy hitting. In my opinion this permission add should somehow reflected instant in the cache(Its even in the db/yml)

lilac dewBOT
lilac dewBOT
#

I have already had a discussion with the Staff Member on the Luckperms discord server. I spoke with ImmortalShard and he/she wasn't able to assist with this issue as they have not noticed it before.

I have reset the config and there are no errors in console. However as soon as I add my details for my database, the below error starts to occur.

This error is being produced within my Proxy server console. My other servers (game servers) use the spigot version of luckperms and are connect...

lilac dewBOT
lilac dewBOT
#

I both have a similar problem. In the console I got this:
`[luckperms-hikari connection adder/WARN]: Wed May 15 11:26:48 CEST 2019 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to expli...

lilac dewBOT
lilac dewBOT
#

I noticed that at least on sponge and bukkit, /lp import handles commands randomly, seems like it's async.
As groups should be created first, this often leads to group not exist errors. Using /lp import the second time fixes that, as all groups are created by now.

We imported all of our servers with 40k lines+ and I noticed after two servers that group assignments etc are missing. Luckily I realized that after a few servers, but some people might miss that and now have completely destroye...

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#
[19:34:49 INFO]: Booting up Velocity 1.0.0-SNAPSHOT (git-b881e9cf-b130)...
[19:34:49 INFO]: Connections will use NIO channels, Java compression, Java ciphers
[19:34:49 INFO]: Proxy is running in offline mode!
[19:34:49 INFO]: Loading plugins...
[19:34:50 INFO]: Loaded 3 plugins
[19:34:50 INFO] [velocityutils]: Enabling VelocityUtils version 1.1.0
[19:34:50 ERROR]: Some errors occurred whilst posting event ProxyInitializeEvent.
[19:34:50 ERROR]: #1:

java.lang.NoClassDefFoundErro...
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
#

Whenever I try to open the online editor, it just gives me a list of commands in minecraft. When i try using /lp group editor it gives me this error in the console,

22.05 22:10:15 [Server] WARN java.lang.RuntimeException: Connection returned response code: 401 - Unauthorized
22.05 22:10:15 [Server] WARN at me.lucko.luckperms.common.commands.impl.generic.other.HolderEditor.paste(HolderEditor.java:167)
22.05 22:10:15 [Server] WARN at me.lucko.luckperms.common.commands.impl.generic.other.Ho...

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

i just started my server and this happened

Minecraft: 1.12.2
SpongeAPI: 7.1.0-366290f8
Sponge: 1.12.2-7.1.5
SpongeForge: 1.12.2-2768-7.1.5
Minecraft Forge: 14.23.5.2768
LuckPerms: 4.3.75

`[14:44:58] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: __
[14:44:58] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: | |__) LuckPerms v4.3.75
[14:44:58] [Server thread/INFO] [net.minecraft.server.dedicated...

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

MrCreepysBro Today at 10:28
Luck, I guess you didn't understand what I meant in my GitHub suggestion. I'm fully aware about the stacking feature. However, what I was suggesting was if you have 6 groups on your stacking format, and someone is apart of 5 of them, having an option to only show the highest 3 rather than all 6 prefixes since currently in the plugin, there is no way to do that
I asked here before if it was possible and was told from one of your mods that it wasn't and to mak...

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

I want add the minecraft.command.tell permission in the default group because I set apply-bukkit-default-permissions to false in the config.

>lp group default permission check minecraft.command.tell
[23:38:51] [pool-6-thread-1/INFO]: [LP] default has permission minecraft.command.tell set to true in context global.

But the command is refused when used by a player: "I'm sorry, but you do not have permission to perform this command. Please contact the server administrators i...

lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT
lilac dewBOT