ClayGen
This plugin is 1.20.2 ready!
ClayGen is a plugin I made to turn gravel into clay after it was removed from mcMMO. There are three different modes:
Turn gravel into clay whenever water flows over or around it (mcMMO style) Only when a certain block is below the gravel block (the default is Brick as of version 0.5). Farming mode: Sets a configurable delay before the gravel turns into clay. Just like any other crop in Minecraft.
To change the behavior of the plugin just edit the claygen.ini file that it creates on first run under plugins/ClayGen.
Comments, suggestions and bug reports are all welcome.
Features:
- Turns Gravel into clay with or without an activator.
- Configurable option to only change a certain percentage of the gravel into clay.
- Change the default number of clay drops
- Saves the blocks turning into clay in farming mode across server reboots.
- Configurable option to have the clay drop more clay balls the longer water runs over the clay.
- Multi-world support (although all worlds share the same config)
- Editable config file.
- Automatically adds new settings to config file when updating.
Changelog:
Version 1.5
- General cleaning up of code.
- Fixed bug where the gravel on the very edge of the water flow would not turn into clay.
- Fixed bug where gravel would turn into clay unusually fast.
- Fixed (hopefully) bug causing main server thread lockup.
Version 1.4
- Updated depreciated hooks for CB 1000.
Version 1.3
- Solved farming issues with threads not being in sync and locking up servers, causing NextTickOutofSync errors, among others.
Version 1.2
- Fixed StackOverflowError when regenerating regions with WorldEdit. (Should fix other world regeneration plugins as well.)
Version 1.1
- Fixed problem with gravel not turning to clay when the chunk wasn't loaded. (Thanks to mtszyk for pointing it out and helping test the fix.)
- Added option to keep chunks loaded when gravel is turning into clay.
Version 1.0
- Added option to have a percentage chance for the gravel to turn into clay. (A suggestion by someone on the canary forum.)
Version 0.9
- A Canary mod only version. This version does not exist on bukkit. I bumped the version number to 1.0 on bukkit to not break compatibility going between the two server mods.
Version 0.8
- Fixed bug where when you only had 1 activator and the more drops over time feature enabled, you could leave the other one that wasn't activated next to the clay and it would still accumulate drops.
Version 0.7
- Speed enhancement (cpu load) for farming mode
- Added configurable default clay drops
- Added the "more drops the longer water runs over the clay" feature. (Thanks to DarkLiKally for suggesting this feature!)
Version 0.6
- Fixed problem where it would save the gravel file excessively.
- Minor code enhancements/speed-ups.
Version 0.5
- Option to save all the gravel blocks turning into clay in farming mode. (Useful if you have a long delay set and you restart the server.)
- Added relevant option in the config file to turn saving on and off.
- Fixed a bug in farming mode where some blocks wouldn't update until the next round if the block next to them changed to clay.
- Removed lingering debug message in farming mode.
- Changed default activator block to BRICK. Please note that you will not see this change unless you are just installing the plugin or delete the config file.
Version 0.4
- Added a "farming" mode, where the gravel only turns into clay after a semi-random delay. (as requested)
- Added relevant options to the config file to configure minimum and maximum time it takes to turn into clay.
- In farming mode, placing gravel next to already running/still water will start the timer as well.
Version 0.3
- Added config options to set what flow triggers the gravel into clay change (water and/or lava)
- Cleaned up redundant code.
Version 0.2
- Made it so that water/lava can flow next to the gravel turning it into clay, not just on top.
- Added mcMMO style.
- Created a proper config file.
Version 0.1
- First release of the plugin.
@ArmyHill01
I should have replied sooner, sorry... I'm trying to figure out why it isn't working for some people as I have had reports of it working/not working on my server. (seems to be user specific) If you want to help debug that would be excellent! The source code link is right below the video where it's always been. ;)
EDIT: Seems you tried my competitor's plugin: gravelclay, and it doesn't seem to work either?
Bump, owww Dev, where have you gone !!!!! I love this plugin and there is no replacement !
Where is the source . . . . I'm freaking out :(
Seriously thou, this is a great plugin, the new event system probably is the cause of its in-operablility now, I'd be more than happy to help debug !
Great Plugin, have used it forever. Apprears not to be working with 1.2.4-R1.0.
- clay.ini -
Any Help is appreciated
@Melonking
Of course! It works just fine for me on the beta builds. Is there an error in claygen when the server starts up maybe? Also, please post your claygen.ini file.
Has anyone else got this working on the latest bukkit builds, Id love to get some clay farming going.
@Tux2
I get no errors, the blocks just don't convert.
@S3thc0n
Um, that's what it does...
@Melonking
I'll take a look at it. Do you have an error log?
How about joining the water mode and the farm mode to one, so it only changes if water is flowing around it for a certain time?
Im not sure if this is known already but clay does not seem to be generating on beta 1.2.3 for me.
@Swang4004
No problem! I try to keep all my plugins up to date through the changes bukkit keeps making from time to time although a depreciated method slips through once in a great while. Also thanks for your continued use of this plugin. :)
Always loved this mod, used it for quiet some time, even with swamps clay is rare. Just tested it against dev1985 so I could see how many mods the depreciation removal breaks and this worked out of the box, thanks for keeping this updated.
@Tux2
Ah yes, I can see what you mean. to bad, oh well free clay for everybody \o/
Thanks for your reply.
@nedercraft
Unfortunately I have had to ditch the idea of any permissions support in this plugin as it would be extremely complicated to support. Getting who triggered a water flow event isn't as simple as it sounds...
Great plugin, using it for months.
But I've got a request, please add permission support.