BlockPlaceEvent help

Discussion in 'Plugin Development' started by EvilGooD, Apr 25, 2015.

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

    EvilGooD

    How to prevent players from placing specific blocks with a specific DisplayName?
     
  2. Offline

    SuperOriginal

    BlockPlaceEvent
    Check if block material is material you want
    Check if it has metadata
    Check if it has a display name
    Get the display name and check if it is equal to something
    If it is, cancel
     
Thread Status:
Not open for further replies.

Share This Page