About plugin: Teleportbow is a lightweight plugin that adds a teleportation bow that you can get by using command /givebow (name). The bow will teleport you wherever the arrow lands.
Commands: (permission node - teleportbow.reload) /tpbow reload - reloads the configurations. (permission node - teleportbow.givebow) /givebow (player) - gives the teleportation bow to a player. (permission node - teleportbow.givearrow) /givearrow (player) - gives teleportation arrow to a player.
The plugin is highly configurable.
Code (YAML):
# Set messages to "" to disable. reload_message: "&eTeleportBow &ahas been successfully reloaded." message: "&dMagic!"# message displayed after teleportation. permission_deny_message: "&c(!) You do not have permission." bow_name: "&6Teleportation Bow" bow_lore: "&eDo not shoot creepers!" arrow_name: "&dTeleportation Arrow" arrow_lore: "&eUse these arrows for teleportation."
#get available sound effects from: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html sound_effect: ENTITY_BLAZE_SHOOT
#get available particles from: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Particle.html particles: DRAGON_BREATH
# set it to: bow, arrow or both # bow - for teleportation it will require you to have only teleportation bow # arrow - for teleportation it will require you to have only teleportation arrow # both - for teleportation it will require you to have both, teleportation bow and arrow. requirements_for_tp: both
# set it to: block or arrow # block - it will teleport you exactly on that block where the arrow lands # arrow - it will teleport you to the arrow location. teleportation_method: block
# set it to: true or false # true - allow players to spam the bow. # false - You won't be able to shoot again until the arrow lands. allow_bow_spam: false
#get available sound effects from: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html deny_sound: ENTITY_VILLAGER_NO
# this is an action bar message. spam_message: "&cSpamming the bow is not allowed!" # set the bow enchantment level # set it to 0 to disable. Unbreaking_level: 0
Punch_level: 0
Power_level: 0
Mending_level: 0
Infinity_level: 1
Flame_level: 0
Curse_of_Vanishing_level: 0
Warning: If players change anything on the bow (name, enchantments, etc.) the bow will lose its function.
The plugin supports MC 1.16 - 1.19 versions.
How to Install: 1. Click the download button, which will download a jar file. Now put the file inside the plugins folder on your server. 2. Restart the server. 3. Get the bow with /givebow and try it yourself. If it's working you have successfully installed the plugin.