Thank you, that's exactly what I was looking for. [IMG]
Thanks, I watched that and he does it the same way that I have chosen to. Although I thought I saw some people doing it another way and storing...
Hi, What is the proper way to create a command in Bukkit? /help me! [IMG] Thanks
I've used it so I know it works at least partially.
I'm glad you all were able to take this first step to success. *cross fingers*
How does it not work? Does it error?
@Override public void onPlayerCommand(PlayerChatEvent event) { String[] split = event.getMessage().substring(1).trim().split(" ");...
I'm placing my bets on it being a problem with Bukkit. It's probably because Bukkit isn't finished yet. This is not the first time I've read about...
See his newBlock variable? That gets the Block at a particular point in the world. If that Block happens to be AIR then you can set it to be...
Negative... It will occur when a player right clicks on a block. To do it strictly through a user command, you'd have to use the event to get the...
Yes! public void onPlayerLogin(PlayerLoginEvent event) { event.getPlayer().sendMessage("yo momma so fat!"); }
public void onBlockRightClick(BlockRightClickEvent event) { event.getBlock().setType(event.getItemInHand().getType()); } That code...
I believe you're using the old plugin constructor. A post was created regarding this;...
You could use the onBlockRightClick event. The event parameter will give you the block that was right clicked on. You can update that block....
Fix that main code block and I'm sure we can help you better. In the error I see: Caused by: java.lang.ClassNotFoundException:...
public void onPlayerCommand(PlayerChatEvent event) { String[] cmd = event.getMessage().split(" "); if...
So it's more of an order than a priority. Confusing, but not so much since I've read this.
Make sure you have the most recent build of bukkit. There used to be no Folder parameter but a day or so ago they added that in. So, if you have...
To my knowledge, it has to be made public unless there is some method there which edits the private for you. You could ask them to add that as a...
public Civilizations(PluginLoader pluginLoader, Server instance, PluginDescriptionFile desc, File folder, File plugin,...
Separate names with a comma.