1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-01 17:38:41 +00:00

Allow an optional readonly base database (#7544)

* Allow an optional readonly base database

* Added basic documentation
This commit is contained in:
lhofhansl 2018-07-25 17:54:23 +02:00 committed by GitHub
parent 9537cfd3f8
commit 7454deb1bf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 23 additions and 3 deletions

View file

@ -98,8 +98,15 @@ See Player File Format below.
world.mt
---------
World metadata.
Example content (added indentation):
gameid = mesetint
Example content (added indentation and - explanations):
gameid = mesetint - name of the game
enable_damage = true - whether damage is enabled or not
creative_mode = false - whether creative mode is enabled or not
backend = sqlite3 - which DB backend to use for blocks (sqlite3, dummy, leveldb, redis, postgresql)
player_backend = sqlite3 - which DB backend to use for player data
readonly_backend = sqlite3 - optionally readonly seed DB (DB file _must_ be located in "readonly" subfolder)
server_announce = false - whether the server is publicly announced or not
load_mod_<mod> = false - whether <mod> is to be loaded in this world
Player File Format
===================