From 7454deb1bf04ab3478b4e2dc6b2821ae86f4514f Mon Sep 17 00:00:00 2001 From: lhofhansl Date: Wed, 25 Jul 2018 17:54:23 +0200 Subject: Allow an optional readonly base database (#7544) * Allow an optional readonly base database * Added basic documentation --- doc/world_format.txt | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/world_format.txt b/doc/world_format.txt index 976d14fd5..9b0a1ef07 100644 --- a/doc/world_format.txt +++ b/doc/world_format.txt @@ -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_ = false - whether is to be loaded in this world Player File Format =================== -- cgit v1.2.3