Just so you know, we don't know the file format for every file. If it's just a bunch of random characters, it's probably a .zip or .jar.
command /tp [<text>] [<text>] [<text>]:
permission: rank.mod
permission message: &bPerms>&7This requires Permission Rank &6MODERATOR.
trigger:
if arg-1 is not set:
send "&bTeleport> &7Commands List:"
send "&6/tp <target> &7"
send "&4/tp here <player> &7"
send "&4/tp <player> <target> &7"
send "&4/tp all &7"
else:
if arg-2 is not set:
if arg-1 is set:
if arg-1 is not "all":
if arg-1 is not "here":
if arg-1 parsed as player is online:
teleport player to arg-1 parsed as player's location
set {_t} to arg-1 parsed as player
send "&bTeleport> &7Teleported to &e%{_t}%&7."
stop
else:
send "&bTeleport> &7Locating &e%arg-1%&7..."
wait 5 seconds
send "&bTeleport> &7Could not locate &e%arg-1%&7."
stop
if arg-1 is "all":
if player has permission "rank.owner":
teleport all players to player
send "&bTeleport> &7You teleported &e%amount of players% Players &7to yourself."
broadcast "&bTeleport> &7You teleported to &e%player%&7."
stop
else:
send "&bPerms>&7This requires Permission Rank &3OWNER&7."
stop
if arg-1 is "here":
if player has permission "rank.admin":
if arg-3 is not set:
if arg-2 is set:
if arg-2 parsed as player is online:
teleport arg-2 parsed as player to player's location
send "&bTeleport> &7%player% teleported you to self." to arg-2 parsed as player
set {_t} to arg-2 parsed as player
send "&bTeleport> &7Teleported &e%arg-2% &7to self."
stop
else:
send "&bTeleport> &7Locating &e%arg-2%&7..."
wait 5 seconds
send "&bTeleport> &7Could not locate &e%arg-2%&7."
stop
else:
send "&bPerms>&7This requires Permission Rank &4ADMIN&7."
stop
if arg-2 is not set:
send "&bTeleport> &7Commands List:"
send "&6/tp <target> &7"
send "&4/tp here <player> &7"
send "&4/tp <player> <target> &7"
send "&4/tp all &7"
if arg-3 is not set:
if arg-2 is set:
if player has permission "rank.admin":
if arg-2 parsed as player is online:
if arg-1 parsed as player is online:
teleport arg-1 parsed as player to arg-2 parsed as player
set {_t1} to arg-1 parsed as player
set {_t} to arg-2 parsed as player
send "&bTeleport> &e%{_t1}% &7was teleported to you." to arg-2 parsed as player
send "&bTeleport> &7You were teleported to &e%{_t}%&7." to arg-1 parsed as player
stop
else:
send "&bTeleport> &7Locating &e%arg-1%&7..."
wait 5 seconds
send "&bTeleport> &7Could not locate &e%arg-1%&7."
stop
else:
send "&bTeleport> &7Locating &e%arg-2%&7..."
wait 5 seconds
send "&bTeleport> &7Could not locate &e%arg-2%&7."
stop
else:
send "&bPerms>&7This requires Permission Rank &4ADMIN&7."
stop