Luckperms doesn't recognize permissions from spartan
V3x1Dev opened this issue · 21 comments
I am using the spartan anticheat but when I give a player spartan.bypass to bypass them it still kickes me for cheating. I have talked with the developer of Spartan and he has told me that this is on Luckperms side.
I have tried using the verbose to debug but the problem seems to only be with the spartan.bypass as it does not come up in the verbose logs as a check. The other permissions for the plugin come up so I don't know exactly whats going on
What are the exact commands you are using with verbose? Maybe you are using a filter that excludes it.
Do you mind runnning lp verbose record
then trying out whatever it is that would (presumably) prevent you from being kicked, then run lp verbose paste
and paste the link here?
Run it from console in case you do get kicked.
As in turn on verbose then give myself the bypass permission then try to cheat? Then paste the link
Correct?
There were only three checks for Spartan permissions, 2x spartan.manage
and 1x spartan.chat_protection
, all checked as true
, so I don't know what else to suggest at this point. Are you sure it is the Spartan plugin that's kicking you? What message do you get when you are kicked? Also what does the console show.
I use spartan to detect cheats then use litebans to ban the player because spartan doesn't support Bungeecord networks. But spartan.bypass should be stopping the anticheat from checking the player or stop it from running the ban commands.
Console Log from ban:
[OneControlCenter] [03:47:26] [pool-12-thread-27/INFO]: ---------------------------------------------------------------------------------------------------------- --------V3X1 has been banned for Cheating-------- ----------------------------------------------------------------------------------------------------------
[OneControlCenter] [03:47:26] [Server thread/INFO]: [LiteBans] Kicking V3X1 from BungeeCord.
[OneControlCenter] [03:47:26] [Server thread/INFO]: V3X1 lost connection: Disconnected
Well the permission isn't being checked, at all. There's nothing we can do about that, that's on the developer of your plugin.
Have you tried debugging the permission with Verbose?
Do you by any chance use another perm plugin like PermissionsEx on your server?
Also, did you make sure to not be OP? The plugin might check if you're OP and skip any additional perm checks when that is the case
Just so that it is on paper. If the permission check doesn’t appear it either doesn’t happen at all or doesn’t reach LP.
In the first case it means that the plugin is not sending the check and in the second that you probably have another permissions plugin.
I’d recommend you link the dev this issue.
When I talked to the Spartan Dev he responded with this
"There is only one method for checking permissions, and that's provided by bukkit. At this point, I have extremely verified it's on their side, because even if you reload Spartan, their cache is the problem. I can actually do nothing about it, my permission cache is designed to be 100% flexible, theirs isn't"
Well, sounds like the permission check isn't even reaching LP, so the issue probably lies with Spartan.