1. Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

TPA system

Discussion in 'Skript' started by Cupex, Feb 14, 2021.

Thread Status:
Not open for further replies.
  1. Cupex

    Cupex Member

    Joined:
    Feb 16, 2020
    Messages:
    41
    Likes Received:
    1
    Hey, I have a question to json.
    I want to make a tpa system, so when a player becomes a request the player can choose between Accept and Deny.
    example:
    The player (command sender) wants to teleport to you!
    &8[&aAccept&8] &8[&cDeny&8] <- Clickable
    Do you know how this works?
     
  2. TehCheetah

    TehCheetah Member

    Joined:
    Feb 7, 2021
    Messages:
    49
    Likes Received:
    1
    Hello! You are on the Skript side. Im not sure if I know what you mean here! If you are asking for a skript to be made for you, please Click here!
     
  3. Jakkeren

    Supporter

    Joined:
    Mar 23, 2017
    Messages:
    63
    Likes Received:
    3
    Well it's actually really easy to understand if you know what json messages are.

    A link useful for everyone new to skript: https://forums.skunity.com/threads/json-text-guide-for-newbies.8079/

    This is probably what you're looking for:

    Code (Text):
    1. send "Someone wants to teleport to you. <command:/tpaccept>&a[ACCEPT]<reset> <command:/tpdeny>&c[DENY]<reset>"
    If you're totally unfamiliar with skript, please make a post in Requests, and I'll be happy to help you!
     
  4. Cupex

    Cupex Member

    Joined:
    Feb 16, 2020
    Messages:
    41
    Likes Received:
    1
    What Plugin's do I need for this? Of course Skript it self but which addons?
    --- Double Post Merged, Feb 16, 2021, Original Post Date: Feb 16, 2021 ---
    Everything is okay, i got it Thanks :emoji_slight_smile:
     
Thread Status:
Not open for further replies.

Share This Page

Loading...