Exactly what I was looking for! Diamonds for you! [diamond]
Thanks for the reply! I've read that article 10 times over :P I understand everything there, but it doesn't mention anything about saving...
I don't think so. I'm not using a config file, I'm using a YML file. Tried that, but it just sets it as default. It doesn't write it to the file.
I know that it's possible to set the defaults with myConfig.setDefaults(whatever); but how does one write them to the .yml file? My code:...
Here is my code. When I enable the plugin, the console says "[Unicraft] Couldn't load file." What's going aahnn? package...
Thanks for the replies guys! But I already knew basic Java, the part that's confusing me is this. My maths is awful haha!...
I found this code on Github to create an arrow wall, but after almost 30 minutes of trying to understand it, I've gotten nowhere. Perhaps someone...
Good news! I solved this by storing metadata in onProjectileLaunch. :) EDIT: Didn't see your reply, but thanks anyway 1SmallVille1!
I already tried that after reading another support thread here. It works perfectly if the user has more than one egg left, but if he has only one...
I have a crafting recipe which creates an egg with the display name "Grenade". I want to check if the display name is "Grenade" in onProjectileHit...
Oh, darn. Then how would I go about doing this?
I'm creating an exploding grenades plugin, but came across a problem. When the egg hits, I want to check if it's display name equals "grenade"....
I know this question has been asked a billion times, but I still can't seem to find what I'm looking for even after reading the Bukkit docs....
I have this code: world.createExplosion(location, 5); Very quick question, how can I force the explosion to explode the blocks but not drop...
Haha, I figured this out myself just as this was posted! Thanks for the help regardless :)
Separate names with a comma.