LuckPerms

LuckPerms

41.4k Downloads

Luckperms doesn't recognize permissions from spartan

V3x1Dev opened this issue · 21 comments

commented

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.

commented

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

commented

What are the exact commands you are using with verbose? Maybe you are using a filter that excludes it.

commented

/lp verbose record spartan
and
/lp verbose on spartan

commented

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.

commented

As in turn on verbose then give myself the bypass permission then try to cheat? Then paste the link
Correct?

commented

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.

commented

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

commented

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.

commented

Ok Thank you anyway

commented

Have you tried debugging the permission with Verbose?

commented

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

commented

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.

commented

How would I link the dev this issue?

commented

Just copy the URL

commented

Where would I put the url? Sorry I'm not really experienced

commented

I don't know, wherever you are in contact with the developer.

commented

Ok

commented

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"

commented

Well, sounds like the permission check isn't even reaching LP, so the issue probably lies with Spartan.

commented

Ok I will tell the dev