Plugin Development - A HUGE tutorial!

Discussion in 'Plugin Development' started by Adamki11s, Apr 29, 2011.

?

Was this helpful to you?

Yes! 232 vote(s) 79.7%
No, but it was a good tutorial :) 42 vote(s) 14.4%
No. 17 vote(s) 5.8%
  1. Offline

    Adamki11s

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)

    This post has been edited 1 time. It was last edited by Adamki11s Feb 2, 2013.
  2. Offline

    Adamki11s

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
  3. Offline

    zimm3rmann

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Looking good so far. Cant wait to see it completed
  4. Offline

    nickguletskii

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Samkio likes this.
  5. Offline

    Adamki11s

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Why so bad? I'm just linking people to a place where they can learn
  6. Offline

    nickguletskii

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I really hate the style. Moreover, programming tutorials are supposed to be in written form, preferably electronic so you can copy and paste.
    Tgwizman likes this.
  7. Offline

    Adamki11s

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @nickguletskii
    Well I only posted that for the people who are just starting out, most people looking to develop plugins have a basic understanding of Java and while I have the time to make a detailed plugin making tutorial, I don't have the time to teach the Java Language. If you could provide some other links I'd be happy to use them.

    EDIT : Posted more tutorial Links :
  8. Offline

    nickguletskii

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Thanks.
  9. Offline

    tekac

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    And I stopped reading right there. Keyword. "I" really hate that style. That is your preference, not others. If you're just copying and pasting you're not really nailing down what you're learning. You can learn a ton from someone actually talking to you, as well as if you were to just read. Both ways are viable.

    If you actually write down the code, you're reinforcing it into memory as you are typing it. Rather than copy paste, boom results. ohh yay...

    This guy has gone out of his way to create what has a LOT of potential. I'm loving this tutorial. Keep up the good work. Don't let haters ruin it.
    EarlyLegend likes this.
  10. Offline

    Adamki11s

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Thanks :D

    I added more written and video tutorials anyway. I'm just writing up the next section on saving and loading from files etc..
  11. Offline

    nickguletskii

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Did I state that it shouldn't be there? No. Your argument is invalid.
  12. Offline

    kmccmk9

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Wow that is an awesome tutorial. Thanks so much!
  13. Offline

    Adamki11s

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Added File Handling. Loading, Saving, Reading & Writing!
  14. Offline

    MadMonkeyCo

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Why do you cast the playerListener to a Listener? There is no reason to do so...
  15. Offline

    Sammy

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @nickguletskii Bucky (The New Boston) is a great teacher, he is funny (very important in any kind of teaching) and he uses a good structure for the tutorials...
    EarlyLegend, tips48 and Adamki11s like this.
  16. Offline

    Adamki11s

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    When I use eclipse I get warnings so that is what I am used to doing. It may be unnecessary but it doesn't cause any problems :p
  17. Offline

    MadMonkeyCo

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I don't get any errors or warnings. You shouldn't get any at all because BasicPlayerListener extends PlayerListener which extends Listener and the compiler can convert naturally without any problems.
  18. Offline

    Adamki11s

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I don't get them any more weird :p I'll remove the castings, thanks
  19. Offline

    MadMonkeyCo

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    It really didn't do any harm (since it casts it anyway but not in the same manner) but it's less code and more understandable for beginners if they haven't gone into casting yet.
    EDIT: Noticed you have a Double.parseBoolean(String) in the tutorial. Something that also requires fixing.
  20. Offline

    Adamki11s

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Yeah, I understand, thanks again for telling me :)
  21. Offline

    chrisryan

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Looks great so far buddy, excited to see it finished
  22. Offline

    Plague

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Personally I do not like this thread.
    All this enthusiasm and work should go to Wiki, not a forum post.
  23. Offline

    MadMonkeyCo

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I agree, forum posts can get lost easily....
  24. Offline

    Adamki11s

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Ok....So make a wiki and then what, just post a link to it from here?

    Also @Plague you don't like the content? Or you don't like the fact that it's not in a wiki?
  25. Offline

    mrrabbit

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Thank you for this :)
  26. Offline

    Plague

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I don't like that it's a forum post and not a wiki.
  27. Offline

    Adamki11s

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @Plague ok, I'd like to move this over to a wiki but could some please explain to me how to do it. Also how would I link other people to it, eg so people can see it on the forums or something?
  28. Offline

    Erwyn LENS

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    good work Adamki11s, community is lucky having people like you, spending so much time explaining others how to do.

    Keep up the good work


    ps: just one question, I didn(t know the onCommand, I usually use onPlayerCommandPreprocess, but onCommand seems to be far more better. Do you place the onCommand method in a listener or in the main file of the plugin?
  29. Offline

    Adamki11s

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Thanks :)

    the onCommand method goes in your main file. It's better than using on_command_preprocess :D
  30. Offline

    ashour

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    maybe how to update the plugin? i know alot of peaple dont know...

Share This Page