]> git.lizzy.rs Git - dragonfireclient.git/commit
Add disable_settings to game.conf to get rid of "Enable Damage"/"Creative Mode"/...
authorHugues Ross <hugues.ross@gmail.com>
Thu, 12 Aug 2021 18:08:12 +0000 (14:08 -0400)
committerGitHub <noreply@github.com>
Thu, 12 Aug 2021 18:08:12 +0000 (20:08 +0200)
commit47c146120a53735f8e75d5a1a3d077718811eeae
treef9c95ebd1c897efd9fa06e02e085b8877c888681
parent442e48b84fea511badf108cedc2a6b43d79fd852
Add disable_settings to game.conf to get rid of "Enable Damage"/"Creative Mode"/"Host Server" checkboxes (#11524)

This adds support for disable_settings to game.conf. In this you can specify a list of settings that should not be visible in the "local game" (or however it is called nowadays) tab. Enable Damage, Creative Mode and Host Server are supported.

Co-authored-by: Wuzzy <Wuzzy2@mail.ru>
Co-authored-by: Aaron Suen <warr1024@gmail.com>
Co-authored-by: rubenwardy <rw@rubenwardy.com>
builtin/mainmenu/tab_local.lua
doc/lua_api.txt