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.

Detect Minecraft Version

Discussion in 'Skript' started by Jay_2004, Dec 28, 2018.

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

    Jay_2004 Member

    Joined:
    Feb 21, 2017
    Messages:
    13
    Likes Received:
    1
    This is probably impossible but I'll ask anyways.
    Is there a way to detect the player's client version that they're using? I want to allow only 1.13.2 players into a survival world but to do that I need to check what version that player's client is using. My server allows people with versions 1.8x - 1.13x.

    Thanks.
    --- Double Post Merged, Dec 28, 2018, Original Post Date: Dec 28, 2018 ---
    I figured it out but ViaVersion sets your minecraft version to the server version so Skript picks that up instead of the client version. If anyone has a work around that'll be great :emoji_slight_smile:
     

    Attached Files:

  2. Lego_freak1999

    Lego_freak1999 Well-Known Member

    Joined:
    Jan 26, 2017
    Messages:
    657
    Likes Received:
    42
    There is not a effective 100% sollid way of detecting this. Only thing you properly can do is wenn people join with the wrong version send them back to the lobby. Can be configured in bungee i believe
     
Thread Status:
Not open for further replies.
Loading...