TnTBow v1.0.1

TnTBow is an ideal Donator Perk for Factions Servers
Description:
This adds TnTBows to your server. Everything is very customizable.
Ideal as Donator Perk on Factions servers.

I am also very open to ideas/suggestions and I will assist you with any problems you may have with the plugin.

Servers using this plugin:

  • None yet. Be the first!
Message me and I'll add your server to the list if you're using it.

Features:

  • Spawn in TnTBows with commands or other kit plugins.
  • Customizable name and lore of TnTBows.
  • All messages are customizable.
  • Custom fuse time.
  • Craftable with permissions.
  • Optional particle trail.
  • Possibility to excecute commands and send messages when a person crafts a bow.
  • Permissions for every feature.
  • Customizable bow cooldown and permissions to bypass cooldown.

Crafting:
A TnTBow can be crafted if you have the permission "tntbow.craft" with the following recipe

###
#@#
###

# being a TnT.
@ being a bow.
This recipe cannot currently be changed!

Particles:
Option to have particles spawning with tnt shot by the TnTBow.
The only currently supported particle is the Hearts effect.
I plan to add more very soon.

Permissions:
tntbow.spawn - Access to /tntbow (spawns in a TnTBow).
tntbow.craft - Access to craft a TnTBow.
tntbow.use - Be able to shoot TnT using TnTBows.
tntbow.bypasscooldown - Bypass the cooldown of using a TnTBow.
tntbow.dontneedtnt - Do not need TnT to be able to use the bow, even if it is enabled in the config!

Config:
# Name and Lore : Only bows with this Name and Lore can shoot TnT, any other bow show will be normal Arrows. Name and Lore will be set on all bows spawned with /tntbow and any bow crafted with the recipe.
# RequireTNT : If set to true: Require the player to have TNT in their inventory or the shot will be canceled. If set to false: shoot even if they do not have TNT (Please note that, players must always have an arrow in their inventory to be able to use the bow.)
# FuseTime : FuseTime is in ticks! (20 ticks per second), this is how long it takes from when the tnt is shot untill it explodes.
# Cooldown : Cooldown is in miliseconds (1000 miliseconds in a second). This is how the player must wait before using the bow again after a shot. (this can be bypassed with the needed permission)
# Durability : Durability cannot be higher than 385 and not less than 1. 385 = full durability. This only applies to crafted bows. /tntbow will spawn with full durability.

#CONFIG BELOW

TnTBow:
Name: "&4TnT Bow"
Lore: "&cFire with &4TnT!"
RequireTNT: true
FuseTime: 30
Cooldown: 5000
Durability: 385
Crafting:
MessageOnSuccess:
Enabled: true
Message: "&4[&cTNTBOW&4] &4%name% &ccrafted a TnT Bow!"
CommandOnSuccess:
Enabled: false
Command: "bc &c%name% crafted a TnT Bow!"
Messages:
NotAllowedToUseTnTBow: "&cYou're not allowed to use this bow."
CooldownMessage: "&cYou must wait &4%TimeLeft% &cseconds between each shot."
NotAllowedToSpawnTnTBow: "&cYou're not allowed to use this command."
NotAllowedToCraftTnTBow: "&cYou're not allowed to craft this bow."
MissingTNT: "&cYou must have a TNT in your inventory to use this bow."
UseHeartParticles:
OnBowShoot: true


How to install:
1. Drag and drop the plugin into your plugins folder and restart your server.
That's it!

This plugin uses MCStats/Plugin Metrics!
If you're wondering, what is this? Very simple! This plugin gathers the following information > how many servers are using the plugin and how many players are on those servers in total, nothing else!

Leave a rating?
I'd appreciate if you'd leave a rating, good or bad! :)
Please do explain why you like/dislike the plugin and how it could be improved.


PLEASE NOTE:
TNT shot by TnTBows can break item frames, painting and other similar items inside of world guard protected areas, to prevent this, use FrameProtect, this will fix the issue.
I do not intend to add built in fix for this, when there's already a great fix avaible.
EULA: Standard EULA
719 Views
15 Downloads
Jun 17, 2015 Published
Jun 17, 2015 Updated
4.00 star(s)
Average rating (1)
44.1 KB File size
Creator
Owner
Recommended for you
Your all-in-one chat plugin with hoverable chat messages
5.00 star(s) 5 ratings
53 purchases
Prevents your server from crash packet exploits
5.00 star(s) 90 ratings
2,239 purchases
Elite formatting and filtering plugin. Can replace 200+ plugins. High-performance. Folia supported.
5.00 star(s) 107 ratings
2,105 purchases
All-in-one dungeon creator. Create unlimited, timed dungeon experiences with your own builds
4.50 star(s) 58 ratings
1,988 purchases
High Performance | Customizable | Cross-Version | GeyserMC | Folia Support
5.00 star(s) 56 ratings
1,777 purchases
719 Views
15 Downloads
Jun 17, 2015 Published
Jun 17, 2015 Updated
4.00 star(s)
Average rating (1)
44.1 KB File size
Creator
Owner
Recommended for you
Your all-in-one chat plugin with hoverable chat messages
5.00 star(s) 5 ratings
53 purchases
Prevents your server from crash packet exploits
5.00 star(s) 90 ratings
2,239 purchases
Elite formatting and filtering plugin. Can replace 200+ plugins. High-performance. Folia supported.
5.00 star(s) 107 ratings
2,105 purchases
All-in-one dungeon creator. Create unlimited, timed dungeon experiences with your own builds
4.50 star(s) 58 ratings
1,988 purchases
High Performance | Customizable | Cross-Version | GeyserMC | Folia Support
5.00 star(s) 56 ratings
1,777 purchases
Top