Author Topic: CalDaBeast's Java Suggestions  (Read 4005 times)

CalDaBeast

  • Entering Mt Moon
  • ****
  • Posts: 115
  • Friendliness: 0
  • Plugin Developer and VoxelHoenn Head Builder
    • VoxelWiki Profile
CalDaBeast's Java Suggestions
« on: June 28, 2012, 09:51:31 pm »
I have been reading all of this Plugins forum and I see that several people have began the wonderful adventure that is coding! How fun! I just suggest to you guys a few different tutorials that I really wish somebody had given me when I started coding, because they are GREAT!
For any and all Java, high or low level:
http://www.thenewboston.org/tutorials.php
Very good (and even fun) tutorials!

HashMaps: OH THE GLORY
http://www.java-tips.org/java-se-tips/java.util/how-to-use-of-hashmap.html
Use this. Don't be like me and be stubborn. My biggest mistake.

Keep your code CLEAN!!!!
http://forums.bukkit.org/threads/how-to-make-eclipse-clean-up-format-your-code-for-you.78574/
GitHub:
www.github.com
You guys should use this. Make a TPS group and have all your stuff in it so you can work on projects together.
      To get a good github client for your computer:
      Windows: http://windows.github.com
      Mac: http://mac.github.com

For basic Bukkit stuff:
Configuration (what I use for saving data):
http://forums.bukkit.org/threads/tutorial-intermediate-configuration-yaml-make-configs.45383/http://wiki.bukkit.org/Introduction_to_the_New_Configuration
How to create an Event Listener:
http://wiki.bukkit.org/Introduction_to_the_New_Event_System
How to add Delay to your plugin (do NOT EVER use Thread.sleep() in a plugin. EVER.):
http://wiki.bukkit.org/Scheduler_Programming
Make your plugins better:
http://forums.bukkit.org/threads/how-to-make-your-plugin-better.77899/
Finding how to do something in Bukkit API:
Use the JavaDocs before posting on the Forums or asking for help. It's good to do because you learn more, and it helps you from looking like an idiot. http://jd.bukkit.org/doxygen/index.html
plugin.yml, necessary for every plugin:
http://wiki.bukkit.org/Plugin_YAML     
Have a Java/Bukkit question that none of you guys can figure out? Make a Bukkit account and send me a message. I would love to help you guys with anything you need!My Bukkit profile: http://forums.bukkit.org/members/caldabeast.26173/
-CalDaBeast
 Plugin Developer
 Head Builder of VoxelHoenn

Ad...