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.

Solved Player ping

Discussion in 'Skript' started by Riknesh, Aug 27, 2019.

Tags:
Thread Status:
Not open for further replies.
  1. Riknesh

    Riknesh Active Member

    Joined:
    Jun 9, 2017
    Messages:
    76
    Likes Received:
    2
    Im using script v2.4-beta 5 on Minecraft 1.14.4 server.

    Which addon/expression should I use to check my ping?
    "%player's ping doesn't seem to work%"
     
  2. aescraft

    aescraft Well-Known Member

    Joined:
    Mar 1, 2017
    Messages:
    295
    Likes Received:
    13
    https://docs.skunity.com/syntax/search/ping

    Pings of players, as Minecraft server knows them. Note that they will almost certainly be different from the ones you'd get from using ICMP echo requests. This expression is only supported on some server software (PaperSpigot).

    Are you using paper?
     
  3. Riknesh

    Riknesh Active Member

    Joined:
    Jun 9, 2017
    Messages:
    76
    Likes Received:
    2
    nope...just normal spigot
    there's no way to get the player's ping in spigot?
     
  4. aescraft

    aescraft Well-Known Member

    Joined:
    Mar 1, 2017
    Messages:
    295
    Likes Received:
    13
    Yes, by using paper-spigot.
     
  5. malia

    malia Well-Known Member

    Joined:
    Jul 24, 2019
    Messages:
    314
    Likes Received:
    21
    Code (Skript):
    1. command /ping:
    2.     trigger:
    3.         send "%player's ping%" to player
     
  6. Riknesh

    Riknesh Active Member

    Joined:
    Jun 9, 2017
    Messages:
    76
    Likes Received:
    2
    i changed from spigot to paper..it works now
    thx anyway
     
Thread Status:
Not open for further replies.

Share This Page

Loading...