Don't Put It Here! 3.0.0

Anti - Nether Portal trap, Spawn point/Flag grief (CTF)

  1. vk2gpz
    This plugin will allow you to prevent others placing blocks around the registered block types.

    For instance,
    • if you register the nether portal block (ID: 90), you can use this plugin to prevent nether portal trap.
    • if you register Red/Blue wools (which are often used in Capture the Flag servers), you can prevent players blocking spawn points and flag areas.
    Protected Blocks:
    Any blocks can be registered as a "protected" block, near which you cannot place any blocks.

    Needs Air Blocks:

    Any blocks can be registered as a "needs air" block". In order to place "needs air" block, there must be at least 2 opposing AIR spaces next to it. (example : nether portal block)

    Commands:
    • /dpih or /dpih help : displays a help menu
    • /dpih add|remove : add|remove the block you're holding to|from the protected block list.
    • /dpih add_na|remove_na [mat:data mat:data mat:data...] : add|remove the block you're holding to|from the needs_air block list.
    Installation:
    You just need to drop DontPutItHere.jar in the plugins folder.

    Donation:
    It would be greatly appreciated for your donation to continue providing support for this plugin.
    [​IMG]

    Sample config.yml
    Code (Text):

    # Config nodes:
    #
    Messages:
      ErrorMsg : "&c[DPIH] : Some error occured."
      added: "&a[DPIH] Added the block &e%block% &ato the block list."
      added_na: "&a[DPIH] Added the block &e%block% &ato the need_air block list."
      couldNotParse: "&c[DPIH] Could not parse the block (&e%block%&c)"
      alreadyInTheList: "&c[DPIH] The block &e%block% &cis already in list!"
      noPermission: "&c[DPIH] You don't have permission to modify the block list!"
      removed: "&a[DPIH] Removed the block &e%block% &afrom the block list."
      removed_na: "&a[DPIH] Removed the block &e%block% &afrom the need_air block list."
      notInTheList: "&c[DPIH] The block (&e%block%&c) is not in the block list!"
      CannotPutItHere: '&c[DPIH] You cannot put it near &e%block% &c!'

    HelpMessages:
      banner:
        msg: "=== &e[&aDontPutItHere (%version%)&e] &r==="
      help:
        msg: "&a/dpih help : displays this help menu."
      reload:
        msg: "&a/dpih reload : reloads config file."
        permission: "dpih.reload"
      debug:
        msg: "&a/dpih debug <true|false> : turn on / off the debug mode."
        permission: "dpih.debug"
      add:
        msg: "&a/dpih add|remove [mat:data mat:data mat:data...] : add|remove the block you're holding to|from the protected block list."
        permission: "dpih.list.modify"
      add_na:
        msg: "&a/dpih add_na|remove_na [mat:data mat:data mat:data...] : add|remove the block you're holding to|from the needs_air block list."
        permission: "dpih.list.modify"


    #
    # The default radius, within which block placement will be prevented
    distance: 1

    #
    # Any blocks listed here will need at least 2 neighboring block spaces as AIR.
    # This is needed for activation of the nether portal.
    needsair:
      - 51 # or FIRE
      - PORTAL # PORTAL
    #
    #
    # blocks:
    #  90:
    #    exceptions: 51
    #  35_11:             # this will prevent placing block around a wool block
    #    exceptions: 51
    blocks:
      PORTAL:
        exceptions: 51
     

Recent Updates

  1. built against 1.14.4
  2. supports 1.13
  3. refactored version.

Recent Reviews

  1. Hex_27
    Hex_27
    4/5,
    Version: 1.0.1
    Its a fine resource. It helps in some ways, but it would be great with multi-world support, so that only in some worlds will this work.
    1. vk2gpz
      Author's Response
      sure, i can add that support.