Learn to Make Plugins AND Learn Java

Discussion in 'Resources' started by (infected), Aug 2, 2011.

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

    (infected)

    A one stop center for learning to make plugins and learning Java
    I really wanted to be able to help people learning Java and new Plugin Developers get started so I have put everything you need into ONE easy to find place.​
    I have only included tutorials that I personally have done and would recommend to someone learning plugin development and Java. If there is a video or written tutorial you think should be added leave a comment below stating the name and why it should be added.​
    If you agree this should be a sticky or if this page helped you, like it and leave a comment saying so.
    It is NOT possible to embed all of the videos onto this thread. Since it is important that they all be watched in order, the thread will remain on my website, unless you make a wiki for us. Sorry for the inconvenience.


    Changelog:
    v0.5
    • Huge changes to the format of the information displayed. Tutorials are now split into beginner intermediate and advanced, with 3 new pages for that and Dinnerbone tutorials added. :)
    Show Spoiler

    v0.5
    • Huge changes to the format of the information displayed. Tutorials are now split into beginner intermediate and advanced, with 3 new pages for that and Dinnerbone tutorials added. :)
    v0.4
    • dinnerbone tutorials and added Specialized Topics to the page with a mention for spout and links.
    v0.3
    • made huge changes added resources for people to actually learn java with free eBooks,
    • links to JDK and IDE's
    v0.2
    • added written tutorials
    • cleaned up headers for easier reading
     
    Icelaunche, Austin, JWhy and 3 others like this.
  2. Offline

    Mr_H4mm3r

    Like it but post the links here?
     
  3. Offline

    (infected)

    The links to the threads? I'm not getting you...
    Its not just a bunch of links its a place where you can watch plugin tutorial videos and find the written tutorials as well. I'm not posting it here it won't kill you to check out my website.
     
  4. Offline

    Hoddie54

    thanks. this helped a lot
     
    (infected) likes this.
  5. Offline

    nisovin

    No, it obviously won't kill anyone. But there's also no need to have this hosted on an external website. This would be by far more useful if all of that stuff were posted directly into the thread.
     
  6. Offline

    (infected)

    I'm glad this helped someone. :)
    I created this page originally to help people who were new to my team. If it becomes popular enough I would be more than happy to move it here and I will add more content if requested. I might even make some tutorials of my own about listeners.
    Edit: Tried to embed but couldn't embed all three videos from The Handle. So the thread will remain on The Undead Team's website. [zombie]
     
  7. Offline

    DrBowe

    Or...I can go to your website and copy-paste it all here. :)
    I mean, it would accomplish the same thing. And if there's a limit to embedding videos, multiple posts can never hurt.
     
  8. Offline

    (infected)

    Well its not that easy but anyways, it physically wont allow more than one of The Handle Videos to be posted on the same thread. I might ask someone who knows more to format a wiki for me. :) Multiple posts? never. The point of this is to have everything referenced one place.
    • made huge changes added resources for people to actually learn java with free eBooks, to get JDK and IDE's
     
  9. Offline

    achap1989

    learning now thank you!
     
    (infected) likes this.
  10. Offline

    (infected)

    Your welcome my friend. If you need help Google first, ask your friends, and then if your still stuck ask me. :)
     
  11. Offline

    achap1989

    Lol none of my friends know Java I own a server and I want to be able to provide myself with w/e i need. Also I have a great idea for a plugin. Server side Texture packs. :D What do you think? and I will google first. Thank you.
     
    (infected) likes this.
  12. Offline

    (infected)

    Im not sure if this is possible but i know just who to ask...
    Expect a reply on this soon... [zombie]
     
  13. Offline

    achap1989

    lol ok Hey on this code
    Code:
    /*
     * To change this template, choose Tools | Templates
     * and open the template in the editor.
     */
    package achap1989.TestPlugin;
    
    import org.bukkit.plugin.PluginDescriptionFile;
    import org.bukkit.plugin.java.JavaPlugin;
    
    /**
     *
     * @author Andy
     */
    public class TestPlugin extends JavaPlugin{
       private PluginDescriptionFile info;
    
        @Override
        public void onDisable() {
    
        }
    
        @Override
        public void onEnable() {
        info = getDescription();
    
        System.out.println(info.getName() + "Enabled!");
    
    }
    }
    It makes me have the @Override or it gives me an error in netbeans on the side it says "Add @Override Annotion" and has a light buld with a small warning sign next to the . Is there a reason it makes me do this? Or what? Did I do something wrong and if so what? xD
     
  14. Offline

    (infected)

    All you need to know is that @Override is required and it allows you to add your own code to onEnable() and onDisable(). It will not hurt your code its just something we do. If your curious Google @Override Java or let me Google that for you just don't be offended...
    Edit: An answer to your question about server side texture packs: Not possible, just make everyone use the same texture pack. Post it on mediafire or something.
    Edit2: With Spout this is already possible.

    Does anyone have a favorite tutorial they wish to add to the list that's not already on there? I'm already going to add Dinnerbones tutorials in the morning. [creeper]

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 18, 2016
  15. Offline

    Shamebot

    Should be possible with spout.
     
  16. Offline

    (infected)

    @Shamebot
    Spout was already taken into account. Besides its not practical when texturepacks already exist, even if they are client-side. If you want to use packet listeners to cover every block or know an easy way to do so be my guest. I've dealt with spout api and its touchy at best. If you find a way to do so thats not resource intensive pm me with details.

    @Shamebot I just read my own post and realized I sound like a dick. I'm sorry for raging at you but I'm looking into things you can do with spout atm now.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 18, 2016
  17. Offline

    Shamebot

    Never used Spout, but it seems to be possible: SpoutPlayer.setTexturePack(java.lang.String url)
     
  18. Offline

    DrBowe

    @(infected)
    It is most certainly possible.

    As @Shamebot stated, Spout contains a pretty clear method. Not to mention, there's already a plugin out that sets a server-wide texture pack. Granted, it requires the Spout client...but the capability is definitely there.
     
  19. Offline

    (infected)

    @Shamebot
    @DrBoweNur
    Are there any good resources,tutorials, etc for Spout? Me and the followers would much like to use this.
     
  20. Offline

    Shamebot

    As said i never used it, everything I know about it is from its thread and the javadocs.
     
  21. Offline

    cholo71796

    @(infected)
    Just look through Spout's javadocs, it's fairly self explanatory
     
  22. Offline

    (infected)

    When I know enough I might make the first? basic video tutorial.
    Link?
     
  23. Offline

    Shamebot

  24. Offline

    (infected)

    Thank you for the link. [zombie]

    Added Specialized Topics to the page with a mention for spout and links.

    Over 400 views. Tell me what you think guys!

    Huge changes to the format of the information displayed. Tutorials are now split into beginner intermediate and advanced, with 3 new pages for that and Dinnerbone tutorials added. :)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 18, 2016
  25. Offline

    emericask8ur

    this is wat we need!
     
  26. Offline

    (infected)

    If only more of the experienced programmers contributed to helping the new ones learn this would be a better place. I'm trying but if anyone has advice or content to add message me plz.
     
  27. Offline

    Fallen_Advent

    I am checking this out now, thank you for putting it together, its nice to see someone helping the people who are looking to learn.
     
  28. Offline

    arnie231

    Following the first video i get this when i test it sorry if this is stupid but i am just starting out​
    Show Spoiler
    2011-08-23 00:06:37 [INFO] Starting minecraft server version Beta 1.7.3
    Show Spoiler

    2011-08-23 00:06:37 [INFO] Loading properties​
    2011-08-23 00:06:37 [INFO] Starting Minecraft server on *:7777​
    2011-08-23 00:06:37 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-980-g4ed23b1-b1060jnks (MC: 1.7.3)​
    2011-08-23 00:06:37 [SEVERE] Could not load 'plugins\One.jar' in folder 'plugins':​
    java.lang.ClassNotFoundException: omg/thehandle/one;​
    at java.lang.Class.forName0(Native Method)​
    at java.lang.Class.forName(Unknown Source)​
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:168)​
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:213)​
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:136)​
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:143)​
    at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:110)​
    at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:51)​
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:133)​
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:337)​
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)​
    2011-08-23 00:06:37 [INFO] Preparing level "world"​
    2011-08-23 00:06:37 [INFO] Preparing start region for level 0 (Seed: 1772835215)​
    2011-08-23 00:06:37 [INFO] Preparing start region for level 1 (Seed: 1772835215)​
    2011-08-23 00:06:38 [INFO] Server permissions file permissions.yml is empty, ignoring it​
    2011-08-23 00:06:38 [INFO] Done (0.095s)! For help, type "help" or "?"​
    2011-08-23 00:06:43 [INFO] Stopping the server..​
    2011-08-23 00:06:43 [INFO] Stopping server​
    2011-08-23 00:06:43 [INFO] Saving chunks​
     
  29. Offline

    coolbeans00

    Should be sticky :)
     
  30. Offline

    (infected)

    Its been a while since ive been here sorry if anyone has been in need of help
     
Thread Status:
Not open for further replies.

Share This Page