RestrictedCreative doesn't load when Towny not installed

Issue #97 resolved
Former user created an issue
#!

[04:02:29] [Server thread/INFO]: [RestrictedCreative] Enabling RestrictedCreative v2.4
[04:02:29] [Server thread/ERROR]: Error occurred while enabling RestrictedCreative v2.4 (Is it up to date?)
java.lang.NoClassDefFoundError: com/palmergames/bukkit/towny/exceptions/NotRegisteredException
    at me.prunt.restrictedcreative.Main.onEnable(Main.java:65) ~[?:?]
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263) ~[patched_1.16.1.jar:git-Paper-86]
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:380) ~[patched_1.16.1.jar:git-Paper-86]
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:483) ~[patched_1.16.1.jar:git-Paper-86]
    at org.bukkit.craftbukkit.v1_16_R1.CraftServer.enablePlugin(CraftServer.java:500) ~[patched_1.16.1.jar:git-Paper-86]
    at org.bukkit.craftbukkit.v1_16_R1.CraftServer.enablePlugins(CraftServer.java:414) ~[patched_1.16.1.jar:git-Paper-86]
    at net.citizensnpcs.nms.v1_16_R1.util.NMSImpl.loadPlugins(NMSImpl.java:851) ~[?:?]
    at net.citizensnpcs.util.NMS.loadPlugins(NMS.java:312) ~[?:?]
    at net.citizensnpcs.Citizens.enableSubPlugins(Citizens.java:164) ~[?:?]
    at net.citizensnpcs.Citizens.onEnable(Citizens.java:323) ~[?:?]
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263) ~[patched_1.16.1.jar:git-Paper-86]
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:380) ~[patched_1.16.1.jar:git-Paper-86]
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:483) ~[patched_1.16.1.jar:git-Paper-86]
    at org.bukkit.craftbukkit.v1_16_R1.CraftServer.enablePlugin(CraftServer.java:500) ~[patched_1.16.1.jar:git-Paper-86]
    at org.bukkit.craftbukkit.v1_16_R1.CraftServer.enablePlugins(CraftServer.java:414) ~[patched_1.16.1.jar:git-Paper-86]
    at net.minecraft.server.v1_16_R1.MinecraftServer.loadWorld(MinecraftServer.java:471) ~[patched_1.16.1.jar:git-Paper-86]
    at net.minecraft.server.v1_16_R1.DedicatedServer.init(DedicatedServer.java:241) ~[patched_1.16.1.jar:git-Paper-86]
    at net.minecraft.server.v1_16_R1.MinecraftServer.v(MinecraftServer.java:940) ~[patched_1.16.1.jar:git-Paper-86]
    at net.minecraft.server.v1_16_R1.MinecraftServer.lambda$a$0(MinecraftServer.java:177) ~[patched_1.16.1.jar:git-Paper-86]
    at java.lang.Thread.run(Unknown Source) [?:?]
Caused by: java.lang.ClassNotFoundException: com.palmergames.bukkit.towny.exceptions.NotRegisteredException
    at java.net.URLClassLoader.findClass(Unknown Source) ~[?:?]
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:171) ~[patched_1.16.1.jar:git-Paper-86]
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:100) ~[patched_1.16.1.jar:git-Paper-86]
    at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:?]
    at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:?]
    ... 20 more
[04:02:29] [Server thread/INFO]: [RestrictedCreative] Disabling RestrictedCreative v2.4
[04:02:29] [Server thread/ERROR]: Error occurred while disabling RestrictedCreative v2.4 (Is it up to date?)

Comments (3)

  1. AngieC

    Using Paper version git-Paper-89 (MC: 1.16.1)

    Have the same issue when updated to the latest version 2.4. The plugin disabled itself and doesn’t work on the server

    https://pastebin.com/zktXgTvq

    However, downgrading to version 2.3.9 throws another error with Residence v4.9.1.2, it seems. When players try to change an item from hotbar in creative it decides to change a residence permissions command. Weird it interferes with Residence Plugin

    https://pastebin.com/X9dCzueD

  2. Hans Kurel repo owner

    This will be fixed in the next version.

    @AngieC Report this bug to Residence, I don’t think this is my fault.

  3. Log in to comment