TpaDeluxe [1.2.5] - Fixed /tpahere bug and added protection
Changes: ● Fixed a bug in /tpahere for a message.
●A protection option has been added for the teleported player to avoid /tpaKill or other things and this protection will protect you from other players, fire damage or drops or entities. This protection works for /tpa and /tpahere.
Code (Text):
#This option allows players to obtain protection for a few seconds after teleporting.
PlayerProtection:
#Here you can activate it and the seconds the player will have protection.
Enable: false
Seconds: 60
#Here you choose the worlds in which the protection will be activated.
Worlds:
- "world"
#Here it is decided whether a permit is required for protection or all players will have protection against damage.
Permission:
#By default it is false, and all players will have protection against damage.
#tpadeluxe.protection
Enable: false
#Here you can specify what you want to protect the player against.
#All protections are enabled by default.
#[FIRE] the player will be protected if the player is in contact with fire or lava.
Fire: true
#[ENTITY] the player will be protected from all entities except players, this also protects from damage potions.
Entity: true
#[PVP] the player will be protected from another player if he tries to attack him.
Pvp: true
#[FALL] the player will be protected if he falls from a great height.
Fall: true
#[DROWNING] the player will be protected if he drowns.
Drowning: true
Code (Text):
# %TimeProtection% >> Player protection time.
#============================================
#| Protection for the teleported player |
#============================================
PlayerProtection:
#When the player once teleported, this message will be displayed telling the player
#that he has protection for a few seconds.
StartProtection:
- "&b❖&9========&f&l【&6TpaDeluxe&f&l】&9=========&b❖"
- " &fYou have &e%TimeProtection% &fseconds of protection"
- "&b❖&9========================&b❖"
#When the protection ends, this message will appear indicating to the player that he no longer has protection.
EndProtection:
- "&b❖&9========&f&l【&6TpaDeluxe&f&l】&9=========&b❖"
- " &fYou no longer have protection"
- "&b❖&9========================&b❖"