1
https://bukkittuts.wordpress.com/
I created an in depth tutorial on creating your first bukkit plugin!
It covers everything, and all things are explained in detail
Check it out!
https://bukkittuts.wordpress.com/
I created an in depth tutorial on creating your first bukkit plugin!
It covers everything, and all things are explained in detail
Check it out!
https://bukkittuts.wordpress.com/
Create an account or sign in to comment.
14
1
Bump
1
Nearly at 100 views!
Thanks!
Thanks!
1
Ok. Thanks very much
1
For someone who knows nothing about bukkit, this is a pretty bad tutorial. You just threw code at them basically. In one part you did getServer(), and the only explanation you provided was it is getting the server. No one is going to know what that means, I mean it obviously it gets the server but what does that actually do? I'd work on explaining things a little more in-depth.
1
Thanks for the feedback.
Do you have any other suggestions on how to explain it in more depth?
Do you have any other suggestions on how to explain it in more depth?
1
cool
1
Thanks!
I am currently working on the next installment, a shorter one about commands and permissions.
I am currently working on the next installment, a shorter one about commands and permissions.
1
Fair point
1
All the images are now working
1
Thanks very much.
I'll work on it!
I'll work on it!
1
@BitBox
Why do you not require people to know java? People should just go to you for good api knowledge, not java knowledge. By revolving all of your teachings around the bukkit api, people willl mistakenly take bukkit api knowledge for actual java knowledge. And do things like put public static void before every method not knowing what any of them mean. Which is part of the reason the plugin dev forums are spammed with users who ask things like "How do i put a bunch of players in a list" <Collections
**That is just my opinion, no personal offense taken torwards you dude.
Why do you not require people to know java? People should just go to you for good api knowledge, not java knowledge. By revolving all of your teachings around the bukkit api, people willl mistakenly take bukkit api knowledge for actual java knowledge. And do things like put public static void before every method not knowing what any of them mean. Which is part of the reason the plugin dev forums are spammed with users who ask things like "How do i put a bunch of players in a list" <Collections
**That is just my opinion, no personal offense taken torwards you dude.
1
Because, if you know Java, you can do things with more performance / ease.
Take this as an example:
// Formatting a kick message in a kick command.
String message = "";
for (int i = 1; i < args.length; i++) { // May not know how to use a for loop.
message += " " + args[i];
}
message = message.replaceFirst(" ", "");
// This is a a stupid way to format a message. (Creating unneeded StringBuilder objects, which will stress the CPU and the GC.)
// Here's the better way:
StringBuilder messageBuilder = new StringBuilder();
String message;
for (int i = 1; i < args.length; i++) {
messageBuilder.append(" ").append(args[i]);
}
message = messageBuilder.replace(0, 1, "").toString();
Now, another issue arrives. If you don't know Java, and you get a Java related error, what do you do? Google? Google only goes so far. Java related errors can (and have) cause severe issues, such as crashing. I forgot one time that I should never iterate through a map and edit the values. (Map.keySet();) Know Java so you don't make fatal mistakes, and, so you can catch those mistakes before they happen. Also, a final thing, knowing Java will make your code look prettier. It will shorten the amount of lines you have to write, and, overall, will make your job as a developer much easier. Compare these two projects:
[url]github.com/Searchndstroy/CustomEnchants[/url]
[url]github.com/Searchndstroy/CustomEnchants-API[/url]
Which is easier for developers to bug check, understand, use, and most importantly, improve?
Take this as an example:
// Formatting a kick message in a kick command.
String message = "";
for (int i = 1; i < args.length; i++) { // May not know how to use a for loop.
message += " " + args[i];
}
message = message.replaceFirst(" ", "");
// This is a a stupid way to format a message. (Creating unneeded StringBuilder objects, which will stress the CPU and the GC.)
// Here's the better way:
StringBuilder messageBuilder = new StringBuilder();
String message;
for (int i = 1; i < args.length; i++) {
messageBuilder.append(" ").append(args[i]);
}
message = messageBuilder.replace(0, 1, "").toString();
Now, another issue arrives. If you don't know Java, and you get a Java related error, what do you do? Google? Google only goes so far. Java related errors can (and have) cause severe issues, such as crashing. I forgot one time that I should never iterate through a map and edit the values. (Map.keySet();) Know Java so you don't make fatal mistakes, and, so you can catch those mistakes before they happen. Also, a final thing, knowing Java will make your code look prettier. It will shorten the amount of lines you have to write, and, overall, will make your job as a developer much easier. Compare these two projects:
[url]github.com/Searchndstroy/CustomEnchants[/url]
[url]github.com/Searchndstroy/CustomEnchants-API[/url]
Which is easier for developers to bug check, understand, use, and most importantly, improve?
1
I see your point, however at this level that I am currently at in the tutorial I don't really think Java knowledge is required.
Thanks for the opinion though
Thanks for the opinion though
1
**BugReport** Some of your pictures on your website are blank you should fix them