AntiUGFarm
Summary
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.
Usage
Just install the plugin and change the config to you wishes.
Use the Permissions Node 'antiugfarm.ignore' to allow specific players/groups underground farms.
Config
checked: #which blocks can't be placed in underground - 6 #sapling - 37 #yellow flower - 38 #red flower - 59 #weath - 81 #catci - 83 #sugar cane - 104 #pumpkin - 105 #melon ignored: - 0 #air - 18 #leaves - 20 #glass string: notallowed: You are not allowed to create a farm here! version: '0.3'
Source
Get Source on GitHub
Facts
- Date created
- Dec 06, 2011
- Category
- Last update
- Jul 28, 2012
- Development stage
- Release
- License
- GNU General Public License version 3 (GPLv3)
- Curse link
- AntiUGFarm
- Downloads
- 1,658
- Recent files
- R: AntiUGFarm 0.3.2 for CB 1.2.5-R5.0 Jul 28, 2012
- R: AntiUGFarm 0.3.1 for CB 1.2.5-R1.2 May 13, 2012
- R: AntiUGFarm 0.3 for CB 1.1-R4 Feb 16, 2012
- R: AntiUGFarm 0.2 for CB 1.0.1-R1 Dec 18, 2011
- R: AntiUGFarm 0.1 for 1.0.0 Dec 07, 2011
- Reply
- #29
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. ;)
- Reply
- #28
Makiol Apr 27, 2013 at 16:58 UTC - 0 likesplease create this amazing plugin for 1.5!!!! we all need it!!
- Reply
- #27
Twilight314 Aug 08, 2012 at 01:25 UTC - 0 likesOK, 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!
- Reply
- #26
Twilight314 Jul 28, 2012 at 17:33 UTC - 0 likesThanks, 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
craftbukkit-1.2.5-R4.1-MCPC-SNAPSHOT-174+r4.1update0721.jar
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.
- Reply
- #25
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.
- Reply
- #24
Twilight314 Jul 28, 2012 at 05:44 UTC - 0 likesJust downloaded and tried this plug-in, and...it 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!
- Reply
- #23
SydMontague May 13, 2012 at 08:29 UTC - 0 likes<<reply 703887="">>
I just uploaded 0.3.1 which fixes this error. In fact I fixed it months ago, but as no negative side effects occured, I didn't released it...
But thank you for your report. :)
PS: It may take a while until you can download the file. It must be approved first...
- Reply
- #22
TnaawGunz May 13, 2012 at 01:54 UTC - 0 likesHello, Awesome plugin you have here! I started using it but every time I load up my server I get this: 21:44:54 [INFO] [AntiUGFarm] Enabling AntiUGFarm v0.3 21:44:54 [WARNING] Could not save config.yml to plugins/AntiUGFarm/config.yml because config.yml already exists. I went and snooped in the config for a while, couldn't see any setting that said *erase once your done configuring* Any ideas? It isn't affecting the plugin or any other ones, I just hate to see Warning and Severe in the console.
- Reply
- #21
SydMontague Apr 17, 2012 at 15:24 UTC - 0 likes@Jackjan: Go
Yep, it's running on my server without problems.
- Reply
- #20
Jackjan Apr 17, 2012 at 14:57 UTC - 0 likesWorks with 1.2.5?