SpongeRestore
SpongeRestore - Bring back the functionality of sponges
This plugin merely makes sponges craftable and useable again. By default it is meant to replicate how sponges worked in past versions of Minecraft. This plugin also lets you give sponges extended function through configurable options.
Default crafting recipe:
Comments, suggestions and bug reports are all welcome.
Features:
- Plug-N-Play (Works right out of the box!)
- By default, sponges can be crafted using sand and string in a checker pattern. (Sand in center)
- Sponge crafting can be toggled for other plugins. Or you can choose your own crafting recipe.
- Upon placing a sponge, water is removed from a 5x5x5 block area. This radius is editable in the configuration file.
- You choose whether or not water can be placed in the area while a sponge is there.
- Evolving configuration file. It updates itself with each release, while still maintaining your past settings.
- Multi-world support: You can choose which worlds sponges work in.
- Saves the areas in which sponges block water for server reboots at the same time the worlds save.
- Works with lava and fire also! Perfect for anti-griefing! (Can be toggled in configuration)
- You can enable the sponges that were placed before this plugin was installed by using, "/sponge enable target" while looking directly the sponge.
- You have the option to allow the water to be fully restored after a sponge is removed. You can repair oceans and beaches! (No more ugly cascades or currents!)
- You can choose whether or not pistons can move sponges. Sponges work fine with pistons.
Source Code <- Here you can view development progress.
Jenkins <- And here you can grab dev builds.
Permission nodes:
- spongerestore.enable - Can use the "/sponge enable" command.
- spongerestore.disable - Can use the "/sponge disable" command.
- spongerestore.clear - Can use the "/sponge clear" command.
- spongerestore.clear.all - Can clear whole worlds of sponges using: "/sponge clear world <worldname>" or "/sponge clear all"
A short demonstration by the DLC Team:
In-Progress/To-Do:
- Redstone control. [Causing major issues, need more time to work on it]
- More dynamic multi-world support.
- Make sheers break the block faster [Still in observation]
- Naturally occurring sponges [I'll eventually look into this...]
I want to know if sponges do occurre natrally cause i don't want them to, Also i want to know if the crafting recipe is changeable either by command or by the plugin cookbook
@meowmixmix3
So the TNT explosion is no longer calling BlockBreak....
For now you can fix that sponge area by putting a sponge in the old spot and doing "/sr disable target" twice.
I found a glitch. When the sponge is blown up by TNT the game believes the sponge is still there. You can't place water anywhere in the radius of where it used to be and water/lava wont flow in either.
Yea it was multiple sponges being moved by multiple pistons at the same time, sorry for the late reply, been a little busy.
@Telecus
Mind explaining a bit better. Is the bug related to multiple sponges being pushed by multiple pistons at the same time?
Just wanted to mention, some of the players on my server were using the sponge for automatic wheat farm, apparently when several sponges are being moved by pistons the sponge's function will remain despite if the sponge is moved up (to prevent water flow) or down (to allow the water to flow down) I just wanted to notify you of this bug with the plugin.
The automatic wheat farm is similar to [ http://www.youtube.com/watch?v=oAng_p40tOo&feature=related ] except it uses sponges to hold back the water.
That would be great!
@GioboiMC
Currently it isn't possible. But I could always add that ability to the recipe config.
Is it possible to make it so that yellow wool must be used in the crafting recipe? I don't know if you can do items with degraded values or whatever.
@MatrixJ21
Nope, sorry...
Craft recipes are added on server start.
Is it possible to make it so that there can be a permission to craft sponges? Thanks.
@Royalgamer06 Just uploaded v1.7. You should be able to grab it once it's approved. Or, if you don't want to wait, just click on the "Files" tab.
@Royalgamer06 Oh shiz... Yea I know exactly what's causing that.
The new releases use a ConcurrentHashmap. I forgot that the database from the older versions uses a HashMap and that they weren't directly the same. I should be able to have a 1.7 release with a fix very soon. Sorry about that.
@1Rogue All my plugins have their repository listed in the "Repository" tab :P
The "Source Code" link just had one too many ['s.
Though there's very little to gain from the source. The plugin mainly consists of many simple methods that create the illusion of a complex system.
@Orlando_Euclides Put the SpongeRestore.jar into your "plugins/" folder.
Hey, Im trying to install this on my server, but I dont know how to install plugins... I used a friend for that but he wont help anymore and I really want this, could you explain me how to install it? (I had already Permissions)
Are you sharing open source? Or keeping this private? :P
@NoahIvaldi
We'll find out once that happens. I have seen the sponge code left within Vanilla. Having them built into the game again would be much much more efficient.
This is cool, but I heard that Jeb and Notch intend to re-implement sponges into the vanilla code. Once that happens, will you update this plugin so that it still has some use (namely configuring the radius of effect and the redstone-based functions), or will this just be used for servers whom refuse to update?
@balkonier
"until now" ? ;)
Hopefully it keeps working.
Wow! Awesome plugin! Quite frankly I didn't even realize that sponges are not craftable ' Thanks for the great plugin! Installed instantly and worked perfektly until now.