Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-227566

Hardcore mode does not work properly on servers (allows players to respawn) if force-gamemode is set to true

    XMLWordPrintable

Details

    • Bug
    • Status: Open
    • Resolution: Unresolved
    • 1.16.5, 1.17 Release Candidate 1
    • None
    • None
    • Server: FreeBSD 13-RELEASE
      Java version: OpenJDK 16
      Client: Windows 10
      Default Minecraft Launcher
    • Confirmed
    • Dedicated Server

    Description

      On a Hardcore server, if force-gamemode in server.properties is true, players who have died and spectate the world will be revived after they join the server again.

      To reproduce

      1. Start a server with the following settings in server.properties:
        hardcore=true
        force-gamemode=true
        
      2. Join the server
      3. Die
      4. Click "Spectate World"
      5. Leave the server and join it again
        You're back in Survival / Hardcore mode again

      Video

      https://youtu.be/DIC0TAbnczs

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              AlexC Sandor Fodor
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                CHK: