Home›Java›Mods›core Skript
ModsJava

core Skript

Code (Text): command /tpa <player>: trigger: if arg-1 is set: if arg-1 is not player: if arg-1 is online: set {request.%arg-1%} to player send "{@logo}…

⬇ Download on Spigot
Code (Text):
command /tpa <player>:
    trigger:
        if arg-1 is set:
            if arg-1 is not player:
                if arg-1 is online:
                    set {request.%arg-1%} to player
                    send "{@logo} &7request send to &b%arg-1%&r. " to player
                    send "{@logo} &b%player% &7wants to teleport to your position. " to arg-1
                    message "<tooltip:&aAccept Request><command:/tpyes>&aAccept <reset>or<reset> <tooltip:&cDeny request><command:/tpdeny>&cDeny" to arg-1
                    set {requestpending.%arg-1%} to true
                else:
                    send "{@logo} The player you have selected is not online"
            else:
                send "{@logo} You can't teleport to yourself"
        else:
            send "{@logo} Please select a player"
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.

core Skript is a free Minecraft Java mod. Compatible with Minecraft 1.7, 1.8, 1.9, 1.10 and newer. Downloaded 34 times (via Spigot). Download it and open it directly in the game.

Explore more