AntiUGFarm
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.
The permission 'antiugfarm.ignore' allows users/groups to ignore the functions of this plugin.
Config
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!"
Metrics
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
Source
Get Source on GitHub
-
View User Profile
-
Send Message
Posted Dec 18, 2011well that came like that crap.. checked: - 6 - 37 - 38 - 60 - 81 - 83 - 104 - 105 ignored: - 0 - 18 - 20 string: notallowed: You are not allowed to create a farm here! version: '0.1'
-
View User Profile
-
Send Message
Posted Dec 18, 2011Considering its so small ill just paste it here
------------------------ checked: - 6 - 37 - 38 - 60 - 81 - 83 - 104 - 105 ignored: - 0 - 18 - 20 string: notallowed: You are not allowed to create a farm here! version: '0.1'--------------------should be the defualt I have nothing else that even remotely tries to modify the farms in any way , but maybe if i get some time this weekend I will start pulling/adding plugins to check each and everyone for an conflict. I assume the basics are okay (cause dropping these would be bad for server) Worldguard WorldEdit mostly you know fire spread and such going crazy if i drop this :D-
View User Profile
-
Send Message
Posted Dec 17, 2011@Axebyte @RedPoptarts
Spout is not needed. I think it's mentioned because Spout makes some changes in there... I tested with Spout #644 and was not able to reproduce your error.
Can you send me the content of your config.yml?
-
View User Profile
-
Send Message
Posted Dec 17, 2011@RedPoptarts does it do the same thing for you as well, not work with wheat? After i did the bukkit update and cleared the old folder out seems nothing is blocked now for me. and i get that BLOCK_PLACE error on everything.
@SydMontague Just curious but i assume Spout is needed? Since its mentioned in the error. What version of spout do you have? They have a rec 1.01 build and some newer dev builds which are you using? (just trying to get this to work and thought maybe its a spout issue)
-
View User Profile
-
Send Message
Posted Dec 17, 2011I also get the BLOCK_PLACE spammed error. Using CB 1602.
-
View User Profile
-
Send Message
Posted Dec 16, 2011@Axebyte I use the same config as above and everything works fine.
If you use the default config (which get's also generated when you delete the old one) it should work.
Maybe there is a conflicting plugin?
-
View User Profile
-
Send Message
Posted Dec 16, 2011to help you out i get this SPAMMING console
2011-12-16 07:38:37 [SEVERE] Could not pass event BLOCK_PLACE to AntiUGFarm java.lang.NullPointerException at com.syd.antiugfarm.ServerBlockListener.onBlockPlace(ServerBlockListener.java:29) at org.bukkit.plugin.java.JavaPluginLoader$32.execute(JavaPluginLoader.java:483) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339) at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:100) at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:84) at net.minecraft.server.ItemBlock.a(ItemBlock.java:97) at net.minecraft.server.ItemStack.placeItem(ItemStack.java:83) at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:282) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:593) at net.minecraft.server.Packet15Place.a(SourceFile:39) at net.minecraft.server.NetworkManager.b(NetworkManager.java:226) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:93) at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:550) at net.minecraft.server.NetworkListenThread.a(SourceFile:108) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425) at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
-
View User Profile
-
Send Message
Posted Dec 16, 2011Nope on 1597 build can still plant wheat underground with no issue everything else seems to work fine. Config is default. is there something i need to change?
-
View User Profile
-
Send Message
Posted Dec 16, 2011Ill go to 1597 and see, using default Config should include wheat correct? (pretty sure i seen it in there as # -)
ill post an update to this after i see
-
View User Profile
-
Send Message
Posted Dec 15, 2011@Axebyte
It works for me on #1597
maybe you made a mistake in config?
-
View User Profile
-
Send Message
Posted Dec 15, 2011update
bukkit rec 1557 doesnt work CraftBukkit 1.0.1-R1 this is the file name of rec build
it stops everything but wheat when planted fine. Flowers, cacti, sugarcane all works, ecpt the most important one.. Wheat.. no message nothing on wheat plant.
Other then that issue it works great awesome plugin and a must have for any Hardcore realism/survual server.
-
View User Profile
-
Send Message
Posted Dec 12, 2011@Zappaking @germalto
tested on Craftbukkit #1550 without problems
Also it is so simple, it shouldn't break in any way^^
-
View User Profile
-
Send Message
Posted Dec 12, 2011I second that
Zappaking
-
View User Profile
-
Send Message
Posted Dec 12, 2011hi there,
just wondering if this plugin is up to date and working on the current version of bukkit ?
thanks in advance, germalto