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 our 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 Check online players ON A BUNGEECORD NETWORK

Discussion in 'Skript' started by Simon942, Dec 13, 2018.

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

    Simon942 Well-Known Member

    Joined:
    Sep 22, 2018
    Messages:
    46
    Likes Received:
    1
    Hi there!

    I'm a noob to doing skript.
    Can one of you guys help me with this issue; Check online player count for other servers connected to my BungeeCord network.

    The skript may be used for a Scoreboard skript to the lobby :emoji_slight_smile:
    Example:
    - Kitpvp: 10 online
    - Kitpvp (playercount) online

    Best regards Simon.
     
  2. TPGamesNL

    TPGamesNL Well-Known Member

    Joined:
    Jan 20, 2018
    Messages:
    1,311
    Likes Received:
    73
    Medals:
  3. Simon942

    Simon942 Well-Known Member

    Joined:
    Sep 22, 2018
    Messages:
    46
    Likes Received:
    1
    Yes i have :emoji_slight_smile:
    I installed it yesterday. But how it works... i don't even know.
    Can you help?
     
  4. TPGamesNL

    TPGamesNL Well-Known Member

    Joined:
    Jan 20, 2018
    Messages:
    1,311
    Likes Received:
    73
    Medals:
  5. Simon942

    Simon942 Well-Known Member

    Joined:
    Sep 22, 2018
    Messages:
    46
    Likes Received:
    1
    Thank you!
    I don't understand this Skript language.
    Can you maybe give me an example, if we say my server name on the BungeeCord is named: Kitpvp?
    I think: [(all [[of] the]|the)] players (on|of|from) [the] bungee[[ ]cord] [server] %Kitpvp%
    or am i wrong? :emoji_slight_smile:
     
  6. TPGamesNL

    TPGamesNL Well-Known Member

    Joined:
    Jan 20, 2018
    Messages:
    1,311
    Likes Received:
    73
    Medals:
    In syntax, the %% indicate a type, so %string% means you have to input a string at that place. A string in Skript can be written with "hello" or something like that (just " then the text and then another ")
     
  7. Simon942

    Simon942 Well-Known Member

    Joined:
    Sep 22, 2018
    Messages:
    46
    Likes Received:
    1
    Sorry, i don't understand.
    Is it possible that you can help me with it?
    I just need the code for example:
    Kitpvp: "10" online

    Also the code for the player count.
     
  8. TPGamesNL

    TPGamesNL Well-Known Member

    Joined:
    Jan 20, 2018
    Messages:
    1,311
    Likes Received:
    73
    Medals:
    Will this help you:
    Code (Skript):
    1. set {_size} to size of bungee players on "Kitpvp"
    2. message "Kitpvp: %{_size}% online"
     
    • Friendly Friendly x 1
  9. Simon942

    Simon942 Well-Known Member

    Joined:
    Sep 22, 2018
    Messages:
    46
    Likes Received:
    1
    Omg! Thank you so much!
    That worked perfectly :emoji_slight_smile:)))
     
    • Friendly Friendly x 2
Thread Status:
Not open for further replies.
Loading...