Your should really look into this link: http://jd.bukkit.org/apidocs/org/bukkit/inventory/ItemStack.html But, all you would do is get the...
Yeah. It has example of how to save objects, such as Locations, to a file. I think it uses HashMap in the example, but just replace HashMap with...
Oh, if you want to make a log, you need to import Material, and it is Materials.LOG :p But seriously, if you want to save it to the file, just...
After remaking the plugin about 5 minutes ago, I realized what was happening. For some odd reason, when I call the config.save(configFile) method,...
Firefly I hate when I do that...
Does the new code have any error messages or warnings in the console?
hmm... The only reason I can think of for the unknown command thing would have to be something is set up wrong in the plugin.yml file... May I see...
I've seen a few other questions like this, so I hope that they add in some sort of BottleDrinkEvent... but they might not add it in.
Bavestry I don't think you have to do that if you specify the command in the plugin.yml file.
Well that helped me find the problem. The only thing that is wrong is your plugin.yml file; the "main: ..." variable is wrong. You have:...
Well, it helps you post the entire error log, because I only see the stack trace, not the error message. Also, when error handling, it helps that...
I'll help you out. If you still don't get how to do this based off my example or the link I posted, just send me a PM and I will help you out...
Oh wow I didn't even read the source... package me.antiban.hack; import java.util.logging.Logger; import org.bukkit.Bukkit; import...
Sorry, had to do something... Long story short, my dog was just attacked and I was tending to that... Anyway, you said that you want it so if...
Paste the new code :p
Separate names with a comma.