Issue
Again, this is all from a client connected to a dedicated multiplayer server.
Non-opped (regular) player view
The World Options screen and be opened and the player can click the Difficulty button, as well as the Difficulty Lock button from singleplayer. The Edit Game Rules… button is grayed out and not clickable. Clicking the Difficulty button appears to update difficulty client-side, but this appearance is reverted when the player exits and re-enters the menu. When the Lock World Difficulty button is clicked, its warning screen appears. Clicking Yes causes the UI to appear to update in a similar way (the difficulty button is grayed out), but again, nothing is changed server-side, and exiting and re-entering the menu reverts the appearance.
Additionally, attempting to use the difficulty button as a non-opped player produces a message in the server log like the following:
[12:15:07 WARN]: Player Voxel_s_ tried to change difficulty to translation{key='options.difficulty.hard', args=[]} without required permissions
Opped player view
All buttons behave as expected and are able to update the settings server-side. No issues that I have noticed.
Changing operator status
If the player is on the World Options menu, and their operator status is changed, the menu’s appearance does not change until the player exits it and re-enters. This results in unusual behavior, namely: A player who was opped before and is now deopped is still able to click the Edit Game Rules button, but the client perpetually displays “Retrieving game rules…” and the server console displays a message such as:
[12:21:31 WARN]: Player Voxel_s_ tried to request game rule values without required permissions
Expected behavior
The menu would update immediately upon a change to the client’s operator status, or at least inform the user if they managed to push a button they shouldn’t be able to. All buttons in this menu would be grayed out and unclickable for non-opped clients.
Environment
Client + Dedicated server
Java 25
Arch Linux
x64
Linked issues
is duplicated by 2
Comments 0
No comments.