MyPermissions
MyPermissions
Join my Discord Server here for faster support and to give feedback!
All information you need is in the wiki linked above!
Features:
This plugin allows you to give players custom permissions, create groups and add permissions, players, prefixes and suffixes to the groups!
Now even mostly without commands via ingame GUI!
(/group config <groupname> V1.2.5)
Hi there,
Not sure if it's a bug but i get this warning 24/7 when pp are playing on my server, the "23" marked with bold under here can be 28 and 38 too, any idea what is duing this?
Great plugin otherwise :D
09.09 22:51:13 [Server] Craft Scheduler Thread - 23/WARN Plugin MyPermissions v1.2.7 generated an exception while executing task 190
09.09 22:51:13 [Server] INFO java.lang.IllegalStateException: PlayerCommandSendEvent cannot be triggered asynchronously from another thread.
09.09 22:51:13 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:572) ~[spigot-api-1.19.1-R0.1-SNAPSHOT.jar:?]
09.09 22:51:13 [Server] INFO at net.minecraft.commands.CommandDispatcher.a(CommandDispatcher.java:382) ~[spigot-1.19.1-R0.1-SNAPSHOT.jar:3558-Spigot-2183145-401f1ad]
09.09 22:51:13 [Server] INFO at org.bukkit.craftbukkit.v1_19_R1.entity.CraftPlayer.updateCommands(CraftPlayer.java:1885) ~[spigot-1.19.1-R0.1-SNAPSHOT.jar:3558-Spigot-2183145-401f1ad]
09.09 22:51:13 [Server] INFO at de.manator.mypermissions.players.PlayerUpdater.run(PlayerUpdater.java:115) ~[?:?]
09.09 22:51:13 [Server] INFO at org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftTask.run(CraftTask.java:82) ~[spigot-1.19.1-R0.1-SNAPSHOT.jar:3558-Spigot-2183145-401f1ad]
09.09 22:51:13 [Server] INFO at org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54) [spigot-1.19.1-R0.1-SNAPSHOT.jar:3558-Spigot-2183145-401f1ad]
09.09 22:51:13 [Server] INFO at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) [?:?]
09.09 22:51:13 [Server] INFO at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:?]
In reply to Pederzen64:
Thanks for reporting!
I'll check it out later!
In reply to Pederzen64:
The Update 1.2.8 should fix it :)
In reply to ManatorDE:
Ya a legend mate, thx so much!
May i ask if it was a bug or what it was? (no need to explain if it's complex)
In reply to Pederzen64:
the exception was caused by a synchronous method that was called in an asynchronous task and bukkit didn't like that.
That's basically everything. I just moved it and now it seems to be working just fine!
So it was a bug.
In reply to ManatorDE:
Ah yea it worked for abit, but quickly came back sadly.
The bold number changes alot, seems like teleporting around, takeing certain blocks or just using blocks causes this message to get spammed in console:
[Server] INFO java.lang.NullPointerException: null
[Server] Craft Scheduler Thread - 1116/WARN Plugin MyPermissions v1.2.8 generated an exception while executing task 142931
[Server] INFO java.lang.NullPointerException: null
[Server] Craft Scheduler Thread - 1116/WARN Plugin MyPermissions v1.2.8 generated an exception while executing task 142932
[Server] INFO java.lang.NullPointerException: null
[Server] Craft Scheduler Thread - 1117/WARN Plugin MyPermissions v1.2.8 generated an exception while executing task 142934
[Server] INFO java.lang.NullPointerException: null
[Server] Craft Scheduler Thread - 1116/WARN Plugin MyPermissions v1.2.8 generated an exception while executing task 142936
In reply to Pederzen64:
Does it say anything more than that?
Maybe in your error logs?
In reply to ManatorDE:
Hmm i found this, will see if i can find anything else:
14.09 09:23:23 [Server] Craft Scheduler Thread - 59/WARN Plugin MyPermissions v1.2.8 generated an exception while executing task 15133
14.09 09:23:23 [Server] INFO java.util.ConcurrentModificationException: null
14.09 09:23:23 [Server] INFO at
java.util.LinkedList$ListItr.checkForComodification(LinkedList.java:970) ~[?:?]
14.09 09:23:23 [Server] INFO at java.util.LinkedList$ListItr.next(LinkedList.java:892) ~[?:?]
14.09 09:23:23 [Server] INFO at org.bukkit.permissions.PermissibleBase.recalculatePermissions(PermissibleBase.java:170) ~[spigot-api-1.19.1-R0.1-SNAPSHOT.jar:?]
14.09 09:23:23 [Server] INFO at org.bukkit.permissions.PermissibleBase.addAttachment(PermissibleBase.java:133) ~[spigot-api-1.19.1-R0.1-SNAPSHOT.jar:?]
14.09 09:23:23 [Server] INFO at org.bukkit.craftbukkit.v1_19_R1.entity.CraftHumanEntity.addAttachment(CraftHumanEntity.java:205) ~[spigot-1.19.1-R0.1-SNAPSHOT.jar:3558-Spigot-2183145-401f1ad]
14.09 09:23:23 [Server] INFO at de.manator.mypermissions.players.PlayerUpdater.run(PlayerUpdater.java:57) ~[?:?]
14.09 09:23:23 [Server] INFO at org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftTask.run(CraftTask.java:82) ~[spigot-1.19.1-R0.1-SNAPSHOT.jar:3558-Spigot-2183145-401f1ad]
14.09 09:23:23 [Server] INFO at org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54) [spigot-1.19.1-R0.1-SNAPSHOT.jar:3558-Spigot-2183145-401f1ad]
14.09 09:23:23 [Server] INFO at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) [?:?]
14.09 09:23:23 [Server] INFO at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:?]
14.09 09:23:23 [Server] INFO at java.lang.Thread.run(Thread.java:833) [?:?]
In reply to Pederzen64:
Thanks!
I should be able to find out what happens there!
In reply to ManatorDE:
Found this in the log, not sure if it helps tho:
[15:47:23] [Craft Scheduler Thread - 467/WARN]: [MyPermissions] Plugin MyPermissions v1.2.8 generated an exception while executing task 123774java.util.ConcurrentModificationException: null at java.util.LinkedList$ListItr.checkForComodification(LinkedList.java:970) ~[?:?] at java.util.LinkedList$ListItr.next(LinkedList.java:892) ~[?:?] at org.bukkit.permissions.PermissibleBase.recalculatePermissions(PermissibleBase.java:170) ~[spigot-api-1.19.1-R0.1-SNAPSHOT.jar:?] at org.bukkit.permissions.PermissibleBase.addAttachment(PermissibleBase.java:133) ~[spigot-api-1.19.1-R0.1-SNAPSHOT.jar:?] at org.bukkit.craftbukkit.v1_19_R1.entity.CraftHumanEntity.addAttachment(CraftHumanEntity.java:205) ~[spigot-1.19.1-R0.1-SNAPSHOT.jar:3558-Spigot-2183145-401f1ad] at de.manator.mypermissions.players.PlayerUpdater.run(PlayerUpdater.java:57) ~[?:?] at org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftTask.run(CraftTask.java:82) ~[spigot-1.19.1-R0.1-SNAPSHOT.jar:3558-Spigot-2183145-401f1ad] at org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54) [spigot-1.19.1-R0.1-SNAPSHOT.jar:3558-Spigot-2183145-401f1ad] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) [?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:?] at java.lang.Thread.run(Thread.java:833) [?:?]
[15:47:23] [Craft Scheduler Thread - 470/WARN]: [MyPermissions] Plugin MyPermissions v1.2.8 generated an exception while executing task 123776java.util.ConcurrentModificationException: null at java.util.LinkedList$ListItr.checkForComodification(LinkedList.java:970) ~[?:?] at java.util.LinkedList$ListItr.next(LinkedList.java:892) ~[?:?] at org.bukkit.permissions.PermissibleBase.recalculatePermissions(PermissibleBase.java:170) ~[spigot-api-1.19.1-R0.1-SNAPSHOT.jar:?] at org.bukkit.permissions.PermissibleBase.addAttachment(PermissibleBase.java:133) ~[spigot-api-1.19.1-R0.1-SNAPSHOT.jar:?] at org.bukkit.craftbukkit.v1_19_R1.entity.CraftHumanEntity.addAttachment(CraftHumanEntity.java:205) ~[spigot-1.19.1-R0.1-SNAPSHOT.jar:3558-Spigot-2183145-401f1ad] at de.manator.mypermissions.players.PlayerUpdater.run(PlayerUpdater.java:57) ~[?:?] at org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftTask.run(CraftTask.java:82) ~[spigot-1.19.1-R0.1-SNAPSHOT.jar:3558-Spigot-2183145-401f1ad] at org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54) [spigot-1.19.1-R0.1-SNAPSHOT.jar:3558-Spigot-2183145-401f1ad] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) [?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:?] at java.lang.Thread.run(Thread.java:833) [?:?]
[15:47:23] [Craft Scheduler Thread - 472/WARN]: [MyPermissions] Plugin MyPermissions v1.2.8 generated an exception while executing task 123780java.util.ConcurrentModificationException: null at java.util.LinkedList$ListItr.checkForComodification(LinkedList.java:970) ~[?:?] at java.util.LinkedList$ListItr.next(LinkedList.java:892) ~[?:?] at org.bukkit.permissions.PermissibleBase.recalculatePermissions(PermissibleBase.java:170) ~[spigot-api-1.19.1-R0.1-SNAPSHOT.jar:?] at org.bukkit.permissions.PermissibleBase.addAttachment(PermissibleBase.java:133) ~[spigot-api-1.19.1-R0.1-SNAPSHOT.jar:?] at org.bukkit.craftbukkit.v1_19_R1.entity.CraftHumanEntity.addAttachment(CraftHumanEntity.java:205) ~[spigot-1.19.1-R0.1-SNAPSHOT.jar:3558-Spigot-2183145-401f1ad] at de.manator.mypermissions.players.PlayerUpdater.run(PlayerUpdater.java:57) ~[?:?] at org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftTask.run(CraftTask.java:82) ~[spigot-1.19.1-R0.1-SNAPSHOT.jar:3558-Spigot-2183145-401f1ad] at org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54) [spigot-1.19.1-R0.1-SNAPSHOT.jar:3558-Spigot-2183145-401f1ad] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) [?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:?] at java.lang.Thread.run(Thread.java:833) [?:?]
In reply to Pederzen64:
I'm not quite sure if it fixes the problem, but I'll upload a possible fix for it right now!
It should be available very soon!
In reply to Pederzen64:
The update (that should fix this) is available now!
In reply to ManatorDE:
Wonderful! will give it a shot later on, and let you know how it goes.
In reply to ManatorDE:
It seemed to work for abit, but when i began moving stuff around in my inventory or in chests, the console went crazy again. Haven't noticed other actions causing it yet. Here's a cut from the console:
[12:24:54] [Craft Scheduler Thread - 2/WARN]: [MyPermissions] Plugin MyPermissions v1.2.9 generated an exception while executing task 1190[12:24:54] [Craft Scheduler Thread - 2/WARN]: [MyPermissions] Plugin MyPermissions v1.2.9 generated an exception while executing task 1190java.lang.NullPointerException: Cannot read field "next" because "this.next" is null at java.util.LinkedList$ListItr.next(LinkedList.java:897) ~[?:?] at org.bukkit.permissions.PermissibleBase.recalculatePermissions(PermissibleBase.java:170) ~[spigot-api-1.19.1-R0.1-SNAPSHOT.jar:?] at org.bukkit.permissions.PermissibleBase.addAttachment(PermissibleBase.java:133) ~[spigot-api-1.19.1-R0.1-SNAPSHOT.jar:?] at org.bukkit.craftbukkit.v1_19_R1.entity.CraftHumanEntity.addAttachment(CraftHumanEntity.java:205) ~[spigot-1.19.1-R0.1-SNAPSHOT.jar:3558-Spigot-2183145-401f1ad] at de.manator.mypermissions.players.PlayerUpdater.run(PlayerUpdater.java:59) ~[?:?] at org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftTask.run(CraftTask.java:82) ~[spigot-1.19.1-R0.1-SNAPSHOT.jar:3558-Spigot-2183145-401f1ad] at org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54) [spigot-1.19.1-R0.1-SNAPSHOT.jar:3558-Spigot-2183145-401f1ad] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) [?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:?] at java.lang.Thread.run(Thread.java:833) [?:?]
[12:25:09] [Craft Scheduler Thread - 1/WARN]: [MyPermissions] Plugin MyPermissions v1.2.9 generated an exception while executing task 1209java.lang.NullPointerException: null
[12:25:23] [Craft Scheduler Thread - 1/WARN]: [MyPermissions] Plugin MyPermissions v1.2.9 generated an exception while executing task 1215java.lang.NullPointerException: null
[12:25:25] [Craft Scheduler Thread - 1/WARN]: [MyPermissions] Plugin MyPermissions v1.2.9 generated an exception while executing task 1216java.lang.NullPointerException: null
In reply to Pederzen64:
Can you send me a list of your plugins?
In reply to ManatorDE:
Yea sure:
MyPermissions
BetterBeds
CoreProtect
EssentialsX
McHomes
NoEndermanGrief
WorldEdit
In reply to Pederzen64:
So I understood it correctly, that the errors start showing up when you move stuff around in your inventory?
Found a typo:
on /group setdefault someGroup, message returned is "The group someGroup was et as default group" :)
Found a bug:
Adding non-existent player throws internal error.
In console:
In reply to oguh43:
Alright, I'm trying to fix it
In reply to oguh43:
Should be fixed in V1.2.0B