Hello, im tips48, and I'm bringing back Cow Paths from the inactive forums. I only had to recompile and didn't have to change any source, but I do plan to add some new features and fix any bugs that come up. All credits go to the amazing author @deltahat Cow Paths - Pave the paths where players walk Version: v2 Cow Paths is a bukkit plugin for simulating the natural erosion caused by player walking. The name of the plugin comes from the phrase "to pave the cow paths." As players walk around the server, Cow Paths keeps track of the number of times each block has been stepped on and erodes the world accordingly. By default, the world erosion patterns are (with step thresholds in parentheses): Grass -(10)-> Dirt -(50)-> Gravel -(200)-> Cobblestone -(800)-> Smooth Stone Sand -(100)-> Sandstone Download Jar - http://dl.dropbox.com/u/31280142/CowPaths.jar Source - https://github.com/tips48/CowPaths Configuration The erosion patters and step thresholds used by Cow Paths are completely configurable. All wear patterns are stored in the config.yml file under the wearPatterns key. A wear pattern is made up of a three part string containing the fromMaterial, toMaterial, and stepThreshold. A line looks like this: Code: - Grass Dirt 10 When defining the fromMaterial and toMaterial, you can use either a material's canonical name or ID number. Malformed wear patterns will be ignored. If two wear patterns share the same fromMaterial, only the first one will be used. API To access Cow Paths data in your plugins, use the following code Code: CowPaths cpPlugin = (CowPaths)this.getServer().getPluginManager().getPlugin("CowPaths"); CowPathsApi cpApi = cpPlugin.api; Don't forget to add appropriate null protection. Changelog: Version 2 Fixed console spamming bug Added API Added total steps metric Updated to 953 -- tips48 Version 1 Initial Release
One of my favorites Glad it is finally being updated! Now I know where all my enemies bases may lie! :3
@Specops343 any time I didn't realize how popular this plugin was until i was asked in irc and like 10 people agreed :O
One thing I do notice is lack of Block ID support in the config. That would help with less confusion IMO.
Thanks for bringing this back! The biggest thing that needs fixing is how CowPaths stores its backing data. The initial implementation used one file per chunk. This was a bad idea - it made too many files.
Oh, hey! I though you were dead About the storing data, yes, I agree, I'm planning on moving it all to SQLite
Even though I read your vacation message I better post this suggestion up here before I forget it. Add items support. eg: woodplank stick 25 (after 25 passovers woodplank block will turn into a stick) Plus sub id numbers aren't working. eg: 44:3 EDIT by Moderator: merged posts, please use the edit button instead of double posting.
Would it be possible to use damage values or similar sorcery to eliminate databases completely? If so, I would use this
Is it possible to have it check to see if it has been walked over for a configurable time to where it would degrade down its line? IE, after 10 minecraft days of not being walked on, the gravel that was walked on, would degrade to dirt?
Thread watch failed, sorry guys. I'll keep this up to date with the RB, but no features.for now. Sorry, just really busy
@tips48 I came up with an idea to make this plugin even more lightweight, without the need to record where players step. Instead, whenever a player steps on an "erodeable" block, there is a random chance of it actually eroding. Example Config File Grass Dirt 10 Dirt Gravel 2 Gravel Cobblestone .5 Cobblestone Stone .125 Sand Sandstone 1 The numbers above represent the percentage chance for each type. In the long run, this will essentially do the same thing, but be more random and less specific. Either way, heavy traffic areas will have a greater chance of erosion.
Do you still have this? I grabbed tips48's original source and am looking to bring it up to date but it would be quicker to just update a 1.4.5