Mojira Archive
BDS-271

Server ignores default-player-permission after world gen

[1.7.0.13] Server ignores the default-player-permission-level property in the server.properties file and sets players to "member" even when set at "visitor". Please fix this ASAP!

What I expected to happen?
When changing the default player permissions, new players would join with those permissions

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

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 default-player-permission-level value to visitor
  4. Start the BDS instance again
  5. Connect with a Minecraft client and note that your permissions are set to member despite the default level being changed to visitor.

Linked Issues

Attachments3

Comments13

This relates to BDS-43 and MCPE-26842

However, you can manually set this.

Make a .txt file named permissions and save is as a .json. Use the format above to manually set ops, visitors, or members. The xuid of a player is shown in the console when they join. Hope this helps.

 Edit: Format must be the exact same. This is the only way that this will work. The server isn't ignoring it, it just doesn't have a place to store it. 

 

 

Using permissions.json doesn't really help here. I'd like to leave my server open to anyone (no whitelist), but not allow them to break anything. So, I need a way to set the "default" permission to visitor, which is what the default-player-permission-level setting is supposed to do. Unfortunately, it doesn't work, so all visitors are granted member permissions, which forces me to restrict access using a whitelist.

 

Got the same issue here on 1.14.21.1 and need to set the default player permission to visitor. I run a small server for my kids and their friends to play on but yesterday someone joined the server whilst no one was around and messed up some stuff and left messages on a load of signs outside their house. Need to be able to secure this and can’t see another way currently. Please get this fixed as it has been out there for some time now.

Is anyone able to help narrow this one down. I've just built a new BDS instance tonight and cannot replicate. I set the default permissions to visitor and when I connected I was a visitor. Have had this in place on my own server for ages now.

Have attached a screenshot from the test as proof.

Edit: I've just had a thought that its likely the world is generated with a specific default permission and any changes post creation don't work. Will investigate this tomorrow.

For those affected, knowing whether you created your world file before or after the change would be immensely helpful.

It looks like the default-player-permission setting within server.properties is written to the world file on first launch and then on subsequent launches is not used (and the original values written to the world are used instead).

As a workaround you can open the world in one of the data viewers around and change the values under "abilities" in the world settings. The easiest way to get the settings that correspond to your desired permissions is to create a blank world with the default permissions you want and compare the two.

Hey IonicEcko, let me ask you something.

What has changed in 1.14.32.1?

I am still having this issue in 1.14.60.  My setup is backwards, I originally created my server with default permissions as visitor, but I would like them to be members.  The line in server.properties is still being ignored on existing worlds.

What is a good data viewer to use since it's a real pain to have to wait for each player to get on the server and then assign the proper permission. And, it must be done with every update since it all clears and starts over.

I was able to use https://github.com/tryashtar/nbt-studio/ to view the contents of the level.dat on 2 worlds I created, one with `default-player-permission-level=member` and one with `default-player-permission-level=visitor`.

Here's the relevant difference:

This issue is still relevant on the most recent update. 1.18.31

This appears to be resolved in 1.19.2

This issue isnt solved...its BS!!!Unable to render embedded object: File (  I downloaded the Bedrock server just for my PC..loaded a simple map..and just like that all my command blocks are ignore, I can fly around all day long but I can't open anything...and its says I'm a visitor...BS) not found.!!!  This is shutting down everyone's server as if you're doing it on purpose????  1.19 updated...such crap.

Still appears for me in 1.19.51.01

Changing default-player-permission-level in server.permissions after World already generated doesn't seem to work for me.

 

History20

Michael litvinov
IonicEcko

Added attachment:

[MCPE Mod] Celesian
IonicEcko

Added affects versions: 1.14.32.1

IonicEcko

Changed description:

[1.7.0.13] Server ignores the default-player-permission-level property in the server.properties file and sets players to "member" even when set at "visitor". Please fix this ASAP!

[1.7.0.13] Server ignores the default-player-permission-level property in the server.properties file and sets players to "member" even when set at "visitor". Please fix this ASAP!

0

What I expected to happen?
0When changing the default player permissions, 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

IonicEcko

Changed description:

[1.7.0.13] Server ignores the default-player-permission-level property in the server.properties file and sets players to "member" even when set at "visitor". Please fix this ASAP!

0

What I expected to happen?
0When changing the default player permissions, 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

[1.7.0.13] Server ignores the default-player-permission-level property in the server.properties file and sets players to "member" even when set at "visitor". Please fix this ASAP!

0

What I expected to happen?
0When changing the default player permissions, 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

00
    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

[Mod] OcelotOnesie
IonicEcko

Changed summary:

[1.7.0.13] Server ignoring default-player-permission property. Server ignores default-player-permission after world gen

IonicEcko

Added Confirmation Status: Confirmed

IonicEcko

Added affects versions: 1.14.60

IonicEcko
IonicEcko
IonicEcko
Brian O'Reilly
Maciej Piornik
[Bot] Arisa

Added affects versions: 1.17.30

[Mod] Greymagic27

Resolution: UnresolvedFixed

Fixed
Jake Herstad
26
16
Confirmed
319742
1.6.1.0 1.14.32.1 1.14.60 1.17.30