Kill the Bat

Bat

Spawns crazy creatures. Who will be the first to take them down? Everyone on the server will know.

Admins can use this plugin to entertain the players on their server, or to run mini-competitions. For example, they can reward the first player that kills a crazy bat, or the player who has killed more crazy bats than others. Killing those bats, as you must know, can be tricky.

The plugin can also be used as a full-fledged boss plugin, allowing you to spawn and control customs mobs of any kind.

Commands

There is only one command.

  • /killthebat - Spawn one crazy bat at players location.
  • /killthebat ride - Bat view camera :)

You may spawn other types of creatures, like so:

  • /killthebat Cow
  • /killthebat Wolf
  • /killthebat Giant
  • /killthebat Zombie careful, OP ;)

See config.yml for more info.

You may also control the creatures with the following commands (Since v2.7):

  • /killthebat tp <player> - Teleport all creatures within range to <player>'s location (which could just be you).
  • /killthebat target <player> - Set <player> as the target of all creatures in the area (if applicable).

Another useful way of spawning custom mobs is with the likeme keyword (Since v2.8):

  • /killthebat <creature> likeme - Spawns the creature with the armor you are wearing and the item that you are holding. All the enchantments and effects will be copied from you to the crazy creature. The name, health and drops will be taken normally from the configuration file.

Permissions

There is only one permission setting.

  • killthebat.spawn - Allows you to spawn the bat. Defaults to ops only.

Configuration

You may change a lot of stuff in the configuration files (config.yml) of the plugin, such as the creatures' name, health, custom kill messages, equipment, effects, skills and custom drops. Starting with version 2.3 (new configuration settings) you can also edit the equipment of the mob (if applicable). See here for more configuration info.

Profiles

Profiles are a set of available creatures and their configurations. The default profile is loaded from the config.yml file and is called 'default'. There is another profile, called 'extreme', which is loaded from a different file called 'extreme.yml'. To switch to the extreme profile, use the following command:

/killthebat profile extreme

After doing so, the plugin will load the creatures' configurations from the extreme.yml file, so when you type /killthebat Zombie, all the details about the zombie (displayname, armor, skills, etc.) will be taken from extreme.yml file.

If you want to switch back to the default profile, use the command:

/killthebat profile default

Please note that you can add new profiles by cloning the extreme.yml file in the plugin's folder and renaming it. For example, you can create a file called animals.yml with a few creatures and then switch to it with /killthebat profile animals.

Scoreboard Integration

You may also add a new scoreboard objective called "killthebat" to your world. Each kill will then grant 1 point (or more, if "points" is specified in the config file under the creature).

The easiest way to add such a scoreboard in-game is to type the commands:

/scoreboard objectives add killthebat dummy Points
/scoreboard objectives setdisplay sidebar killthebat

Redstone support

Setting the the following line in config.yml will enable spawning the creatures with a sign and redstone:

# Please reload the server after changing this value
enablesign: yes

When this is done, a sign on which the first line is "[killthebat]" will spawn the bat, whenever it receives redstone power. The second line on the sign can specify a different mob type (e.g. Cow). With this mechanism you can spawn the bat automatically at night (using a daylight detector, of course). You may also create a mob arena, combing a redstone clock, the sign and the scoreboard integration.

Please note:

  • Spawning with redstone and sign is disabled by default. You must enable it in config.yml if you want to use it.
  • Only ops can place the sign but any user can press a button to spawn the bat if you create one.
  • Spawning only works when the sign is placed on the ground ("sign post").
  • The sign will not spawn more than 1 mob per second.

Known Issues

  • To spawn the creatures in protected WorldGuard regions, set the flag 'block-plugin-spawning' to 'false' in the config.yml of WorldGuard and reload the server.
  • To kill all bats with a command, try Essential's '/killall bat'.
  • Health Bar compatibility - In the newest version of "Health Bar" you may set "show-on-named-mobs" to "false" and preserve in that way the crazy creatures' names.

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

  • Avatar of Out2 Out2 Apr 01, 2014 at 10:31 UTC - 0 likes

    Plugin is good, but would do well to add a chance to drop items and a random the amount of items. Example:

    drops
    - 1:2 260 0.25

    means 1-2 apples with 25% a chance to drop.

    Problem
    I use CB1.7.5 and KillTheBat 2.32. In config file I add options 'spawn-chance' all mobs. When a player kills the natural spawned mob (example: "Itchy"), do not drop any items. But when mob is spawned command '/killthebat ...', drop all items who defined option 'drops'.

    Last edited Apr 02, 2014 by Out2

    Sorry for my English, it's not my mother tounge.

  • Avatar of GlitchFinder01 GlitchFinder01 Mar 09, 2014 at 15:43 UTC - 0 likes

    Can you make it so you can spawn monsters on somebody els? This would be good with command blocks.

  • Avatar of sammyturbo123 sammyturbo123 Dec 08, 2013 at 13:43 UTC - 0 likes

    add a feature where only the person who killed the bat/cow etc can pick up the loot.

  • Avatar of RandomMcSomethin RandomMcSomethin Dec 07, 2013 at 21:27 UTC - 0 likes

    Sounds cool.

  • Avatar of eyalzh eyalzh Sep 13, 2013 at 14:41 UTC - 0 likes

    @CoolKill3r: Go

    I recommend @xxxwonderxxx awesome redstore mechanism with the signs, but if you prefer the "turninto" way, it would only work if you add "Bat" as a creature to the list of creatures, and then use "/killthebat Bat".

  • Avatar of xxxwonderxxx xxxwonderxxx Sep 12, 2013 at 22:52 UTC - 1 like

    I have some of my creatures hooked up to redstone and it works awesomely!

    i used light sensors and logic gates to make one of 2 creatures spawn alternately (flipflop) every minecraft night when someone has spent a day at the spawn area. Then when they press a button they spawn the creatures themselves no admin needed.

    Last edited Sep 12, 2013 by xxxwonderxxx: missed a line off
  • Avatar of xxxwonderxxx xxxwonderxxx Sep 12, 2013 at 22:48 UTC - 0 likes

    Sure it will be able to spawn another bat but only from where that bat died I think. just add

    turninto: type: Bat

    to the Bat config. You must realize though that this is an infinite loop and will never stop spawning bats when it dies. To kill them use /killall bat or /butcher (type)(radius)

  • Avatar of CoolKill3r CoolKill3r Sep 12, 2013 at 20:13 UTC - 0 likes

    Can i make them spawn be default? when the bat gets killed another one will be spawned on the server.

    Click to visit the TheGoldenCrafter 4.0 website.

    Please visit our site and concidder joining.

    We love seeying new people and need a first start.

    http://www.tgc4.webs.com

  • Avatar of SkittlezCreations SkittlezCreations Sep 11, 2013 at 23:16 UTC - 0 likes

    This Looks So Awesome. Must use! Going To Build a Arena Just For This :D Thanks!

    Check out my bukkit server! IP: skittlez.mcserver.ws

  • Avatar of eyalzh eyalzh Sep 03, 2013 at 17:28 UTC - 0 likes

    @xxxwonderxxx: Go

    Sounds good. Will go into next version.

Facts

Date created
Apr 15, 2013
Categories
Last update
Mar 14, 2014
Development stage
Release
License
All Rights Reserved
Curse link
Kill the Bat
Downloads
6,401
Recent files

Authors