Kill the 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.

Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    55895
  • Created
    Apr 15, 2013
  • Last Released File
    May 22, 2014
  • Total Downloads
    10,569
  • License

Categories

Members

Recent Files