Plugin Help Plugin Errors need help!?

Discussion in 'Plugin Help/Development/Requests' started by Hexenx101, Dec 20, 2016.

Thread Status:
Not open for further replies.
  1. Offline

    Hexenx101

    Hey

    I'm currently working on a server and I've got quite a few errors in my console and I want to know how to fix each error that is popping up, I've fixed most of them myself but the rest I cannot figure out. Could I please have some help. If have any questions feel free to ask


    TrollBoss Error (open)

    Code:
    [18:54:31 INFO]: [Troll] No update found.
    [18:54:31 ERROR]: Error occurred while enabling TrollBoss v4.5 (Is it up to date?)
    java.lang.NoClassDefFoundError: org/spigotmc/Metrics
        at main.Main.startMetrics(Main.java:238) ~[?:?]
        at main.Main.onEnable(Main.java:159) ~[?:?]
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:292) ~[cb.jar:git-Bukkit-10c10b3]
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:332) [cb.jar:git-Bukkit-10c10b3]
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:404) [cb.jar:git-Bukkit-10c10b3]
        at org.bukkit.craftbukkit.v1_10_R1.CraftServer.loadPlugin(CraftServer.java:347) [cb.jar:git-Bukkit-10c10b3]
        at org.bukkit.craftbukkit.v1_10_R1.CraftServer.enablePlugins(CraftServer.java:319) [cb.jar:git-Bukkit-10c10b3]
        at net.minecraft.server.v1_10_R1.MinecraftServer.t(MinecraftServer.java:407) [cb.jar:git-Bukkit-10c10b3]
        at net.minecraft.server.v1_10_R1.MinecraftServer.l(MinecraftServer.java:372) [cb.jar:git-Bukkit-10c10b3]
        at net.minecraft.server.v1_10_R1.MinecraftServer.a(MinecraftServer.java:327) [cb.jar:git-Bukkit-10c10b3]
        at net.minecraft.server.v1_10_R1.DedicatedServer.init(DedicatedServer.java:242) [cb.jar:git-Bukkit-10c10b3]
        at net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:517) [cb.jar:git-Bukkit-10c10b3]
        at java.lang.Thread.run(Thread.java:745) [?:1.8.0_25]
    Caused by: java.lang.ClassNotFoundException: org.spigotmc.Metrics
        at java.net.URLClassLoader$1.run(URLClassLoader.java:372) ~[?:1.8.0_25]
        at java.net.URLClassLoader$1.run(URLClassLoader.java:361) ~[?:1.8.0_25]
        at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_25]
        at java.net.URLClassLoader.findClass(URLClassLoader.java:360) ~[?:1.8.0_25]
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:77) ~[cb.jar:git-Bukkit-10c10b3]
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:62) ~[cb.jar:git-Bukkit-10c10b3]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_25]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_25]
    


    SuperVanish Error (open)

    Code:
    [18:54:31 INFO]: [SuperVanish] Enabling SuperVanish v5.8.3
    [18:54:31 ERROR]: Cannot load plugins/SuperVanish/config.yml
    org.bukkit.configuration.InvalidConfigurationException: while parsing a block mapping
    in 'string', line 9, column 5:
            VanishReappearMessages: true
            ^
    expected <block end>, but found BlockMappingStart
    in 'string', line 12, column 7:
              BroadcastMessageOnVanish: true
              ^
    
        at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:56) ~[cb.jar:git-Bukkit-10c10b3]
        at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:184) ~[cb.jar:git-Bukkit-10c10b3]
        at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:130) ~[cb.jar:git-Bukkit-10c10b3]
        at org.bukkit.configuration.file.YamlConfiguration.loadConfiguration(YamlConfiguration.java:179) [cb.jar:git-Bukkit-10c10b3]
        at de.myzelyam.supervanish.config.SettingsFile.reloadConfig(SettingsFile.java:36) [SuperVanish.jar:?]
        at de.myzelyam.supervanish.config.SettingsFile.getConfig(SettingsFile.java:47) [SuperVanish.jar:?]
        at de.myzelyam.supervanish.SuperVanish.prepareConfig(SuperVanish.java:132) [SuperVanish.jar:?]
        at de.myzelyam.supervanish.SuperVanish.onEnable(SuperVanish.java:90) [SuperVanish.jar:?]
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:292) [cb.jar:git-Bukkit-10c10b3]
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:332) [cb.jar:git-Bukkit-10c10b3]
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:404) [cb.jar:git-Bukkit-10c10b3]
        at org.bukkit.craftbukkit.v1_10_R1.CraftServer.loadPlugin(CraftServer.java:347) [cb.jar:git-Bukkit-10c10b3]
        at org.bukkit.craftbukkit.v1_10_R1.CraftServer.enablePlugins(CraftServer.java:319) [cb.jar:git-Bukkit-10c10b3]
        at net.minecraft.server.v1_10_R1.MinecraftServer.t(MinecraftServer.java:407) [cb.jar:git-Bukkit-10c10b3]
        at net.minecraft.server.v1_10_R1.MinecraftServer.l(MinecraftServer.java:372) [cb.jar:git-Bukkit-10c10b3]
        at net.minecraft.server.v1_10_R1.MinecraftServer.a(MinecraftServer.java:327) [cb.jar:git-Bukkit-10c10b3]
        at net.minecraft.server.v1_10_R1.DedicatedServer.init(DedicatedServer.java:242) [cb.jar:git-Bukkit-10c10b3]
        at net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:517) [cb.jar:git-Bukkit-10c10b3]
        at java.lang.Thread.run(Thread.java:745) [?:1.8.0_25]
    Caused by: org.yaml.snakeyaml.parser.ParserException: while parsing a block mapping
    in 'string', line 9, column 5:
            VanishReappearMessages: true
            ^
    expected <block end>, but found BlockMappingStart
    in 'string', line 12, column 7:
              BroadcastMessageOnVanish: true
              ^
    
        at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:570) ~[cb.jar:git-Bukkit-10c10b3]
        at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:158) ~[cb.jar:git-Bukkit-10c10b3]
        at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:143) ~[cb.jar:git-Bukkit-10c10b3]
        at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:224) ~[cb.jar:git-Bukkit-10c10b3]
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:155) ~[cb.jar:git-Bukkit-10c10b3]
        at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:229) ~[cb.jar:git-Bukkit-10c10b3]
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:155) ~[cb.jar:git-Bukkit-10c10b3]
        at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:229) ~[cb.jar:git-Bukkit-10c10b3]
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:155) ~[cb.jar:git-Bukkit-10c10b3]
        at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122) ~[cb.jar:git-Bukkit-10c10b3]
        at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105) ~[cb.jar:git-Bukkit-10c10b3]
        at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:120) ~[cb.jar:git-Bukkit-10c10b3]
        at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:450) ~[cb.jar:git-Bukkit-10c10b3]
        at org.yaml.snakeyaml.Yaml.load(Yaml.java:369) ~[cb.jar:git-Bukkit-10c10b3]
        at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:54) ~[cb.jar:git-Bukkit-10c10b3]



    AdminFun Error (open)

    Code:
    [18:54:39 INFO]: UUID of player Hexenx101 is 52d53034-e0df-466d-87d0-28f76af55a1b
    [18:54:39 ERROR]: Could not pass event PlayerJoinEvent to AdminFun v2.5.0
    org.bukkit.event.EventException
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[cb.jar:git-Bukkit-10c10b3]
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[cb.jar:git-Bukkit-10c10b3]
        at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:501) [cb.jar:git-Bukkit-10c10b3]
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:486) [cb.jar:git-Bukkit-10c10b3]
        at net.minecraft.server.v1_10_R1.PlayerList.onPlayerJoin(PlayerList.java:317) [cb.jar:git-Bukkit-10c10b3]
        at net.minecraft.server.v1_10_R1.PlayerList.a(PlayerList.java:144) [cb.jar:git-Bukkit-10c10b3]
        at net.minecraft.server.v1_10_R1.LoginListener.b(LoginListener.java:115) [cb.jar:git-Bukkit-10c10b3]
        at net.minecraft.server.v1_10_R1.LoginListener.E_(LoginListener.java:53) [cb.jar:git-Bukkit-10c10b3]
        at net.minecraft.server.v1_10_R1.NetworkManager.a(NetworkManager.java:224) [cb.jar:git-Bukkit-10c10b3]
        at net.minecraft.server.v1_10_R1.ServerConnection.c(SourceFile:187) [cb.jar:git-Bukkit-10c10b3]
        at net.minecraft.server.v1_10_R1.MinecraftServer.D(MinecraftServer.java:762) [cb.jar:git-Bukkit-10c10b3]
        at net.minecraft.server.v1_10_R1.DedicatedServer.D(DedicatedServer.java:360) [cb.jar:git-Bukkit-10c10b3]
        at net.minecraft.server.v1_10_R1.MinecraftServer.C(MinecraftServer.java:646) [cb.jar:git-Bukkit-10c10b3]
        at net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:550) [cb.jar:git-Bukkit-10c10b3]
        at java.lang.Thread.run(Thread.java:745) [?:1.8.0_25]
    Caused by: java.lang.NoClassDefFoundError: net/md_5/bungee/api/ChatColor
        at me.trevor1134.adminfun.AdminFun.onJoin(AdminFun.java:163) ~[?:?]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_25]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_25]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_25]
        at java.lang.reflect.Method.invoke(Method.java:483) ~[?:1.8.0_25]
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:300) ~[cb.jar:git-Bukkit-10c10b3]
        ... 14 more
    Caused by: java.lang.ClassNotFoundException: net.md_5.bungee.api.ChatColor
        at java.net.URLClassLoader$1.run(URLClassLoader.java:372) ~[?:1.8.0_25]
        at java.net.URLClassLoader$1.run(URLClassLoader.java:361) ~[?:1.8.0_25]
        at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_25]
        at java.net.URLClassLoader.findClass(URLClassLoader.java:360) ~[?:1.8.0_25]
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:77) ~[cb.jar:git-Bukkit-10c10b3]
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:62) ~[cb.jar:git-Bukkit-10c10b3]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_25]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_25]
        at me.trevor1134.adminfun.AdminFun.onJoin(AdminFun.java:163) ~[?:?]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_25]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_25]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_25]
        at java.lang.reflect.Method.invoke(Method.java:483) ~[?:1.8.0_25]
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:300) ~[cb.jar:git-Bukkit-10c10b3]
     
  2. Online

    timtower Administrator Administrator Moderator

    @Hexenx101 First and last are because the developers have been building on Spigot while you are running CraftBukkit.
    Second one is a bad config that we can't fix without seeing the config itself.
     
  3. Offline

    Hexenx101

    SuperVanish Config (open)

    Code:
    # SuperVanish v5.8.3 - Configuration
    #
    Configuration:
    ##################################################
    ################ MESSAGE OPTIONS #################
    ##################################################
      Messages:
        ####### Fake Join-/LeaveMessages #######
        VanishReappearMessages: true
          # Should this plugin broadcast a message when a player vanishs?
          # You can change that message in the messages.yml file.
          BroadcastMessageOnVanish: true
          # Should this plugin broadcast a message when a player reappears?
          # You can change that message in the messages.yml file.
          BroadcastMessageOnReappear: false
          # Should players with the permission 'sv.see' get an other message when a player vanishs/reappears?
          # You can change that message in the messages.yml file.
          SendDifferentMessages: true
          # Should only players with the permission 'sv.see' receive 'fake' Join-/LeaveMessages?
          SendMessageOnlyToAdmins: false
          # Should only players without the permission 'sv.see' receive 'fake' Join-/LeaveMessages?
          SendMessageOnlyToUsers: false
        ########################################
        # Should this plugin hide the 'normal' Join- and LeaveMessages of invisible players?
        HideNormalJoinAndLeaveMessagesWhileInvisible: true
        # Should this plugin remind players who join the server invisible?
        # You can change that message in the messages.yml file.
        RemindInvisiblePlayersOnJoin: true
        # Should invisible players have action bars that tell them that they're invisible?
        # You can change the actionbar msg in the messages.yml file.
        DisplayActionBarsToInvisiblePlayers: true
    ##################################################
    ################ PLAYER OPTIONS ##################
    ##################################################
      Players:
        # Should invisible players be able to pick up items?
        DisableItemPickUpsByDefault: true
        # Should invisible players have the night vision effect?
        AddNightVision: true
        # Should this plugin disable hunger of invisible players?
        DisableHungerForInvisiblePlayers: true
        ################## FLY #################
        Fly:
          # Should invisible players be able to fly even if they aren't in creative mode?
          Enable: true
          # Should invisible players WITHOUT the permission 'sv.fly' lose the ability to fly on reappear?
          DisableOnReappear: true
        ########################################
        # Should invisible players not be able to trigger pressure plates and tripwire?
        # If this feature is enabled invisible players can't trigger pressure plates and tripwire.
        DisablePressurePlatesForInvisiblePlayers: true
        # Should players with the permission 'sv.see' be able to see invisible players?
        EnableSeePermission: true
        # Should invisible players not be able to break blocks?
        PreventBlockBreaking: false
        # Should invisible players not be able to place blocks?
        PreventBlockPlacing: false
        # Should invisible players not be able to damage players or mobs?
        PreventHittingEntities: false
        # Should invisible players open chests without the chest animation and sounds? Requires ProtocolLib.
        SilentOpenChest: true
        # Should invisible players automatically reappear when they change their world?
        ReappearOnWorldChange: false
        # Should invisible players automatically reappear when they quit the server?
        ReappearOnQuit: false
        # Should SV still handle leave messages if 'ReappearOnQuit' is turned on?
        ReappearOnQuitHandleLeaveMsg: true
        # Should invisible players not be able to push other players or be able to be pushed?
        # Uses the scoreboard and may conflict with other plugins; Ignored in 1.8 or below
        DisablePush: true
    ##################################################
    ################ TABLIST OPTIONS #################
    ##################################################
      Tablist:
        # Should invisible players have a prefix in the tablist and on their nametag?
        # (shows up for players with the permission 'sv.see' if it is enabled)
        # You can use color codes here; please make sure that the prefix isn't longer than 16 characters
        # Uses the scoreboard and may conflict with other plugins
        TabPrefix: ""
        # Should invisible players have a suffix in the tablist and on their nametag?
        # (shows up for players with the permission 'sv.see' if it is enabled)
        # You can use color codes here; please make sure that the suffix isn't longer than 16 characters
        # Uses the scoreboard and may conflict with other plugins
        TabSuffix: " &a[HIDDEN]"
    ##################################################
    ############## SERVERLIST OPTIONS ################
    ##################################################
      Serverlist:
        # !! PLEASE TURN THE NEXT TWO SETTINGS OFF IF YOU ARE RUNNING BUNGEECORD !!
        # The server list features require the plugin ProtocolLib and don't support BungeeCord!
        # Should this plugin adjust the amount of players in the server list?
        AdjustAmountOfOnlinePlayers: true
        # Should this plugin hide invisible players in the list of logged-in players?
        # You can view this list when your mouse hovers over the amount of online players.
        AdjustListOfLoggedInPlayers: true
    ##################################################
    ################## HOOK OPTIONS ##################
    ##################################################
      Hooks:
        # Should SV hide invisible players in /who, /list, /online
        # and all other commands of Essentials?
        # Note: Players with a specific Essentials permission can still see invisible players in those commands
        # Important: You have to reload both Essentials and SuperVanish if you change this setting.
        EnableEssentialsHook: true
        # Should SV hide invisible players on your dynamic map and broadcast join/leave messages if you use Dynmap?
        EnableDynmapHook: true
        # Should SV prevent players from being invisible and disguised at the same time? (LibsDisguises commands)
        # It's recommended to keep this turned on to prevent incompatibility.
        EnableLibsDisguisesHook: true
        # Should SV prevent players from being invisible and disguised at the same time? (DisguiseCraft commands)
        # It's recommended to keep this turned on to prevent incompatibility.
        EnableDisguiseCraftHook: true
        # Should SV hook into TraiGUI and disable trails for vanished players?
        EnableTrailGUIHook: true
        # Should SV hook into SuperTrails and disable trails for vanished players?
        EnableSuperTrailsHook: true
        # Should SV stop NPCs from greeting or talking about hidden players?
        EnableCitizensHook: true
        # Should SV hide invisible players on Enjin's website?
        EnableEnjinMinecraftPluginHook: true
    ##################################################
    ############# COMPATIBILITY OPTIONS ##############
    ##################################################
      CompatibilityOptions:
        # The event priority which supervanish should use for the specific event.
        # If another plugin overrides supervanish's join/leave settings, setting the priorities to MONITOR can help.
        # Allowed values: LOWEST, LOW, NORMAL, HIGH, HIGHEST, MONITOR
        PlayerJoinEventPriority: HIGH # <- Set this to "HIGH" if you use Essentials to modify join messages
        PlayerQuitEventPriority: HIGHEST
    #################################################
    ################# DO NOT TOUCH ##################
    #################################################
    ConfigVersion: 5.8.3
     
  4. Online

    timtower Administrator Administrator Moderator

    @Hexenx101 Start of the config, after VanishReappearMessages, you have it indented too much.
     
  5. Offline

    Hexenx101

    Sorry I'm a bit confused, are you able to change the config for me which I've put in already and send it to this post. It's just over this I find it a bit difficult to understand.
     
  6. Online

    timtower Administrator Administrator Moderator

  7. Offline

    Hexenx101

  8. Online

    timtower Administrator Administrator Moderator

  9. Offline

    Hexenx101

    Thank you very much, what should I do about the other ones then, is there anything you can do or suggest I can do about the other errors.
     
  10. Online

    timtower Administrator Administrator Moderator

    @Hexenx101 Ask them if they can build with Bukkit instead of Spigot or find replacements.
     
  11. Offline

    Hexenx101

    Alright, thank you very much for your quick responses and help.
     
Thread Status:
Not open for further replies.

Share This Page