Jump to content

Recommended Posts

Posted

You need to listen to BlockPlaceEvent. If you aren't familiar with event listeners, I recommend reading the bukkit wiki article on them here. You can also use my plugin MobHostility (code on github, apologies for the lack of comments) as a reference.

I would set up the plugin to use a config file for the nuke block ID, as that can vary between tekkit and non-tekkit servers. The wiki article on those can be found here.

Finally, the bukkit documentation and javadocs are very thorough. I highly recommend sifting through those for more information.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...