command tpa [<offlineplayer>]:
trigger:
arg-1 is set:
arg-1 is online:
player's world = arg-1's world:
send "&eIşınlanma isteği gönderildi." to player
send "&6%player% &esana bir ışınlanma isteği gönderdi." to arg-1
send "<tooltip:&e&lTIKLA VE KABUL ET!><run command:tpaccept>&a&lKABUL ET<reset> &eya da <tooltip:&e&lTIKLA VE REDDET!><run command:tpdeny>&c&lREDDET<reset>" to arg-1
set metadata "TPA" of arg-1 to player
else:
send "&c%arg-1% &efarklı dünyada!" to player
else:
send "&c%arg-1% &eçevrim içi değil!" to player
else:
send "&c&lKULLANIM: &e/tpa (oyuncu)"
command tpaccept:
trigger:
metadata "TPA" of player is set:
teleport player to metadata "TPA" of player
delete metadata "TPA" of player
send "&eIşınlandın."
else:
send "&eBir isteğin yok."
command tpdeny:
trigger:
metadata "TPA" of player is set:
send "&c%player% &eışınlanma isteğini reddetti." to metadata "TPA" of player
delete metadata "TPA" of player
send "&eIşınlanma isteği iptal edildi." to player
else:
send "&eBir isteğin yok."