AMPTemplates/sa-mpconfig.json
2023-10-11 17:38:24 +11:00

356 lines
13 KiB
JSON

[
{
"DisplayName":"Server Port",
"Category":"Server Settings",
"Description":"",
"Keywords":"",
"FieldName":"$ServerPort",
"InputType":"number",
"Hidden":true,
"ParamFieldName":"port",
"EnumValues":{}
},
{
"DisplayName":"Server Name",
"Category":"Server Settings",
"Description":"Sets the name of the server as shown in the server browser and when players connect to the server",
"Keywords":"server,name,hostname",
"FieldName":"hostname",
"InputType":"text",
"ParamFieldName":"hostname",
"DefaultValue":"AMP Powered SA-MP Server",
"Placeholder":"AMP Powered SA-MP Server",
"EnumValues":{}
},
{
"DisplayName":"Map Name",
"Category":"Server Settings",
"Description":"Sets the map name as shown in the server browser. This can be anything",
"Keywords":"map,name,mapname",
"FieldName":"mapname",
"InputType":"text",
"ParamFieldName":"mapname",
"DefaultValue":"My SA-MP Map",
"EnumValues":{}
},
{
"DisplayName":"Web URL",
"Category":"Server Settings",
"Description":"Sets the URL of a website that will be displayed in the server browser and that has more information about the server",
"Keywords":"web,url,weburl",
"FieldName":"weburl",
"InputType":"text",
"ParamFieldName":"weburl",
"DefaultValue":"www.sa-mp.com",
"Placeholder":"www.sa-mp.com",
"EnumValues":{}
},
{
"DisplayName":"Server Password",
"Category":"Server Settings",
"Description":"Sets the password required for players to join the server. Default is no password",
"Keywords":"server,password",
"FieldName":"password",
"InputType":"password",
"ParamFieldName":"password",
"DefaultValue":"",
"EnumValues":{}
},
{
"DisplayName":"RCON Password",
"Category":"Server Settings",
"Description":"Sets the password required to connect to the server's RCON. Default is a strong, random password",
"Keywords":"rcon,password,rcon_password",
"FieldName":"rcon_password",
"InputType":"password",
"ParamFieldName":"rcon_password",
"DefaultValue":"{{newguid()}}",
"EnumValues":{}
},
{
"DisplayName":"Initial Gamemode",
"Category":"Server Settings",
"Description":"Sets the gamemode to start the server with. If \"Custom\" is selected, Custom Initial Gamemode must also be specified. Subsequent gamemodes (gamemode1 to gamemode15) can be set under Additional Server Settings",
"Keywords":"initial,gamemode,gamemode0",
"FieldName":"gamemode0",
"InputType":"enum",
"ParamFieldName":"gamemode0",
"DefaultValue":"grandlarc",
"EnumValues":{
"grandlarc":"Grand Larceny",
"rivershell":"Rivershell",
"lvdm":"LVDM (Ventura's DeathMatch) ~ Moneygrub",
"timertest":"Timer Test",
"barron":"RC Barnstorm",
"bare":"Bare Script",
"{{CustomGamemode}}":"--Custom--"
}
},
{
"DisplayName":"Custom Initial Gamemode",
"Category":"Server Settings",
"Description":"Sets a custom gamemode to use for the Initial Gamemode, if \"Custom\" is selected. The custom gamemode files must be included in the gamemodes directory",
"Keywords":"custom,initial,gamemode,gamemode0",
"FieldName":"CustomGamemode",
"InputType":"text",
"ParamFieldName":"CustomGamemode",
"DefaultValue":"",
"EnumValues":{}
},
{
"DisplayName":"Initial Gamemode Count",
"Category":"Server Settings",
"Description":"Sets how many times the server should run the initial gamemode before switching to the next gamemode",
"Keywords":"initial,gamemode,gamemode0,count",
"FieldName":"gamemode0count",
"InputType":"number",
"ParamFieldName":"gamemode0count",
"DefaultValue":"1",
"Placeholder":"1",
"EnumValues":{}
},
{
"DisplayName":"Filterscripts",
"Category":"Server Settings",
"Description":"Space-separated list of filterscripts (scripts that run in the background of the gamemode and add extras to the server without editing the gamemode). Specify the names of scripts (without the .amx extension) in the filterscripts directory or using a path relative to that directory",
"Keywords":"filterscripts,scripts",
"FieldName":"filterscripts",
"InputType":"text",
"ParamFieldName":"filterscripts",
"DefaultValue":"base gl_actions gl_property gl_realtime",
"Placeholder":"base gl_actions gl_property gl_realtime",
"EnumValues":{}
},
{
"DisplayName":"Plugins",
"Category":"Server Settings",
"Description":"Space-separated list of plugins (scripts designed to enhance gamemodes and filterscripts). Specify the names of scripts (without the .dll or .so extension) in the plugins directory",
"Keywords":"plugins,scripts",
"FieldName":"plugins",
"InputType":"text",
"ParamFieldName":"plugins",
"DefaultValue":"",
"Placeholder":"crashdetect filemanager geoip mysql regex routeconnector sscanf streamer xml",
"EnumValues":{}
},
{
"DisplayName":"Enable LAN Mode",
"Category":"Server Settings",
"Description":"If set, the server will run in LAN mode, allowing higher bandwidth",
"Keywords":"lan,mode,lanmode",
"FieldName":"lanmode",
"InputType":"checkbox",
"ParamFieldName":"lanmode",
"DefaultValue":"0",
"EnumValues":{
"False":"0",
"True":"1"
}
},
{
"DisplayName":"Announce To Master Server List",
"Category":"Server Settings",
"Description":"If set, the server will be announced to the master server list",
"Keywords":"announce,master,server,list",
"FieldName":"announce",
"InputType":"checkbox",
"ParamFieldName":"announce",
"DefaultValue":"0",
"EnumValues":{
"False":"0",
"True":"1"
}
},
{
"DisplayName":"Display In Server Browser",
"Category":"Server Settings",
"Description":"If set, information on the server will be displayed in the server browser",
"Keywords":"server,browser,information,query",
"FieldName":"query",
"InputType":"checkbox",
"ParamFieldName":"query",
"DefaultValue":"1",
"EnumValues":{
"False":"0",
"True":"1"
}
},
{
"DisplayName":"Player Limit",
"Category":"Server Settings",
"Description":"Sets the maximum number of players that may connect to the server at one time",
"Keywords":"maximum,players,clients,limit,maxplayers",
"FieldName":"$MaxUsers",
"InputType":"number",
"MinValue":"1",
"MaxValue":"1000",
"ParamFieldName":"maxplayers",
"DefaultValue":"50",
"Placeholder":"50",
"Suffix":"players",
"EnumValues":{}
},
{
"DisplayName":"Language",
"Category":"Server Settings",
"Description":"Sets the language of the server that appears in the server browser",
"Keywords":"language",
"FieldName":"language",
"InputType":"text",
"ParamFieldName":"language",
"DefaultValue":"English",
"Placeholder":"English",
"EnumValues":{}
},
{
"DisplayName":"Maximum NPCs",
"Category":"Server Settings",
"Description":"Sets the maximum number of NPCs (bots) that the server can hold, limiting how many player slots can be taken by NPCs",
"Keywords":"maximum,npcs,bots,maxnpc",
"FieldName":"maxnpc",
"InputType":"number",
"MinValue":"0",
"MaxValue":"1000",
"ParamFieldName":"maxnpc",
"DefaultValue":"0",
"Placeholder":"0",
"Suffix":"NPCs",
"EnumValues":{}
},
{
"DisplayName":"On-Foot Update Rate",
"Category":"Server Settings",
"Description":"Sets the time that a client should update the server with new data while on foot",
"Keywords":"onfoot,foot,rate,onfoot_rate",
"FieldName":"onfoot_rate",
"InputType":"number",
"MinValue":"1",
"ParamFieldName":"onfoot_rate",
"DefaultValue":"40",
"Placeholder":"40",
"Suffix":"milliseconds",
"EnumValues":{}
},
{
"DisplayName":"In-Vehicle Update Rate",
"Category":"Server Settings",
"Description":"Sets the time that a client should update the server with new data while in a vehicle",
"Keywords":"incar,car,vehicle,rate,incar_rate",
"FieldName":"incar_rate",
"InputType":"number",
"MinValue":"1",
"ParamFieldName":"incar_rate",
"DefaultValue":"40",
"Placeholder":"40",
"Suffix":"milliseconds",
"EnumValues":{}
},
{
"DisplayName":"Weapon Rate",
"Category":"Server Settings",
"Description":"Sets the time that a client should update the server with new data while firing a weapon",
"Keywords":"weapon,rate,weapon_rate",
"FieldName":"weapon_rate",
"InputType":"number",
"MinValue":"1",
"ParamFieldName":"weapon_rate",
"DefaultValue":"40",
"Placeholder":"40",
"Suffix":"milliseconds",
"EnumValues":{}
},
{
"DisplayName":"Stream Distance",
"Category":"Server Settings",
"Description":"Sets the distance on the X,Y plane that players will stream in server entities. Higher values makes players see server entities at a greater distance, but requires more client processing and potentially more bandwidth",
"Keywords":"stream,distance,stream_distance",
"FieldName":"stream_distance",
"InputType":"number",
"MinValue":"50",
"MaxValue":"400",
"ParamFieldName":"stream_distance",
"DefaultValue":"300.0",
"Placeholder":"300.0",
"EnumValues":{}
},
{
"DisplayName":"Stream Rate",
"Category":"Server Settings",
"Description":"Sets the time before the streaming in of server entities is retested for each player. Lower values increases server processing as it has to recheck streaming conditions more frequently for each player",
"Keywords":"stream,rate,stream_rate",
"FieldName":"stream_rate",
"InputType":"number",
"MinValue":"500",
"MaxValue":"5000",
"ParamFieldName":"stream_rate",
"DefaultValue":"1000",
"Placeholder":"1000",
"Suffix":"milliseconds",
"EnumValues":{}
},
{
"DisplayName":"Lag Compensation Mode",
"Category":"Server Settings",
"Description":"Sets the lag compensation mode for the server",
"Keywords":"lag,compensation,mode,lagcompmode",
"FieldName":"lagcompmode",
"InputType":"enum",
"ParamFieldName":"lagcompmode",
"DefaultValue":"1",
"EnumValues":{
"0":"Disabled",
"1":"Full (default)",
"2":"Position only"
}
},
{
"DisplayName":"Show Player Chat In Console",
"Category":"Server Settings",
"Description":"If set, player chat will be shown in the server console",
"Keywords":"log,logging,chat,chatlogging",
"FieldName":"chatlogging",
"InputType":"checkbox",
"ParamFieldName":"chatlogging",
"DefaultValue":"1",
"EnumValues":{
"False":"0",
"True":"1"
}
},
{
"DisplayName":"Log Time Format",
"Category":"Server Settings",
"Description":"Sets the logfile timestamp format that should be used, based on the [strftime format](https://cplusplus.com/reference/ctime/strftime/)",
"Keywords":"log,file,format,timestamp,logtimeformat",
"FieldName":"logtimeformat",
"InputType":"text",
"ParamFieldName":"logtimeformat",
"DefaultValue":"[%H:%M:%S]",
"Placeholder":"[%H:%M:%S]",
"EnumValues":{}
},
{
"DisplayName":"Server/RCON IP Binding",
"Category":"Server Settings",
"Description":"If required, you can change the IP binding of the server and RCON by editing App.ApplicationIPBinding in GenericModule.kvp for the instance. Stop the instance (not just the server) first",
"Keywords":"ip,binding,bind",
"FieldName":"$ApplicationIPBinding",
"InputType":"hidden",
"IsFlagArgument":false,
"ParamFieldName":"bind",
"EnumValues":{}
},
{
"DisplayName":"Additional Server Settings",
"Category":"Server Settings",
"Description":"Specifies additional settings to include in \"server.cfg\" that are not otherwise set by AMP. One setting per line",
"Keywords":"additional,settings,custom",
"FieldName":"UserSettings",
"InputType":"Textarea",
"IsFlagArgument":false,
"ParamFieldName":"UserSettings",
"DefaultValue":"",
"EnumValues":{}
}
]