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
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:
[22:03:06 ERROR]: null
org.bukkit.command.CommandException: Unhandled exception executing command 'group' in plugin MyPermissions v1.1.7
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:47) ~[patched_1.17.1.jar:git-Paper-348]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:159) ~[patched_1.17.1.jar:git-Paper-348]
at org.bukkit.craftbukkit.v1_17_R1.CraftServer.dispatchCommand(CraftServer.java:869) ~[patched_1.17.1.jar:git-Paper-348]
at net.minecraft.server.network.ServerGamePacketListenerImpl.handleCommand(ServerGamePacketListenerImpl.java:2262) ~[app:?]
at net.minecraft.server.network.ServerGamePacketListenerImpl.handleChat(ServerGamePacketListenerImpl.java:2073) ~[app:?]
at net.minecraft.server.network.ServerGamePacketListenerImpl.handleChat(ServerGamePacketListenerImpl.java:2054) ~[app:?]
at net.minecraft.network.protocol.game.ServerboundChatPacket.handle(ServerboundChatPacket.java:46) ~[app:?]
at net.minecraft.network.protocol.game.ServerboundChatPacket.handle(ServerboundChatPacket.java:6) ~[app:?]
at net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$1(PacketUtils.java:56) ~[app:?]
at net.minecraft.server.TickTask.run(TickTask.java:18) ~[patched_1.17.1.jar:git-Paper-348]
at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:149) ~[app:?]
at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:23) ~[app:?]
at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1423) ~[patched_1.17.1.jar:git-Paper-348]
at net.minecraft.server.MinecraftServer.shouldRun(MinecraftServer.java:192) ~[patched_1.17.1.jar:git-Paper-348]
at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:122) ~[app:?]
at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1401) ~[patched_1.17.1.jar:git-Paper-348]
at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1394) ~[patched_1.17.1.jar:git-Paper-348]
at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:132) ~[app:?]
at net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:1372) ~[patched_1.17.1.jar:git-Paper-348]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1283) ~[patched_1.17.1.jar:git-Paper-348]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319) ~[patched_1.17.1.jar:git-Paper-348]
at java.lang.Thread.run(Thread.java:831) ~[?:?]
Caused by: java.lang.NullPointerException: Cannot invoke "java.util.ArrayList.iterator()" because the return value of "de.manator.mypermissions.io.PlayerConfigFile.getGroups(String)" is null
at de.manator.mypermissions.Main.onCommand(Main.java:260) ~ypermissions_1.1.7.jar:?]
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45) ~[patched_1.17.1.jar:git-Paper-348]
... 21 more
Je t'écris car je trouvais simple et sympatique lorsque les anciens créateur de d'autre plugin(Que je citeré pas les noms) configurais leurs plugin pour qu'il y est deja une configuration de base t'elle que:
Cela était simple et clair et l'on n'avais deja un petit modèle de base :P Es-ce que vous comptier faire un modèle un peux de se genre car la les pages sont vide et blanche ah ah
Hey, I don't speak nor understand french, I'm sorry.
I translated it though.
Yet there is no plan to create base files from the beginning.
If you check the file system and the way the configs are setup,
you might notice, that it's actually quite simple to set them up.
Or simply use the commands to do so.
If you create a group the files for permissions
and stuff are automatically created and you can set them up manually via command or via file system. The configs are easy to edit with any text editor available.
Create Plugin I love it, especially because you can even add permissions ingame and just with the console or files. Great job mate. I am gonna use it and stick to it keep the great work up.
However I have one problem, I can't exclude players from the default group. That means that people with special groups always display 2 prefixes in the tab list. The thing is I want everyone one the server to have that default prefix and group without adding everyone manually I dont have the time for that. Or am I missing out something
Other than that so well done :D I hope you can help me
Right now excluding some Players isn't really possible. I can try to add a "ranking system" to groups so only the highest ranks prefix and suffix is shown.
if you need more help or want to participate more in the whole process of making this plugin better, you can join my Discord :)
Great thought mate! :D You can even build up more features over the ranking system. Well it is your choice but I sounds like a great idee for me ^^ More than that would it be nice if you can disable and enable the feature, I know this is gonna be hard so again your choice but I am certain that most people dont need this and it will get to complicated for them you know?
Dont get me wrong you plugin is insanely good, I mean it keep up the great work. I want to help you and make it even better :D You even take the time to answer me, really lovely to see. You deserve a award for your work and time you put in this :) <3
-
View User Profile
-
Send Message
Posted Sep 26, 2022In reply to ManatorDE:
Wonderful! will give it a shot later on, and let you know how it goes.
-
View User Profile
-
Send Message
Posted Sep 26, 2022In 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
-
View User Profile
-
Send Message
Posted Sep 26, 2022In reply to Pederzen64:
Can you send me a list of your plugins?
-
View User Profile
-
Send Message
Posted Oct 6, 2022In reply to ManatorDE:
Yea sure:
MyPermissions
BetterBeds
CoreProtect
EssentialsX
McHomes
NoEndermanGrief
WorldEdit
-
View User Profile
-
Send Message
Posted Oct 8, 2022In reply to Pederzen64:
So I understood it correctly, that the errors start showing up when you move stuff around in your inventory?
-
View User Profile
-
Send Message
Posted Oct 21, 2021Found 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:
[22:03:06 ERROR]: null org.bukkit.command.CommandException: Unhandled exception executing command 'group' in plugin MyPermissions v1.1.7 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:47) ~[patched_1.17.1.jar:git-Paper-348] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:159) ~[patched_1.17.1.jar:git-Paper-348] at org.bukkit.craftbukkit.v1_17_R1.CraftServer.dispatchCommand(CraftServer.java:869) ~[patched_1.17.1.jar:git-Paper-348] at net.minecraft.server.network.ServerGamePacketListenerImpl.handleCommand(ServerGamePacketListenerImpl.java:2262) ~[app:?] at net.minecraft.server.network.ServerGamePacketListenerImpl.handleChat(ServerGamePacketListenerImpl.java:2073) ~[app:?] at net.minecraft.server.network.ServerGamePacketListenerImpl.handleChat(ServerGamePacketListenerImpl.java:2054) ~[app:?] at net.minecraft.network.protocol.game.ServerboundChatPacket.handle(ServerboundChatPacket.java:46) ~[app:?] at net.minecraft.network.protocol.game.ServerboundChatPacket.handle(ServerboundChatPacket.java:6) ~[app:?] at net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$1(PacketUtils.java:56) ~[app:?] at net.minecraft.server.TickTask.run(TickTask.java:18) ~[patched_1.17.1.jar:git-Paper-348] at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:149) ~[app:?] at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:23) ~[app:?] at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1423) ~[patched_1.17.1.jar:git-Paper-348] at net.minecraft.server.MinecraftServer.shouldRun(MinecraftServer.java:192) ~[patched_1.17.1.jar:git-Paper-348] at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:122) ~[app:?] at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1401) ~[patched_1.17.1.jar:git-Paper-348] at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1394) ~[patched_1.17.1.jar:git-Paper-348] at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:132) ~[app:?] at net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:1372) ~[patched_1.17.1.jar:git-Paper-348] at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1283) ~[patched_1.17.1.jar:git-Paper-348] at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319) ~[patched_1.17.1.jar:git-Paper-348] at java.lang.Thread.run(Thread.java:831) ~[?:?] Caused by: java.lang.NullPointerException: Cannot invoke "java.util.ArrayList.iterator()" because the return value of "de.manator.mypermissions.io.PlayerConfigFile.getGroups(String)" is null at de.manator.mypermissions.Main.onCommand(Main.java:260) ~ypermissions_1.1.7.jar:?] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45) ~[patched_1.17.1.jar:git-Paper-348] ... 21 more-
View User Profile
-
Send Message
Posted Oct 22, 2021In reply to oguh43:
Alright, I'm trying to fix it
-
View User Profile
-
Send Message
Posted Jan 9, 2022In reply to oguh43:
Should be fixed in V1.2.0B
-
View User Profile
-
Send Message
Posted Sep 7, 2021Bonjour a vous cher codeur :D
Je t'écris car je trouvais simple et sympatique lorsque les anciens créateur de d'autre plugin(Que je citeré pas les noms) configurais leurs plugin pour qu'il y est deja une configuration de base t'elle que:
Cela était simple et clair et l'on n'avais deja un petit modèle de base :P Es-ce que vous comptier faire un modèle un peux de se genre car la les pages sont vide et blanche ah ah
Cordialement Gros-Minet
-
View User Profile
-
Send Message
Posted Sep 8, 2021In reply to gros_minetqc:
Hey, I don't speak nor understand french, I'm sorry.
I translated it though.
Yet there is no plan to create base files from the beginning.
If you check the file system and the way the configs are setup,
you might notice, that it's actually quite simple to set them up.
Or simply use the commands to do so.
If you create a group the files for permissions
and stuff are automatically created and you can set them up manually via command or via file system. The configs are easy to edit with any text editor available.
I hope that helps you!
-
View User Profile
-
Send Message
Posted Aug 28, 2021Create Plugin I love it, especially because you can even add permissions ingame and just with the console or files. Great job mate. I am gonna use it and stick to it keep the great work up.
However I have one problem, I can't exclude players from the default group. That means that people with special groups always display 2 prefixes in the tab list. The thing is I want everyone one the server to have that default prefix and group without adding everyone manually I dont have the time for that. Or am I missing out something
Other than that so well done :D
I hope you can help me
Greetings Red
-
View User Profile
-
Send Message
Posted Aug 28, 2021In reply to RedJoyDE:
Hey :)
Thank you, I'm doing my best!
This is something I could try to work out.
Right now excluding some Players isn't really possible.
I can try to add a "ranking system" to groups so only the highest ranks prefix and suffix is shown.
if you need more help or want to participate more in the whole process of making this plugin better, you can join my Discord :)
https://discord.gg/7URCZM7XXp
-
View User Profile
-
Send Message
Posted Aug 30, 2021In reply to ManatorDE:
Great thought mate! :D You can even build up more features over the ranking system. Well it is your choice but I sounds like a great idee for me ^^ More than that would it be nice if you can disable and enable the feature, I know this is gonna be hard so again your choice but I am certain that most people dont need this and it will get to complicated for them you know?
Dont get me wrong you plugin is insanely good, I mean it keep up the great work. I want to help you and make it even better :D
You even take the time to answer me, really lovely to see. You deserve a award for your work and time you put in this :) <3
-
View User Profile
-
Send Message
Posted Aug 31, 2021In reply to RedJoyDE:
I think it won't be too complicated to implement the other features. The ranking system itself is more complicated :D
The DE in your name makes me think you are German. If you want you can write in German :D
-
View User Profile
-
Send Message
Posted Aug 4, 2021Hiya! Quick issue.
Every time I restart the server all my prefix's break? What was originally a light blue [P] becomes:
?9[P]?r
Is this intentional? Have I just missed something in the config somewhere?
-
View User Profile
-
Send Message
Posted Aug 5, 2021In reply to Sfoster:
Does it stay permanently after restarting, or does it just take some time to load?
-
View User Profile
-
Send Message
Posted Jul 3, 2021Btw will this command work in giving perms to someone?
/permission add {name} {se.fly}
-
View User Profile
-
Send Message
Posted Aug 2, 2021In reply to minecrafterist:
Yes. One of the /permissions commands wasn't working in 1.1.5. It's being fixed in the next release
-
View User Profile
-
Send Message
Posted Jul 3, 2021Um how can I make this work with the essentials plugin? Because I have no idea lol...tnx :}
-
View User Profile
-
Send Message
Posted Jul 4, 2021In reply to minecrafterist:
It should work. Some people are already using both plugins together