Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Solved Adding code to iProtector

Comments in 'Plugin Development' started by KenyGamer, Jul 15, 2016.

  1. KenyGamer
    Offline

    KenyGamer New Member

    Joined:
    Mar 8, 2016
    Posts:
    9
    Minecraft User:
    kenygamer
    Hello. I would like to know how to add a message to be sent to the player when you try to break or place a block in different areas of iProtector (plugin) I need help on where to put the code and steps I must follow. Thank you.
  2. minebuilder0110
    Offline

    minebuilder0110 Notable Member

    Joined:
    Dec 8, 2014
    Posts:
    485
    Minecraft User:
    Apparitional
    Just use sendMessage() on BlockBreakEvent and BlockPlaceEvent events when they are supposed to be blocked.
  3. KenyGamer
    Offline

    KenyGamer New Member

    Joined:
    Mar 8, 2016
    Posts:
    9
    Minecraft User:
    kenygamer
    It worked. Thanks

Share This Page

Advertisement