Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Event for block placement and breaking by mods or non-players


Recommended Posts

For server-side mods that protect blocks or regions so a player can own or claim something that others can't build on, break, enter or steal from.


It is easy to protect from direct player interaction, by using @ForgeSubscribe with PlayerInteractEvent, but unfortunately this doesn't detect when a block is placed or broken by a quarry, mining laser or turtle.


I get a lot of request to add protection against machines to the Chunk Protection mod, but at this point that doesn't seem possible.


If there already is a way to do this, please let me know.


I've seen mods having 'fake players' before, but i guess that was added with Bukkit ports, because I can't find it anymore in the mods configuration files.

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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...

Important Information

By using this site, you agree to our Terms of Use.