Talk about absolutely anything here!
  • User avatar
  • User avatar
  • User avatar
User avatar
By TechnoProdigy
#154528
I'm not looking to learn all of Java. Just enough to know how to code Minecraft server plug-ins.

Correct me if it requires knowing a good deal of Java to code the plug-ins, though.
By alexrybicki
#154533
I don't personally have experience with server plugins, but I'm sure bukkit.org has a bunch of beginner resources. http://wiki.bukkit.org/Main_Page http://wiki.bukkit.org/Plugin_Tutorial As for not wanting to learn java...that's understandable, however you're going to need at least some OOP experience to at least pick up the java syntax to understand what you're actually looking at. It's a bit like saying..."I don't want to learn English, I just want to write a book". You don't have to learn the ins and outs of every function, in the same way you can communicate without having a PhD in English, but you're still going to need a foundation.
Last edited by alexrybicki on Wed Apr 10, 2013 6:13 pm, edited 2 times in total.
By SuperCreeper007
#154535
I believe this was mentioned before, but go to http://www.thenewboston.org. Trust me, this is a great site. At the start of each of the videos, he explains what the purpose of the small tutorial is. He explains it in GREAT detail, in fact way too much detail, and it's a bit slow moving for me. So I watch the first 20 seconds, then I go to the end of the video and see him explain the code. I've learned so much in this way in a few minutes. This is really a great site, whether you watch the whole videos or not. There are (I think) over a hundred videos, all in order and building up on each other. Don't know about plugins, but I'm sure that you need to have a general feel of java first, and this is the way to do it.
By planetphanatic
#154537
You'd be much better off asking stuff like this on the bukkit forums, or #bukkit over on espernet. Hang out in the IRC for a week or two, you'll learn a lot.
User avatar
By TechnoProdigy
#154541
planetphanatic wrote:You'd be much better off asking stuff like this on the bukkit forums, or #bukkit over on espernet. Hang out in the IRC for a week or two, you'll learn a lot.
Alright, I'll try that. I really have 0 interest in Java whatsoever except to learn how to make a plug-in since all the plug-ins I find have a bunch of useless garbage with them and a plethora of commands I don't care to use.
User avatar
By Wormoxide
#154553
Personally I only use eclipse, but I have many years of experience in object oriented languages. eclipse on its own is a learning curve, especially if you have never used an IDE before. I have heard good things about IntelliJ and since it is not a general purpose IDE like eclipse it does not have extra "stuff" to cause confusion. The only downside is you would have to create the buildpaths yourself after using MCP (minecraft coder pack). Anyway, feel free to PM any questions.
TechnoProdigy wrote:I'm not looking to learn all of Java. Just enough to know how to code Minecraft server plug-ins.
Correct me if it requires knowing a good deal of Java to code the plug-ins, though.
Yes, you will need to know a decent amount. I don't know anyone that can write a cookbook in Japanese without being fairly proficient in it. Programing languages are the same way.
User avatar
By TechnoProdigy
#154554
You don't need to tell me how programming languages are. I'm not new to programming; just Java.
User avatar
By faldette
#154583
An alternative IDE to eclipse that alexrybicki mentioned is netbeans... <.<

Just offering... >.>

As far as java itself, I thought it was syntactically similar to c++, rather than something vastly different like prolog or lisp. <.<
By shaddowdemon
#154584
TechnoProdigy wrote: I really have 0 interest in Java whatsoever except to learn how to make a plug-in since all the plug-ins I find have a bunch of useless garbage with them and a plethora of commands I don't care to use.
That's unfortunate :( Java is a fantastic programming language. It's typically my go-to language.

Syntax is obviously a must, but you can usually work on that as you go... most programming languages follow similar syntax guidelines. Conditional statements, loops, etc are usually very similar, and it's mostly knowing the concept behind them that is important.

The Sun page actually does do a good job at summarizing OOP in Java. I guess it depends if you like reading or videos better. http://docs.oracle.com/javase/tutorial/ ... index.html

^ You will absolutely need to know that.

Another key thing you will need to know is inheritance. Inheritance can be tricky, so you will probably want to code some basic examples. Making an Animal interface with several animals that implement it would be a good start: ie Sheep, Cats, and Dogs are all Animals. Or, tutorials/examples.

http://docs.oracle.com/javase/tutorial/ ... asses.html

You will also need to learn about Java "Collections". Since you've used other languages, you've probably encountered arrays... they're typically impractical to use. You will almost certainly end up using the List or Set Collections... possibly a Map.

http://docs.oracle.com/javase/tutorial/ ... index.html

If you do all of that, you should be able to code some basic mods.
faldette wrote:An alternative IDE to eclipse that alexrybicki mentioned is netbeans... <.<
Ew :P
User avatar
By faldette
#154586
shaddowdemon wrote:
faldette wrote:An alternative IDE to eclipse that alexrybicki mentioned is netbeans... <.<
Ew :P
XD

I actually don't really care for java either way... <.<
long long title how many chars? lets see 123 ok more? yes 60

We have created lots of YouTube videos just so you can achieve [...]

Another post test yes yes yes or no, maybe ni? :-/

The best flat phpBB theme around. Period. Fine craftmanship and [...]

Do you need a super MOD? Well here it is. chew on this

All you need is right here. Content tag, SEO, listing, Pizza and spaghetti [...]

Lasagna on me this time ok? I got plenty of cash

this should be fantastic. but what about links,images, bbcodes etc etc? [...]