This thread is over a year old. If there isn't a plugin.yml file that's because you didn't make one. There are plenty of basic tutorials in...
Well, since he is loading it from a file I guess it is something which needs to be saved while the server is not running, so HashMaps alone cant...
If the values are always going to be in the same order, (X,Y,Z) then you don't need to store the letter.
You could read...
As Panedmoneus said, you were still generating the tree at player.getLocation(), also if there is no block in range of .getTargetBlock() it...
This question gets asked all the time. Use the search!
1. import org.bukkit.entity.Player;
3. import org.bukkit.block.Block;
4. import org.bukkit.block.BlockFace;
1,3,4 are solved if you read the thread. I don't see a problem with 2, perhaps someone more learned than me may help.
The answers to most, if not all, of your problem are in the thread I linked you to.
So far as i know, the function for PLAYER_COMMAND is:
public void onPlayerCommand(PlayerChatEvent event)
Its onBlockDamage() now, i dont think they've updated the hook names though so BLOCK_DAMAGED should still work.
I'm not sure that...
Like MadMichi said, dropItemNaturally() is probably the way to go, something like this:...
Read this http://forums.bukkit.org/threads/oops-i-broke-your-plugins.599/
Also, it will be far easier for people to help you if you actually use...
you might need to import org.bukkit.ChatColor
This forum is for support developing plugins, not learning basic Java. A quick visit to your favourite search engine will yield the answers you...
use the [CODE] tags
Could you post the code you made from the tutorial?
--- merged: Jan 17, 2011 7:24 PM ---
All Block stuff has been moved into the block package,...
Reading the very first thing in "Oops, i broke your plugins!" will fix your problem.
Well, none of the code in your screenshot is going to do that. So throw away everything you have so far, and start here....
Separate names with a comma.