After the latest update removing the command exploit to basically be in creative mode in a survival world there are players in my realm that are stuck in creative mode. Other issues I've noticed is that when you die you keep all items and experience. I'm sure there are other gamerules that were changed without my knowing. Is it possible to reset the gamerules without activating cheats and disabling achievements?
Comments 5
Realms doesn't have a setting for a player's personal game mode, so how are you concluding that players are "stuck in creative"? Are they able to enter fly mode by double tapping the space bar?
If you're saying they're stuck because they can execute commands, this is not a creative-mode-only ability. Some commands can be executed by anybody with cheats turned off. If they can execute restricted commands such as /gamerule and /gamemode and cheats are turned off, they may have permissions left over from the exploit. I believe these can be reset by changing their permissions to Visitor in the Members settings, then back to Member or Operator as appropriate.
If gamerules were altered during the exploit, I'm not sure there's an in-game way to set them back to normal. You would need to download the world and use a third-party editor to change the settings in the level.dat branch of the world database, then replace the world on Realms. The simplest way is to activate cheats in the downloaded world, reset the gamerules, and then deactivate cheats again. You would then only need the third-party editor to change the "hasBeenLoadedInCreative" key back to 0. (This used to re-enable achievements, but I haven't tried it in a long time so caveat emptor.) Note: Mojang does not support or endorse modifying worlds with a third-party editor! This is at your own risk!
Thank you for your response. I know the player is stuck in creative mode because they told they are. Yes they can fly around and have unlimited inventory. I've tried changing them to visitor/member/operator and nothing seems to work. I can take a look at using a world editor. If it all possible I would like to keep achievements on as this is my primary world I play in.
For technical questions please visit Community Support