Auth Configurability Improvements

Decoupled the no-auth authenticator from dev_mode setting
Decoupled the in-memory storage provider from dev_mode setting
Decoupled the no_auth authenticator from the in-memory storage provider
Bonus: included an extremely useful dump that lists all linked models/anims/gfx
This commit is contained in:
Ceikry
2022-07-30 16:03:31 +00:00
committed by Ryan
parent e3623e16ec
commit 75a81f0df6
7 changed files with 11246 additions and 19 deletions
+7 -1
View File
@@ -6,7 +6,13 @@ write_logs = true
msip = "127.0.0.1"
#preload the map (Increases memory usage by 2GB but makes game ticks smoother)
preload_map = false
#--------Note: If both of the below are false, no database is required to run the server.--------------
#true = login requires password to be correct, passwords are hashed before stored. false = login does not care about the correctness of a password.
use_auth = false #NOTE: THIS MUST BE SET TO TRUE IN PRODUCTION!
#true - account data (credits, playtime, etc) is persisted, false - account data is purely temporary
#NOTE: this does not affect actual save data, like stats, inventory, etc.
persist_accounts = false #NOTE: THIS MUST BE SET TO TRUE IN PRODUCTION!
#------------------------------------------------------------------------------------------------------
[database]
database_name = "global"