Dirt shovel
Dirt shovel
Description
This plugin enables players to prevent grass spreading by just using a shovel, no commands! Ideal for making dirt paths in a traditional way, graves and what other stuff you can think of.
Features
- Prevent grass spreading on specific blocks
- No commands, using in-game tools
- Simple visual&sound effects when using tools
- No storage, it changes blocks' data value and gets saved inside the world
- Not permanent, won't work if plugin is removed, so no world damage !
- Optional no-snow on no-grass spreading blocks support
- Tools are damaged when used (configurable)
- Customizable messages
- Configurable tools that can be used to prevent/restore grass spreading
Usage
- You need a shovel...
- Right-click a dirt or grass block
- And done! That block will not turn into grass as long as the plugin is active
- You can undo the action by right-clicking the block again
Installation
- Place the jar file in your plugins folder (http://wiki.bukkit.org/Installing_Plugins)
- Start server to generate config and configure (plugins/Dirt shovel/config.yml)
- Restart server to apply settings
Permission nodes
Permission | Description | Defaulted on |
dirtshovel.use | Ability to use the dirt shovel | all players |
dirtshovel.nodamage | Prevents player from taking tool damage | nobody |
Changelog
Changelog is available inside the jar in changelog.txt and in the Changelog page.
Source code
The source code is inside the jar file, as always.
Having problems, found bugs ?
If you have any issues or found some bugs, please create a ticket.
To do list
- (Done in v1.2)
Maybe adding permissions - (Done in v1.2)
Maybe adding durability usage - (Done in v1.2 but does NOT require spout)
Maybe adding some optional spout sound effects
@THDigi
1.7
will addwill most likely add a new "damage value" of dirt which cannot become grassy. The damage value of this dirt is "1". Just thought you should know so you can remove the code in this plugin (for 1.7) which forces dirt with a different damage value to not become grassy, as that would be redundant.@CommodoreAlpha @config.yml:
It changes it's data value of the dirt block.
It appears that snow cannot land on top of dirt blocks affected by this plugin. :x
Also, I'm really curious, but could you explain how the plugin locks each dirt block in place without needing some kind of database file? (Explain it in Pseudocode or something.)
Nice plugin, thx !!!!!
Hey man, I recently found you through a post, I am a beginner java developer, when I clicked on here I didn't know exactly how your plugin worked but I thought, you must be storing each block. then I check out your source to find that there is only one class. Thanks to you I learnt something new today, keep up the good and simple work! :P
@BodhiBob
It should be, try it out :-?
Still compatible?
@ferrybig
Oh right, I forgot to list them... there, I've edited the description :}
what are the permissions?
Well, here you go, some new features in v1.2 :}
Looks nice! Don't stop working on your ToDo list :P
Like this being so commandless.
@hantoo
Well, I'll add permissions in the future version then :P
@HamOmlet
I dunno, I'll check it out.
It would be helpful if this plugin had some permissions so that other groups cant use it or even a command that only Ops can use. But this plugin is great Thanks
Perhaps add the option to use a WorldEdit selection? Turning a 350x350 area into dirt is quite tedious.