itzg / itzg/docker-minecraft-bedrock-server

ALLOW_CHEATS seems not working

Open
#292 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
1.9k
Forks
303
Avg merge
2h 26m
Merged PRs (30d)
2

Description

Hi,

I have pulled latest version and published on docker.
What I have seen is that inserting the ENV tag ALLOW_CHEATS seems does not take any effect (minecraft bedrock 1.19.51.01)
On chat cheats are not working.

Here's the log file:

Looking up latest version...
Downloading Bedrock server version 1.19.51.01 ...
2023/01/14 17:52:17 Setting server-name to terrapromessa in server.properties
2023/01/14 17:52:17 Setting difficulty to normal in server.properties
2023/01/14 17:52:17 Setting allow-cheats to true in server.properties
Starting Bedrock server...
NO LOG FILE! - setting up server logging...
[2023-01-14 17:52:17:136 INFO] Starting Server
[2023-01-14 17:52:17:136 INFO] Version 1.19.51.01
[2023-01-14 17:52:17:136 INFO] Session ID 568f99f2-89a9-4bf4-89b9-df86a84551a4
[2023-01-14 17:52:17:136 INFO] Level Name: Bedrock level
[2023-01-14 17:52:17:137 INFO] Game mode: 0 Survival
[2023-01-14 17:52:17:137 INFO] Difficulty: 2 NORMAL
[2023-01-14 17:52:17:190 INFO] opening worlds/Bedrock level/db
[2023-01-14 17:52:17:729 INFO] IPv4 supported, port: 19132: Used for gameplay and LAN discovery
[2023-01-14 17:52:17:729 INFO] IPv6 not supported
[2023-01-14 17:52:18:958 INFO] Server started.
[2023-01-14 17:52:18:008 INFO] ================ TELEMETRY MESSAGE ===================
[2023-01-14 17:52:18:008 INFO] Server Telemetry is currently not enabled.
[2023-01-14 17:52:18:008 INFO] Enabling this telemetry helps us improve the game.
[2023-01-14 17:52:18:008 INFO]
[2023-01-14 17:52:18:008 INFO] To enable this feature, add the line 'emit-server-telemetry=true'
[2023-01-14 17:52:18:008 INFO] to the server.properties file in the handheld/src-server directory
[2023-01-14 17:52:18:008 INFO] ======================================================
[2023-01-14 17:52:59:859 INFO] Player connected: xxxxxxxxx, xuid: 2535473159629268
[2023-01-14 17:53:03:863 INFO] Player Spawned: xxxxxxxxxxuid: 2535473159629268

Did I miss something?
Many thanks
Alberto

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue with the ALLOW_CHEATS environment variable and inspect the generated server.properties alongside the startup log. Check how the Docker image maps that variable to allow-cheats for Bedrock 1.19.51.01. Done means the setting is applied and cheats work in chat, with a regression check if the repository provides one.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, shell
Domain
devops, infrastructure
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.