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

  1. You need a shovel...
  2. Right-click a dirt or grass block
  3. And done! That block will not turn into grass as long as the plugin is active
  4. You can undo the action by right-clicking the block again


Installation

  1. Place the jar file in your plugins folder (http://wiki.bukkit.org/Installing_Plugins)
  2. Start server to generate config and configure (plugins/Dirt shovel/config.yml)
  3. Restart server to apply settings


Permission nodes

PermissionDescriptionDefaulted on
dirtshovel.useAbility to use the dirt shovelall players
dirtshovel.nodamagePrevents player from taking tool damagenobody


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

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of CommodoreAlpha CommodoreAlpha Aug 19, 2013 at 05:23 UTC - 0 likes

    @THDigi: Go

    1.7 will add will 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.

    Sure, I'd love to include my server IP here. But it's under construction, and I wouldn't want to get sued for players wandering inside and getting hit by a random beam of steel floating about. And no, I doubt plugins would make very good lawyers either. I've never seen a plugin that forced you to sign a contract do so well.

  • Avatar of THDigi THDigi Mar 04, 2013 at 05:01 UTC - 0 likes

    @CommodoreAlpha: Go @config.yml:

    Quote:

    no-snow: true # prevent snow placement on no-spread dirt

    It changes it's data value of the dirt block.

  • Avatar of CommodoreAlpha CommodoreAlpha Mar 04, 2013 at 04:23 UTC - 0 likes

    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.)

  • Avatar of SPUK1 SPUK1 Feb 21, 2013 at 10:25 UTC - 0 likes

    Nice plugin, thx !!!!!

  • Avatar of iAliHD iAliHD Nov 28, 2012 at 06:08 UTC - 0 likes

    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

  • Avatar of THDigi THDigi Oct 19, 2012 at 20:18 UTC - 0 likes

    @BodhiBob: Go

    It should be, try it out :-?

  • Avatar of BodhiBob BodhiBob Oct 19, 2012 at 04:27 UTC - 0 likes

    Still compatible?

  • Avatar of THDigi THDigi Jun 10, 2012 at 00:16 UTC - 0 likes

    @ferrybig: Go

    Oh right, I forgot to list them... there, I've edited the description :}

  • Avatar of ferrybig ferrybig Jun 09, 2012 at 16:14 UTC - 0 likes

    what are the permissions?

    http://forums.bukkit.org/threads/request-saying-its-broke-doesnt-help-solve-the-issue.839/page-2 I also host an server that is dutch/english, ip: mctnt.gamemc.nl

  • Avatar of THDigi THDigi May 01, 2012 at 01:54 UTC - 0 likes

    Well, here you go, some new features in v1.2 :}

Facts

Date created
Dec 22, 2011
Categories
Last update
May 01, 2012
Development stage
Release
License
GNU Lesser General Public License version 3 (LGPLv3)
Curse link
Dirt shovel
Downloads
3,258
Recent files
  • R: v1.2 for CB 1.4.7-R1.0 May 01, 2012
  • R: v1.1 for CB 1.1-R4 Feb 26, 2012
  • R: v1.0 for CB 1.0.1-R1 Dec 22, 2011

Authors