My Life as a Spy

by Skysaw
My Life as a Spy
Five teams of spies compete to secure documents, using nifty spy gadgets to foil their enemies.
ID:2101087
 
Thanks to the addition of JSON support to BYOND, I've updated the world/settings.txt file that hosts use to set their server up to use it.

This is what the old settings.txt looked like:

// variables for mlaas world
// if you change anything while your world is being hosted,
// choose "refresh settings" from the _Host tab in Dream Seeker

// new validation passwords are distributed by skysaw
validation_pwd=thisdoesntmatteranymore

// setting this to 1 will send annoying debug messages to the world
debug=0

// all of these should be changed to fit your world:
hostID=nadrew
altHostID=ncomproductions
admin=nadrew
guide=hikato
guide=audeuro
worldName=Nadrew's Server
worldDesc=Official development server
scheduleDesc=Whenever
worldURL=http://www.mylifeasaspy.com
forumURL=http://www.mylifeasaspy.com/forum/index.php
worldPWD=default123
// Shutdown time in hours
shutdown=72

// set to 1 if you want password protection by default
PWDup=0


// the rest are all optional
defaultMOD=Welcome to MLAAS!

// 0=off; 1=low; 2=normal; 3=high
blood=2
item_spawn=2
teamKillPenalty=2

// 1=low; 2=medium; 3=high
economy=2
NPCSpawn=2

// 0=off; 1=on
teamKills=1
shout=1


This is what the new one looks like:
{
"global": {
"debug": 0,
"hosts": ["nadrew","ncomproductions"],
"admins": ["nadrew"],
"guides": ["hikato","audeuro"],
}

"server": {
"name": "Nadrew's Server",
"desc": "Official development server",
"website": "http://www.mylifeasaspy.com",
"forum": "http://www.mylifeasaspy.com/forum",
"password": "default123",
"protected": 0,
"motd": "Welcome to MLAAS!",
"shutdown": 72,
}

"gameplay": {
"blood": 2,
"item_spawn": 2,
"teamKillPenalty": 2,
"teamkilling": 1,
"economy": 2,
"NPCSpawn": 2,
"shout": 1,
}
}


Much cleaner and expandable. Also a ton less resources to parse it.