Fixing Dumbs (#561)

Reverts baystation12.int that I fucked up
Adds a config toggle to host the dev server without clogging up SQL tables
This commit is contained in:
skull132
2016-07-12 15:48:18 +03:00
committed by GitHub
parent 6dad07be22
commit 67310b42db
5 changed files with 21 additions and 9 deletions
+4
View File
@@ -156,6 +156,7 @@ var/list/gamemode_cache = list()
var/admin_legacy_system = 0 //Defines whether the server uses the legacy admin system with admins.txt or the SQL system. Config option in config.txt
var/ban_legacy_system = 0 //Defines whether the server uses the legacy banning system with the files in /data or the SQL system. Config option in config.txt
var/use_age_restriction_for_jobs = 0 //Do jobs use account age restrictions? --requires database
var/sql_stats = 0 //Do we record round statistics on the database (deaths, round reports, population, etcetera) or not?
var/sql_whitelists = 0 //Defined whether the server uses an SQL based whitelist system, or the legacy one with two .txts. Config option in config.txt
var/sql_saves = 0 //Defines whether the server uses an SQL based character and preference saving system. Config option in config.txt
@@ -718,6 +719,9 @@ var/list/gamemode_cache = list()
if("allow_chat_markup")
config.allow_chat_markup = 1
if("sql_stats")
config.sql_stats = 1
else
log_misc("Unknown setting in configuration: '[name]'")