AntiUGFarm prevents players from creating a farm under the earth. It simply checks if a block, which is not on 'ignored' list, is above the block you want to place.
You can config which blocks can't be placed in underground and which can be above farm plants.
Just install the plugin and change the config to you wishes.
The permission 'antiugfarm.ignore' allows users/groups to ignore the functions of this plugin.
checked: #the blocks that can't be placed in the underground - SAPLING - CROPS - CACTUS - SUGAR_CANE_BLOCK - PUMPKIN_STEM - MELON_STEM - CARROT - POTATO ignored: #block that can be above farm blocks - AIR - LEAVES - GLASS - THIN_GLASS string: notallowed: "You are not allowed to create a farm here!"
This plugin utilises Hidendra's plugin metrics system. You can opt-out under <yourPluginFolder>/PluginMetrics/config.yml
The following informations will be collected:
- A unique identifier
- The server's version of Java
- Whether the server is in offline or online mode
- The plugin's version
- The server's implementation and game version
- The OS version/name and architecture
- The core count for the CPU
- The number of players online
- The Metrics version
- Your online-mode
- Your server location
Get Source on GitHub