Solved Why isn't this loading? [NO ERRORS]

Discussion in 'Plugin Development' started by BrushPainter, Mar 8, 2014.

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

    BrushPainter

    Hey everyone, I made a plugin for my paintball server. I wanted it to be a villager, and when you right click him a inventory opens.

    Here is my code: (Not a single error, yet I do recall something about changing my code to UTF-8 or something when I wrote line 36 with the ยง's instead of ChatColor.Color)

    Code:java
    1. -snip-
    2. It ended up not being a problem with the code at all, just my inventory name was too long and I wasn't registering events like MrInspector said.
     
  2. Offline

    MrInspector

    You're not registering events.

    Code:java
    1. Bukkit.getPluginManager().registerEvents(this, this);
    2. // in your onenable
     
    Space_BR likes this.
  3. Offline

    BrushPainter

    MrInspector Wow.. Lol thanks, I always make that mistake... I can't thank you enough, I'll try it now.
     
  4. Offline

    MrInspector

    No problem. :p

    Good luck!
     
  5. Offline

    BrushPainter

    MrInspector :( Still not working... Here's my plugin.yml as well:

    Code:
    name: PBGunShop
    version: 1.0.1
    main: me.BrushPainter.PBGunShop.Main
     
    commands:
      spbshop:
        permission: pbgunshop.spbshop.spawn
     
    permissions:
      pbgunshop.buy.threeburst:
        description: Allows you to buy a threeburst pb gun.
        default: true
       
      pbgunshop.buy.fullyauto:
        description: Allows you to buy a fullyauto pb gun.
        default: true
       
      pbgunshop.spbshop.spawn:
        description: Allows you to spawn a PB shop.
        default: op
     
  6. Offline

    MrInspector

    Do you get any errors in console after you registered events?
     
  7. Offline

    BrushPainter

    MrInspector Yeah, just found them:
    Code:
    08.03 21:34:12 [Server] INFO ... 9 more
    08.03 21:34:12 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:133) ~[craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    08.03 21:34:12 [Server] INFO at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:40) ~[craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    08.03 21:34:12 [Server] INFO at java.lang.Class.forName(Unknown Source) ~[?:1.7.0_51]
    08.03 21:34:12 [Server] INFO at java.lang.Class.forName0(Native Method) ~[?:1.7.0_51]
    08.03 21:34:12 [Server] INFO at me.BrushPainter.PBGunShop.Main.<clinit>(Main.java:39) ~[?:?]
    08.03 21:34:12 [Server] INFO at org.bukkit.Bukkit.createInventory(Bukkit.java:581) ~[craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    08.03 21:34:12 [Server] INFO at org.bukkit.craftbukkit.v1_7_R1.CraftServer.createInventory(CraftServer.java:1319) ~[craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    08.03 21:34:12 [Server] INFO at org.bukkit.craftbukkit.v1_7_R1.inventory.CraftInventoryCustom.<init>(CraftInventoryCustom.java:26) ~[craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    08.03 21:34:12 [Server] INFO at org.bukkit.craftbukkit.v1_7_R1.inventory.CraftInventoryCustom$MinecraftInventory.<init>(CraftInventoryCustom.java:48) ~[craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    08.03 21:34:12 [Server] INFO at org.apache.commons.lang.Validate.isTrue(Validate.java:157) ~[craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    08.03 21:34:12 [Server] INFO Caused by: java.lang.IllegalArgumentException: Title cannot be longer than 32 characters
    08.03 21:34:12 [Server] INFO ... 9 more
    08.03 21:34:12 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:133) ~[craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    08.03 21:34:12 [Server] INFO at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:40) ~[craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    08.03 21:34:12 [Server] INFO at java.lang.Class.forName(Unknown Source) ~[?:1.7.0_51]
    08.03 21:34:12 [Server] INFO at java.lang.Class.forName0(Native Method) ~[?:1.7.0_51]
    08.03 21:34:12 [Server] INFO Caused by: java.lang.ExceptionInInitializerError
    08.03 21:34:12 [Server] INFO at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    08.03 21:34:12 [Server] INFO at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:424) [craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    08.03 21:34:12 [Server] INFO at net.minecraft.server.v1_7_R1.DedicatedServer.init(DedicatedServer.java:126) [craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    08.03 21:34:12 [Server] INFO at net.minecraft.server.v1_7_R1.DedicatedPlayerList.<init>(SourceFile:14) [craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    08.03 21:34:12 [Server] INFO at net.minecraft.server.v1_7_R1.PlayerList.<init>(PlayerList.java:63) [craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    08.03 21:34:12 [Server] INFO at org.bukkit.craftbukkit.v1_7_R1.CraftServer.<init>(CraftServer.java:235) [craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    08.03 21:34:12 [Server] INFO at org.bukkit.craftbukkit.v1_7_R1.CraftServer.loadPlugins(CraftServer.java:257) [craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    08.03 21:34:12 [Server] INFO at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:231) [craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    08.03 21:34:12 [Server] INFO at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:308) ~[craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    08.03 21:34:12 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:137) ~[craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    08.03 21:34:12 [Server] INFO org.bukkit.plugin.InvalidPluginException: java.lang.ExceptionInInitializerError
    08.03 21:34:12 [Server] ERROR Could not load 'plugins/PBGunShop.jar' in folder 'plugins'
    08.03 21:34:12 [Server] INFO ... 9 more
    08.03 21:34:12 [Server] INFO Caused by: java.io.FileNotFoundException: Jar does not contain plugin.yml
    08.03 21:34:12 [Server] INFO at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    08.03 21:34:12 [Server] INFO at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:424) [craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    08.03 21:34:12 [Server] INFO at net.minecraft.server.v1_7_R1.DedicatedServer.init(DedicatedServer.java:126) [craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    08.03 21:34:12 [Server] INFO at net.minecraft.server.v1_7_R1.DedicatedPlayerList.<init>(SourceFile:14) [craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    08.03 21:34:12 [Server] INFO at net.minecraft.server.v1_7_R1.PlayerList.<init>(PlayerList.java:63) [craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    08.03 21:34:12 [Server] INFO at org.bukkit.craftbukkit.v1_7_R1.CraftServer.<init>(CraftServer.java:235) [craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    08.03 21:34:12 [Server] INFO at org.bukkit.craftbukkit.v1_7_R1.CraftServer.loadPlugins(CraftServer.java:257) [craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    08.03 21:34:12 [Server] INFO at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:133) [craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    08.03 21:34:12 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:176) ~[craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    08.03 21:34:12 [Server] INFO org.bukkit.plugin.InvalidDescriptionException: Invalid plugin.yml
    08.03 21:34:12 [Server] ERROR Could not load 'plugins/MenuServiceAPI.jar' in folder 'plugins'
    08.03 21:34:12 [Server] INFO This server is running CraftBukkit version git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks (MC: 1.7.2) (Implementing API version 1.7.2-R0.3-SNAPSHOT)
    08.03 21:34:12 [Server] INFO Starting Minecraft server on 198.12.123.231:25565
    08.03 21:34:11 [Server] INFO Generating keypair
    08.03 21:34:11 [Server] INFO Default game type: ADVENTURE
    08.03 21:34:11 [Server] INFO Loading properties
    08.03 21:34:11 [Server] INFO Starting minecraft server version 1.7.2
    08.03 21:34:07 [Server] INFO Loading libraries, please wait...
    08.03 21:34:06 [Multicraft] Loaded config for "Mod: CraftBukkit Dev 1.7.2-R0.3 (Build #2995)"
    08.03 21:34:06 [Multicraft] Starting server!
    08.03 21:34:06 [Multicraft] Loading server properties
    08.03 21:34:06 [Multicraft] Server stopped
    08.03 21:34:06 [Multicraft] Server shut down
    08.03 21:34:06 [Server] INFO Saving chunks for level 'Servers'/Overworld
    08.03 21:34:06 [Server] INFO Saving chunks for level 'Raid'/Overworld
    08.03 21:34:06 [Server] INFO Saving chunks for level 'PrisonBreakout'/Overworld
    08.03 21:34:06 [Server] INFO Saving chunks for level 'Nuketown'/Overworld
    08.03 21:34:05 [Server] INFO Saving chunks for level 'world'/Overworld
    08.03 21:34:05 [Server] INFO Saving worlds
    08.03 21:34:05 [Server] INFO Saving players
    08.03 21:34:05 [Server] INFO Disabled.
    08.03 21:34:05 [Server] INFO Disabling MultiWorld v5.1.0
    08.03 21:34:05 [Server] INFO [CONFIG] Border-checking timed task stopped.
    08.03 21:34:05 [Server] INFO Disabling WorldBorder v1.7.8
    08.03 21:34:05 [Server] INFO GroupManager version 2.0 (2.12.1) (Phoenix) is disabled!
    08.03 21:34:05 [Server] INFO GroupManager - INFO - Scheduled Data Saving is disabled!
    08.03 21:34:05 [Server] INFO Disabling GroupManager v2.0 (2.12.1) (Phoenix)
    08.03 21:34:05 [Server] INFO Disabling Portals v1.2.4
    08.03 21:34:05 [Server] INFO Disabling WorldEdit v5.5.8
    08.03 21:34:05 [Server] INFO Version 3.10.8-RC-sMD5NET-b664 is disabled.
    08.03 21:34:05 [Server] INFO Disabling NoCheatPlus v3.10.8-RC-sMD5NET-b664
    08.03 21:34:05 [Server] INFO Disabling PvpLevels v1.2.1
    08.03 21:34:05 [Server] INFO RankSigns Has Been Disabled! Bye! D:
    08.03 21:34:05 [Server] INFO Disabling RankSigns v0.7.2
    08.03 21:34:05 [Server] INFO Disabling Vault v1.2.31-b411
    08.03 21:34:05 [Server] INFO disabled. (version 0.6.8)
    08.03 21:34:05 [Server] INFO Disabling pvpstats v0.6.8
    08.03 21:34:05 [Server] INFO ---=[ KitPVP ]=---
    08.03 21:34:05 [Server] INFO KitPVP v1.4 Disabled.
    08.03 21:34:05 [Server] INFO Thanks for using my plugin :)
    08.03 21:34:05 [Server] INFO KitPVP by njb_said
    08.03 21:34:05 [Server] INFO ---=[ KitPVP ]=---
    08.03 21:34:05 [Server] INFO Disabling KitPVP v1.4
    08.03 21:34:05 [Server] INFO Version 1.1 has been disabled. (1ms)
    08.03 21:34:05 [Server] INFO Portal data saved! (0ms)
    08.03 21:34:05 [Server] INFO Disabling BungeePortals v1.1
    08.03 21:34:05 [Server] INFO Disabling PVPStatsScoreboard v0.1.3.3
    08.03 21:34:05 [Server] INFO Disabling EnderChestPlus v7.0
    08.03 21:34:05 [Server] INFO Disabling WorldGuard v5.8
    08.03 21:34:05 [Server] INFO 0.9.3 disabled.
    08.03 21:34:05 [Server] INFO Disabling SimpleWarnings v0.9.3
    08.03 21:34:05 [Server] INFO Disabling NoDrop v0.1.5
    
     
  8. Offline

    electro4fun

    I don't know if that is it but I think the inventory name is too long.
     
  9. Offline

    BrushPainter

    electro4fun Lol thanks, that is probably it because my inventory name is 33 characters. I'll test it now.
     
  10. Offline

    rbrick

    electro4fun That is one of the reasons. The other is it cannot find the plugin.yml
    Right click on the project in eclipse and create the plugin.yml file. Then just copy the plugin.yml that you already have(the one in the wrong directory)
     
  11. Offline

    electro4fun

    BrushPainter
    I think it has the plugin.yml in the right directory but the description for one of the commands or permissions is either mistyped, misplaced or is missing a ":" or something. Check for tabs and typos in your plugin.yml
     
  12. Offline

    BrushPainter

    Still not working... Really don't know why.
    Code:
    08.03 21:52:28 [Server] INFO ... 9 more
    08.03 21:52:28 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:133) ~[craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    08.03 21:52:28 [Server] INFO at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:40) ~[craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    08.03 21:52:28 [Server] INFO at java.lang.Class.forName(Unknown Source) ~[?:1.7.0_51]
    08.03 21:52:28 [Server] INFO at java.lang.Class.forName0(Native Method) ~[?:1.7.0_51]
    08.03 21:52:28 [Server] INFO at me.BrushPainter.PBGunShop.Main.<clinit>(Main.java:39) ~[?:?]
    08.03 21:52:28 [Server] INFO at org.bukkit.Bukkit.createInventory(Bukkit.java:581) ~[craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    08.03 21:52:28 [Server] INFO at org.bukkit.craftbukkit.v1_7_R1.CraftServer.createInventory(CraftServer.java:1319) ~[craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    08.03 21:52:28 [Server] INFO at org.bukkit.craftbukkit.v1_7_R1.inventory.CraftInventoryCustom.<init>(CraftInventoryCustom.java:26) ~[craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    08.03 21:52:28 [Server] INFO at org.bukkit.craftbukkit.v1_7_R1.inventory.CraftInventoryCustom$MinecraftInventory.<init>(CraftInventoryCustom.java:48) ~[craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    08.03 21:52:28 [Server] INFO at org.apache.commons.lang.Validate.isTrue(Validate.java:157) ~[craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    08.03 21:52:28 [Server] INFO Caused by: java.lang.IllegalArgumentException: Title cannot be longer than 32 characters
    08.03 21:52:28 [Server] INFO ... 9 more
    08.03 21:52:28 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:133) ~[craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    08.03 21:52:28 [Server] INFO at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:40) ~[craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    08.03 21:52:28 [Server] INFO at java.lang.Class.forName(Unknown Source) ~[?:1.7.0_51]
    08.03 21:52:28 [Server] INFO at java.lang.Class.forName0(Native Method) ~[?:1.7.0_51]
    08.03 21:52:28 [Server] INFO Caused by: java.lang.ExceptionInInitializerError
    08.03 21:52:28 [Server] INFO at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    08.03 21:52:28 [Server] INFO at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:424) [craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    08.03 21:52:28 [Server] INFO at net.minecraft.server.v1_7_R1.DedicatedServer.init(DedicatedServer.java:126) [craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    08.03 21:52:28 [Server] INFO at net.minecraft.server.v1_7_R1.DedicatedPlayerList.<init>(SourceFile:14) [craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    08.03 21:52:28 [Server] INFO at net.minecraft.server.v1_7_R1.PlayerList.<init>(PlayerList.java:63) [craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    08.03 21:52:28 [Server] INFO at org.bukkit.craftbukkit.v1_7_R1.CraftServer.<init>(CraftServer.java:235) [craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    08.03 21:52:28 [Server] INFO at org.bukkit.craftbukkit.v1_7_R1.CraftServer.loadPlugins(CraftServer.java:257) [craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    08.03 21:52:28 [Server] INFO at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:231) [craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    08.03 21:52:28 [Server] INFO at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:308) ~[craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    08.03 21:52:28 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:137) ~[craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    08.03 21:52:28 [Server] INFO org.bukkit.plugin.InvalidPluginException: java.lang.ExceptionInInitializerError
    08.03 21:52:28 [Server] ERROR Could not load 'plugins/PBGunShop.jar' in folder 'plugins'
    08.03 21:52:27 [Server] INFO ... 9 more
    08.03 21:52:27 [Server] INFO Caused by: java.io.FileNotFoundException: Jar does not contain plugin.yml
    08.03 21:52:27 [Server] INFO at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    08.03 21:52:27 [Server] INFO at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:424) [craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    08.03 21:52:27 [Server] INFO at net.minecraft.server.v1_7_R1.DedicatedServer.init(DedicatedServer.java:126) [craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    08.03 21:52:27 [Server] INFO at net.minecraft.server.v1_7_R1.DedicatedPlayerList.<init>(SourceFile:14) [craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    08.03 21:52:27 [Server] INFO at net.minecraft.server.v1_7_R1.PlayerList.<init>(PlayerList.java:63) [craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    08.03 21:52:27 [Server] INFO at org.bukkit.craftbukkit.v1_7_R1.CraftServer.<init>(CraftServer.java:235) [craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    08.03 21:52:27 [Server] INFO at org.bukkit.craftbukkit.v1_7_R1.CraftServer.loadPlugins(CraftServer.java:257) [craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    08.03 21:52:27 [Server] INFO at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:133) [craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    08.03 21:52:27 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:176) ~[craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    08.03 21:52:27 [Server] INFO org.bukkit.plugin.InvalidDescriptionException: Invalid plugin.yml
    08.03 21:52:27 [Server] ERROR Could not load 'plugins/MenuServiceAPI.jar' in folder 'plugins'
    08.03 21:52:27 [Server] INFO This server is running CraftBukkit version git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks (MC: 1.7.2) (Implementing API version 1.7.2-R0.3-SNAPSHOT)
    08.03 21:52:27 [Server] INFO Starting Minecraft server on 198.12.123.231:25565
     
  13. Offline

    electro4fun

    Check the post i posted before yours ^^^
     
  14. Offline

    BrushPainter

  15. Offline

    rbrick

    BrushPainter It cannot find the plugin.yml....are you exporting it when you export your jar?
     
  16. Offline

    electro4fun

    BrushPainter yaml parsers don't look for misspelled words.
     
  17. Offline

    BrushPainter

    electro4fun rbrick
    I did what you guys said, still getting this error:
    Code:
    08.03 21:59:46 [Server] INFO ... 9 more
    08.03 21:59:46 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:133) ~[craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    08.03 21:59:46 [Server] INFO at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:40) ~[craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    08.03 21:59:46 [Server] INFO at java.lang.Class.forName(Unknown Source) ~[?:1.7.0_51]
    08.03 21:59:46 [Server] INFO at java.lang.Class.forName0(Native Method) ~[?:1.7.0_51]
    08.03 21:59:46 [Server] INFO at me.BrushPainter.PBGunShop.Main.<clinit>(Main.java:39) ~[?:?]
    08.03 21:59:46 [Server] INFO at org.bukkit.Bukkit.createInventory(Bukkit.java:581) ~[craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    08.03 21:59:46 [Server] INFO at org.bukkit.craftbukkit.v1_7_R1.CraftServer.createInventory(CraftServer.java:1319) ~[craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    08.03 21:59:46 [Server] INFO at org.bukkit.craftbukkit.v1_7_R1.inventory.CraftInventoryCustom.<init>(CraftInventoryCustom.java:26) ~[craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    08.03 21:59:46 [Server] INFO at org.bukkit.craftbukkit.v1_7_R1.inventory.CraftInventoryCustom$MinecraftInventory.<init>(CraftInventoryCustom.java:48) ~[craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    08.03 21:59:46 [Server] INFO at org.apache.commons.lang.Validate.isTrue(Validate.java:157) ~[craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    08.03 21:59:46 [Server] INFO Caused by: java.lang.IllegalArgumentException: Title cannot be longer than 32 characters
    08.03 21:59:46 [Server] INFO ... 9 more
    08.03 21:59:46 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:133) ~[craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    08.03 21:59:46 [Server] INFO at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:40) ~[craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    08.03 21:59:46 [Server] INFO at java.lang.Class.forName(Unknown Source) ~[?:1.7.0_51]
    08.03 21:59:46 [Server] INFO at java.lang.Class.forName0(Native Method) ~[?:1.7.0_51]
    08.03 21:59:46 [Server] INFO Caused by: java.lang.ExceptionInInitializerError
    08.03 21:59:46 [Server] INFO at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    08.03 21:59:46 [Server] INFO at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:424) [craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    08.03 21:59:46 [Server] INFO at net.minecraft.server.v1_7_R1.DedicatedServer.init(DedicatedServer.java:126) [craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    08.03 21:59:46 [Server] INFO at net.minecraft.server.v1_7_R1.DedicatedPlayerList.<init>(SourceFile:14) [craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    08.03 21:59:46 [Server] INFO at net.minecraft.server.v1_7_R1.PlayerList.<init>(PlayerList.java:63) [craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    08.03 21:59:46 [Server] INFO at org.bukkit.craftbukkit.v1_7_R1.CraftServer.<init>(CraftServer.java:235) [craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    08.03 21:59:46 [Server] INFO at org.bukkit.craftbukkit.v1_7_R1.CraftServer.loadPlugins(CraftServer.java:257) [craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    08.03 21:59:46 [Server] INFO at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:231) [craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    08.03 21:59:46 [Server] INFO at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:308) ~[craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    08.03 21:59:46 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:137) ~[craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    08.03 21:59:46 [Server] INFO org.bukkit.plugin.InvalidPluginException: java.lang.ExceptionInInitializerError
    08.03 21:59:46 [Server] ERROR Could not load 'plugins/PBGunShop.jar' in folder 'plugins'
    08.03 21:59:46 [Server] INFO ... 9 more
    08.03 21:59:46 [Server] INFO Caused by: java.io.FileNotFoundException: Jar does not contain plugin.yml
    08.03 21:59:46 [Server] INFO at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    08.03 21:59:46 [Server] INFO at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:424) [craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    08.03 21:59:46 [Server] INFO at net.minecraft.server.v1_7_R1.DedicatedServer.init(DedicatedServer.java:126) [craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    08.03 21:59:46 [Server] INFO at net.minecraft.server.v1_7_R1.DedicatedPlayerList.<init>(SourceFile:14) [craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    08.03 21:59:46 [Server] INFO at net.minecraft.server.v1_7_R1.PlayerList.<init>(PlayerList.java:63) [craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    08.03 21:59:46 [Server] INFO at org.bukkit.craftbukkit.v1_7_R1.CraftServer.<init>(CraftServer.java:235) [craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    08.03 21:59:46 [Server] INFO at org.bukkit.craftbukkit.v1_7_R1.CraftServer.loadPlugins(CraftServer.java:257) [craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    08.03 21:59:46 [Server] INFO at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:133) [craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    08.03 21:59:46 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:176) ~[craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    08.03 21:59:46 [Server] INFO org.bukkit.plugin.InvalidDescriptionException: Invalid plugin.yml
    08.03 21:59:46 [Server] ERROR Could not load 'plugins/MenuServiceAPI.jar' in folder 'plugins'
    08.03 21:59:46 [Server] INFO This server is running CraftBukkit version git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks (MC: 1.7.2) (Implementing API version 1.7.2-R0.3-SNAPSHOT)
    08.03 21:59:46 [Server] INFO Starting Minecraft server on 198.12.123.231:25565
    
    rbrick Yeah:
    [​IMG]

    electro4fun I know, I also checked manually, I can't seem to find anything, here it is though:
    Code:
    name: PBGunShop
    version: 1.0.1
    main: me.BrushPainter.PBGunShop.Main
     
    commands:
      spbshop:
        permission: pbgunshop.spbshop.spawn
     
    permissions:
      pbgunshop.buy.threeburst:
        description: Allows you to buy a threeburst pb gun.
        default: not op
     
      pbgunshop.buy.fullyauto:
        description: Allows you to buy a fullyauto pb gun.
        default: not op
     
      pbgunshop.spbshop.spawn:
        description: Allows you to spawn a PB shop.
        default: op
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 7, 2016
  18. Offline

    rbrick

    BrushPainter Hmmm.....this is very strange you are exporting it correctly but it is not finding the file :/
     
  19. Offline

    electro4fun

    BrushPainter Sorry I read the errors wrong, the plugin.yml thing is for a different plugin.
    That error still pertains to your plugin.
     
  20. Offline

    acecheesecr14

    Seen, was reading the wrong on. My apologies ;P
     
  21. Offline

    electro4fun

    rbrick He says this because the plugin.yml thing is from a different plugin.

     
  22. Offline

    rbrick

    Ahh ok. Couldn't tell if they were part of the same stacktrace or not. Thanks for clearing it up :)
     
  23. Offline

    BrushPainter

    acecheesecr14 Yeah but the name of what? I redid line 36 when electro4fun spotted that out, still getting the error though.

    rbrick electro4fun I didn't really get what you guys meant by those last comments.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 7, 2016
  24. Offline

    acecheesecr14

    Wrong stacktrace...
    BrushPainter Can you stop the server, delete the server.log and then post the whole file once you've started it again?
     
  25. Offline

    electro4fun

    BrushPainter The last errors you posted were after you changed the title and it still showed that it was greater than 32 characters. Just try something simple like "inventory" and see if that works.
     
  26. Offline

    BrushPainter

    acecheesecr14 Ok.

    electro4fun It works!! Thanks man. :D

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 7, 2016
  27. Offline

    Garris0n

    You should use ChatColor instead of the selection symbols.
     
  28. Offline

    BrushPainter

    Garris0n I did, it was still sending the same error.
     
  29. Offline

    Garris0n

    I'm just saying you should in general. It makes no difference in the length of the string, it's just best to use the API where possible (and I personally find it better to visualize, but that depends on the person).
     
  30. Offline

    BrushPainter

    Garris0n Alright, thanks for the tip. :)
     
    Garris0n likes this.
Thread Status:
Not open for further replies.

Share This Page