Console, PermissionsEx, and Grief Protection Errors

Hello, I have a problem.

Players have been joining my server for 2 minutes, and they get disconnected, it’s really weird.
I am able to join the server, and my friends are too, but new players that join for the first time are on for 2-5 minutes and then there is an error in permissions ex, i believe and they leave.

  • Example -

22.08 13:13:42 [Server] Server thread/INFO fizmiz has joined for the first time!
22.08 13:13:42 [Server] INFO 12 unique players already joined.
22.08 13:15:10 [Server] Server thread/WARN Can’t keep up! Did the system time change, or is the server overloaded? Running 3404ms behind, skipping 68 tick(s)
22.08 13:15:46 [Server] Server thread/WARN [ninja.leaping.permissionsex]: Potential circular inheritance found while traversing inheritance for user=6f6c5b9b-6379-4727-b84e-e89e1281c871 when visiting SubjectRef{id=16, type=group, identifier=Trainee}
22.08 13:15:52 [Disconnect] User fizmiz has disconnected, reason: Disconnected
22.08 13:15:52 [Server] Server thread/INFO fizmiz has left.
22.08 13:16:32 [Server] Server thread/INFO FreakingAmazing is no longer afk.
22.08 13:18:32 [Server] Server thread/WARN [ninja.leaping.permissionsex]: Potential circular inheritance found while traversing inheritance for user=d6ae94af-7e7c-488e-b226-b7edc7e1e4d3 when visiting SubjectRef{id=4, type=group, identifier=Trainer}
22.08 13:18:32 [Server] Server thread/WARN [ninja.leaping.permissionsex]: Potential circular inheritance found while traversing inheritance for user=d6ae94af-7e7c-488e-b226-b7edc7e1e4d3 when visiting SubjectRef{id=4, type=group, identifier=Trainer}
22.08 13:18:32 [Server] Server thread/WARN [ninja.leaping.permissionsex]: Potential circular inheritance found while traversing inheritance for user=d6ae94af-7e7c-488e-b226-b7edc7e1e4d3 when visiting SubjectRef{id=16, type=group, identifier=Trainee}


I opened a support ticket with my server provider and they said to make a SpongeForge post addressing this problem.

I am running the latest version of SpongeForge for 1.8.9, and the following plugins:

  • NEXUS - PEX - KITS - GRIEF PROTECTION -

Permissions Ex is going wonderfully, except when i / players make a claim, Others can still build / open containers / break blocks in the said claim.

In the console, I get server errors frequently, most of them are PermissionsEX.

Anyway, He said to paste this.

22.08 11:29:40 [Server] INFO at ninja.leaping.permissionsex.subject.CalculatedSubject.getData(CalculatedSubject.java:73) ~[CalculatedSubject.class:?]
22.08 11:29:40 [Server] INFO at ninja.leaping.permissionsex.subject.CalculatedSubject.getPermissions(CalculatedSubject.java:77) ~[CalculatedSubject.class:?]
22.08 11:29:40 [Server] INFO at ninja.leaping.permissionsex.subject.CalculatedSubject.getPermission(CalculatedSubject.java:95) ~[CalculatedSubject.class:?]
22.08 11:29:40 [Server] INFO at ninja.leaping.permissionsex.sponge.PEXSubject.getPermissionValue(PEXSubject.java:142) ~[PEXSubject.class:?]
22.08 11:29:40 [Server] INFO at org.spongepowered.common.entity.player.SpongeUser.getPermissionValue(SpongeUser.java:147) ~[SpongeUser.class:1.8.9-1890-4.2.0-BETA-1666]
22.08 11:29:40 [Server] INFO at me.ryanhamshire.griefprevention.GPPermissionHandler.getUserPermission(GPPermissionHandler.java:178) ~[GPPermissionHandler.class:?]
22.08 11:29:40 [Server] INFO at me.ryanhamshire.griefprevention.GPPermissionHandler.getClaimPermission(GPPermissionHandler.java:157) ~[GPPermissionHandler.class:?]
22.08 11:29:40 [Server] INFO at me.ryanhamshire.griefprevention.event.EntityEventHandler$1.test(EntityEventHandler.java:198) ~[EntityEventHandler$1.class:?]
22.08 11:29:40 [Server] INFO at me.ryanhamshire.griefprevention.event.EntityEventHandler$1.test(EntityEventHandler.java:175) ~[EntityEventHandler$1.class:?]
22.08 11:29:40 [Server] INFO at org.spongepowered.api.event.entity.AffectEntityEvent.filterEntities(AffectEntityEvent.java:108) ~[AffectEntityEvent.class:1.8.9-1890-4.2.0-BETA-1666]
22.08 11:29:40 [Server] INFO at me.ryanhamshire.griefprevention.event.EntityEventHandler.onEntitySpawn(EntityEventHandler.java:175) ~[EntityEventHandler.class:?]
22.08 11:29:40 [Server] INFO at org.spongepowered.common.event.listener.SpawnEntityEventListener_EntityEventHandler_onEntitySpawn45.handle(Unknown Source) ~[?:?]
22.08 11:29:40 [Server] INFO at org.spongepowered.common.event.RegisteredListener.handle(RegisteredListener.java:95) ~


