Eclipse shows no errors plugin doesn't show up in /plugins

Discussion in 'Plugin Development' started by Blackbird956, Feb 4, 2014.

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

    Blackbird956

    Hey guys!

    I recently finished my plugin but i did everything i have to do to make it work.
    Eclipse doesn't show any errors i imported everything etc.
    I also made the plugin.yml (not sure if this is the problem)

    http://prntscr.com/2pjqzo

    Thanks for your help!
     
  2. Offline

    jboy44

    Blackbird956
    There could be multiple things that are wrong here. Are there any errors in the console when the plugin is being enabled?

    Keep in mind: just because Eclipse doesn't show any errors in your code, doesn't mean it is correct.
     
  3. Offline

    Goblom

    Blackbird956 Why couldn't you show us the package name and class name in the Package Explorer?

    Also, if yo' plugin don't work when server starts then check the console and post the StackTrace that is printed out. If there is no stacktrace then you wrote the plugin wrong in eclipse.
     
  4. Offline

    Rocoty

    Blackbird956 You have to understand that there are two kinds of errors you can get in a programming language: Compiler errors (or compile-time errors) and runtime errors.

    Compiler errors are those that occur due to wrong syntax or other obvious errors that the compiler can see right away without running the code.
    Runtime errors are exceptions that occur when the code runs and something goes wrong while it runs.

    Quite evidently Eclipse can only show the compiler errors of a plugin, because you can't really run the plugin in Eclipse.

    What you get here is likely a Runtime error when your plugin loads. These are printed in the console of your server and show valuable information about where the error is coming from.

    I can't right away tell you what's wrong, I'd probably need the stack trace (error message in the console) for that.
     
    Goblom likes this.
  5. Offline

    Blackbird956

    Thanks everyone! :) But when i start the server up nothing in the console says the plugin is enabled Here is a printscreen of the code and the console. Screenshot_1.png Screenshot_2.png


    And the console log on startup:

    05.02 14:33:47 [Server] INFO [14:33:47 INFO]: [ QuestCraft ] Type /helpop if you need help!
    05.02 14:32:58 [Server] INFO [14:32:58 WARN]: [WorldEdit] No compatible nms block class found.
    05.02 14:32:48 [Server] INFO [14:32:48 INFO]: *********************************
    05.02 14:32:48 [Server] INFO [14:32:48 WARN]: Update Vault at: http://dev.bukkit.org/server-mods/vault
    05.02 14:32:48 [Server] INFO [14:32:48 WARN]: Current Version: 1.2.29
    05.02 14:32:48 [Server] INFO [14:32:48 WARN]: Stable Version: 1.2.31 is out!
    05.02 14:32:48 [Server] INFO [14:32:48 INFO]: ***** Vault Version Checker *****
    05.02 14:32:48 [Server] INFO [14:32:48 INFO]: [Buycraft] Loaded 4 package(s) into the cache.
    05.02 14:32:48 [Server] INFO [14:32:48 INFO]: GroupManager - INFO - Bukkit Permissions Updated!
    05.02 14:32:48 [Multicraft] Skipped 27 lines due to rate limit (30/s)
    05.02 14:32:47 [Server] INFO [14:32:47 INFO]: 1.7.2-R0.1-SNAPSHOT
    05.02 14:32:47 [Server] INFO [14:32:47 INFO]: git-Spigot-1163 (MC: 1.7.2)
    05.02 14:32:47 [Server] INFO [14:32:47 INFO]: Bukkit version format changed. Version not checked.
    05.02 14:32:47 [Server] INFO [14:32:47 INFO]: [Essentials] Enabling Essentials v2.12.1
    05.02 14:32:47 [Server] INFO [14:32:47 INFO]: [WorldGuard] 0 regions loaded for 'Survival_the_end'
    05.02 14:32:47 [Server] INFO [14:32:47 INFO]: [WorldGuard] 0 regions loaded for 'Survival_nether'
    05.02 14:32:47 [Server] INFO [14:32:47 INFO]: [WorldGuard] 6 regions loaded for 'Survival'
    05.02 14:32:47 [Server] INFO [14:32:47 INFO]: [WorldGuard] Loaded configuration for world 'Survival_the_end'
    05.02 14:32:47 [Server] INFO [14:32:47 INFO]: [WorldGuard] (Survival_the_end) Fire spread is UNRESTRICTED.
    05.02 14:32:47 [Server] INFO [14:32:47 INFO]: [WorldGuard] (Survival_the_end) Lava fire is blocked.
    05.02 14:32:47 [Server] INFO [14:32:47 INFO]: [WorldGuard] (Survival_the_end) Lighters are PERMITTED.
    05.02 14:32:47 [Server] INFO [14:32:47 INFO]: [WorldGuard] (Survival_the_end) TNT ignition is PERMITTED.
    05.02 14:32:47 [Server] INFO [14:32:47 INFO]: [WorldGuard] Loaded configuration for world 'Survival_nether'
    05.02 14:32:47 [Server] INFO [14:32:47 INFO]: [WorldGuard] (Survival_nether) Fire spread is UNRESTRICTED.
    05.02 14:32:47 [Server] INFO [14:32:47 INFO]: [WorldGuard] (Survival_nether) Lava fire is blocked.
    05.02 14:32:47 [Server] INFO [14:32:47 INFO]: [WorldGuard] (Survival_nether) Lighters are PERMITTED.
    05.02 14:32:47 [Server] INFO [14:32:47 INFO]: [WorldGuard] (Survival_nether) TNT ignition is PERMITTED.
    05.02 14:32:47 [Server] INFO [14:32:47 INFO]: [WorldGuard] Loaded configuration for world 'Survival'
    05.02 14:32:47 [Server] INFO [14:32:47 INFO]: [WorldGuard] (Survival) Fire spread is UNRESTRICTED.
    05.02 14:32:47 [Server] INFO [14:32:47 INFO]: [WorldGuard] (Survival) Lava fire is blocked.
    05.02 14:32:47 [Server] INFO [14:32:47 INFO]: [WorldGuard] (Survival) Lighters are PERMITTED.
    05.02 14:32:47 [Server] INFO [14:32:47 INFO]: [WorldGuard] (Survival) TNT ignition is PERMITTED.
    05.02 14:32:47 [Server] INFO [14:32:47 INFO]: [WorldGuard] Enabling WorldGuard v5.8
    05.02 14:32:47 [Server] INFO [14:32:47 INFO]: [ClearLag] Clearlag has been enabled!
    05.02 14:32:47 [Server] INFO [14:32:47 INFO]: [ClearLag] No updates found!
    05.02 14:32:47 [Server] INFO [14:32:47 INFO]: [ClearLag] Searching for updates..
    05.02 14:32:47 [Server] INFO [14:32:47 INFO]: [ClearLag] No config updates found...
    05.02 14:32:47 [Server] INFO [14:32:47 INFO]: [ClearLag] Enabling ClearLag v2.6.2
    05.02 14:32:47 [Server] INFO [14:32:47 INFO]: Thank you for using ZavAutoMessager v2.6 by the ZavTeam!
    05.02 14:32:47 [Server] INFO [14:32:47 INFO]: ZavAutoMessager v2.6 is up to date!
    05.02 14:32:47 [Multicraft] Skipped 144 lines due to rate limit (30/s)
    05.02 14:32:46 [Server] INFO [14:32:46 INFO]: Item Merge Radius: 2.5
    05.02 14:32:46 [Server] INFO [14:32:46 INFO]: Arrow Despawn Rate: 1200
    05.02 14:32:46 [Server] INFO [14:32:46 INFO]: Mob Spawn Range: 4
    05.02 14:32:46 [Server] INFO [14:32:46 INFO]: Experience Merge Radius: 3.0
    05.02 14:32:46 [Server] INFO [14:32:46 INFO]: Chunks to Grow per Tick: 650
    05.02 14:32:46 [Server] INFO [14:32:46 INFO]: View Distance: 10
    05.02 14:32:46 [Server] INFO [14:32:46 INFO]: -------- World Settings For [Survival_nether] --------
    05.02 14:32:46 [Server] INFO [14:32:46 INFO]:Blocks: [1, 5, 14, 15, 16, 21, 48, 49, 54, 56, 73, 74, 82, 129, 130]
    05.02 14:32:46 [Server] INFO [14:32:46 INFO]:Engine Mode: 1
    05.02 14:32:46 [Server] INFO [14:32:46 INFO]: Anti X-Ray: true
    05.02 14:32:46 [Server] INFO [14:32:46 INFO]: Entity Tracking Range: Pl 48 / An 48 / Mo 48 / Mi 32 / Other 64
    05.02 14:32:46 [Server] INFO [14:32:46 INFO]: Entity Activation Range: An 32 / Mo 32 / Mi 16
    05.02 14:32:46 [Server] INFO [14:32:46 INFO]: Structure Info Saving: true
    05.02 14:32:46 [Server] INFO [14:32:46 INFO]: Random Lighting Updates: false
    05.02 14:32:46 [Server] INFO [14:32:46 INFO]: Hopper Transfer: 8 Hopper Check: 8
    05.02 14:32:46 [Server] INFO [14:32:46 INFO]: Wheat Growth Modifier: 100%
    05.02 14:32:46 [Server] INFO [14:32:46 INFO]: Sapling Growth Modifier: 100%
    05.02 14:32:46 [Server] INFO [14:32:46 INFO]: Pumpkin Growth Modifier: 100%
    05.02 14:32:46 [Server] INFO [14:32:46 INFO]: Mushroom Growth Modifier: 100%
    05.02 14:32:46 [Server] INFO [14:32:46 INFO]: Melon Growth Modifier: 100%
    05.02 14:32:46 [Server] INFO [14:32:46 INFO]: Cane Growth Modifier: 100%
    05.02 14:32:46 [Server] INFO [14:32:46 INFO]: Cactus Growth Modifier: 100%
    05.02 14:32:46 [Server] INFO [14:32:46 INFO]: Item Despawn Rate: 6000
    05.02 14:32:46 [Server] INFO [14:32:46 INFO]: Item Merge Radius: 2.5
    05.02 14:32:46 [Server] INFO [14:32:46 INFO]: Arrow Despawn Rate: 1200
    05.02 14:32:46 [Server] INFO [14:32:46 INFO]: Mob Spawn Range: 4
    05.02 14:32:46 [Server] INFO [14:32:46 INFO]: Experience Merge Radius: 3.0
    05.02 14:32:46 [Server] INFO [14:32:46 INFO]: Chunks to Grow per Tick: 650
    05.02 14:32:46 [Server] INFO [14:32:46 INFO]: View Distance: 10
    05.02 14:32:46 [Server] INFO [14:32:46 INFO]: -------- World Settings For [Survival] --------
     
  6. Offline

    TnT

    Locked. You are not using our software - you should seek support for your problems where you found the software you are using.
     
Thread Status:
Not open for further replies.

Share This Page