SimpleAntiPlace
1.2Block certain blocks from being placed on your server and replace them with other blocks!

A highly customisable plugin for all your anti-place needs.
Creted by YahooMail, also my second public plugin.

- It can block any block and replace it with any block!
- Example:
Example
blacklist:
- '46:1'
# 46 = block to blacklist
# 1 = block to replace with
You can set it to 0 to be AIR.- Infinite possibiltes on block blacklists, you are able to replace blocks with other blocks.
- Detailed configuration file with multiple message and features to change.

- Short Video (sorry for bad quality) :
Short Video
- Configuration file:
Configuration File
# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
# Simple Anti Place
# by YahooMail
#
# Configuration File
#
# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
# Placeholders:
# {BLOCK} = Replaced with Block's name
# Permissions:
# simpleantiplace.bypass
# Prefix: (Plugin Prefix)
prefix: '&9&l[SimpleAntiPlace]&r '
# Message: (Message sent to the player when the block is on the blacklist)
message: '&c&lError! &r&7You cannot place &f&l{BLOCK}&r&7 on this server!'
# Error: (An error has occured [most likely invalid ID])
error: '&c&lWoops! &r&7Something went wrong... replacing with &f&lAIR&r'
# Reload: (Reload of config was successful)
reload: '&a&lSuccess! &r&7Configuration file reloaded!'
# Permission: (Player doesn't have perm)
no-perm: '&c&lError! &r&7You do not have the permission to run this command!'
# Sounds:
sounds:
enabled: true
sound: 'ENTITY_ENDERMEN_TELEPORT'
# Sound list can be found here : https://www.spigotmc.org/wiki/cc-sounds-list/
# Blacklist:
# You must use the block id, a list can be found here : http://www.minecraftinfo.com/idlist.htm
# Make sure the ID is correct, the system runs on CORRECT IDs.
# If you mess up on the replacement id, such as "1" below the system will error and turn the block into default air.
# FORMAT:
# '46:1'
# 46 = TNT (Block to blacklist)
# 1 = STONE (Block to replace TNT with, 0 = AIR)
blacklist:
- '46:1'
# Misc :
# Command Message: (Sends to the client when they use the command)
info:
- '&f&l/simpleantiplace reload &r&7| Reloads the config.'
- 'Thanks for using this plugin!'
- 'Make sure to &c&lrate!'
Allows the player to bypass the blacklist:
simpleantiplace.bypass
Allows the player to reload the config file:
simpleantiplace.reload
Displays command information about the plugin:
/simpleantiplace
Reloads the config file:
/simpleantiplace reload
Please report any bugs to me. I am a very new coder to Java and I don't expect things to work perfectly.
Thank you for reading.
Download goals :
[x] 5 | :)
[x] 10 | :)
[x] 15 | :)
[x] 20 | :)
[] 25
[] 30
[] 35
[] 40
[] 45
[] 50
Similar 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