Thank you for reading this, I hope someone can help me fix this.

P.S I forgot, I also have Pixelmon 4.2.7 installed.

P.S P.S This also comes in the console once every hour or so.

2.08 13:35:46 [Server] Server thread/WARN [ninja.leaping.permissionsex]: Potential circular inheritance found while traversing inheritance for user=d6ae94af-7e7c-488e-b226-b7edc7e1e4d3 when visiting SubjectRef{id=4, type=group, identifier=Trainer}
22.08 13:35:46 [Server] Server thread/WARN [ninja.leaping.permissionsex]: Potential circular inheritance found while traversing inheritance for user=d6ae94af-7e7c-488e-b226-b7edc7e1e4d3 when visiting SubjectRef{id=4, type=group, identifier=Trainer}
22.08 13:35:46 [Server] Server thread/WARN [ninja.leaping.permissionsex]: Potential circular inheritance found while traversing inheritance for user=d6ae94af-7e7c-488e-b226-b7edc7e1e4d3 when visiting SubjectRef{id=16, type=group, identifier=Trainee}
22.08 13:35:46 [Server] Server thread/WARN [ninja.leaping.permissionsex]: Potential circular inheritance found while traversing inheritance for user=d6ae94af-7e7c-488e-b226-b7edc7e1e4d3 when visiting SubjectRef{id=4, type=group, identifier=Trainer}
22.08 13:35:46 [Server] Server thread/WARN [ninja.leaping.permissionsex]: Potential circular inheritance found while traversing inheritance for user=d6ae94af-7e7c-488e-b226-b7edc7e1e4d3 when visiting SubjectRef{id=4, type=group, identifier=Trainer}
22.08 13:35:46 [Server] Server thread/WARN [ninja.leaping.permissionsex]: Potential circular inheritance found while traversing inheritance for user=d6ae94af-7e7c-488e-b226-b7edc7e1e4d3 when visiting SubjectRef{id=16, type=group, identifier=Trainee}

Something fishy is going on here…

22.08 13:57:03 [Server] Server thread/INFO EnZiiK has joined for the first time!
22.08 13:57:03 [Server] INFO 13 unique players already joined.
22.08 13:57:20 [Server] Server thread/INFO [Owner]FreakingAmazing: Welcome!
22.08 13:57:35 [Server] Server thread/INFO EnZiiK has just earned the achievement [Taking Inventory]
22.08 13:58:29 [Disconnect] User EnZiiK has disconnected, reason: Disconnected
22.08 13:58:29 [Server] Server thread/INFO EnZiiK has left.

potential circular inheritance means that the design of your permissions is botched up, and is causing problems downstream - something between trainer and trainee like trainer inherits trainee and trainee inherits trainer or similar - but thats the issue, the “logic” of the permissions setup is incorrect and the things cant resolve how to reconcile it and likely hang up trying to figure if a player has a given permission to do something or not for those players. Like when the computer needs to test somethign for that new player, it has to evaluate the truth of the statement “This statement is false” in order to resume, and it can’t so it crap out on that player handling stuff and they drop.

Its not a plugin bug.
Its a plugin configuration issue, you’ve done goofed.

@TheBoomer

22.08 14:44:03 [Server] User Authenticator #2/INFO UUID of player W3xR3x is 42711b24-efe9-4553-8883-caa92d80491d
22.08 14:44:03 [Server] Netty Epoll Server IO #8/INFO [FML]: Client protocol version 2
22.08 14:44:03 [Server] Netty Epoll Server IO #8/INFO [FML]: Client attempting to join with 4 mods : [email protected],[email protected],[email protected],[email protected]
22.08 14:44:03 [Server] Netty Epoll Server IO #8/INFO [FML]: Attempting connection with missing mods [sponge, griefprevention, io.github.hsyyid.kits, nexus, ninja.leaping.permissionsex, worldedit] at CLIENT
22.08 14:44:03 [Server] Server thread/INFO [FML]: [Server thread] Server side modded connection established
22.08 14:44:03 [Server] Server thread/INFO W3xR3x[/178.84.47.183:49972] logged in with entity id 5429 in world(0) at (-204.5, 72.0, 247.5)
22.08 14:44:03 [Server] Server thread/INFO W3xR3x has joined for the first time!
22.08 14:44:03 [Server] INFO 15 unique players already joined.
22.08 14:44:08 [Server] User Authenticator #3/INFO UUID of player x_TomahawK_x is 9b91e6b2-ad9b-4e81-9211-a9fee2c34629
22.08 14:44:08 [Server] Netty Epoll Server IO #9/INFO [FML]: Client protocol version 2
22.08 14:44:08 [Server] Netty Epoll Server IO #9/INFO [FML]: Client attempting to join with 4 mods : [email protected],[email protected],[email protected],[email protected]
22.08 14:44:08 [Server] Netty Epoll Server IO #9/INFO [FML]: Attempting connection with missing mods [sponge, griefprevention, io.github.hsyyid.kits, nexus, ninja.leaping.permissionsex, worldedit] at CLIENT
22.08 14:44:08 [Server] Server thread/INFO [FML]: [Server thread] Server side modded connection established
22.08 14:44:08 [Server] Server thread/INFO x_TomahawK_x[/80.57.123.58:59283] logged in with entity id 5851 in world(0) at (-205.5, 73.0, 247.5)
22.08 14:44:08 [Server] Server thread/INFO x_TomahawK_x has joined for the first time!
22.08 14:44:08 [Server] INFO 16 unique players already joined.
22.08 14:44:40 [Multicraft] Auto-saving world…
22.08 14:44:40 [Server] Server thread/INFO Saving is already turned on.
22.08 14:44:40 [Server] Server thread/INFO Saving…
22.08 14:44:40 [Server] Server thread/INFO World saved.
22.08 14:44:48 [Server] Server thread/INFO Welcome
22.08 14:45:42 [Server] pool-2-thread-1/INFO Set permission pixelmon.command.endbattle=1 for group Trainer in Global context
22.08 14:45:54 [Server] pool-2-thread-1/INFO Set permission nexus.tpa=1 for group Trainer in Global context
22.08 14:46:01 [Server] pool-2-thread-1/INFO Set permission nexus.tpaccept=1 for group Trainer in Global context
22.08 14:46:22 [Server] pool-2-thread-1/INFO Set permission nexus.tpahere=1 for group Trainer in Global context
22.08 14:46:37 [Server] pool-2-thread-1/INFO Set permission nexus.tpdeny=1 for group Trainer in Global context
22.08 14:46:59 [Server] User Authenticator #4/INFO UUID of player FreakingAmazing is d6ae94af-7e7c-488e-b226-b7edc7e1e4d3
22.08 14:47:01 [Server] Netty Epoll Server IO #11/INFO [FML]: Client protocol version 2
22.08 14:47:01 [Server] Netty Epoll Server IO #11/INFO [FML]: Client attempting to join with 4 mods : [email protected],[email protected],[email protected],[email protected]
22.08 14:47:01 [Server] Netty Epoll Server IO #11/INFO [FML]: Attempting connection with missing mods [sponge, griefprevention, io.github.hsyyid.kits, nexus, ninja.leaping.permissionsex, worldedit] at CLIENT
22.08 14:47:02 [Server] Netty Epoll Server IO #11/INFO [FML]: Unexpected packet during modded negotiation - assuming vanilla or keepalives : net.minecraft.network.play.client.C00PacketKeepAlive
22.08 14:47:04 [Server] Netty Epoll Server IO #11/INFO [FML]: Unexpected packet during modded negotiation - assuming vanilla or keepalives : net.minecraft.network.play.client.C00PacketKeepAlive
22.08 14:47:05 [Server] Server thread/INFO [FML]: [Server thread] Server side modded connection established
22.08 14:47:05 [Server] Server thread/INFO FreakingAmazing[/202.58.200.10:56473] logged in with entity id 7069 in world(0) at (-254.5, 62.0, 265.5)
22.08 14:47:05 [Server] Server thread/INFO FreakingAmazing has joined.
22.08 14:47:05 [Server] Server thread/INFO W3xR3x has just earned the achievement [Taking Inventory]
22.08 14:47:07 [Server] Server thread/INFO x_TomahawK_x has just earned the achievement [Taking Inventory]
22.08 14:47:44 [Disconnect] User x_TomahawK_x has disconnected, reason: Disconnected
22.08 14:47:44 [Server] Server thread/INFO x_TomahawK_x has left.
22.08 14:47:44 [Disconnect] User W3xR3x has disconnected, reason: Disconnected
22.08 14:47:44 [Server] Server thread/INFO W3xR3x has left.

Resetting permissions, but people still disconnect after joining.

Sorry to disagree, but permission plugins should really at least be able to fail gracefully in this situation, rather then cause players to hard disconnect.

As for fixing it, definitely remove the circular inheritance, because it can’t do any good in the long run and may be causing the issue.

Bad wording but yes - just meant “this is an issue that you must resolve, its not a matter of waiting for a patch version to come out and twiddling your thumbs until he does”

My own personal philosophy is any plugin that runs into bad errors like that should cause the server kill switch to go off, forcing owners to address or remove, rather than have crippled systems running that weren’t able to read in protection regions or such as Expected, and have the server slaughtered with exploits and bugs grinding at data integrity… :slight_smile: