Customization with Minecraft - Allowing Cheats

System Information

Field Value
Operating System Linux - Debian GNU/Linux 12 on x86_64
Product AMP ‘Decadeus’ v2.4.8.0 (Mainline)
Virtualization Docker
Application Minecraft
Module MinecraftModule
Running in Container Yes
Current State Ready

Problem Description

Issue

I am creating a server for my friend and I to play on together. It is modded, and all mods work fine, but it does not allow me any cheat commands. I have tried all the things other than changing the level.dat file, which I could’ve done if it wasn’t in this code form. We just want to be able to change what we need when necessary while still being able to play in survival. I even turned on the fly-hacking while in survival, and we cannot use that either.

Reproduction Steps

  • First I gave myself OP and changed the settings to the gameplay to allow me all permissions. This did not help.
  • Then I opened the server to LAN to see if it would allow me to change the settings via in-game settings. Didn’t work. Tried normal commands and the console commands. This still did not work.
  • Opened the level.dat code but could not translate it because I do not have enough experience. I did not want to further complicate my matters, so I left it alone and opened this ticket.
    Tried changing level.dat file as well. Did not help.

What server type/mod loader?