please help me with plugin...

Discussion in 'Plugin Development' started by THEsomeone, May 7, 2013.

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

    THEsomeone

    im learning how to create a plugin and i followed a guide in eclipse
    heres what u need to know the project name is --first plugin ---the package name is ---me.THEsomeone.youtube


    and i get this everytime i start the server


    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:184)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:305)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:230)
    at org.bukkit.craftbukkit.v1_5_R3.CraftServer.loadPlugins(CraftServer.java:239)
    at org.bukkit.craftbukkit.v1_5_R3.CraftServer.reload(CraftServer.java:603)
    at org.bukkit.Bukkit.reload(Bukkit.java:185)
    at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:23)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:189)
    at org.bukkit.craftbukkit.v1_5_R3.CraftServer.dispatchCommand(CraftServer.java:523)
    at org.bukkit.craftbukkit.v1_5_R3.CraftServer.dispatchServerCommand(CraftServer.java:512)
    at net.minecraft.server.v1_5_R3.DedicatedServer.an(DedicatedServer.java:262)
    at net.minecraft.server.v1_5_R3.DedicatedServer.r(DedicatedServer.java:227)
    at net.minecraft.server.v1_5_R3.MinecraftServer.q(MinecraftServer.java:477)
    at net.minecraft.server.v1_5_R3.MinecraftServer.run(MinecraftServer.java:410)
    at net.minecraft.server.v1_5_R3.ThreadServerApplication.run(SourceFile:573)
    Caused by: java.lang.ClassNotFoundException: me.THEsomeone.youtube.first plugin
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at org.bukkit.plugin.java.PluginClassLoader.findClass0(PluginClassLoader.java:80)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:53)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:173)
    ... 14 more
    heres the plugin.yml

    name: first plugin
    main: me.THEsomeone.youtube.youtube
    description: A testing plugin!
    version: 1.0
    commands:
     
  2. Offline

    Junrall

    Try this first ;)
     
  3. Offline

    THEsomeone

    i cant get on its says its not a trusted website when i try to search :(
     
  4. Offline

    TnT Retired Staff

    Moved to the correct forum.
     
  5. try this!
    its what im using to make all my plugins :p if theres anything else, you can search bukkit API
     
  6. Offline

    Barinade

    me.THEsomeone.youtube.first plugin

    this should be the name of your class
     
  7. Offline

    THEsomeone

    im watching that too but i still get that error. :(

    how do i make it bold if its not soppose to be i already put it like that same error :(

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

    234Markus

  9. Offline

    Barinade

    At the top of your plugin you should see "public class SOMETHING extends JavaPlugin", the something is your class name, so you do
    main: me.THEsomeone.youtube.(class name)
     
Thread Status:
Not open for further replies.

Share This Page