MobCannon
Shoot mobs into the air and watch them explode!
Features:
Lots of mobs to shoot and explode!
Per mob permission.
Configurable power and tool and explode timer!
Easy to use and install.
When mobs explode they don't drop anything!
How to install:
Stop your server.
Drag the jar file in your plugins directory
Start the server.
Stop the server.
Open plugins/MobCannon
Open plugin.yml and set the Power (Default: 2) and Tool (Default: Stick)
Start your server.
Done!
How to Configure:
When you start your server for the first time, this plugin will generate a config.yml.
It will look like this:
time: 2 power: 2 item: stick
The entry time means the time in seconds before the mob explodes after it was shot.
The Entry power means the power the mob will be shot with.
The entry item means the item that will be the mobcannon.
If players join the server their will be automaticly created a new entry for them in the config.yml.
Please dont edit this entry.
Mobs List:
Chicken
Cow
Creeper
Enderman
Pig
Sheep
Silverfish
Skeleton
Slime
Spider
Witch
Wolf
Zombie
Permissions:
mobcannon.use
Players with this permission can shoot pigs (Needed for any mob to work)
mobcannon.use
/mobcannon and all subcommands permission (list them by typing /mobcannon)
mobcannon.[mob]
Per mob permissions
If you find any bugs, please leave a ticket.
If you know ideas for more stuff for this plugin, please comment that idea. I will look at all of them
GitHub:
https://github.com/Wadu436/MobCannon
Note: GitHub will have the latest code on it so the code on github and the code in the jar are not allways the same
@callofsteve
There is
@PaulBGD
Thats possible if they alter the config yeah. Previous time i wanted to spawn stuff i used this way and it worked fine for me, but im gonna look at that for next update
EDIT: Fixed that in next update by adding a runtime check to make sure that they shoot a mob that is supported.
@PaulBGD
Honestly exploding ender crystals sounds awesome :P
ummm... theres no jar file
Looking at your code (I believe), I noticed you get your entity from EntityType. Not all Entities in EntityType are LivingEntities. So players can launch arrows, and exp, ender crystals, etc. Might want to fix that ;)