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
ignored: #block that can be above farm blocks
  - AIR
  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

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of SydMontague SydMontague Apr 21, 2014 at 22:23 UTC - 0 likes

    @poncjusz: Go

    Can you plant the seeds when the roof is there? Also, what material is your roof made of?

  • Avatar of poncjusz poncjusz Apr 21, 2014 at 19:25 UTC - 0 likes

    I plant some seeds and then build roof above them. Wehat growth normally,without any restrictions. So, this plugin can be override and now is useless. Pleace fix it.

  • Avatar of SydMontague SydMontague Apr 12, 2014 at 19:52 UTC - 0 likes

    @madtomic: Go


  • Avatar of madtomic madtomic Apr 12, 2014 at 14:39 UTC - 0 likes

    Does it work with cb1.7.2-r0.3?

  • Avatar of SydMontague SydMontague Apr 27, 2013 at 18:42 UTC - 0 likes

    @Makiol: Go

    The plugin should work as intended and is very unlikely to break in the future. ;)

  • Avatar of Makiol Makiol Apr 27, 2013 at 16:58 UTC - 0 likes

    please create this amazing plugin for 1.5!!!! we all need it!!

  • Avatar of Twilight314 Twilight314 Aug 08, 2012 at 01:25 UTC - 0 likes

    OK, problem solved. It was a screw-up on my part. The short version is, I was testing as an Op, and so of course I could make farms where I wanted to. When I tried with a non-op player, it worked just as it should. Thanks again for looking into things, SydMontague, and for making this great plug-in, and I'm sorry I caused you extra work for no reason!

  • Avatar of Twilight314 Twilight314 Jul 28, 2012 at 17:33 UTC - 0 likes

    Thanks, I'll try the new version out, and report back.

    Edit: It still didn't work. I just left the config file at the default. I went underground 3 or 4 blocks, with dirt overhead, and tried to plant wheat seeds and sugarcane, and both worked, with no message sent. It does give the "enabled" message in the server console, and it created the config file, so it seems like it should be working. I'm using


    if that helps for troubleshooting. Is there anything else I can try to help pinpoint the issue? Some sort of debug mode?

    P.S. It still says version 0.3.1 in the config file and the console messages, just so you know.

    Last edited Jul 28, 2012 by Twilight314
  • Avatar of SydMontague SydMontague Jul 28, 2012 at 09:05 UTC - 0 likes

    @Twilight314: Go

    I just uploaded 0.3.2 to adress the empty config file issue. However, it was still not possible for me to create farms in undergrund.

  • Avatar of Twilight314 Twilight314 Jul 28, 2012 at 05:44 UTC - 0 likes

    Just downloaded and tried this plug-in, seems to do nothing.

    After running the server with it installed once, it generated the config.yml file, which contained:

    version: 0.3.1

    And that was it. Empty except for that one line. I pasted in the default config you have listed, but it still seems to do nothing (I can still plant wheat, sugarcane, etc, underground). In the server console, it shows that the plugin is enabled, but it just doesn't seem to be working. Any ideas why the config file generates almost empty? I tried deleting it and regenerating it, but it did the same thing. I'd really like to be able to use this on my server, but it has to, you know, work first. :)

    Thanks in advance for making this plug-in, as it is exactly what I was looking for. I just need a bit of help getting it going!


Date created
Dec 06, 2011
Last update
Dec 01, 2013
Development stage
GNU General Public License version 3 (GPLv3)
Curse link
Recent files