Cobwebs
Cobwebs
Ever notice that old little hut far off the edge of town? It is a bit creepy... hardly anyone goes there anymore. You can tell because it's covered in cobwebs.
This plugin monitors three things:
- where spiders spawn
- where players walk
- where players have built stuff
Cobwebs generally don't form in areas frequented by your server's players. Your busy towns, your favorite landmarks, your big shopping areas won't be bothered by spiderwebs. But wherever players build little-visited shacks... that's another story. Over time, *very* slowly, a cobweb might appear. And another. Months later, it may be covered in the sticky stuff... haunted? Or just a good place for spiders to catch a little lunch.
Configuration
There is none. Drop the plugin in the plugins folder.
Functionality
Every chunk that spawns a spider gets noticed by the plugin. This raises the potential of a cobweb near this chunk.
Every chunk that a player moves through is cleared of cobweb potential.
If the potential gets high enough, then this plugin searches for "man made" structures near this chunk. The structure does not need to be right next to the spider spawn, so lights do not matter to the algorithm. If a structure is found, a single "web" block is attached.
And the process starts again.
The potential formulas should allow visible growth in cobwebs over the course of a few days of a public server... but not on any structures that are frequently visited by players. Pro tip: swords bust webs much faster than other tools.
@hariedo
You still working on this, I seem to be getting cobwebs re appearing after couple mins, also the same issue that other guy with config reverting to default values, It seems place webs even if mobs are not spawning on the world as well.
I really like this and I would love a couple of more detailed config options to setup check times and things like that.
This looks really cool; I'll give this a try this soon. If it isn't included already, is it possible to limit the maximum number of Cobwebs per chunk or structure?
The plugins seems to think lilypads are placed by players, apart from that I really like that plugin. In the config, "Potential" means the propability of cobwebs to spawn, right?
This looks very cool! Downloading now. This shouldn't cause any lag on a server that already has 20 plugins, will it? We're runnin' pretty low on RAM here. Also, building deterioration would be awesome, but it may be a little out of the scope of this plugin. Perhaps if it was toggleable?
Checking on that, @adrianthewriter.
I noticed that every time this plugin loads, it says "[WARNING] [Cobwebs] Writing config.yml with default values." into the console. I haven't checked to see if it is actually rewriting my config file (I'm using default values for now anyway).
I'm using v0.7
Could I work on this plugin with you? It looks great and I want to help! I'm quite good at coding and formatting the post, e.g. Making cool screenshots to show how great the plugin is.
I hope you'll let me work with you!
Nice idea!
wow i quite like this idea :D im surprised notch (or jeb now :D ) hasn't added this yet! any chance i could get a look at the source?
EDIT: o and btw u can probably move this plugin out of planning and into release/beta :D
@T4LGoose
T4LGoose, I'm planning an update that makes it tunable in configuration. A couple other servers that run it are saying that it's not happening enough. It may also be a matter of how close together various structures are, as it depends on structures being within spawn range but not walking range of other players.
"Months later, it may be covered in the sticky stuff..." <==That made my day!!
By far, the coolest plugin for Bukkit yet!!
It seems like this plugin populates cobwebs way too fast. I was getting cobwebs on structures that people weren't around for just a few hours.
Forecaster, it looks for non-naturally-occurring materials. You may find some webbing increases in strongholds or other world-generated areas, but that is generally not a problem.
How does the plugin determine what a player placed block is?
Does it record players placing blocks from the installation moment, or is it a specific set of blocks that don't occur naturally that it looks for?
If possible I would like it for logblock until guardian comes out ;D
Oh and I'm sure there's a way because other plugins already do that Best would be if you ask diddiz directly http://forums.bukkit.org/threads/info-admin-logblock-v1-41-custom-autoclearlog-custom-block-names-fixes-1337.4543/
SirMonsterSlayer, not sure how to announce a block change in such a way that the logging plugins are aware of them, without getting specifically into the guts of those plugins. Perhaps I could create some new kind of block creation event. Do of mushrooms, vines and other "growing" blocks announce themselves with an event?
bigscary, I like the crumbling concept. That might be a new plugin called Decay or something. Planks > Stairs > Fences > Air might be more appropriate. Not sure. I'll think on that for a while.
Wow this is great, I already love it, but could you add logs to logblock ? So logblock knows that your plugin created them incase I want to get rid of them ?
Thanks
I think this is a very cool idea, especially for servers where a large part of the world is abandoned because it was over-built a long time ago. I think it's cool that you've found a way to tell player-built blocks apart from natural blocks. :)
May I suggest an option to have buildings deteriorate?
Stone > Cobble > Gravel > Air
Wood > Air (very slowly)
Chests and signs would remain as some indication of history in the area.