Got this error.

Discussion in 'Spigot Plugin Help' started by HugoZ, May 2, 2017.

  1. Hi,
    I was using the plugin '' https://www.spigotmc.org/resources/better-shops.1758/ '' and it all worked fine untill I restarted my server and it did not work anymore. I found this error in my log and I dont know how to solve it. If possible I would like to not have to replace everything since I just finished all the shops. If you can find the issue thanks already!:
    [15:00:52] [Server thread/INFO]: BetterShops - An error occurred! Please inform the developer @ http://dev.bukkit.org/bukkit-plugins/better-shops/ . Plugin Disabling!
    [15:00:52] [Server thread/WARN]: java.lang.IllegalArgumentException: No enum constant org.bukkit.Material._GOLD_INGOT
    [15:00:52] [Server thread/WARN]: at java.lang.Enum.valueOf(Unknown Source)
    [15:00:52] [Server thread/WARN]: at org.bukkit.Material.valueOf(Material.java:1)
    [15:00:52] [Server thread/WARN]: at max.hubbard.bettershops.Shops.Types.Sign.SignShopManager.loadSignShops(SignShopManager.java:182)
    [15:00:52] [Server thread/WARN]: at max.hubbard.bettershops.Core.loadShops(Core.java:456)
    [15:00:52] [Server thread/WARN]: at max.hubbard.bettershops.Core.onEnable(Core.java:229)
    [15:00:52] [Server thread/WARN]: at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:321)
    [15:00:52] [Server thread/WARN]: at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:340)
    [15:00:52] [Server thread/WARN]: at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405)
    [15:00:52] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_8_R3.CraftServer.loadPlugin(CraftServer.java:357)
    [15:00:52] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_8_R3.CraftServer.enablePlugins(CraftServer.java:317)
    [15:00:52] [Server thread/WARN]: at net.minecraft.server.v1_8_R3.MinecraftServer.s(MinecraftServer.java:414)
    [15:00:52] [Server thread/WARN]: at net.minecraft.server.v1_8_R3.MinecraftServer.k(MinecraftServer.java:378)
    [15:00:52] [Server thread/WARN]: at net.minecraft.server.v1_8_R3.MinecraftServer.a(MinecraftServer.java:333)
    [15:00:52] [Server thread/WARN]: at net.minecraft.server.v1_8_R3.DedicatedServer.init(DedicatedServer.java:263)
    [15:00:52] [Server thread/WARN]: at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:525)
    [15:00:52] [Server thread/WARN]: at java.lang.Thread.run(Unknown Source)
    [15:00:52] [Server thread/INFO]: BetterShops - Saving Shops..
     
  2. Can you post your config?
     
  3. There are other file in the plugin folder?
     
  4. It should be called Material.GOLD_INGOT. Somewhere from comes a invalid _.

    The only _ i can see is:
    Maybe the plugin does not support _ as prefix? Remove it and try again.