Mojira Archive
BDS-5191

Server ignores gamemode after world gen

What I expected to happen?

When changing the gamemode property, new players would join with that gamemode.

What actually happens?

Players join with the gamemode set at world generation regardless of changes to server.properties afterwards and in contradiction to the gamemode displayed in the console.

Steps to reproduce

  1. Create a new BDS Server with default server.properties file
  2. Start the server, wait for it to finish initial start, and stop the server gracefully
  3. Change the gamemode value to creative
  4. Start the BDS instance again
  5. Connect with a Minecraft client and note that your gamemode is survival despite the default level being changed to creative.

Environment

Windows 10 client, Ubuntu server

Linked Issues

Comments6

The server reads certain values once on creation. I believe there is an existing report for this but dont have the time to search right now.

As a workaround you can change that player to creative using console commands.

Restricted to staff

MEQS_DUPE

IonicEcko: Sounds good. If I fix that user, will all new users be creative? Or if I want a creative server, I should redo the install?

I think I understand better now.  When the user first logs in, the client sets a bunch of properties for the user based on the server.properties.  So future users will see "creative" and be okay.  If what I'm saying is not wrong, this ticket should be closed and possibly marked as "solved by" the existing report you refer to.  Thanks!

Have updated the report and confirmed it.

this appears to have been resolved in 1.19.2

 

History11

IonicEcko

Changed summary:

gamemode=creative in server.properties being ignored Server ignores gamemode after world gen

IonicEcko

Changed description:

What I expected to happen?

0

When changing the gamemode, new players would join with those permissions

0

What actually happens?
0Players join with the default-player-permission-level set at world generation regardless of changes to server.properties afterwards.

0

Steps to reproduce

0
    0
  1. Create a new BDS Server with default server.properties file
  2. 0
  3. Start the server, wait for it to finish initial start, and stop the server gracefully
  4. 0
  5. Change the default-player-permission-level value to visitor
  6. 0
  7. Start the BDS instance again
  8. 0
  9. Connect with a Minecraft client and note that your permissions are set to member despite the default level being changed to visitor.
  10. 0
0

Server version: 1.14.60.5 running on Ubuntu 20.04 LTS (GNU/Linux 5.4.0-29-generic x86_64)

0

