Getting Started with Java & Making Plugins for Minecraft

Discussion in 'Plugin Development' started by arkaman, Jan 27, 2011.

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


    Hello I am looking for some good information on starting to work with java and Minecraft plug-ins. I have good knowledge about computers (I work at a computer repair shop) and with some programing. I learned basic five years ago and have dabbled in other programing languages after that. I was wondering for people who make plug-ins now. How did they get started what resources did they use? I am a person who likes to work towards a goal like I want to make a java plug-in for Minecraft. I don't like thinking I will learn java then I will make a plug-in for Minecraft. I like to learn as I go. Anyways and information or tips would be great. Thanks for your time. Now I am off to work, BBL.
  2. Offline


    Check the wiki and google for java...
  3. Offline


    Not getting to know a bit about java and object-oriented programming before starting to develop plugins will result in poor plugins. If I remember right Basic isn't an object-oriented language so there is stuff you might not understand right away.
  4. Offline


  5. Offline


    Abandon all hope all ye who enter.... [​IMG]

    I'm also trying to transition from other 'primitive' languages to Java. Could you recommend any good tutorials on Java and OOP? OOP just seems so daunting, like there's so much extra stuff! Classes, methods, instances! Where are my functions, modules, and variables!!!! Is OOP so different from procedural programming? Is there a way to learn these foreign concepts?
  6. Offline


    OOP will be quite easy once you get a hang of it, it's much more "similar" to the basic structures of life itself..

    You want a class that represents a Human, now depending on level of detail you might want that can have references to other classes that represent "smaller" parts of the Person.. Like Legs and Arms that can be derived from Members, Head and so on..

    I don't really know any tutorials but Oracle has some available and since they now own Sun the "maker" of Java they must be somewhat good.

    And yes, OOP is quite different from procedural programming but once you get a hang of it, like I said before, it will be quite easy to work with.

    And any doubts you might have feel free to send me a message, I will try to explain what I can.
  7. Offline


    i tried making a simple basic minecraft plugin with eclipse, but i got loads of errors, and it was just a welcome message!, its stupid, i even tried to copy a person making a plugin exactly what they did , still got errors, D:
  8. Offline


    He not only tells you how to make it, he explains the code, and gives good examples when neeeded
  9. Offline


    iv watched one video on making a plugin this is what comes up in terminal
    09:23:04 [SEVERE] Could not load 'plugins/one.jar' in folder 'plugins'
    org.bukkit.plugin.InvalidPluginException: java.lang.ClassNotFoundException:
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(
    at org.bukkit.craftbukkit.CraftServer.<init>(
    at net.minecraft.server.ServerConfigurationManager.<init>(
    at net.minecraft.server.MinecraftServer.init(
    Caused by: java.lang.ClassNotFoundException:
    at Method)
    at java.lang.ClassLoader.loadClass(
    at java.lang.ClassLoader.loadClass(
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(
    ... 8 more
    can someone help if i need to send the eclipse info/class what have done to it or what im missing that would be great thx
  10. Offline


    it seems as though the class doesnt exist. if the class is called 'One' you need to make sure it says main: com.noonzark.One

    capitalization is extremely important in java
  11. Offline


    i tried to create a plugin with eclipse, but i kept on getting error messeges. i know about fixing capital letters and stuff but it was to confusing. anyone know any other good programs or tutorial videos to check out?
  12. Offline


    I used java tuts on youtube by "thenewboston" and also "samkio" who is up there ^^^. Took me about 5 evenings to get the basics of java and im now coding a hg plugin (with alot of help on here) so i think im doing well.
  13. Offline


    Can anyone simply post a link to the simplest java developer version available for a programming noob?
  15. Offline


    hankered likes this.
  16. Offline


    How the heck does this thread have so many views o_o
    jthort likes this.
  17. Compressions Whats wrong with these sites they are decent sites i was just listing them so people could use them for basic exercises and projects with java.
  18. Offline


    This thread is 2.5 years old.
  19. For anyone who comes across like the way i did google.
  20. Offline


    When I first started plugin I didn't know Java and didn't to care learn it. In result my plugins and code was very poor and I couldn't understand my errors as paletas has said. After a bit of that I said enough and started to learn Java.
  21. Offline


    I was wondering that as well. Lots of google hits perhaps?
  22. Offline


    ... 10 more
    How about this?
  23. Offline



    This thread is over 2 years old.

    But, your error is:

    1. Caused by: java.lang.ClassNotFoundException: package me.test
  24. Offline


    thank you so much bro, im new right here!
Thread Status:
Not open for further replies.

Share This Page