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:
Features:
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:
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.
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!
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
# 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.