TeleportBowPlus is a plugin that adds "Teleport Bows" to your server.
This allows players to shoot an arrow with a Teleport Bow and then get teleported to where the arrow lands. A simple feature, but fun! Could be used in many cases, but most likely in a hub/lobby.
- Choose between two different teleportation modes (LATEST/ALL)
- Spawn particles when players get teleported after an arrow that was shot from a Teleport Bow lands. (Can be turned off)
- Play a sound when players get teleported after an arrow that was shot from a Teleport Bow lands. (Can be turned off)
- Spawn particle trails behind arrows shot from Teleport Bows (Can be turned off).
- Configurable bow/arrow names, lores and glow.
- Configure if players with the right permissions should recieve a Teleport Bow and/or an arrow when they connect to the server.
- Blacklist worlds where Teleport Bows should not work.
- Configurable messages.
tbp.bowonjoin - Players with this permission node will recieve a Teleport Bow when they connect to the server.
tbp.arrowonjoin - Players with this permission node will recieve an arrow when they connect to the server.
/tbp (tbp.command) - Players with this permission node will be able to use the base command (/tbp)
/tbp give <player> (tbp.command.give) - Gives a player a Teleport Bow
/tbp reload (tbp.command.reload) - Reloads config.yml and messages.yml
tbp.movebow - Allows players to bypass denial of moving around Teleport Bows in their inventory.
tbp.dropbow - Allows players to bypass denial of dropping Teleport Bows.
tbp.movearrow - Allows players to bypass denial of moving around arrows used for Teleport Bows in their inventory.
tbp.droparrow - Allows players to bypass denial of dropping arrows used for Teleport Bows.
config.yml:
Code (YAML):
#
#If you have any questions, problems, or suggestions please add me on Discord (Scarmo#6191) and send me a message.
#Configuration begins below.
#
#Here you can specify in which worlds the teleport bow should not work.
blacklisted-worlds
:
-
"blacklistedworld1"
-
"blacklistedworld2"
#If the player shoots multiple arrows before any of them has landed, you can choose if they get teleported to
#all of them one after one, or if they only get teleported to the latest arrow they have shot.
#LATEST = Only teleport to the latest arrow shot.
#ALL = Teleport to all the arrows shot, one after one.
teleport-to
: LATEST
#Different options for sound
teleport-sound
:
#Do you a sound to play when a player gets teleported to the arrow location? true/false
enabled
: false
#What type of particle should be used? NOTE: This is different for every version. You will have to find the sound name yourself.
sound
: ENTITY_ENDERMAN_TELEPORT
#Different options for particles
teleport-particle
:
#Do you want particles to spawn when a player gets teleported to the arrow location? true/false
enabled
: true
#What type of particle should be used? NOTE: This is different for every version. You will have to find the particle name yourself.
particle
: SPELL_WITCH
#Options for the Teleport Bow item
bow:
on-join
:
#Do you want to give players a Teleport Bow when they connect to the server? true/false
give
: true
#In what slot should the Teleport Bow be given? NOTE: Slots start from 0. Slot 1 in the inventory = Slot 0 in the config.
inventory-slot
: 0
#Do you want to deny players from dropping the bow?
#Bypass permission: tbp.dropbow
deny-drop
: true
#Do you want to deny players from moving the bow around in their inventory?
#Bypass permission: tbp.movebow
deny-move
: true
#What should the name of the Teleport Bow item be? Set to "" for no name.
display-name
:
"&dTeleport Bow"
#What should the lore of the Teleport Bow item be? Set to [] for no lore.
lore
:
-
""
-
"&7Shoot an arrow with this bow and get"
-
"&7teleported to where it lands!"
-
""
#Should the Teleport Bow have an enchanted glow to it? true/false
glowing
: true
#Should the bow have the "Infinity" enchantment applied? true/false
infinity
: true
#Should the bow never lose durability?
unbreakable
: true
#Options for the arrow item
arrow:
on-join
:
#Do you want to give players an arrow for the Teleport Bow when they connect to the server? true/false
give
: true
#In what slot should the arrow be given? NOTE: Slots start from 0. Slot 1 in the inventory = Slot 0 in the config.
inventory-slot
: 9
#How many arrows would you like to give?
amount
: 1
#Do you want to deny players from dropping the arrow/arrows?
#Bypass permission: tbp.droparrow
deny-drop
: true
#Do you want to deny players from moving the bow around in their inventory?
#Bypass permission: tbp.movebow
deny-move
: true
#What should the name of the arrow item be? Set to "" for no name.
display-name
:
"&dArrow"
#What should the lore of the arrow item be? Set to [] for no lore.
lore
:
-
""
-
"&7An arrow used for the Teleport Bow."
-
""
#Should the arrow have an enchanted glow to it? true/false
glowing
: false
#Should arrows shot from Teleport Bows despawn when hitting the ground?
despawn
: true
particle-trail
:
#Do you want to send a trail of particles after arrows shot from a Teleport Bow?
enabled
: true
#What type of particle should be used?
particle
: SPELL_WITCH
#How often should particles be displayed? In ticks. (20 ticks = 1 second)
interval
: 1
messages.yml:
(Any message can be removed, just set the message you want to remove to "")
Code (YAML):
prefix
: '&8
[&dTBP&8
] '
no-permission
: '&cAccess denied.'
receive-bow
: '&7You have been given a &eTeleport Bow&7.'
give-bow
: '&7You have given &e
%player% &7a &eTeleport Bow&7.'
reload
: '&7All files have been reloaded.'
invalid-player
: '&cCould not find the player ''
%argument%''.'