HomeJavaModsTpa Gui
Tpa Gui
You Can Easily TPA With GUI

Screenshots

[​IMG]

Command And Permissions
Code (Text):
- /tpgui >> tpa.gui
- /tpa >> tpa.use
- /tpaccept >> tpa.accept
- /tpdeny >> tpa.deny
Config And Options
Spoiler: Config and Options
Code (Text):
options:
    Notpa: &cYou have no pending teleport requests !
    Tpa: &7You have a player request% player%, made &c/tpaccept &7or &c/tpdeny&7.
    Tpasendtoplayer: &7Teleport request sent to &c%arg 1% &7!
    Tpasendtoplayer2: &7Teleportation request for &c%player% &7!
    Tpaccept: &7Teleport request accepted !
    Tpacceptteleporting: &7Teleporting...
    Tpdeny: &7Teleport request deny !
    Noperms: &cYou don't have permission.
    Tpoteleporting: &7Teleporting...
    Tpoplayeradmin: &7Teleportation of &c%arg 1% &7towards &c%arg 2%&7.
    Noplayerconnect: &cThe player is not connected.
    Tpohereteleporting: &7Teleporting...

#                                                                                                      
#                                                                                                      
#                                                                                                  
#                                                                                                      
# █▀▀▄ █▀▀█ █▀▀▄ █ ▀▀█▀▀   █▀▀ █░░█ █▀▀█ █▀▀▄ █▀▀▀ █▀▀   █▀▀█ █▀▀▄ █░░█   █▀▀ █▀▀█ █▀▀▄ █▀▀ ░▀░ █▀▀▀ █
# █░░█ █░░█ █░░█ ░ ░░█░░   █░░ █▀▀█ █▄▄█ █░░█ █░▀█ █▀▀   █▄▄█ █░░█ █▄▄█   █░░ █░░█ █░░█ █▀▀ ▀█▀ █░▀█ █
# ▀▀▀░ ▀▀▀▀ ▀░░▀ ░ ░░▀░░   ▀▀▀ ▀░░▀ ▀░░▀ ▀░░▀ ▀▀▀▀ ▀▀▀   ▀░░▀ ▀░░▀ ▄▄▄█   ▀▀▀ ▀▀▀▀ ▀░░▀ ▀░░ ▀▀▀ ▀▀▀▀ ▄
#                                                                                                      
#                                                                                                      
#                                                                                                      
#                                                                                                      

command /tpgui:
    description: Opens a GUI that allows a mod to select the player they wish to teleport to
    permission: tpa.gui
    trigger:
        open virtual chest with 3 rows named "TPA Gui" to player
        set {_slot} to 0
        loop all players:
            if loop-value is player:
                format gui slot {_slot} of player with loop-value's skull to close then run player command "/tpa %player%"
                add 1 to {_slot}

command /tpa [<offline player>]:
    permission: tpa.use
    executable by: players
    permission message: {@Noperms}
    trigger:
        if arg 1 is online:
            set {tpa.%arg%} to player
            send "{@Tpasendtoplayer}"  to player
            send "{@Tpasendtoplayer2}" to arg 1
            send "{@Tpa}" to arg 1
            stop
        if arg 1 is offline:
            send "{@Noplayerconnect}" to player
            stop  
        if arg 1 is not set:
            send "&cError &6>> &f/tpa [player]" to player
            stop

command /tpaccept:
    permission: tpa.tpdeny
    executable by: players
    permission message: {@Noperms}
    aliases: tpyes
    trigger:
        if {tpa.%player%} is set:
            send "{@Tpaccept}" to player
            send "{@Tpaccept}" to {tpa.%player%}
            send "{@Tpacceptteleporting}" to {tpa.%player%}
            teleport {tpa.%player%} to player
            wait 1 tick
            delete {tpa.%player%}
            stop
        else:
            send "{@Notpa}" to player
            stop

command /tpdeny:
    permission: tpa.tpdeny
    executable by: players
    permission message: {@Noperms}
    aliases: tpno
    trigger:
        if {tpa.%player%} is set:
            send "{@Tpdeny}" to player
            send "{@Tpdeny}" to {tpa.%player%}
            delete {tpa.%player%}
            stop
        else:
            send "{@Notpa}" to player
            stop
 
Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Tpa Gui is a free Minecraft Java mod. Compatible with Minecraft 1.12, 1.13. Downloaded 776 times (via Spigot). Download it and open it directly in the game.

Explore more