NexDistanceFarm
NexDistanceFarm is based on CHDistanceFarm
NexDistanceFarm adds persistence to crops and trees in Minecraft.
Crops/Trees will simulate growth whenever a chunk is loaded, this removes the need for players to babysit their farm chunks or servers to allow use of resource hogging chunk loaders.
Crops placed by players are registered to NDF's block database. When a chunk has been loaded at a later time NDF will simulate growth based on the amount of time since the chunk was last loaded. This growth is roughly modeled after standard Minecraft growth algorithms.
Currently NDF supports the following crops:
- Wheat
- Carrots
- Potatoes
- Pumpkins
- Melons
- Sugar Cane
- Cactus
- Nether Wart
cocoa- All Trees
Metrics
This plugin utilizes Hidendra's plugin metrics system, which means that the following information is collected and sent to mcstats.org:
- 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 version
- The OS version/name and architecture
- The core count for the CPU
- The number of players online
- The Metrics version
- Total Number of crops tracked by NDF
Opting out of this service can be done by editing plugins/Plugin Metrics/config.yml and changing opt-out to true.
MCStats Metrics: http://mcstats.org/plugin/NexDistanceFarm
Installation
- Place NexDistanceFarm.jar in your plugins directory.
Usage
- Plant crops and trees as you would normally.
- Ignore planted chunks / allow to unload.
- Return later. (minimum 5 minutes by default)
- Harvest grown crops or admire unattended growth.
- Repeat.
Known Issues
- CocoaPods dont grow.
NOTE:
NDF will only simulate growth for crops planted after the addon is enabled. Chunks that are never unloaded (ex. chunk loaders / spawn chunk) will never be affected by NDF. Crops planted via machines may not register.
Future Plans
- Support for Animal growth.
- Support for growing Vines
- Support for non-Vanilla Plants
- Permissions
- Update Check / Auto Updater
"Legal"
I claim no part of this mod and instead allow MinecraftZacherl ownership upon request. The majority of the plugin is his work, with changes by me to support new features since CB 1.2.5.
General permission granted for this mod reload posted Here.
Website
For alternate downloads and more info: NexDistanceFarm
@Nextek
Hi Nextek.
I am wondering if you will release an updated version with any improvement for lag. I have some lag spikes here from NextDistanceFarm and if you dindnt have plans to update i want to ask you for the source code. I saw that is GNU but cant find it at GitHub.
Thanks in advance.
Thank's so much for updating this, this is such a huge piece missing from the vanilla game. I can't imagine having a server without it.
will this works on 1.6.4?
@XeonG8
Got around to some testing and NDF does not detect the saplings planted by tree assist. I will implement something to catch saplings/crops planted by mods in a future version.
@CommodoreAlpha
You can do this already,
http://dev.bukkit.org/bukkit-plugins/distance-farm/pages/config-file/
Change the growth rate modifier in the config to a lower value and crops will have less chance of growing on chunk loads. 1.0 is roughly standard growth rate.
Would it be possible to have crops grow more "slowly" when you reload the chunk it's in, after some prolonged waiting?
For instance, say it takes five minutes for a newly planted crop block to become fully grown, assuming optimal growing conditions, all while you're standing next to it. If that same crop block has its chunk unloaded after planting, it would take, say, fifteen minutes for one to come back, load the chunk, and find it fully grown. If the chunk unloads, five minutes passes, and the chunk is loaded again, the crop block would only be 33% grown.
I understand that this may sound like a dumb concept, but I feel like it could be a nice incentive to stick around one's crops if one has nothing better to do.
@XeonG8
I'm not sure, I can test it later tonight and will get back to you.
tree assist plants a sappling on tree chop...
does this plugin pick that up?
@Ordrox
It could potentially cause a lag spike if a chunk is heavily populated with crops, I'm doing some testing with massive vertical farms to see what kind of problem it will be.
If massive farms cause lag I do have a plan. For chunks heavily populated with crops I could just simulate once for all crops of that type in the chunk, rather than simulate growth for each crop. Visually, this would make it look like all the crops are the same age in the chunk. But each chunk could potentially have a different age for huge multilevel multi-chunk farms.
Let me know if you do experience any lag-spikes when loading massive farms. And send me a picture, it will no doubt be an impressive farm.
Remember that only newly planted crops will be registered with NDF.
gonna try it out, looks like it will be really useful.
Nice plugin, i always tough that was stupid to must be standing near the crops to let them grow.
But i have a question about lags, couldn't it cause lags spikes when the chunks are loaded?