Stop breaking ItemFrames

Discussion in 'Plugin Development' started by PVP9dc, Dec 10, 2013.

Thread Status:
Not open for further replies.
  1. Offline


    My Players are destroying Itemframes on my server. I want to stop that but i have no idea how to. :(
    - WorldGuard Flag isnt working
    - FrameProtect (Plugin) isnt working
    - no idea how to code

    Help me pls! :D
    10 seconds later:
  2. Offline


    + setcancelled()
  3. Offline


    PVP9dc Running CB 1.7 by any chance?
  4. Offline


    desht yes spigot 1.7.2
  5. Offline


    • Since you're running Spigot, don't expect too much sympathy here.
    • CraftBukkit added protection for filled item frames very recently (you'll want build 2950 at least)
    • And since the API for protecting filled item frames is now different from protecting empty frames*, you'll need to wait until any relevant protection plugins have updated.
    * Damaging a filled item frame now fires an EntityDamageEvent (or some subclass thereof) instead of a HangingBreakEvent. Damaging an empty item frame still fires a HangingBreakEvent.
  6. Offline


    thanks :)
  7. Offline


    Locked. We do not provide plugins for software we do not provide.
Thread Status:
Not open for further replies.

Share This Page