<font color="rgb(51, 102, 255)">BUKKIT Updates plugin Tutorial</font> Hello i have had a lot of questions on the recent changes of Bukkit. This tutorial goes over the main concerns, being namespace, onCommand, blockbreak etc... This tutorial shows you how to make a toggle commandable feature where when the user destroyes a torch it relays a message. Video: Text: First up links: Latest BUKKIT: http://ci.bukkit.org/job/dev-Bukkit/ Eclipse: http://www.eclipse.org/ Java SE: http://www.oracle.com/technetwork/java/javase/downloads/index.html Source (Fully Annotated): <Edit by Moderator: Redacted mediafire url> <font color="rgb(0, 0, 255)">Feel free to PM me any questions you have </font>
Whats the difference between System.out.println used in the earlier basic tutorial and log.info used in this tutorial?
System.out.prinln is used to show events on the servers console, if you have a server "across the globe" it doesn't help you, the log.info uses the minecraft log file to register the events so you can later have a file with what happened on your server.
This is a nice tutorial indeed. Just began making my own plugin. At least a plugin for saying his location (X-Y-Z) and World Time, nothing big. Hopefully will making complexer plugins in the future. So thanks for giving some brain weight to other developer.
I get an error saying my TD.jar: null and then it also states that I do not have an plugin.yml file in my jar, which I put in there. I R ze confuzzed... ;(
Damn. I wish I had seen this update thread earlier. Still, I thank you (Samkio) for your original tutorial, which helped me off the ground. The javadocs pushed me through the rest.
hey man, just watched the video and i see i need some "pre basics" before learning the basics on makin bukkit plugins. i guess i have to know some java programming? can you recommend me a basic java tuto so i can make plugins? i would really appreciate an answer. Thanks.
@Sassy those tutorials @Samkio gave you might be good but they are boring as sh.... (sorry samkio I have much respest for you ^^) This guy is great and the tutorials are awesome
This was fantastic, thank you. I come from a c++ and php background.. so java is very new to me. I tried piecing together a plugin myself but kept running into [SEVERE]'s for things i didn't understand yet. You cover things that the written programming tutorial glosses over. For example, exporting as a jar. If you've never worked with java/eclipse before (like myself), you keep looking for a "compile" button to mash but won't find it. Not a big deal really.. a quick google answers those. But a person quickly gets frustrated in a new environment without someone to watch and at least mimic the baby steps with. Anyways, thanks for making this. It is really appreciated.
this is that it keeps saying if (block.getType() == Material.TORCH && plugin.enabled(player)){ player.sendMessage(ChatColor.GREEN + "You broke a torch."); the method enabled(player) is undefined for the type.....
Hello. After I add "extends JavaPlugin" to public class Basic I want to add class constructor, but there is no such option like "Add constructor". If I manually want to add class constructor, editor underlines super() method and throw this message: Is there way to fix it? Thanks in advice and sorry for my english.
I have trouble understanding most of what is going on, is there a more basic level tutorial because for me this just looks like gibberish.
I think you'll get the hang of it if you work through it. Try making the plugin as the vid plays. You may have to pause/rewind a few times though. If you try to use the vid as a "watch then do" type thing, it will be too much information at once and you'll be overwhelmed.
Ya ill give it another try, just drives me crazy tho when I don't understand the code, even if its a lil piece i don't get.
Good luck! If you get stuck on a part or would like something specific explained, the people here are generally very helpful. Also, the javadocs are a life saver. Though i liked the older format.. haven't gotten use to this new one yet.
Why does the yaml file have to have the main me.ashconnell.Blah.Blah, instead of the actual namespace me.ashconnell.Blah? Or is it supposed to point to the class inside the package?
Thanks This helped me a lot! But how can we do something like SmokeTP? The smoke after a tp. Could you help me with that? I'm working On a lightweight plugin for servers and I like to implement that, so i would be grateful if you can help me with that!
@Kryptonous You are welcome. Basically you would listen out for a player teleport event. (If there is one) and play a smoke event at the two locations. I don't have the code handy for the smoke effect. Check the JavaDocs.
@Samkio Thanks Well I don't care if it's an old thread, as long as I can reply and get answer it's fine I like you Samkio I'm really impressed 'bout your videos! @Waffletastic Thanks I'll keep that in mind!