Client "Creative Mode" setting overrides game setting #3028
Labels
No Label
#P1 CRITICAL
#P2: HIGH
#P3: elevated
#P4 priority: medium
#P6: low
#Review
annoying
API
bug
code quality
combat
commands
compatibility
configurability
contribution inside
controls
core feature
creative mode
delayed for engine release
documentation
duplicate
enhancement
environment
feature request
gameplay
graphics
ground content conflict
GUI/HUD
help wanted
incomplete feature
invalid / won't fix
items
looking for contributor
mapgen
meta
mineclone2+
Minecraft >= 1.13
Minecraft >= 1.17
missing feature
mobile
mobs
mod support
model needed
multiplayer
Needs adoption
needs discussion
needs engine change
needs more information
needs research
nodes
non-mob entities
performance
player
possible close
redstone
release notes
schematics
Skyblock
sounds
Testing / Retest
tools
translation
unconfirmed
mcl5
mcla
Media missing
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: VoxeLibre/VoxeLibre#3028
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
By starting a game with "Creative Mode" enabled from the client, using
/gamemode survival
to switch away from the creative UI doesn't have the expected effect - the game stays in creative mode.On top of that, the default mining/punch range of Minetest also overrides our values.
Idk about the punch range, might be that we just doesn't apply it for "setting-creative" but the creative mode overriding is intentional i guess ... to a degree at least, the idea was to preserve the old behavior as much as possible.
To fix this, if we want to, we'd basically have to make the setting-creative the same as gamemode-creative, in technical terms: our minetest.is_creative_enabled would always have to return the player setting and not the global setting.
Some things would probably be different in setting-creative then however.
If possible, the game should start in creative mode if the client had this option enabled, regardless of what the gamemode was before shutting down. But if
/gamemode survival
is issued, we should switch to survival even if the "Creative Mode" was enabled.