Setting tweaks, add mod functionality (#358)

This commit is contained in:
Greelan 2023-05-09 22:29:12 +10:00 committed by GitHub
parent 903e74ea97
commit 19ef86773f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 113 additions and 73 deletions

View File

@ -18,6 +18,7 @@ Meta.Prerequsites=[]
App.DisplayName=Wreckfest
App.RootDir=./wreckfest/
App.BaseDirectory=./wreckfest/361580/
App.SteamWorkshopDownloadLocation={{$FullBaseDir}}mods
App.ExecutableWin=361580\Wreckfest_x64.exe
App.ExecutableLinux=/usr/bin/xvfb-run
App.WorkingDir=361580
@ -49,7 +50,7 @@ App.AdminLoginTransform=None
App.RCONConnectDelaySeconds=5
App.RCONConnectRetrySeconds=5
App.TelnetLoginFormat={0}
App.UpdateSources=[{"UpdateStageName":"SteamCMD Download","UpdateSourcePlatform":"All","UpdateSource":"SteamCMD","UpdateSourceData":"361580","UpdateSourceArgs":"228380","ForceDownloadPlatform":"Windows"},{"UpdateStageName":"Create Save Directory","UpdateSourcePlatform":"All","UpdateSource":"CreateDirectory","UpdateSourceArgs":"./wreckfest/361580/saved","OverwriteExistingFiles":false},{"UpdateStageName":"Create SteamAppID File","UpdateSourcePlatform":"All","UpdateSource":"CreateFile","UpdateSourceData":"228380","UpdateSourceArgs":"./wreckfest/361580/steam_appid.txt","OverwriteExistingFiles":false},{"UpdateStageName":"Copy Server Config","UpdateSourcePlatform":"All","UpdateSource":"CopyFilePath","UpdateSourceData":"./wreckfest/361580/server_config.cfg","UpdateSourceArgs":"./wreckfest/361580/initial_server_config.cfg","OverwriteExistingFiles":false},{"UpdateStageName":"Initialise Wine","UpdateSourcePlatform":"Linux","UpdateSource":"Executable","UpdateSourceData":"/bin/bash","UpdateSourceArgs":"-c 'WINEPREFIX=\"{{$FullRootDir}}.wine\" WINEARCH=win64 /usr/bin/wineboot --init --update'"}]
App.UpdateSources=[{"UpdateStageName":"SteamCMD Download","UpdateSourcePlatform":"All","UpdateSource":"SteamCMD","UpdateSourceData":"361580","UpdateSourceArgs":"228380","ForceDownloadPlatform":"Windows"},{"UpdateStageName":"Create Save Directory","UpdateSourcePlatform":"All","UpdateSource":"CreateDirectory","UpdateSourceArgs":"./wreckfest/361580/saved","OverwriteExistingFiles":false},{"UpdateStageName":"Create Mods Directory","UpdateSourcePlatform":"All","UpdateSource":"CreateDirectory","UpdateSourceArgs":"./wreckfest/361580/mods","OverwriteExistingFiles":false},{"UpdateStageName":"Create SteamAppID File","UpdateSourcePlatform":"All","UpdateSource":"CreateFile","UpdateSourceData":"228380","UpdateSourceArgs":"./wreckfest/361580/steam_appid.txt","OverwriteExistingFiles":false},{"UpdateStageName":"Copy Server Config","UpdateSourcePlatform":"All","UpdateSource":"CopyFilePath","UpdateSourceData":"./wreckfest/361580/server_config.cfg","UpdateSourceArgs":"./wreckfest/361580/initial_server_config.cfg","OverwriteExistingFiles":false},{"UpdateStageName":"Initialise Wine","UpdateSourcePlatform":"Linux","UpdateSource":"Executable","UpdateSourceData":"/bin/bash","UpdateSourceArgs":"-c 'WINEPREFIX=\"{{$FullRootDir}}.wine\" WINEARCH=win64 /usr/bin/wineboot --init --update'"}]
App.Compatibility=None
App.SteamUpdateAnonymousLogin=True
App.SteamForceLoginPrompt=False

View File

@ -39,9 +39,23 @@
"EnumValues":{}
},
{
"DisplayName":"Server Name",
"DisplayName":"Log File",
"Category":"Server Settings",
"Description":"",
"Keywords":"",
"FieldName":"log",
"InputType":"text",
"IsFlagArgument":false,
"Hidden":true,
"ParamFieldName":"log",
"IncludeInCommandLine":false,
"DefaultValue":"log.txt",
"EnumValues":{}
},
{
"DisplayName":"Server Name",
"Category":"Server Settings",
"Description":"Sets the name of the server shown publicly (63 character limit)",
"Keywords":"server,name",
"FieldName":"server_name",
"InputType":"text",
@ -54,21 +68,21 @@
{
"DisplayName":"Server Password",
"Category":"Server Settings",
"Description":"Password required to connect to the server. You should change this after first installing the server",
"Description":"Sets the password required to connect to the server (31 character limit). You should change this after first installing the server",
"Keywords":"server,password",
"FieldName":"password",
"InputType":"password",
"IsFlagArgument":false,
"ParamFieldName":"password",
"IncludeInCommandLine":false,
"DefaultValue":"wreckfest",
"DefaultValue":"{{newguid()}}",
"EnumValues":{}
},
{
"DisplayName":"Welcome Message",
"Category":"Server Settings",
"Description":"Player welcome message",
"Keywords":"welcome,message",
"Description":"Sets the player welcome message or MOTD (254 character limit)",
"Keywords":"welcome,message,motd,welcome_message",
"FieldName":"welcome_message",
"InputType":"text",
"IsFlagArgument":false,
@ -80,23 +94,23 @@
{
"DisplayName":"Player Limit",
"Category":"Server Settings",
"Description":"Maximum number of players that may connect to the server at one time",
"Keywords":"players,limit",
"Description":"Sets the maximum number of players that may connect to the server at one time",
"Keywords":"players,limit,max_players",
"FieldName":"$MaxUsers",
"InputType":"number",
"MinValue":"1",
"IsFlagArgument":false,
"ParamFieldName":"max_players",
"IncludeInCommandLine":false,
"DefaultValue":"24",
"Suffix":"players",
"EnumValues":{},
"MinValue":"1"
"EnumValues":{}
},
{
"DisplayName":"Exclude Quick Match Users",
"Category":"Server Settings",
"Description":"When enabled, users entering Quick Match cannot join the server",
"Keywords":"quick,match,exclude",
"Keywords":"quick,match,exclude,exclude_from_quickplay",
"FieldName":"exclude_from_quickplay",
"InputType":"checkbox",
"IsFlagArgument":false,
@ -112,7 +126,7 @@
"DisplayName":"Clear User Privileges On Launch",
"Category":"Server Settings",
"Description":"When enabled, clears previous user privileges when launching the server",
"Keywords":"user,privileges",
"Keywords":"user,privileges,clear_users",
"FieldName":"clear_users",
"InputType":"checkbox",
"IsFlagArgument":false,
@ -127,8 +141,8 @@
{
"DisplayName":"No Owner Privileges For First User",
"Category":"Server Settings",
"Description":"When enabled, owner privileges are not given to the first user who joins",
"Keywords":"first,owner,privileges",
"Description":"When set, owner privileges are not given to the first user who joins",
"Keywords":"first,owner,privileges,owner_disabled",
"FieldName":"owner_disabled",
"InputType":"checkbox",
"IsFlagArgument":false,
@ -144,7 +158,7 @@
"DisplayName":"Admin Controls Countdown",
"Category":"Server Settings",
"Description":"When enabled, admin starts the countdown by setting themselves ready. Otherwise the countdown is automatic",
"Keywords":"admin,control,countdown",
"Keywords":"admin,control,countdown,admin_control",
"FieldName":"admin_control",
"InputType":"checkbox",
"IsFlagArgument":false,
@ -159,36 +173,41 @@
{
"DisplayName":"Countdown Duration",
"Category":"Server Settings",
"Description":"Duration of the countdown",
"Keywords":"countdown,duration",
"Description":"Sets the duration of the countdown",
"Keywords":"countdown,duration,lobby_countdown",
"FieldName":"lobby_countdown",
"InputType":"number",
"MinValue":"30",
"MaxValue":"127",
"IsFlagArgument":false,
"ParamFieldName":"lobby_countdown",
"IncludeInCommandLine":false,
"DefaultValue":"30",
"Placeholder":"30 - 127",
"Placeholder":"30",
"Suffix":"seconds",
"EnumValues":{}
},
{
"DisplayName":"Required Players for Automatic Countdown",
"Category":"Server Settings",
"Description":"Percentage of players required to be ready to initiate automatic countdown, if enabled",
"Keywords":"players,countdown",
"Description":"Sets the percentage of players required to be ready to initiate automatic countdown, if enabled",
"Keywords":"players,countdown,ready_players_required",
"FieldName":"ready_players_required",
"InputType":"number",
"MinValue":"0",
"MaxValue":"100",
"IsFlagArgument":false,
"ParamFieldName":"ready_players_required",
"IncludeInCommandLine":false,
"DefaultValue":"50",
"Suffix":"%",
"EnumValues":{}
},
{
"DisplayName":"Admins",
"Category":"Server Settings",
"Description":"Comma separated list of [Steam64 IDs](https://steamidfinder.com/) of players automatically granted admin privileges",
"Keywords":"admin,privileges,automatic",
"Keywords":"admin,privileges,automatic,admin_steam_ids",
"FieldName":"admin_steam_ids",
"InputType":"text",
"IsFlagArgument":false,
@ -202,7 +221,7 @@
"DisplayName":"Moderators",
"Category":"Server Settings",
"Description":"Comma separated list of [Steam64 IDs](https://steamidfinder.com/) of players automatically granted moderator privileges",
"Keywords":"moderator,privileges,automatic",
"Keywords":"moderator,privileges,automatic,op_steam_ids",
"FieldName":"op_steam_ids",
"InputType":"text",
"IsFlagArgument":false,
@ -216,7 +235,7 @@
"DisplayName":"Session Mode",
"Category":"Server Settings",
"Description":"Sets the session mode for server side point counting across multiple events",
"Keywords":"session,mode",
"Keywords":"session,mode,session_mode",
"FieldName":"session_mode",
"InputType":"enum",
"IsFlagArgument":false,
@ -224,7 +243,7 @@
"IncludeInCommandLine":false,
"DefaultValue":"normal",
"EnumValues":{
"normal":"Normal (single event, no cup mode)",
"normal":"Normal (single event, no cup mode) (default)",
"qualify-sprint":"Qualifying sprint (finishing positions determine - needs \"Qualifying session\" grid order)",
"qualify-lap":"Qualifying lap (lap times determine - needs \"Qualifying session\" grid order)",
"30p-aggr":"Winner 30 (then 27, 25, 23, 20, followed by 1 point less per position)",
@ -245,7 +264,7 @@
"DisplayName":"Grid Order",
"Category":"Server Settings",
"Description":"Sets the method for sorting the grid order",
"Keywords":"grid,order",
"Keywords":"grid,order,grid_order",
"FieldName":"grid_order",
"InputType":"enum",
"IsFlagArgument":false,
@ -254,18 +273,30 @@
"DefaultValue":"perf_normal",
"EnumValues":{
"random":"Random",
"perf_normal":"Performance points (fastest at front)",
"perf_normal":"Performance points (fastest at front) (default)",
"perf_reverse":"Performance points (fastest at back)",
"qualifying":"Qualifying session",
"cup_normal":"Cup points (highest at front)",
"cup_reverse":"Cup points (highest at back)"
}
},
{
"DisplayName":"Event Rotation",
"Category":"Server Settings",
"Description":"Event rotation (or event loop) settings must be configured in server_config.cfg. Use the command \"/eventloop\" to enable/disable event rotation while in the server lobby",
"Keywords":"event,rotation,eventloop",
"FieldName":"eventloop",
"InputType":"hidden",
"IsFlagArgument":false,
"ParamFieldName":"eventloop",
"IncludeInCommandLine":false,
"EnumValues":{}
},
{
"DisplayName":"Enable Player Voting",
"Category":"Server Settings",
"Description":"When enabled, players will vote for the next event after previous event has ended (requires event rotation. Can be triggered by command \"startvote\" when players in unlocked lobby",
"Keywords":"event,voting",
"Description":"When enabled, players will vote for the next event after previous event has ended (event rotation needs to be configured and enabled). Can be triggered by command \"startvote\" when players in unlocked lobby",
"Keywords":"event,voting,enable_track_vote",
"FieldName":"enable_track_vote",
"InputType":"checkbox",
"IsFlagArgument":false,
@ -280,8 +311,8 @@
{
"DisplayName":"Don't Kick Idling Players",
"Category":"Server Settings",
"Description":"When enabled, idling players will not be kicked while event is in progress",
"Keywords":"kick,idle,idling",
"Description":"When enabled, idling players will not be kicked while an event is in progress",
"Keywords":"kick,idle,idling,disable_idle_kick",
"FieldName":"disable_idle_kick",
"InputType":"checkbox",
"IsFlagArgument":false,
@ -296,7 +327,7 @@
{
"DisplayName":"Track",
"Category":"Server Settings",
"Description":"Set track. List available track names with command \"tracks\"",
"Description":"Sets the track. List available track names with the command \"tracks\"",
"Keywords":"track",
"FieldName":"track",
"InputType":"text",
@ -310,8 +341,8 @@
{
"DisplayName":"Game Mode",
"Category":"Server Settings",
"Description":"",
"Keywords":"game,mode",
"Description":"Sets the game mode",
"Keywords":"game,mode,gamemode",
"FieldName":"gamemode",
"InputType":"enum",
"IsFlagArgument":false,
@ -321,32 +352,34 @@
"EnumValues":{
"racing":"Racing",
"derby":"Derby",
"derby deathmatch":"Derby Deathmatch",
"team derby":"Team Derby",
"team race":"Team Race",
"elimination race":"Elimination Race"
"derby deathmatch":"Derby deathmatch (default)",
"team derby":"Team derby",
"team race":"Team race",
"elimination race":"Elimination race"
}
},
{
"DisplayName":"Bot Quantity",
"Category":"Server Settings",
"Description":"Pre-populate server with the set number of AI bots",
"Keywords":"bots",
"Description":"Pre-populates the server with the set number of AI bots",
"Keywords":"ai,bots",
"FieldName":"bots",
"InputType":"number",
"MinValue":"0",
"MaxValue":"24",
"IsFlagArgument":false,
"ParamFieldName":"bots",
"IncludeInCommandLine":false,
"DefaultValue":"0",
"Placeholder":"0 - 24",
"Placeholder":"0",
"Suffix":"bots",
"EnumValues":{}
},
{
"DisplayName":"AI Difficulty",
"Category":"Server Settings",
"Description":"Sets difficulty setting of AI bots",
"Keywords":"AI,difficulty",
"Description":"Sets the difficulty setting of AI bots",
"Keywords":"ai,difficulty,ai_difficulty",
"FieldName":"ai_difficulty",
"InputType":"enum",
"IsFlagArgument":false,
@ -355,14 +388,14 @@
"DefaultValue":"amateur",
"EnumValues":{
"novice":"Novice",
"amateur":"Amateur",
"amateur":"Amateur (default)",
"expert":"Expert"
}
},
{
"DisplayName":"Team Number",
"Category":"Server Settings",
"Description":"Number of teams in team racing and team deathmatch game modes",
"Description":"Sets the number of teams in team racing and team deathmatch game modes",
"Keywords":"team,number",
"FieldName":"num_teams",
"InputType":"enum",
@ -371,7 +404,7 @@
"IncludeInCommandLine":false,
"DefaultValue":"2",
"EnumValues":{
"2":"2",
"2":"2 (default)",
"3":"3",
"4":"4"
}
@ -379,37 +412,41 @@
{
"DisplayName":"Lap Number",
"Category":"Server Settings",
"Description":"Number of laps in race game modes",
"Description":"Sets the number of laps in race game modes",
"Keywords":"laps",
"FieldName":"laps",
"InputType":"number",
"MinValue":"1",
"MaxValue":"60",
"IsFlagArgument":false,
"ParamFieldName":"laps",
"IncludeInCommandLine":false,
"DefaultValue":"3",
"Placeholder":"1 - 60",
"Placeholder":"1",
"Suffix":"laps",
"EnumValues":{}
},
{
"DisplayName":"Deathmatch Time Limit",
"Category":"Server Settings",
"Description":"",
"Keywords":"deathmatch,time,limit",
"Description":"Sets the deathmatch game mode time limit",
"Keywords":"deathmatch,time,limit,time_limit",
"FieldName":"time_limit",
"InputType":"number",
"MinValue":"0",
"IsFlagArgument":false,
"ParamFieldName":"time_limit",
"IncludeInCommandLine":false,
"DefaultValue":"5",
"Placeholder":"5",
"Suffix":"minutes",
"EnumValues":{}
},
{
"DisplayName":"Elimination Interval Time",
"Category":"Server Settings",
"Description":"Elimination interval time for elimination race",
"Keywords":"elimination,interval,time",
"Description":"Sets the elimination interval time for elimination races",
"Keywords":"elimination,interval,time,elimination_interval",
"FieldName":"elimination_interval",
"InputType":"enum",
"IsFlagArgument":false,
@ -417,7 +454,7 @@
"IncludeInCommandLine":false,
"DefaultValue":"0",
"EnumValues":{
"0":"Each Lap",
"0":"Each lap (default)",
"20":"20",
"30":"30",
"45":"45",
@ -429,8 +466,8 @@
{
"DisplayName":"Vehicle Damage Level",
"Category":"Server Settings",
"Description":"",
"Keywords":"vehicle,damage",
"Description":"Sets the vehicle damage level",
"Keywords":"vehicle,damage,vehicle_damage",
"FieldName":"vehicle_damage",
"InputType":"enum",
"IsFlagArgument":false,
@ -438,7 +475,7 @@
"IncludeInCommandLine":false,
"DefaultValue":"normal",
"EnumValues":{
"normal":"Normal",
"normal":"Normal (default)",
"intense":"Intense",
"realistic":"Realistic",
"extreme":"Extreme"
@ -447,8 +484,8 @@
{
"DisplayName":"Maximum Vehicle Class",
"Category":"Server Settings",
"Description":"Allow only vehicles up to the class set",
"Keywords":"vehicle,class",
"Description":"Allows only vehicles up to the class set",
"Keywords":"vehicle,class,car_class_restriction",
"FieldName":"car_class_restriction",
"InputType":"enum",
"IsFlagArgument":false,
@ -456,7 +493,7 @@
"IncludeInCommandLine":false,
"DefaultValue":"",
"EnumValues":{
"":"No Restriction",
"":"No restriction (default)",
"a":"Class A",
"b":"Class B",
"c":"Class C"
@ -465,8 +502,8 @@
{
"DisplayName":"Specific Car Allowed",
"Category":"Server Settings",
"Description":"If set, allow only the specific car listed. Leave blank for no restriction. List available cars with command \"cars\"",
"Keywords":"car,allowed",
"Description":"If enabled, allows only the specific car listed. Leave blank for no restriction. List available cars with the command \"cars\"",
"Keywords":"car,allowed,car_restriction",
"FieldName":"car_restriction",
"InputType":"text",
"IsFlagArgument":false,
@ -478,8 +515,8 @@
{
"DisplayName":"Disallow Special Vehicles",
"Category":"Server Settings",
"Description":"",
"Keywords":"disallow,special,vehicles",
"Description":"If set, disallows use of special vehicles",
"Keywords":"disallow,special,vehicles,special_vehicles_disabled",
"FieldName":"special_vehicles_disabled",
"InputType":"checkbox",
"IsFlagArgument":false,
@ -494,8 +531,8 @@
{
"DisplayName":"Disallow Car Reset",
"Category":"Server Settings",
"Description":"",
"Keywords":"disallow,car,reset",
"Description":"If set, disallows car reset",
"Keywords":"disallow,car,reset,car_reset_disabled",
"FieldName":"car_reset_disabled",
"InputType":"checkbox",
"IsFlagArgument":false,
@ -510,23 +547,25 @@
{
"DisplayName":"Car Reset Delay",
"Category":"Server Settings",
"Description":"Set the car reset delay (0 - 20)",
"Keywords":"car,reset,delay",
"Description":"Sets the car reset delay",
"Keywords":"car,reset,delay,car_reset_delay",
"FieldName":"car_reset_delay",
"InputType":"number",
"MinValue":"0",
"MaxValue":"20",
"IsFlagArgument":false,
"ParamFieldName":"car_reset_delay",
"IncludeInCommandLine":false,
"DefaultValue":"0",
"Placeholder":"0 - 20",
"Placeholder":"0",
"Suffix":"seconds",
"EnumValues":{}
},
{
"DisplayName":"Disable Speed Limiter",
"Category":"Server Settings",
"Description":"If set, disable speed limiter for players that drive the wrong way",
"Keywords":"disallow,speed,limiter",
"Description":"If set, disables the speed limiter for players that drive the wrong way",
"Keywords":"disallow,speed,limiter,wrong_way_limiter_disabled",
"FieldName":"wrong_way_limiter_disabled",
"InputType":"checkbox",
"IsFlagArgument":false,
@ -541,7 +580,7 @@
{
"DisplayName":"Weather",
"Category":"Server Settings",
"Description":"Set event weather. Leave blank for random weather. List available weather names with command \"weathers\"",
"Description":"Sets the event weather. Leave blank for random weather. List available weather names with the command \"weathers\"",
"Keywords":"weather",
"FieldName":"weather",
"InputType":"text",
@ -554,7 +593,7 @@
{
"DisplayName":"Server Update Frequency",
"Category":"Server Settings",
"Description":"",
"Description":"Sets the frequency for the server updating clients. Low = reduced bandwidth used, but clients use more CPU for prediction. High = higher bandwidth, lower client CPU",
"Keywords":"update,frequency",
"FieldName":"frequency",
"InputType":"enum",
@ -570,7 +609,7 @@
{
"DisplayName":"Enabled Mods",
"Category":"Server Settings",
"Description":"Comma separated list of folder names of enabled mods on the server. Mod folders need to be copied to server mods folder",
"Description":"Comma separated list of mod directories to enable on the server. Specify simply the mod ID for any mods downloaded under SteamCMD and Updates. All mod directories need to be in the server's \"mods\" folder",
"Keywords":"mods",
"FieldName":"mods",
"InputType":"text",
@ -578,7 +617,7 @@
"ParamFieldName":"mods",
"IncludeInCommandLine":false,
"DefaultValue":"",
"Placeholder":"example,my_mod",
"Placeholder":"764432700,1462061824",
"EnumValues":{}
}
]