ThrowableTNT allows players to throw TNT at anything they please!
Simply hold a flint & steel in your main hand and TNT in your off hand and punch the air!
Why ThrowableTNT?.
It's simple.ThrowableTNT works perfectly out of the box with no configuration if you so choose!
It integrates well into normal gameplay. ThrowableTNT doesn't use any clunky commands or fancy custom items! It just works with normal minecraft items!
Easy Support.I'm reachable on discord @Kerm#9999
Future Updates. I'll keep ThrowableTNT up to date with future versions and add new features!
How it works
Whenever a player punches the air ThrowableTNT checks if the items in their main hand and off hand.
If the item in the main hand is flint & steel and the item in the off hand is tnt a primed tnt is spawned with a set velocity.
One TNT is removed from the off hand and decrements the durability of the flint & steel in your main hand.
Installation
Stop the server and add ThrowableTNT.jar to your plugins directory
Restart the server
Modify the config.yml to your liking
Run /throwabletnt reload or restart the server to apply your changes
Command(s)
/ throwabletnt reload
Permission(s)
throwabletnt.reload - permission to run the plugin's reload command
Configuration
ThrowableTNT has a super simple simple configuration file, which can be found here.
Default Config:
Code (Text):
##velocity to apply to tnt when it is thrown[/SIZE][/LEFT]
[SIZE=4][LEFT]TNT_Velocity: 0.75
##Amount of tnt to take from the player
TNT_Cost: 1
##Amount of durability to take from the flint and steel
Durability_Cost: 1
P.S.
If you need support don't hesitate to contact me on discord @Kerm#9999
If you found this plugin fun or interesting I would greatly appreciate a review!