Lockette bug fix, for server stop minecart hoppers

Discussion in 'Plugin Development' started by mrsamcraft, Dec 14, 2013.

Thread Status:
Not open for further replies.
  1. Hello,

    So this bug is been used very much on my server, it allows users to place a rail under the locked chest and place a minecart hopper and steal all the items from the locked chest..

    This bug has been open since september time... I'm wanting to know, how would I add something to this plugin (until the bug is fixed) that disables placing hoppers under a chest unless you're the owner of the chest or something along them lines?


    Thanks
    ~Sam
     
  2. Offline

    bennie3211

    check block place event, then check if its a hopper. If it is a hopper, check if there is a chest above it, if there is one, get that block, and check if there is somewhere a sign with the given string on line0. If thats all true -> stop placing the hopper :)
     
Thread Status:
Not open for further replies.

Share This Page