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.

Sample config.yml
# 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: 51Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta