GrowthLimiter
GrowthLimiter's Purpose
Basically, if you have a world that you want to simulate "growth difficulties" for any reason (say, you want to limit Grass spread or Mycelium spread to a slowpoke pace), this plugin will do the trick! Be it whether you wish to make grass spread at a 50% or even 90% of the original intended speed, you have complete control!
This is all built on pure Bukkit API. There should be no worry about this plugin breaking between minecraft releases unless Bukkit changes the API for growth.
Features
- Limit a the speed of grass/mycelium/vine/wheat growth in any world you wish
- Limit the distance a vine will grow
- Multiworld compatible.
- Built purely on Bukkit API, this will work on CraftBukkit 1.2.5 - 1.8! (Spigot 1.8 compatible) :)
Commands
None!
Permissions
None! There's nothing that could be permissible.
Configuration
Debug - true or false, use only if you wish to see how many times a BlockSpreadEvent is being canceled (this WILL spam your console, only recommended true for a test server)
Growth -
- Grass - A double digit number from 1-100 of which 100 means ALL Grass spread will be disabled and 1 will have a 1% chance of canceling a grass spread event
- Mycelium - A double digit number from 1-100 of which 100 means ALL Mycelium spread will be disabled and 1 will have a 1% chance of canceling a grass spread event
ToDo
Allow toggle for worlds in config9/12/12- In game command to reload config
- In game command to alter the Growth percentage
Vine growth limit18/12/12Vine distance limit18/12/12Mycelium growth limit9/12/12Per world configuration18/12/12Wheat growth limit6/2/13
MCStats
This plugin does use MCStats, which can be disabled by going into the plugins/PluginMetrics/config.yml
FAQ's
1) How server intensive can this become if I'm running this on a world with several players in different places? If you have been using something like WorldGuard's dynamic flag to stop all grass spread, it's going to consume the same resources, basically none! A server would accumulate lag from having too many players before this plugin can.
2) Why not just use some other plugin? Honestly, it's up to you. I haven't found a plugin that does this yet (probably because the amount of requests is close to null), or a plugin might be trying to hard to do many other things. This plugin only does one thing: Limits based off percentage the grass and mycelium spread.
3) I set the percentage to 50% and I'm seeing more than 50% of grass/mycelium doing nothing! Why can't you use percentages right!? Calm down, the percent is a chance for EACH BlockSpreadEvent, not overall. It's like flipping a coin, you have 50% chance each flip to get heads or tails, not 50% over all coin flips.
4) My question isn't listed here! Comments and I'll try to add it (if it's an FAQ worthy question).
Can you add a feature which allows you to speed up grass spread and stuff?
Ummmmmmmmm, looks like a great plugin but the default config is completley empty.
@madtomic
It's already compatible with 1.8.
1.8 update?
@MPigna
Uploaded an update with sugar cane and cactus limitations! :)
Sugercane and cactus control would be nice! :) thanks
Using this plugin for over a year and still works even on 1.8 :D
Hi this plugin is very cool Can you pls add sugar cane growth controll as well?
@1337ingDisorder
The issue here is Vine-Distance: 30. set the Vine-Distance: 0 and it should stop all vine growth no matter what, OR you set Vine: 100 to stop all vine growth.
It's a % slowdown, so 0 would leave vines at normal speed, while 100 would stop growth all together (or you can just set the distance and it will just not care what the % slowdown is set to.
@gabizou:
Hi, this plugin claims to stop vine growth but in reality it doesn't seem to have any effect on vines whatsoever.
Here's my config:
http://pastebin.com/0sR1xifa
The world I'm trying to stop vine growth in is called "Hub". As you can see, I have vine growth set to 0% in the Hub world, but the actual growth rate is 100%.
Using CraftBukkit Beta Build (1.5.1-R0.2) and GrowthLimiter 0.4.1
How do I make GrowthLimiter start working properly?
Thanks!
Sorry for the delayed replies, I've been extremely busy the last month, I'll be making some updates soon.
@WayGroovy
I know that this works with Spigot and does some stuff Spigot doesn't do. Although Spigot has the modifiers for chunk growth so growth doesn't occur as often the more chunks away from a player, whereas here it's just pure growth slowdown. To sum it up, it works fine with Spigot (as long as the Bukkit API doesn't change).
@IMathe172I
Odd how this didn't show up in my testing. I'll submit a fix in a bit as soon as I figure out why this is occurring.
EDIT: Fixed the configuration issue (quick testing resulted in no more clearing of the config, v0.3 was noted but I recommend using 0.4.1, dunno why my testing never showed these issues before).
I'm having huge problems with the config file:
If I use version 0.3, the config.yml is always reset to the default
If I use version 0.4, the config.yml is set to the default first, but then all values get deleted (even the Version). The only things that remain are: "Enabled: {}" and "Worlds: {}"
what am I doing wrong?
Edit: Btw, I tried both Bukkit 1.4.6-R1.0 and 1.4.7R1.0
I'm interested to see how this interacts with Spigot.
@Sir_Moodz
I have uploaded a new version of GrowthLimiter v0.4 that includes Wheat Control and there's some command code that isn't implemented yet. I may push out some Sugar Cane, Pumpkin, Melon controls too for the next version and bump GrowthLimiter to v1.0 :D
@Yoshinat0r
If you set it to 0, then yes, vines will NOT grow.
If I set the "Vine" setting to 0, does that mean the vines have a 0% chance of growing (meaning they will never grow)? I just don't want vines growing or spreadng, I want them to stay put.
Can this change wheat and other farming grow rates? I need one of those plugins but cant find any updated one...
@Zilacon
This is included in the recently updated version of GrowthLimiter v0.3, just awaiting approval form Bukkit Staff.
Almost done with the next update!
Fixing a small bug with the configuration loader.
The following will be added in the next release of GrowthLimiter v0.3:
Hopefully I will have this out by early next week :)
@Zilacon
I'm working on properly setting a vine configuration for both max length and speed, so soon, I'll have an update that will include toggles for vine control.
As well, I was considering changing the config one last time to change up these modifiers so that everyone can have global limits AND per world limits, or I might just save to the config for gathering a list of loaded worlds and saving in the config file for modifications to per world.