Plugin working on personal server but not my dedi?

Discussion in 'Spigot Plugin Development' started by WitheringDiamond, May 28, 2016.

  1. Hello all...
    For the past few hours i have been kciking meh legs up and doing some fun coding..
    So far i have created a Working Fly meter that can run perfectly on My local Server, However when I i go to place that plugin on my dedi it does not load. (However i currently dont know how to get the error up from the console) Both of the servers run on the same jar.

    Hs anyone else had this problem?
    Does anyone know how to fix?
    Pls Help
    WitheringDiamond
     
  2. You must of compiled with a different java version to whats running on your dedi
    use java -version on ur dedi terminal to see what version your running then view your progject compile setings.
     
  3. Also provide the startup log.
     
  4. It comes up with:
    /home/Factions$ java -version
    java version "1.7.0_101"
    OpenJDK Runtime Environment (rhel-2.6.6.1.el7_2-x86_64 u101-b00)
    OpenJDK 64-Bit Server VM (build 24.95-b01, mixed mode)
    What does that mean i cant see a java verian like that on my export option



    Ok I just found it..
    But plugman will still not load it...
     
  5. are you using eclipse?
    im guessing your compiling with java 8 but youyr server only runs java 7. upgrade your servers java version
     
  6. How would i do that.. I dont have anything like cpannel or anything
     
  7. Egh just provide the Startup log. If you see a stack trace that contains "Unsupported major.minor version 52.0", then its the Java problem. If it is another problem, the logs can tell us a lot.
     
  8. And how do i do that. I have no pufferpannel...
     
  9. Use an SFTP client. Navigate to /home/factions/logs/ and open latest.log. Then copy and paste the whole log to http://pastebin.com
     
  10. Did you not create a screen for your server console to run in, or just login with sftp and view the latest.log if you dont know how to do that downlod a panel
     
  11. This is all i could find when i did a reload...

    at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockSequenceEntry.produce(ParserImpl.java:514) ~[Spigot.jar:git-Spigot-5f38d38-18fbb24]
    at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:158) ~[Spigot.jar:git-Spigot-5f38d38-18fbb24]
    at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:143) ~[Spigot.jar:git-Spigot-5f38d38-18fbb24]
    at org.yaml.snakeyaml.composer.Composer.composeSequenceNode(Composer.java:198) ~[Spigot.jar:git-Spigot-5f38d38-18fbb24]
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:153) ~[Spigot.jar:git-Spigot-5f38d38-18fbb24]
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:229) ~[Spigot.jar:git-Spigot-5f38d38-18fbb24]
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:155) ~[Spigot.jar:git-Spigot-5f38d38-18fbb24]
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:229) ~[Spigot.jar:git-Spigot-5f38d38-18fbb24]
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:155) ~[Spigot.jar:git-Spigot-5f38d38-18fbb24]
    at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122) ~[Spigot.jar:git-Spigot-5f38d38-18fbb24]
    at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105) ~[Spigot.jar:git-Spigot-5f38d38-18fbb24]
    at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:120) ~[Spigot.jar:git-Spigot-5f38d38-18fbb24]
    at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:450) ~[Spigot.jar:git-Spigot-5f38d38-18fbb24]
    at org.yaml.snakeyaml.Yaml.load(Yaml.java:369) ~[Spigot.jar:git-Spigot-5f38d38-18fbb24]
    at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:55) ~[Spigot.jar:git-Spigot-5f38d38-18fbb24]
    ... 32 more
    [03:21:30] [Server thread/ERROR]: Cannot load plugins/ClearLag/config.yml
    org.bukkit.configuration.InvalidConfigurationException: while parsing a block collection
    in 'string', line 175, column 5:
    - 'lagg unloadchunks'
    ^
    expected <block end>, but found Scalar
    in 'string', line 178, column 58:
    ... : Unloaded Chunks, Returned NPC's, Cleared Some Ram'
    ^

    at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:57) ~[Spigot.jar:git-Spigot-5f38d38-18fbb24]
    at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:226) ~[Spigot.jar:git-Spigot-5f38d38-18fbb24]
    at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:169) ~[Spigot.jar:git-Spigot-5f38d38-18fbb24]
    at org.bukkit.configuration.file.YamlConfiguration.loadConfiguration(YamlConfiguration.java:180) [Spigot.jar:git-Spigot-5f38d38-18fbb24]
    at org.bukkit.plugin.java.JavaPlugin.reloadConfig(JavaPlugin.java:188) [Spigot.jar:git-Spigot-5f38d38-18fbb24]
    at me.minebuilders.clearlag.config.Config.reloadConfig(Config.java:167) [ClearLag.jar:?]
    at me.minebuilders.clearlag.config.Config.<init>(Config.java:64) [ClearLag.jar:?]
    at me.minebuilders.clearlag.Modules.<clinit>(Modules.java:20) [ClearLag.jar:?]
    at me.minebuilders.clearlag.Clearlag.startModules(Clearlag.java:28) [ClearLag.jar:?]
    at me.minebuilders.clearlag.Clearlag.onEnable(Clearlag.java:16) [ClearLag.jar:?]
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:321) [Spigot.jar:git-Spigot-5f38d38-18fbb24]
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:340) [Spigot.jar:git-Spigot-5f38d38-18fbb24]
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) [Spigot.jar:git-Spigot-5f38d38-18fbb24]
    at org.bukkit.craftbukkit.v1_8_R3.CraftServer.loadPlugin(CraftServer.java:357) [Spigot.jar:git-Spigot-5f38d38-18fbb24]
    at org.bukkit.craftbukkit.v1_8_R3.CraftServer.enablePlugins(CraftServer.java:317) [Spigot.jar:git-Spigot-5f38d38-18fbb24]
    at org.bukkit.craftbukkit.v1_8_R3.CraftServer.reload(CraftServer.java:741) [Spigot.jar:git-Spigot-5f38d38-18fbb24]
    at org.bukkit.Bukkit.reload(Bukkit.java:535) [Spigot.jar:git-Spigot-5f38d38-18fbb24]
    at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:25) [Spigot.jar:git-Spigot-5f38d38-18fbb24]
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) [Spigot.jar:git-Spigot-5f38d38-18fbb24]
    at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:641) [Spigot.jar:git-Spigot-5f38d38-18fbb24]
    at net.minecraft.server.v1_8_R3.PlayerConnection.handleCommand(PlayerConnection.java:1162) [Spigot.jar:git-Spigot-5f38d38-18fbb24]
    at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:997) [Spigot.jar:git-Spigot-5f38d38-18fbb24]
    at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:45) [Spigot.jar:git-Spigot-5f38d38-18fbb24]
    at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:1) [Spigot.jar:git-Spigot-5f38d38-18fbb24]
    at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [Spigot.jar:git-Spigot-5f38d38-18fbb24]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [?:1.7.0_101]
    at java.util.concurrent.FutureTask.run(FutureTask.java:262) [?:1.7.0_101]
    at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [Spigot.jar:git-Spigot-5f38d38-18fbb24]
    at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:715) [Spigot.jar:git-Spigot-5f38d38-18fbb24]
    at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [Spigot.jar:git-Spigot-5f38d38-18fbb24]
    at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) [Spigot.jar:git-Spigot-5f38d38-18fbb24]
    at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) [Spigot.jar:git-Spigot-5f38d38-18fbb24]
    at java.lang.Thread.run(Thread.java:745) [?:1.7.0_101]
    Caused by: org.yaml.snakeyaml.parser.ParserException: while parsing a block collection
    in 'string', line 175, column 5:
    - 'lagg unloadchunks'
    ^
    expected <block end>, but found Scalar
    in 'string', line 178, column 58:
    ... : Unloaded Chunks, Returned NPC's, Cleared Some Ram'
    ^

    at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockSequenceEntry.produce(ParserImpl.java:514) ~[Spigot.jar:git-Spigot-5f38d38-18fbb24]
    at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:158) ~[Spigot.jar:git-Spigot-5f38d38-18fbb24]
    at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:143) ~[Spigot.jar:git-Spigot-5f38d38-18fbb24]
    at org.yaml.snakeyaml.composer.Composer.composeSequenceNode(Composer.java:198) ~[Spigot.jar:git-Spigot-5f38d38-18fbb24]
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:153) ~[Spigot.jar:git-Spigot-5f38d38-18fbb24]
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:229) ~[Spigot.jar:git-Spigot-5f38d38-18fbb24]
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:155) ~[Spigot.jar:git-Spigot-5f38d38-18fbb24]
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:229) ~[Spigot.jar:git-Spigot-5f38d38-18fbb24]
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:155) ~[Spigot.jar:git-Spigot-5f38d38-18fbb24]
    at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122) ~[Spigot.jar:git-Spigot-5f38d38-18fbb24]
    at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105) ~[Spigot.jar:git-Spigot-5f38d38-18fbb24]
    at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:120) ~[Spigot.jar:git-Spigot-5f38d38-18fbb24]
    at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:450) ~[Spigot.jar:git-Spigot-5f38d38-18fbb24]
    at org.yaml.snakeyaml.Yaml.load(Yaml.java:369) ~[Spigot.jar:git-Spigot-5f38d38-18fbb24]
    at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:55) ~[Spigot.jar:git-Spigot-5f38d38-18fbb24]
    ... 32 more
    [03:21:30] [Server thread/INFO]: [ClearLag] Modules enabed, loading config values
    [03:21:30] [Server thread/INFO]: [ClearLag] Modules have been loaded!
    [03:21:30] [Server thread/INFO]: [ClearLag] Clearlag is now enabled!
    [03:21:30] [Thread-131/INFO]: [ClearLag] Checking for updates...
    [03:21:30] [Server thread/INFO]: [BountyHead] Enabling BountyHead v1.8.0-PREALPHA-SNAPSHOT
    [03:21:30] [Server thread/INFO]: [BountyHead] Starting up BountyHead. If you have any bugs or problems, email me at: [email protected]
    [03:21:30] [Server thread/INFO]: [Essentials] Enabling Essentials vTeamCity
    [03:21:30] [Server thread/INFO]: Bukkit version format changed. Version not checked.
    [03:21:30] [Server thread/INFO]: git-Spigot-5f38d38-18fbb24 (MC: 1.8.8)
    [03:21:30] [Server thread/INFO]: 1.8.8-R0.1-SNAPSHOT
    [03:21:30] [Server thread/INFO]: Using locale en_US
    [03:21:31] [Thread-131/INFO]: [ClearLag] No updates found!
    [03:21:31] [Server thread/INFO]: Using locale en_US
    [03:21:31] [Server thread/INFO]: [Vault][Economy] Essentials Economy hooked.
    [03:21:31] [Server thread/INFO]: Essentials: Using PermissionsEx based permissions.
    [03:21:31] [Server thread/INFO]: [floAuction] Enabling floAuction v3.1.0
    [03:21:31] [Server thread/INFO]: [floAuction] has been enabled.
    [03:21:31] [Server thread/INFO]: [SupplyCrates] Enabling SupplyCrates v0.5-STABLE
    [03:21:31] [Server thread/INFO]: [SupplyCrates] HolographicDisplaysAPI_v2 found, enabling Hologram support.
    [03:21:31] [Server thread/INFO]: [Multiverse-Portals] Enabling Multiverse-Portals v2.5-b699
    [03:21:31] [Server thread/INFO]: [Multiverse-Portals] - Version 2.5-b699 Enabled - By Rigby and fernferret
    [03:21:31] [Server thread/WARN]: [MVPLogging] Failed Parsing World for: End (World Error, World did not exist or was not imported into Multiverse-Core!)
    [03:21:31] [Server thread/WARN]: [MVPLogging] Portal End has an invalid LOCATION!
    [03:21:31] [Server thread/WARN]: [MVPLogging] Portal 'End' not loaded due to invalid location!
    [03:21:32] [Server thread/WARN]: [MVPLogging] Failed Parsing World for: Nether (World Error, World did not exist or was not imported into Multiverse-Core!)
    [03:21:32] [Server thread/WARN]: [MVPLogging] Portal Nether has an invalid LOCATION!
    [03:21:32] [Server thread/WARN]: [MVPLogging] Portal 'Nether' not loaded due to invalid location!
    [03:21:32] [Server thread/INFO]: [MVPLogging] 2 - Portals(s) loaded
    [03:21:32] [Server thread/INFO]: [Admin360] Enabling Admin360 v2.0.1
    [03:21:32] [Server thread/INFO]: [Admin360] Connected to SQLite Database
    [03:21:32] [Server thread/INFO]: [Admin360] Finished setting up Admin360 Database
    [03:21:32] [Server thread/INFO]: [EssentialsChat] Enabling EssentialsChat vTeamCity
    [03:21:32] [Server thread/INFO]: [EssentialsSpawn] Enabling EssentialsSpawn vTeamCity
    [03:21:32] [Server thread/INFO]: [MobStacker] Enabling MobStacker v2.0.0
    [03:21:32] [Server thread/INFO]: [MobStacker] MobStacker is starting
    [03:21:32] [Server thread/INFO]: [MobStacker] Connected to metrics
    [03:21:32] [Server thread/INFO]: [MobStacker] Successfully hooked in to WorldGuard!
    [03:21:32] [Server thread/INFO]: [MobStacker] MobStacker has successfully started!
    [03:21:32] [Server thread/INFO]: [KitAdder] Enabling KitAdder v2.4
    [03:21:32] [Server thread/INFO]: [KitAdder] KitAdder plugin has been enabled!
    [03:21:32] [Server thread/INFO]: [Factions] Enabling Factions v2.7.0
    [03:21:32] [Server thread/INFO]: [Factions 2.7.0] === ENABLE START ===
    [03:21:33] [Server thread/INFO]: [Factions 2.7.0] === ENABLE COMPLETE (Took 874ms) ===
    [03:21:33] [Server thread/INFO]: [CombatLog] Enabling CombatLog v1.8.11-hack
    [03:21:33] [Server thread/INFO]: [CombatLog] Loading messages.properties.
    [03:21:33] [Server thread/INFO]: [CombatLog] Loading config.yml.
    [03:21:33] [Server thread/INFO]: [CombatLog] DisguiseCraft plugin not found! Disguise removal will not work.
    [03:21:33] [Server thread/INFO]: [CombatLog] CombatLog v1.8.11-hack Enabled.
    [03:21:33] [Server thread/INFO]: [InfoBoardReborn] Enabling InfoBoardReborn v1.7.0
    [03:21:33] [Server thread/INFO]: Metrics was started!
    [03:21:33] [Server thread/INFO]: [CrazyEnchantments] Enabling CrazyEnchantments v1.5.2.1
    [03:21:33] [Server thread/INFO]: [CS-CoreLib] Enabling CS-CoreLib v1.5.4
    [03:21:33] [Server thread/INFO]: [CS-CoreLib - Protection] Loaded Protection Module "WorldGuard"
    [03:21:33] [Server thread/INFO]: [CS-CoreLib - Protection] Loaded Protection Module "Factions"
    [03:21:33] [Server thread/INFO]: [RankPrefixPlus] Enabling RankPrefixPlus v1.7.1
    [03:21:33] [Server thread/INFO]: [FBasics] Enabling FBasics v1.4.0
    [03:21:34] [Server thread/INFO]: Server permissions file permissions.yml is empty, ignoring it
    [03:21:34] [Server thread/INFO]: WitheringDiamond: Reload complete.
    [03:21:34] [Craft Scheduler Thread - 2113/INFO]: [FBasics] Attempting to connect to the database...
    [03:21:34] [Craft Scheduler Thread - 2113/INFO]: [FBasics] Connection to the database was a success!
    [03:21:34] [Server thread/INFO]: [MassiveCore 2.7.0] Loading Cachefile datas...
    [03:21:34] [Server thread/INFO]: [MassiveCore 2.7.0] Loading Onlineplayer datas...
    [03:21:34] [Server thread/INFO]: [MassiveCore 2.7.0] Loading Registry datas...
    [03:21:34] [Server thread/INFO]: [MassiveCore 2.7.0] Loading Dbmojangapi datas...
    [03:21:34] [Server thread/INFO]: [MassiveCore 2.7.0] Player Strings Found: 0
    [03:21:34] [Server thread/INFO]: [MassiveCore 2.7.0] Player Strings Cached: 0
    [03:21:34] [Server thread/INFO]: [MassiveCore 2.7.0] Player Strings Remaining: 0
    [03:21:34] [Server thread/INFO]: [MassiveCore 2.7.0] Now fetching the remaining players from Mojang API ...
    [03:21:34] [Server thread/INFO]: [MassiveCore 2.7.0] ... done!
    [03:21:34] [Server thread/INFO]: [MassiveCore 2.7.0] Saving Cachefile...
    [03:21:34] [Server thread/INFO]: [MassiveCore 2.7.0] Upgrading from player name to player uuid...
    [03:21:34] [Server thread/INFO]: [MassiveCore 2.7.0] Pre update factions_mplayer.
    [03:21:34] [Server thread/INFO]: [MassiveCore 2.7.0] Post update factions_mplayer. Took 1ms. 0/28 changed.
    [03:21:34] [Server thread/INFO]: [MassiveCore 2.7.0] ... done!
    [03:21:34] [Server thread/INFO]: [MassiveCore 2.7.0] (database saving will now commence which might lock the server for a while)
    [03:21:34] [Server thread/INFO]: [PlayerVaults] ** Vaults have already been converted to UUIDs. If this is incorrect, shutdown your server and rename the plugins/PlayerVaults/uuidvaults directory.
    [03:21:34] [Server thread/INFO]: [HolographicDisplays] Found a new version available: v2.1.13
    [03:21:34] [Server thread/INFO]: [HolographicDisplays] Download it on Bukkit Dev:
    [03:21:34] [Craft Scheduler Thread - 2118/INFO]: [PlayerVaults] We didn't find an update!
    [03:21:34] [Server thread/INFO]: [HolographicDisplays] dev.bukkit.org/bukkit-plugins/holographic-displays
    [03:21:34] [Thread-133/INFO]: [CS-CoreLib - Updater] RankPrefixPlus is up to date!
    [03:21:34] [Craft Scheduler Thread - 2130/INFO]: [NoCheatPlus] Added hook: AllViolations(NCP) [1.0].
    [03:21:34] [Server thread/INFO]: [PlugMan] Metrics started: http://mcstats.org/plugin/PlugMan
    [03:21:34] [Server thread/INFO]: [NoCheatPlus] Post-enable running...
    [03:21:34] [Craft Scheduler Thread - 2108/INFO]: [1vs1] ***** 1vs1 Version Checker *****
    [03:21:34] [Craft Scheduler Thread - 2108/INFO]: [1vs1] Stable Build: #217
    [03:21:34] [Craft Scheduler Thread - 2108/INFO]: [1vs1] Current Build: #217
    [03:21:34] [Craft Scheduler Thread - 2108/INFO]: [1vs1] No new version available
    [03:21:34] [Craft Scheduler Thread - 2108/INFO]: [1vs1] *********************************
    [03:21:35] [Craft Scheduler Thread - 2116/INFO]: [SimpleBroadcast] An update is available: v1.9.2
    [03:21:35] [Craft Scheduler Thread - 2116/INFO]: [SimpleBroadcast] Please download it from the BukkitDev page.
    [03:21:35] [Server thread/INFO]: [NoCheatPlus] Updated data for 2 players (post-enable).
    [03:21:35] [Server thread/INFO]: [NoCheatPlus] Post-enable finished.
    [03:21:35] [Thread-135/INFO]: [CS-CoreLib - Updater] CS-CoreLib is up to date!
    [03:21:35] [Craft Scheduler Thread - 2116/INFO]: [PlugMan] No update was found.
    [03:21:35] [Server thread/INFO]: [Citizens] Loaded 9 NPCs.
    [03:21:35] [Craft Scheduler Thread - 2119/INFO]: [Vault] Checking for Updates ...
    [03:21:35] [Craft Scheduler Thread - 2119/INFO]: [Vault] No new version available
    [03:21:35] [Craft Scheduler Thread - 2130/INFO]: [ConsoleScheduler] has started executing commands
    [03:21:35] [Craft Scheduler Thread - 2130/INFO]: -------------[ConsoleScheduler]--------------
    [03:21:35] [Craft Scheduler Thread - 2130/INFO]: getConfig contains CommandSchedule.Command1
    [03:21:35] [Craft Scheduler Thread - 2130/INFO]: getConfig contains CommandSchedule.Command2
    [03:21:35] [Craft Scheduler Thread - 2130/INFO]: [ConsoleScheduler] has attempted to put 2 commands on schedule.
    [03:21:36] [Craft Scheduler Thread - 2119/INFO]: Checking for updates via Spigot...
    [03:21:36] [Craft Scheduler Thread - 2119/INFO]: [QuantaCrates] A major update for CratesPlus is available, new version is 4.1.0. Your installed version is 3.1.2.
    Please update to the latest version :)


    I cant find any trace of my plugin?
     
  12. Please do not reload and provide the whole log.
     
  13. The whole log?
     
  14. Also what is the plugin named?
     
  15. If you are using an MCPro dedicated, rename the jar to "custom18" then in the "Advanced" section or whatever set it to read that.