{
	"Name": "Northstar.CustomServers",
	"Description": "Attempts to recreate the behaviour of vanilla Titanfall 2 servers, as well as changing some scripts to allow better support for mods",
	"Version": "1.6.0",
	"LoadPriority": 0,
	"ConVars": [
		{
			"Name": "ns_lobby_type",
			"DefaultValue": "0"
		},
		{
			"Name": "ns_is_modded_server",
			"DefaultValue": "1",
			"Flags": 8192
		},
		{
			"Name": "ns_should_return_to_lobby",
			"DefaultValue": "1"
		},
		{
			"Name": "ns_allow_spectators",
			"DefaultValue": "0",
			"Flags": 8192
		},
		{
			"Name": "ns_private_match_last_mode",
			"DefaultValue": "tdm"
		},
		{
			"Name": "ns_private_match_last_map",
			"DefaultValue": "mp_forwardbase_kodai"
		},
		{
			"Name": "ns_private_match_only_host_can_change_settings",
			"DefaultValue": "0"
		},
		{
			"Name": "ns_private_match_only_host_can_start",
			"DefaultValue": "0"
		},
		{
			"Name": "ns_private_match_countdown_length",
			"DefaultValue": "15"
		},
		{
			"Name": "ns_private_match_override_maxplayers",
			"DefaultValue": "1"
		},
		{
			"Name": "ns_should_log_unknown_clientcommands",
			"DefaultValue": "1"
		}
	],
	"Scripts": [
		{
			"Path": "_custom_codecallbacks.gnut",
			"RunOn": "SERVER",
			"ServerCallback": {
				"Before": "NSSetupChathooksServer"
			}
		},
		{
			"Path": "_northstar_cheatcommands.nut",
			"RunOn": "SERVER",
			"ServerCallback": {
				"After": "NorthstarCheatCommands_Init"
			}
		},
		{
			"Path": "_chat.gnut",
			"RunOn": "SERVER"
		},
		{
			"Path": "_misc_stubs.gnut",
			"RunOn": "SERVER && MP"
		},
		{
			"Path": "_store.gnut",
			"RunOn": "SERVER && MP"
		},
		{
			"Path": "_script_movers.gnut",
			"RunOn": "SERVER && MP"
		},
		{
			"Path": "sh_northstar_utils.gnut",
			"RunOn": "CLIENT || SERVER || UI"
		},
		{
			"Path": "mp/levels/_lf_maps_shared.gnut",
			"RunOn": "SERVER && MP"
		},
		{
			"Path": "gamemodes/sh_gamemodes_custom.gnut",
			"RunOn": "(CLIENT || SERVER) && MP"
		},
		{
			"Path": "sh_remote_functions_mp_custom.gnut",
			"RunOn": "(CLIENT || SERVER) && MP"
		},
		{
			"Path": "sh_server_to_client_stringcommands.gnut",
			"RunOn": "CLIENT || SERVER",
			"ClientCallback": {
				"After": "ServerToClientStringCommands_Init"
			}
		},
		{
			"Path": "gamemodes/_gamemode_fra.nut",
			"RunOn": "SERVER && MP",
			"ServerCallback": {
				"Before": "GamemodeFRA_AddAdditionalInitCallback"
			}
		},
		{
			"Path": "mp/_classic_mp_dropship_intro.gnut",
			"RunOn": "SERVER && MP"
		},
		{
			"Path": "mp/_classic_mp_no_intro.gnut",
			"RunOn": "SERVER && MP"
		},
		{
			"Path": "mp/_spectator.gnut",
			"RunOn": "SERVER && MP",
			"ServerCallback": {
				"After": "Spectator_Init"
			}
		},
		{
			"Path": "_loadouts_mp.gnut",
			"RunOn": "SERVER && MP",
			"ServerCallback": {
				"After": "SvLoadoutsMP_Init"
			}
		},
		{
			"Path": "lobby/sh_private_lobby_modes_init.gnut",
			"RunOn": "( SERVER || CLIENT ) && MP"
		},

		{
			"Path": "_respawn_protection.gnut",
			"RunOn": "SERVER && MP",
			"ServerCallback": {
				"Before": "RespawnProtection_Init"
			}
		}
	]
}