Guard Dogs

This plugin allows players to create guard dogs from tamed dogs. These will attack other players and hostile mobs.

Features

  • Easily create guard dogs from tamed dogs
  • Guard dogs attack other players and hostile mobs in a radius of 15 blocks (except Creepers, as Minecraft dogs will never attack them no matter what)
  • Have certain guard dogs ignore certain players

Installation

  1. Download the .jar and drop it in your server's plugins folder
  2. Start your server
  3. Done!

Usage

  • To create a new guard dog, right click one of your tamed dogs with pumpkin seeds. Please make sure the guard dog is where you want it to be, as it will be sitting there, guarding that area (it can't follow you around).
  • To disable one of your guard dogs, right click it with a stick. It will be converted back to a normal tamed dog.
  • To make a guard dog ignore a player, first right click the dog with a gold nugget. Afterwards, type the name of the player you wish to ignore into the chat. (A guard dog will never attack its owner, obviously)
  • To edit the mentioned items, see Commands & Permissions section below.

Commands & Permissions

As of version 0.6, you can change the items mentioned in the Usage section above using the following command: /guarddogs [type] [material].

[Type] means the item you wish to change, options are create (for guard dog creation), disable (for guard dog disabling) and ignore (to make a guard dog ignore a player). [Material] is the item you wish to use for the specified action.

This is not a numeric item ID like 352 for a bone, instead it would be BONE (yup, all caps). How to get these? Easiest way is via chat command: For all Minecraft server versions prior to 1.8, when typing /give [player] 352, the output would be "Gave [player] some 352 (BONE)". It's in the parenthesis. For Minecraft 1.8+, you would do /give [player] minecraft:bone, with output: "Given [Bone] * 1 to [player]". Take what's in brackets ("Bone", in this case) and put it in all caps, replacing spaces with underscores (they look like this: _ ) and you should be good to go (if it doen't work for some item, leave a comment below). If all else fails, I plan on putting a huge list of these non-numeric IDs on a subpage here sometime soon. Note that Metadata isn't supported at the moment (so no creating guard dogs with green wool, sorry)

To be able to use the /guarddogs command, you need the guarddogs.admin permission (server OPs have this permission by default). Users with this permission will also be notified of available update when they join the server.

Bugs, Errors, Feature Requests?

Cool! Please drop them by at my BitBucket issue tracker. Also, please look through the open issues before creating a new one, to make sure there are no duplicates.

Credits

Some code was copied over from ArchmageInc's skeleton which I stumbled across while searching for a plugin like this.

Metrics

This plugin uses Hidendra's PluginMetrics system, meaning that it will submit the following data to mcstats.org

  • a unique server identifier
  • the plugin and server versions, and whether your server is in online or offline mode
  • the online player count
  • your server's OS as well as the OS architecture (32-bit, 64-bit, ...) and the OS version
  • your Java version

You can fully opt-out of metrics by changing "opt-out: false" to "opt-out: true" in your server's plugins/PluginMetrics/config.yml (note that this will disable sending metrics data for all plugins on your server)

TODOs and upcoming features

  • Specal abilities for guard dogs (like extra strength or a possibility of setting an enemy on fire) if the dog is provided with the corresponding item

Thank you guys for more than 400 downloads!!


Comments

  • To post a comment, please or register a new account.
Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    88904
  • Created
    Jan 24, 2015
  • Last Released File
    Feb 3, 2015
  • Total Downloads
    1,540
  • License

Categories

Members

Recent Files

Bukkit