Jump to content

plugin string


RadioHasNoFuture
 Share

Recommended Posts

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.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...