Client version: Windows 10 (latest? I don't know how to check minecraft client version)

0

server.properties has two changes from the default:

0
    0
  • gamemode=creative
  • 0
  • allow-cheats=true
  • 0
0

screen -r $SERVERNAME:
0 NO LOG FILE! - setting up server logging...
0[2020-05-09 04:00:55 INFO] Starting Server
0[2020-05-09 04:00:55 INFO] Version 1.14.60.5
0[2020-05-09 04:00:55 INFO] Session ID df239b72-f63e-483c-8610-0af9f28695e2
0[2020-05-09 04:00:55 INFO] Level Name: Bedrock level
0[2020-05-09 04:00:55 INFO] Game mode: 1 Creative
0[2020-05-09 04:00:55 INFO] Difficulty: 1 EASY
0[2020-05-09 04:00:56 INFO] opening worlds/Bedrock level/db
0[2020-05-09 04:01:05 INFO] IPv4 supported, port: .....
0[2020-05-09 04:01:05 INFO] IPv6 supported, port: .....
0[2020-05-09 04:01:05 INFO] IPv4 supported, port: ....
0[2020-05-09 04:01:05 INFO] IPv6 supported, port: ....
0[2020-05-09 04:01:11 INFO] Server started.
0[2020-05-09 18:19:19 INFO] Player connected: $PLAYERNAME, xuid: ....
0[2020-05-09 18:21:35 INFO] Player disconnected: $PLAYERNAME, xuid: ....

0

 

0

When $PLAYERNAME actually logs in, he sees survival mode.  I don't remember if the server was set to the default survival mode the first time he logged in for testing if the mode is somehow sticky per user.

IonicEcko

Changed description:

What I expected to happen?

0

When changing the gamemode, new players would join with those permissions

0

What actually happens?
0Players join with the default-player-permission-level set at world generation regardless of changes to server.properties afterwards.

0

Steps to reproduce

0
    0
  1. Create a new BDS Server with default server.properties file
  2. 0
  3. Start the server, wait for it to finish initial start, and stop the server gracefully
  4. 0
  5. Change the default-player-permission-level value to visitor
  6. 0
  7. Start the BDS instance again
  8. 0
  9. Connect with a Minecraft client and note that your permissions are set to member despite the default level being changed to visitor.
  10. 0
0

Server version: 1.14.60.5 running on Ubuntu 20.04 LTS (GNU/Linux 5.4.0-29-generic x86_64)

0

Client version: Windows 10 (latest? I don't know how to check minecraft client version)

0

server.properties has two changes from the default:

0
    0
  • gamemode=creative
  • 0
  • allow-cheats=true
  • 0
0

screen -r $SERVERNAME:
0 NO LOG FILE! - setting up server logging...
0[2020-05-09 04:00:55 INFO] Starting Server
0[2020-05-09 04:00:55 INFO] Version 1.14.60.5
0[2020-05-09 04:00:55 INFO] Session ID df239b72-f63e-483c-8610-0af9f28695e2
0[2020-05-09 04:00:55 INFO] Level Name: Bedrock level
0[2020-05-09 04:00:55 INFO] Game mode: 1 Creative
0[2020-05-09 04:00:55 INFO] Difficulty: 1 EASY
0[2020-05-09 04:00:56 INFO] opening worlds/Bedrock level/db
0[2020-05-09 04:01:05 INFO] IPv4 supported, port: .....
0[2020-05-09 04:01:05 INFO] IPv6 supported, port: .....
0[2020-05-09 04:01:05 INFO] IPv4 supported, port: ....
0[2020-05-09 04:01:05 INFO] IPv6 supported, port: ....
0[2020-05-09 04:01:11 INFO] Server started.
0[2020-05-09 18:19:19 INFO] Player connected: $PLAYERNAME, xuid: ....
0[2020-05-09 18:21:35 INFO] Player disconnected: $PLAYERNAME, xuid: ....

0

 

0

When $PLAYERNAME actually logs in, he sees survival mode.  I don't remember if the server was set to the default survival mode the first time he logged in for testing if the mode is somehow sticky per user.

IonicEcko

Changed description:

0

Server version: 1.14.60.5 running on Ubuntu 20.04 LTS (GNU/Linux 5.4.0-29-generic x86_64)

0

Client version: Windows 10 (latest? I don't know how to check minecraft client version)

0

server.properties has two changes from the default:

0
    0
  • gamemode=creative
  • 0
  • allow-cheats=true
  • 0
0

screen -r $SERVERNAME:
0 NO LOG FILE! - setting up server logging...
0[2020-05-09 04:00:55 INFO] Starting Server
0[2020-05-09 04:00:55 INFO] Version 1.14.60.5
0[2020-05-09 04:00:55 INFO] Session ID df239b72-f63e-483c-8610-0af9f28695e2
0[2020-05-09 04:00:55 INFO] Level Name: Bedrock level
0[2020-05-09 04:00:55 INFO] Game mode: 1 Creative
0[2020-05-09 04:00:55 INFO] Difficulty: 1 EASY
0[2020-05-09 04:00:56 INFO] opening worlds/Bedrock level/db
0[2020-05-09 04:01:05 INFO] IPv4 supported, port: .....
0[2020-05-09 04:01:05 INFO] IPv6 supported, port: .....
0[2020-05-09 04:01:05 INFO] IPv4 supported, port: ....
0[2020-05-09 04:01:05 INFO] IPv6 supported, port: ....
0[2020-05-09 04:01:11 INFO] Server started.
0[2020-05-09 18:19:19 INFO] Player connected: $PLAYERNAME, xuid: ....
0[2020-05-09 18:21:35 INFO] Player disconnected: $PLAYERNAME, xuid: ....

0

 

0

When $PLAYERNAME actually logs in, he sees survival mode.  I don't remember if the server was set to the default survival mode the first time he logged in for testing if the mode is somehow sticky per user.

What I expected to happen?

00

When changing the gamemode property, new players would join with that gamemode.

0

What actually happens?

0

Players join with the gamemode set at world generation regardless of changes to server.properties afterwards and in contradiction to the gamemode displayed in the console.

0

Steps to reproduce

0
    0
  1. Create a new BDS Server with default server.properties file
  2. 0
  3. Start the server, wait for it to finish initial start, and stop the server gracefully
  4. 0
  5. Change the gamemode value to creative has two changes from the default:
  6. 0
  7. Start the BDS instance again
  8. 0
  9. Connect with a Minecraft client and note that your gamemode is survival despite the default level being changed to creative.
  10. 0
00000

IonicEcko
IonicEcko

Confirmation Status: UnconfirmedConfirmed

IonicEcko
[Bot] Arisa

Added affects versions: 1.16.10

[Mod] Greymagic27

Resolution: UnresolvedFixed

Fixed
John Baber-Lucero
5
5
Confirmed
384874
1.14.60 1.16.10