Well, the way I have it set up, is that you purchase the upgrades, so I set up a system through deluxe menus where you pay for the permission, so the perm gets added to the user account. When testing this, My alt did have the permission. My alt at the time did have 2 permissions, upgrade 1 and 2. Would that glitch things or should it work with 2 perms?
It's the last of the groups that one have permission to that applies. Sounds strange, are you sure that the plugin giving the permissions is working properly? Try giving them another permission in that same way and see if that works.
Code (Java): [13:20:49 ERROR]: Could not pass event BlockFromToEvent to SkyblockOres v1.3 org.bukkit.event.EventException: null at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:308) ~[spigot-1.13.jar:git-Spigot-69774b3-671581e] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-1.13.jar:git-Spigot-69774b3-671581e] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:500) ~[spigot-1.13.jar:git-Spigot-69774b3-671581e] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:485) ~[spigot-1.13.jar:git-Spigot-69774b3-671581e] at net.minecraft.server.v1_13_R1.FluidTypeFlowing.a(FluidTypeFlowing.java:178) ~[spigot-1.13.jar:git-Spigot-69774b3-671581e] at net.minecraft.server.v1_13_R1.FluidTypeFlowing.a(FluidTypeFlowing.java:150) ~[spigot-1.13.jar:git-Spigot-69774b3-671581e] at net.minecraft.server.v1_13_R1.FluidTypeFlowing.a(FluidTypeFlowing.java:408) ~[spigot-1.13.jar:git-Spigot-69774b3-671581e] at net.minecraft.server.v1_13_R1.Fluid.a(SourceFile:56) ~[spigot-1.13.jar:git-Spigot-69774b3-671581e] at net.minecraft.server.v1_13_R1.WorldServer.a(WorldServer.java:668) ~[spigot-1.13.jar:git-Spigot-69774b3-671581e] at net.minecraft.server.v1_13_R1.TickListServer.a(TickListServer.java:77) [spigot-1.13.jar:git-Spigot-69774b3-671581e] at net.minecraft.server.v1_13_R1.WorldServer.p(WorldServer.java:660) [spigot-1.13.jar:git-Spigot-69774b3-671581e] at net.minecraft.server.v1_13_R1.WorldServer.doTick(WorldServer.java:301) [spigot-1.13.jar:git-Spigot-69774b3-671581e] at net.minecraft.server.v1_13_R1.MinecraftServer.w(MinecraftServer.java:940) [spigot-1.13.jar:git-Spigot-69774b3-671581e] at net.minecraft.server.v1_13_R1.DedicatedServer.w(DedicatedServer.java:411) [spigot-1.13.jar:git-Spigot-69774b3-671581e] at net.minecraft.server.v1_13_R1.MinecraftServer.v(MinecraftServer.java:819) [spigot-1.13.jar:git-Spigot-69774b3-671581e] at net.minecraft.server.v1_13_R1.MinecraftServer.run(MinecraftServer.java:717) [spigot-1.13.jar:git-Spigot-69774b3-671581e] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_151] Caused by: java.lang.NullPointerException at maol3.skyblockores.PlayerListener.onFromTo(PlayerListener.java:35) ~[?:?] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) ~[?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_151] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_151] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304) ~[spigot-1.13.jar:git-Spigot-69774b3-671581e] ... 16 more Hey, when I start the server I get this error several times. Any idea? (Spigot 1.13)
Hey, Is there anyway you can look into making it so ore variations stay even when the island owner is offline? Because when the person with the permisson logs offline, then members or people who did not purchase the upgrade can not use the upgrade.
Hello, Nice plugins but it's spamming console with: [06:11:23 ERROR]: Could not pass event BlockFromToEvent to SkyblockOres v1.1 https://paste.ofcode.org/T5LmFA9y5WtUXJtUcKKPDc How to fix?
I am also getting the same error numerous times on startup, however it does work on 1.13.2 https://pastebin.com/snh33UYx Am I missing a dependency or something?
The plugin so far is wonderful, however myself and a few players have noticed that if someone with higher permissions (I have them setup as purchasable upgrades), visits an island, the generator will use the permissions of the visitor rather than the actual island owner. IE: Player has permissions to generate cobble, iron, coal, gold. I have permissions for everything, as I'm OPped, when I visit the player island, the generator starts making everything, rather than just the cobble, iron, coal, and gold which it should be.
I am getting this error [16:19:59] [Server thread/ERROR]: Could not pass event BlockFromToEvent to SkyblockOres v1.3 org.bukkit.event.EventException: null at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:316) ~[Spigot.jar:git-Spigot-f09662d-3697519] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:66) ~[Spigot.jar:git-Spigot-f09662d-3697519] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:507) ~[Spigot.jar:git-Spigot-f09662d-3697519] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:492) ~[Spigot.jar:git-Spigot-f09662d-3697519] at net.minecraft.server.v1_13_R2.FluidTypeFlowing.a(FluidTypeFlowing.java:194) ~[Spigot.jar:git-Spigot-f09662d-3697519] at net.minecraft.server.v1_13_R2.FluidTypeFlowing.a(FluidTypeFlowing.java:166) ~[Spigot.jar:git-Spigot-f09662d-3697519] at net.minecraft.server.v1_13_R2.FluidTypeFlowing.a(FluidTypeFlowing.java:499) ~[Spigot.jar:git-Spigot-f09662d-3697519] at net.minecraft.server.v1_13_R2.Fluid.a(SourceFile:56) ~[Spigot.jar:git-Spigot-f09662d-3697519] at net.minecraft.server.v1_13_R2.WorldServer.a(WorldServer.java:650) ~[Spigot.jar:git-Spigot-f09662d-3697519] at net.minecraft.server.v1_13_R2.TickListServer.a(TickListServer.java:77) [Spigot.jar:git-Spigot-f09662d-3697519] at net.minecraft.server.v1_13_R2.WorldServer.q(WorldServer.java:642) [Spigot.jar:git-Spigot-f09662d-3697519] at net.minecraft.server.v1_13_R2.WorldServer.doTick(WorldServer.java:283) [Spigot.jar:git-Spigot-f09662d-3697519] at net.minecraft.server.v1_13_R2.MinecraftServer.b(MinecraftServer.java:952) [Spigot.jar:git-Spigot-f09662d-3697519] at net.minecraft.server.v1_13_R2.DedicatedServer.b(DedicatedServer.java:417) [Spigot.jar:git-Spigot-f09662d-3697519] at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:831) [Spigot.jar:git-Spigot-f09662d-3697519] at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:729) [Spigot.jar:git-Spigot-f09662d-3697519] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_191] Caused by: java.lang.NullPointerException Can you please try to fix this?
The plugin's commands all work, and the file has all the right numbers. But it won't generate anything but cobblestone.
Hello, the plugin works fine, but if there are two players on an empty island, he will take the highest group to produce minerals. Can this be fixed?
Sorry for the late reply. But yes that is correct, a block being generated in the world is in no way affiliated to a specific player on the server (like it is when a player breaks a block), so the server would not know which two of these players that are using that cobblestone generator. Might be able to do a workaround on this if I ever return to this project, and have it remember which of these players that broke the last block on that position. But that being said, the server currently checks for players near the generator and gives the better chances if there is a player near who has the right permissions. That's better than it ignoring a player's permission because a player with less permissions comes near.
Hey i'm the one who was having some problems. First, whenever the server starts, whenever running /ores, this error is shown: Unhandled exception executing 'ores' in se.maol.skyblockores.OresCommand(ores) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:156) ~[spigot-1.17.1.jar:3208-Spigot-18c71bf-97f629b] at org.bukkit.craftbukkit.v1_17_R1.CraftServer.dispatchCommand(CraftServer.java:770) ~[spigot-1.17.1.jar:3208-Spigot-18c71bf-97f629b] at net.minecraft.server.network.PlayerConnection.handleCommand(PlayerConnection.java:1931) ~[spigot-1.17.1.jar:3208-Spigot-18c71bf-97f629b] at net.minecraft.server.network.PlayerConnection.a(PlayerConnection.java:1770) ~[spigot-1.17.1.jar:3208-Spigot-18c71bf-97f629b] at net.minecraft.server.network.PlayerConnection.a(PlayerConnection.java:1751) ~[spigot-1.17.1.jar:3208-Spigot-18c71bf-97f629b] at net.minecraft.network.protocol.game.PacketPlayInChat.a(PacketPlayInChat.java:46) ~[spigot-1.17.1.jar:3208-Spigot-18c71bf-97f629b] at net.minecraft.network.protocol.game.PacketPlayInChat.a(PacketPlayInChat.java:1) ~[spigot-1.17.1.jar:3208-Spigot-18c71bf-97f629b] at net.minecraft.network.protocol.PlayerConnectionUtils.lambda$0(PlayerConnectionUtils.java:30) ~[spigot-1.17.1.jar:3208-Spigot-18c71bf-97f629b] at net.minecraft.server.TickTask.run(SourceFile:18) ~[spigot-1.17.1.jar:3208-Spigot-18c71bf-97f629b] at net.minecraft.util.thread.IAsyncTaskHandler.executeTask(SourceFile:151) ~[spigot-1.17.1.jar:3208-Spigot-18c71bf-97f629b] at net.minecraft.util.thread.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23) ~[spigot-1.17.1.jar:3208-Spigot-18c71bf-97f629b] at net.minecraft.util.thread.IAsyncTaskHandler.executeNext(SourceFile:125) ~[spigot-1.17.1.jar:3208-Spigot-18c71bf-97f629b] at net.minecraft.server.MinecraftServer.bf(MinecraftServer.java:1133) ~[spigot-1.17.1.jar:3208-Spigot-18c71bf-97f629b] at net.minecraft.server.MinecraftServer.executeNext(MinecraftServer.java:1126) ~[spigot-1.17.1.jar:3208-Spigot-18c71bf-97f629b] at net.minecraft.util.thread.IAsyncTaskHandler.executeAll(SourceFile:110) ~[spigot-1.17.1.jar:3208-Spigot-18c71bf-97f629b] at net.minecraft.server.MinecraftServer.sleepForTick(MinecraftServer.java:1109) ~[spigot-1.17.1.jar:3208-Spigot-18c71bf-97f629b] at net.minecraft.server.MinecraftServer.x(MinecraftServer.java:1039) ~[spigot-1.17.1.jar:3208-Spigot-18c71bf-97f629b] at net.minecraft.server.MinecraftServer.lambda$0(MinecraftServer.java:303) ~[spigot-1.17.1.jar:3208-Spigot-18c71bf-97f629b] at java.lang.Thread.run(Thread.java:831) [?:?] Caused by: java.lang.NullPointerException: Cannot invoke "java.util.Map.entrySet()" because the return value of "java.util.Map.get(Object)" is null at se.maol.skyblockores.Configuration.getPermissionLevel(Configuration.java:98) ~[?:?] at se.maol.skyblockores.OresCommand.execute(OresCommand.java:41) ~[?:?] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:149) ~[spigot-1.17.1.jar:3208-Spigot-18c71bf-97f629b] ===END=== However, running /ores reload fixes it. Also upon further testing, tenths of a percent do work, but they dont show up as such when running /ores (For example, i have Emerald ore spawning at 0.4%, but /ores reads it as 0.0%)