TpaDeluxe [1.2.6] - Optimization and addition of new messages
Changes: ● Optimized the plugin code ● New messages for players have been added, and it has been added that you can teleport a player to another player with the command /tp <player 1> <player 2> and also teleport a player to some coordinates with the command /tpcoords <player> <X> <Y> <Z>.
Code (Text):
#This message is for the player to see which player has been teleported to.
TpaMessage-Send:
- "&f&l【&6Tpadeluxe&f&l】 &a>> &fYou were teleported to the player &e%ReceivePlayer%"
#This message is for the player to see which player has been teleported to his location.
TpaMessage-receive:
- "&f&l【&6Tpadeluxe&f&l】 &a>> &fThe player &e%ReceivePlayer% &fhas been teleported to your location"
#This message is for the player to see which player has been teleported to his location.
TpahereMessage-Send:
- "&f&l【&6Tpadeluxe&f&l】 &a>> &fThe player &e%ReceivePlayer% &fwas teleported to your location"
#This message is for the player to see which player has been teleported to.
TpahereMessage-receive:
- "&f&l【&6Tpadeluxe&f&l】 &a>> &fYou have been teleported to player &e%SendPlayer% &flocation"
#Messages that may appear if the /tpa <player 1> <player 2> command is misused.
TpErrorplayerOne: "&cThe first player is not valid."
TpErrorplayerTwo: "&cThe second player is not valid."
TpSameplayer: "&cThe first player name is the same as the second player name."
TpSuccess: "&aThe player &e%SendPlayer% &awas teleported to &e%ReceivePlayer%"