I host my own Minecraft server and have online-mode set to false in serer.properties.

Now, I want others to join but I don’t expect them to buy a legitimate copy of Minecraft. Isn’t that why we use this setting online-mode?

In the ol’ days (1.8 and post), I remember using some copy of Minecraft where I could just change my username on every start of this client, and join my server. Period. Done. I want the same again. Is this possible? In a non-illegal way? What about grey-area? I don’t care about security or impersonation (partly).

  • Frisk@woof.tech
    link
    fedilink
    arrow-up
    17
    ·
    5 months ago

    @dysprosium Pretty sure online-mode=false doesn’t prevent players with purchased copies of Minecraft from joining the server, they will just have different UUID which means their inventories will be separate from when server is in online-mode=true, did you try joining an offline mode server with your legitimate copy of Minecraft?

    • dysprosium@lemmy.dbzer0.comOP
      link
      fedilink
      English
      arrow-up
      6
      ·
      edit-2
      5 months ago

      Yea I just did that before posting. Joined with my legitimate copy on my offline mode srv. The inventories are indeed different, and/or they reset.

      It’s np if some players have legitimate accounts. I want to allow both kinds. The loss of the skin is unfortunate with offline mode, though.

      • Azzu@lemm.ee
        link
        fedilink
        English
        arrow-up
        6
        ·
        5 months ago

        I don’t understand, what are you asking then? Everything seems to work?

        • dysprosium@lemmy.dbzer0.comOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          5 months ago

          As I said in the post title (which I should make more clear), I want friends that don’t have a bought account to join my server that has online-mode=false. Is this possible? Or another way they can join without an account.

        • Lucy :3
          link
          fedilink
          English
          arrow-up
          1
          ·
          5 months ago

          Didn’t you read the post, did OP change it fully or am I hallucinating? They’re asking how someone without an MC account can get and launch the game. All normal launchers require at least one legit account to log in and download the game.
          You’d need a cheating client with a launcher, which usually allows you to use unauthenticated accounts. As that’s pretty weird, they’re asking for some other alternative.

          • Azzu@lemm.ee
            link
            fedilink
            English
            arrow-up
            6
            ·
            5 months ago

            Ok, it seems like he’s asking how someone can play on the server non-illegally without getting a copy of the game, which just seemed incredibly weird to me because of course that’s impossible.

            Either you buy a copy or you get a client illegally.

            • dysprosium@lemmy.dbzer0.comOP
              link
              fedilink
              English
              arrow-up
              2
              ·
              5 months ago

              Maybe not, I think. If third party launchers are legal, and one of these supports offline playing, then it can be used for all online-mode=false servers. But this requires one initial login from a legitimate account. This means you have to give your password to whomever wants to join your server.

              • Azzu@lemm.ee
                link
                fedilink
                English
                arrow-up
                1
                ·
                5 months ago

                Third party launchers that do not check for an official account are certainly not legal. Just do piracy, it’s completely fine.

    • derpgon@programming.dev
      link
      fedilink
      English
      arrow-up
      2
      ·
      5 months ago

      Just adding to this, this is because when online mode is enabled, the UUID is given to the server from the Minecraft authentication server. When it is disabled, the UUID is generated from the username.

  • cally [he/they]@pawb.social
    link
    fedilink
    English
    arrow-up
    6
    ·
    5 months ago

    Is there a way to legally obtain a copy of Minecraft to join “offline” servers with?

    Yes! If you already have a legal copy of the game (one that you paid for), Prism Launcher allows you to use an offline account (usually used for singleplayer when your internet is down), which lets you use any username. This is probably a feature in other launchers too.

    I host my own Minecraft server and have online-mode set to false in serer.properties.

    You can set it to true and use EasyAuth to allow offline players to join. This means online players get online UUIDs, and offline players have to log-in using commands and are given an offline UUID. You can also set up a global password, if you trust players won’t log-in as someone else.

    There’s also EasyWhitelist for a name-based whitelist (by default I think whitelists are UUID-based, which probably don’t work with offline players).

    • dysprosium@lemmy.dbzer0.comOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      5 months ago

      I see. EasyAuth seems a very nice idea. I’m not too acquainted with mc mods, however. I planned on researching how to host the Valkyrien Skies mod. Do you know if it’s possible and straightforward to have have these two mods work in unison? (I host the mc srv on Ubuntu Server 23.)

      • cally [he/they]@pawb.social
        link
        fedilink
        English
        arrow-up
        1
        ·
        5 months ago

        Sorry for the late response. I don’t think the mods should be conflicting, just put them both in the mods folder and see if that works. IIRC Valkyrien Skies is required on both the client and the server.

        • dysprosium@lemmy.dbzer0.comOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          5 months ago

          I see, thanks. Now I must hope a legal-gray-area offline launcher supports mods, too.

          You make it sound easy of installing the mods by just putting them in the mods folder. I hope it’s also as straightforward if I don’t have a GUI.

  • p5yk0t1km1r4ge@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    3
    ·
    5 months ago

    There sure is friend!

    Step one: ???

    Step two: ??? ?? ???

    Step three: enjoy your legally acquired copy of Minecraft to join off-line servers with!