Plugin Help

Discussion in 'Plugin Development' started by Druxe0, Jun 29, 2014.

?

Do you program plugins?

  1. Yes

    4 vote(s)
    100.0%
  2. No

    0 vote(s)
    0.0%
Thread Status:
Not open for further replies.
  1. Offline

    Druxe0

    I am very interested in learning how to program java and I was wondering if anybody knew a good way to get me started. I have some extremely basic general coding knowledge, but not much. I do know basics of HTML and using the terminal for some commands like 'dir' to open directory and 'cd ...', etc. If anyone of you could give me a personal teaching, that would be fine too. Thanks!
     
  2. Offline

    Phasesaber

    Please post in the correct section. The is 'Resources', where coders can post tuts/apis/utils.
     
  3. Offline

    AoH_Ruthless

    Druxe0
    We could argue all day but imo HTML isn't a programming language ... not even close. They don't call it HTPL :)

    I would look into books for Java. Many people argue over online resources (documentation v. youtube) / books / classes but we all have our own preferences and learn differently. Are you a tactile learner like me? If so, I recommend reading a book, and when you learn something new, immediately go practice it. What's one way to practice? With the Bukkit API. You can use fundamentals in Java you learn to write very basic plugins for Bukkit, and work your way up that way.

    You can also learn from a book proper practices, code conventions, and when to use X and not Y. Youtube videos frankly don't offer that in-depth and aren't well updated, in my opinion. The only somewhat decent video-er (yes, it's a word now!) I've seen discuss Java is thenewboston, so you might want to check him out. Java is an open-source language now, and you can look into Oracle Documentation. While not very noob friendly, it is in my opinion stellar.

    A wise book to pickup is "Java for Dummies, 5th Edition". Make sure you don't look to deep into Java 8, as most Bukkit servers run Java 7 (the slowpokes run Java 6). Java 8 basically has lambda expressions in it, whereas Java 7 does not. What are lambda expressions, you may ask? If you are learning Java for Bukkit, then at this time you don't care.


    It is great however that you ask this question. Most newer people I see try to delve directly into Bukkit without any background in Java, sometimes no background in OOP (I tried to take this road once). Trust me, you may get impatient just reading a book, but it will be worth it in the end. You don't want to form bad habits or blow your brains out, so just spend the time to carefully learn Java to a great extent.

    That's just my 2 cents, but then again, this is a very subjective question. I wish you luck in learning Java and I hope to see you again on these Bukkit forums :)

    Btw, wrong forum :p
     
  4. Offline

    Phasesaber

    I agree with a lot of your points, but when I started coding, I dove right into Bukkit. It seemed pretty easy, but became difficult fast when tutorials would say ""type public static" and I would have no idea what that means. I recommend learning both at the same rate, as they can go hand and hand.
     
  5. Offline

    AoH_Ruthless

    Phasesaber
    Especially when you later learn that static is a bad idea :p
    Lol, once I tried to put an onCommand in an event because I was fairly new to OOP and had no clue what I was doing.
     
  6. Offline

    RawCode

    this thread just like "will i like X" with only valid answer "go and try X self"
     
    Garris0n likes this.
  7. Offline

    Druxe0

    AoH_Ruthless

    Thanks for the suggestions and such, but I won't repost it, because that's helpful enough. Thanks!
     
  8. Offline

    Garris0n

    Don't repost threads, report them so they are moved to the correct section (Plugin Development in this case).
     
  9. Offline

    mbaxter ʇıʞʞnq ɐ sɐɥ ı

Thread Status:
Not open for further replies.

Share This Page