mojira.dev
MC-279096

Cheats Can Be Enabled in Hardcore/Survival (With Cheats Off) by Opening to LAN

In Hardcore mode and Survival mode with cheats disabled, players can bypass the no-cheats setting by opening the world to LAN and enabling commands. This undermines the intended gameplay experience, especially in Hardcore mode, where the challenge is to survive without cheating, and in Survival mode, where cheats are intentionally turned off. Furthermore, the "Allow Cheats/Commands" option should not be available when opening to LAN in Hardcore or Survival modes with cheats off. Additionally, opening to LAN should maintain the current game mode (e.g., Hardcore or Survival) without allowing changes.

Steps to Reproduce:

  • Create a Hardcore or Survival world with cheats disabled.

  • Pause the game and select "Open to LAN."

  • Enable cheats in the LAN settings.

  • Use commands (e.g., /gamemode creative or /give) that break the intended gameplay rules.

Expected Behavior:

    • The "Allow Cheats/Commands" option should not be available when opening to LAN in Hardcore or Survival (with cheats off).

    • Opening to LAN should maintain the current game mode (e.g., Hardcore remains Hardcore; Survival remains Survival).

    • Commands should not be accessible in LAN mode unless cheats were originally enabled when creating the world.

Impact:

      • This loophole undermines the intended difficulty and challenge of Hardcore mode.

      • It also affects Survival mode, where cheats are deliberately turned off by the player for a more authentic experience.

      • Allowing changes to cheats and game modes via LAN contradicts the intended restrictions of these modes.

Related issues

Comments

BugTracker

This works as intended, please see MC-134

Arisa Bot

Thank you for your report!
We're tracking this issue in MC-134, so this ticket is being resolved and linked as a duplicate.

If you would like to add a vote and any extra information to the main ticket it would be appreciated.

If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
-- I am a bot. This action was performed automatically! The ticket was resolved by one of our moderators, and I left this message to give more information to you.

THoa

I agree with this opinion

Hendrex

(Unassigned)

Unconfirmed

(Unassigned)

1.21.4

Retrieved