Issue with Command Block
BboyZeroOne opened this issue Β· 15 comments
Description
When a player activates a command block via pressure plate with the command block executing this command "lp user @p parent add (role here)", the server instantaneously crash with this server log.
Reproduction steps
- Place a command block on the floor with a pressure plate above
- Key this into the command block "lp user @p parent add (role here)".
- Step on the pressure plate
- Crash
Expected behaviour
It should give the player the parent rank/role.
Environment details
- Server type/version: 1.16.4 - 288
- LuckPerms version: v5.2.29
Any other relevant details
It did promote player to the said role but the server crashed afterwards.
Looks like the crash report you provided was not an actual crash/error report. That message is generated when a server is lagging. If your server did exit unexpectedly, please provided the actual error log. Additionally, I was not able to reproduce with 1.16.4 Paper and the latest version of LuckPerms.
Looks like the crash report you provided was not an actual crash/error report. That message is generated when a server is lagging. If your server did exit unexpectedly, please provided the actual error log. Additionally, I was not able to reproduce with 1.16.4 Paper and the latest version of LuckPerms.
Problem is, server is not lagging at all before the pressure plate was activated. Its a brand new server with 2 players on it, pretty sure isn't server side lag.
Activating the command block via pressure plate, causes the lag, then causes the "crash"
It's interesting because I know since 1.13 (on spigot) selectors (like the @p
) don't work on plugin commands. I'll review the relevant processing code, but I don't think LP has special support for them either. Are you using spigot/paper?
It's interesting because I know since 1.13 (on spigot) selectors (like the @p) don't work on plugin commands. I'll review the relevant processing code, but I don't think LP has special support for them either. Are you using spigot/paper?
Yes, I'm using paper 1.16. Do note that, the command did actually execute and promoted the player who stepped on the pressure plate. Just that it crashed afterwards.
Okay, may I have a list of your active plugins then? It would seem one of them is doing the processing, and taking long at that. Again, @p
shouldn't work as of 1.13, it was a spigot decision.
Well, I don't know if that's a separate issue, but target selectors do not work when using LP by itself.
Well, I don't know if that's a separate issue, but target selectors do not work when using LP by itself.
Did you enable their parsing in LP config?