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.
@kevinfroman
The sign will only work with a full server reload. Sorry about that.
The sign doesn't work. I have it enabled in the config, I reloaded the config and then tried restarting my sign is: top line: [killthebat] second line: Zombie
Ah i see i can add mobs to the config that are in the game that means i can add skeletons with weapons too nice!
Awesome m8 ty
@xxxwonderxxx
Hi Wonder. I added configurable equipment to upcoming version (2.3), which includes a weapon with enchants (so, for example, the zombie can have sharpness 7, knockback 3) and armor with enchants (e.g. diamond with prot 3).
Hi there can we add an option for damage upgrading like the health upgrading so we can use these guys like bosses? possibly spawn the zombies etc with items? Superb plugin btw!!!
@wcgb
Hopefully, the next version will include the source code. Not sure when that could happen. I'll be happy to help in PM.
can i have permissions to look at the source?, i am making a big project, and want to do something with the bat.
please update
@ThisUsernameIsMine
Sure, I'll add that command in the next version. Thanks for the suggestion.
Thanks! :)
edit: Could you add a command for Ops (and or with permission node) to kill the bat instantly? I tried to kill it using WorldEdit's /butcher command but the bat didn't disappear.
Version 2 will include custom bat name, custom kill messages, custom bat health and custom drops. Basically custom stuff...
@eyalzh
Cool what will be in version 2?
Version 2 coming soon...
Nice little plugin, a bit of fun :)
Nice plugin :D