Add Xonotic Dedicated Server (#96)
This commit is contained in:
parent
2397051f3b
commit
32f412de00
60
xonotic.kvp
Normal file
60
xonotic.kvp
Normal file
@ -0,0 +1,60 @@
|
||||
Meta.DisplayName=Xonotic
|
||||
Meta.Description=Xonotic Dedicated Server
|
||||
Meta.OS=Windows, Linux
|
||||
Meta.Author=Greelan
|
||||
Meta.URL=https://xonotic.org
|
||||
Meta.DisplayImageSource=url:https://gitlab.com/xonotic/xonotic/-/raw/master/misc/logos/xonotic_logo.png
|
||||
Meta.EndpointURIFormat=
|
||||
Meta.ConfigManifest=xonoticconfig.json
|
||||
Meta.MetaConfigManifest=xonoticmetaconfig.json
|
||||
Meta.ConfigRoot=xonotic.kvp
|
||||
Meta.MinAMPVersion=2.3.3.0
|
||||
Meta.SpecificDockerImage=
|
||||
Meta.Prerequsites=[]
|
||||
App.DisplayName=Xonotic
|
||||
App.RootDir=./xonotic/
|
||||
App.BaseDirectory=./xonotic/Xonotic/
|
||||
App.ExecutableWin=Xonotic\xonotic.exe
|
||||
App.ExecutableLinux=Xonotic/xonotic-linux64-dedicated
|
||||
App.WorkingDir=Xonotic
|
||||
App.LinuxCommandLineArgs=
|
||||
App.WindowsCommandLineArgs=-dedicated
|
||||
App.CommandLineArgs={{$PlatformArgs}} +serverconfig server.cfg -userdir "{{$FullBaseDir}}ServerData" {{$FormattedArgs}}
|
||||
App.AppSettings={}
|
||||
App.EnvironmentVariables={}
|
||||
App.CommandLineParameterFormat=-{0} {1}
|
||||
App.CommandLineParameterDelimiter=
|
||||
App.ExitMethod=OS_CLOSE
|
||||
App.ExitTimeout=30
|
||||
App.ExitString=rcon quit
|
||||
App.ExitFile=lock
|
||||
App.HasWriteableConsole=True
|
||||
App.HasReadableConsole=True
|
||||
App.SupportsLiveSettingsChanges=False
|
||||
App.LiveSettingChangeCommandFormat=set {0} "{1}"
|
||||
App.ApplicationIPBinding=
|
||||
App.Ports=[{"Protocol":"UDP","Name":"Server Port","Description":"Port for both game and RCON traffic","Port":26000,"Ref":"ServerPort"}]
|
||||
App.AdminPortRef=ServerPort
|
||||
App.PrimaryApplicationPortRef=ServerPort
|
||||
App.MaxUsers=8
|
||||
App.UseRandomAdminPassword=True
|
||||
App.RemoteAdminPassword=
|
||||
App.AdminMethod=STDIO
|
||||
App.UpdateSources=[{"UpdateStageName":"Server Download","UpdateSourcePlatform":"All","UpdateSource":"FetchURL","UpdateSourceData":"https://{{ServerReleaseStream}}-{{ServerVersion}}.zip","UpdateSourceTarget":"./","UnzipUpdateSource":true,"OverwriteExistingFiles":true,"DeleteAfterExtract":true},{"UpdateStageName":"Set Executable Flag","UpdateSourcePlatform":"Linux","UpdateSource":"SetExecutableFlag","UpdateSourceArgs":"./Xonotic/xonotic-linux64-dedicated"},{"UpdateStageName":"Config File Download","UpdateSourcePlatform":"All","UpdateSource":"FetchURL","UpdateSourceData":"https://raw.githubusercontent.com/Greelan/AMPTemplates/xonotic/xonoticserver.cfg","UpdateSourceTarget":"../","OverwriteExistingFiles":true},{"UpdateStageName":"Data Directory Creation","UpdateSourcePlatform":"All","UpdateSource":"CreateDirectory","UpdateSourceArgs":"./xonotic/Xonotic/ServerData/data"},{"UpdateStageName":"Config File Copy","UpdateSourcePlatform":"All","UpdateSource":"CopyFilePath","UpdateSourceData":"./xonotic/Xonotic/ServerData/data/server.cfg","UpdateSourceArgs":"./xonoticserver.cfg","OverwriteExistingFiles":false}]
|
||||
App.Compatibility=None
|
||||
App.SteamUpdateAnonymousLogin=True
|
||||
App.SteamForceLoginPrompt=False
|
||||
App.RapidStartup=False
|
||||
App.ApplicationReadyMode=RegexMatch
|
||||
App.TemplateMatchRegex={{(\$?[\w]+)}}
|
||||
Console.FilterMatchRegex=
|
||||
Console.FilterMatchReplacement=
|
||||
Console.ThrowawayMessageRegex=^(WARNING|ERROR): Shader.+$
|
||||
Console.AppReadyRegex=^Server listening on address [\d.:]*$
|
||||
Console.UserJoinRegex=^(?<username>.+?) connected$
|
||||
Console.UserLeaveRegex=^Client "(?<username>.+?)" dropped$
|
||||
Console.UserChatRegex=^(\[[;\d]*m)?(?<username>.+?)(\[m)?: (?<message>.+?)$
|
||||
Console.UpdateAvailableRegex=
|
||||
Console.SuppressLogAtStart=False
|
||||
Console.ActivateLogRegex=
|
||||
Console.UserActions={}
|
215
xonoticconfig.json
Executable file
215
xonoticconfig.json
Executable file
@ -0,0 +1,215 @@
|
||||
[
|
||||
{
|
||||
"DisplayName":"Port",
|
||||
"Category":"Server Settings",
|
||||
"Description":"",
|
||||
"Keywords":"",
|
||||
"FieldName":"$ServerPort",
|
||||
"InputType":"number",
|
||||
"Hidden":true,
|
||||
"IsFlagArgument":false,
|
||||
"ParamFieldName":"port",
|
||||
"IncludeInCommandLine":false,
|
||||
"EnumValues":{}
|
||||
},
|
||||
{
|
||||
"DisplayName":"Log File",
|
||||
"Category":"Server Settings",
|
||||
"Description":"",
|
||||
"Keywords":"",
|
||||
"FieldName":"log_file",
|
||||
"InputType":"text",
|
||||
"Hidden":true,
|
||||
"IsFlagArgument":false,
|
||||
"ParamFieldName":"log_file",
|
||||
"IncludeInCommandLine":false,
|
||||
"DefaultValue":"server.log",
|
||||
"EnumValues":{}
|
||||
},
|
||||
{
|
||||
"DisplayName":"RCON Password",
|
||||
"Category":"Server Settings",
|
||||
"Description":"",
|
||||
"Keywords":"",
|
||||
"FieldName":"$RemoteAdminPassword",
|
||||
"InputType":"text",
|
||||
"Hidden":true,
|
||||
"IsFlagArgument":false,
|
||||
"ParamFieldName":"rcon_password",
|
||||
"IncludeInCommandLine":false,
|
||||
"EnumValues":{}
|
||||
},
|
||||
{
|
||||
"DisplayName":"Server Release Stream",
|
||||
"Category":"Server Settings",
|
||||
"Description":"Sets Stable or Autobuild (nightly) release stream. Needs \"Server Version\" set as well. NOTE: Update the server after changing this setting!",
|
||||
"Keywords":"release,stable,autobuild",
|
||||
"FieldName":"ServerReleaseStream",
|
||||
"InputType":"enum",
|
||||
"IsFlagArgument":false,
|
||||
"ParamFieldName":"",
|
||||
"IncludeInCommandLine":false,
|
||||
"DefaultValue":"dl.xonotic.org/xonotic",
|
||||
"EnumValues":{
|
||||
"dl.xonotic.org/xonotic":"Stable",
|
||||
"beta.xonotic.org/autobuild/Xonotic":"Autobuild"
|
||||
}
|
||||
},
|
||||
{
|
||||
"DisplayName":"Server Version",
|
||||
"Category":"Server Settings",
|
||||
"Description":"[Stable build version](https://xonotic.org/download/) or [Autobuild version](https://beta.xonotic.org/autobuild/) to install. Set \"Server Release Stream\" as appropriate. NOTE: Update the server after changing this setting!",
|
||||
"Keywords":"server,version,build",
|
||||
"FieldName":"ServerVersion",
|
||||
"InputType":"text",
|
||||
"IsFlagArgument":false,
|
||||
"ParamFieldName":"",
|
||||
"IncludeInCommandLine":false,
|
||||
"DefaultValue":"0.8.2",
|
||||
"Placeholder":"0.8.2 | 20220528 | latest",
|
||||
"EnumValues":{}
|
||||
},
|
||||
{
|
||||
"DisplayName":"Server Name",
|
||||
"Category":"Server Settings",
|
||||
"Description":"Server name visible in the server list (\"$g_xonoticversion\" is replaced with the current version)",
|
||||
"Keywords":"server,name,hostname",
|
||||
"FieldName":"hostname",
|
||||
"InputType":"text",
|
||||
"IsFlagArgument":false,
|
||||
"ParamFieldName":"hostname",
|
||||
"IncludeInCommandLine":false,
|
||||
"DefaultValue":"Xonotic $g_xonoticversion Server - Powered by AMP",
|
||||
"EnumValues":{}
|
||||
},
|
||||
{
|
||||
"DisplayName":"Server Public Status",
|
||||
"Category":"Server Settings",
|
||||
"Description":"Sets the public status of the server and whether it is included in the master server list",
|
||||
"Keywords":"public,list,private",
|
||||
"FieldName":"sv_public",
|
||||
"InputType":"enum",
|
||||
"IsFlagArgument":false,
|
||||
"ParamFieldName":"sv_public",
|
||||
"IncludeInCommandLine":false,
|
||||
"DefaultValue":"1",
|
||||
"EnumValues":{
|
||||
"1":"Public and included in server list",
|
||||
"0":"Public but not included in server list",
|
||||
"-1":"Not public"
|
||||
}
|
||||
},
|
||||
{
|
||||
"DisplayName":"Server Binding",
|
||||
"Category":"Server Settings",
|
||||
"Description":"Sets the binding of the server. Default is 0.0.0.0. Change to internal interface IP only if the server has issues",
|
||||
"Keywords":"server,ip,binding",
|
||||
"FieldName":"net_address",
|
||||
"InputType":"text",
|
||||
"IsFlagArgument":false,
|
||||
"ParamFieldName":"net_address",
|
||||
"IncludeInCommandLine":false,
|
||||
"DefaultValue":"0.0.0.0",
|
||||
"EnumValues":{}
|
||||
},
|
||||
{
|
||||
"DisplayName":"Welcome Message",
|
||||
"Category":"Server Settings",
|
||||
"Description":"Welcome message when players join the server",
|
||||
"Keywords":"welcome,message,motd",
|
||||
"FieldName":"sv_motd",
|
||||
"InputType":"text",
|
||||
"IsFlagArgument":false,
|
||||
"ParamFieldName":"sv_motd",
|
||||
"IncludeInCommandLine":false,
|
||||
"DefaultValue":"Welcome to Xonotic Server",
|
||||
"EnumValues":{}
|
||||
},
|
||||
{
|
||||
"DisplayName":"Player Limit",
|
||||
"Category":"Server Settings",
|
||||
"Description":"Maximum number of players that may connect to the server (including spectators)",
|
||||
"Keywords":"players,limit",
|
||||
"FieldName":"$MaxUsers",
|
||||
"InputType":"number",
|
||||
"IsFlagArgument":false,
|
||||
"ParamFieldName":"maxplayers",
|
||||
"IncludeInCommandLine":false,
|
||||
"DefaultValue":"8",
|
||||
"Suffix":"players",
|
||||
"EnumValues":{}
|
||||
},
|
||||
{
|
||||
"DisplayName":"Game Start Delay",
|
||||
"Category":"Server Settings",
|
||||
"Description":"Sets the delay before the game starts to let players join the server first",
|
||||
"Keywords":"start,delay",
|
||||
"FieldName":"g_start_delay",
|
||||
"InputType":"number",
|
||||
"IsFlagArgument":false,
|
||||
"ParamFieldName":"g_start_delay",
|
||||
"IncludeInCommandLine":false,
|
||||
"DefaultValue":"15",
|
||||
"Suffix":"seconds",
|
||||
"EnumValues":{}
|
||||
},
|
||||
{
|
||||
"DisplayName":"Maps",
|
||||
"Category":"Server Settings",
|
||||
"Description":"Space-separated list of maps for the server. Leave blank for all",
|
||||
"Keywords":"maps",
|
||||
"FieldName":"g_maplist",
|
||||
"InputType":"text",
|
||||
"IsFlagArgument":false,
|
||||
"ParamFieldName":"g_maplist",
|
||||
"IncludeInCommandLine":false,
|
||||
"DefaultValue":"afterslime atelier boil catharsis courtfun dance drain erbium finalrage fuse geoplanetary glowplant implosion leave_em_behind nexballarena oilrig runningman runningmanctf silentsiege solarium space-elevator stormkeep techassault vorix warfare xoylent",
|
||||
"EnumValues":{}
|
||||
},
|
||||
{
|
||||
"DisplayName":"Shuffle Map List",
|
||||
"Category":"Server Settings",
|
||||
"Description":"If enabled, a random map will be selected for each game. Otherwise the maps will be selected in sequence",
|
||||
"Keywords":"shuffle,maps",
|
||||
"FieldName":"g_maplist_shuffle",
|
||||
"InputType":"checkbox",
|
||||
"IsFlagArgument":false,
|
||||
"ParamFieldName":"g_maplist_shuffle",
|
||||
"IncludeInCommandLine":false,
|
||||
"DefaultValue":"1",
|
||||
"EnumValues":{
|
||||
"False":"0",
|
||||
"True":"1"
|
||||
}
|
||||
},
|
||||
{
|
||||
"DisplayName":"Minimum Maps Before Repeat",
|
||||
"Category":"Server Settings",
|
||||
"Description":"Number of maps that have to be played before a map can be repeated",
|
||||
"Keywords":"maps,recent,count",
|
||||
"FieldName":"g_maplist_mostrecent_count",
|
||||
"InputType":"number",
|
||||
"IsFlagArgument":false,
|
||||
"ParamFieldName":"g_maplist_mostrecent_count",
|
||||
"IncludeInCommandLine":false,
|
||||
"DefaultValue":"3",
|
||||
"Suffix":"maps",
|
||||
"EnumValues":{}
|
||||
},
|
||||
{
|
||||
"DisplayName":"Hide IPs from Clients",
|
||||
"Category":"Server Settings",
|
||||
"Description":"If enabled, IP addresses are hidden from \"status\" replies shown to clients",
|
||||
"Keywords":"hide,ip,client",
|
||||
"FieldName":"sv_status_privacy",
|
||||
"InputType":"checkbox",
|
||||
"IsFlagArgument":false,
|
||||
"ParamFieldName":"sv_status_privacy",
|
||||
"IncludeInCommandLine":false,
|
||||
"DefaultValue":"1",
|
||||
"EnumValues":{
|
||||
"False":"0",
|
||||
"True":"1"
|
||||
}
|
||||
}
|
||||
]
|
9
xonoticmetaconfig.json
Normal file
9
xonoticmetaconfig.json
Normal file
@ -0,0 +1,9 @@
|
||||
[
|
||||
{
|
||||
"ConfigFile":"ServerData/data/server.cfg",
|
||||
"AutoMap":true,
|
||||
"ConfigType":"kvp",
|
||||
"ConfigFormat":"{0} \"{1}\"",
|
||||
"ConfigFormatRegex":"^(?<key>.+?) \"(?<value>.*?)\"$"
|
||||
}
|
||||
]
|
218
xonoticserver.cfg
Normal file
218
xonoticserver.cfg
Normal file
@ -0,0 +1,218 @@
|
||||
// Two slashes start a comment until the end of the line.
|
||||
// Surround settings with double quotes (e.g. cvar_name "some value") unless they're a single number or word.
|
||||
// Cvar means console variable.
|
||||
// Just "" means empty string.
|
||||
// Semicolon separates commands (in console or in aliases).
|
||||
// Search for settings and descriptions using the 'search' command in console
|
||||
// or online: https://xonotic.org/tools/cacs/
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////////////
|
||||
// Settings controlled by AMP.
|
||||
|
||||
sv_public "1"
|
||||
sv_status_privacy "1"
|
||||
hostname "Xonotic $g_xonoticversion Server - Powered by AMP"
|
||||
sv_motd "Welcome to Xonotic Server"
|
||||
maxplayers "8"
|
||||
port "26000"
|
||||
log_file "server.log"
|
||||
g_start_delay "15"
|
||||
g_maplist "afterslime atelier boil catharsis courtfun dance drain erbium finalrage fuse geoplanetary glowplant implosion leave_em_behind nexballarena oilrig runningman runningmanctf silentsiege solarium space-elevator stormkeep techassault vorix warfare xoylent"
|
||||
g_maplist_shuffle "1"
|
||||
g_maplist_mostrecent_count "3"
|
||||
net_address "0.0.0.0"
|
||||
rcon_password "Password123"
|
||||
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////////////
|
||||
// Other basic settings
|
||||
// Everything below has some sensible defaults so you don't really need to change anything.
|
||||
// It's meant as examples for people who want to customize the server more.
|
||||
// The values shown are either defaults or examples (for up to date defaults, see 'search' (or 'apropos') in console.
|
||||
|
||||
//sv_termsofservice_url "https://yourdomain.tld/path/to/tos" // URL for the Terms of Service for playing on your server
|
||||
// It is RECOMMENDED to supply such a document containing information about if and how you collect and process user data (bridging to IRC, player stats etc),
|
||||
// contact information, rules and similar information.
|
||||
// This document will be shown in the server join dialog.
|
||||
|
||||
// LIMITS: how long a match will last before the next map starts (-1 means use the map default, 0 = unlimited, please note that the variables fraglimit/timelimit can NOT be globally used for this but only DURING a match is being played)
|
||||
//timelimit_override -1 // global timelimit for all maps and gametypes
|
||||
//fraglimit_override -1 // global frag/point limit for all maps and gametypes
|
||||
//capturelimit_override -1 // capture limit for CTF
|
||||
//g_domination_point_limit -1 // frag/point limit for DOM
|
||||
//g_keyhunt_point_limit -1 // frag/point limit for KH
|
||||
//g_lms_lives_override -1 // lives for LMS
|
||||
//g_nexball_goallimit -1 // goals for NEXBALL
|
||||
|
||||
//g_ctf_ignore_frags 0 // set to 1 to ignore kills except for FC kills
|
||||
|
||||
// TEAMS for key hunt (change this to 2, 3, 4 to set a fixed keyhunt style)
|
||||
//g_keyhunt_teams_override -1 // teams for KH
|
||||
|
||||
// GAME MODE: what type of server do you want to host?
|
||||
// possible values: dm (deathmatch), tdm (team deathmatch), ctf (capture the flag), ca (clan arena), ft (freeze tag), kh (keyhunt), as (assault), dom (domination), lms (last man standing), ka (keepaway), inv (invasion), ons (onslaught), rc (race), cts (complete the stage), nb (nexball)
|
||||
//gametype dm // default gamemode
|
||||
|
||||
// TIPS: uncomment this if you want help messages on your server - one per match 20 seconds after the map loads
|
||||
//alias sv_hook_gamestart_all "defer 20 help_next"
|
||||
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////////////
|
||||
// Some settings you MIGHT want to change. Again IF so remove the //
|
||||
// from the line start and change them to your liking.
|
||||
|
||||
//skill 8 // the bots skill level
|
||||
|
||||
// if changing either of these two minplayers settigs, you should consider editing the `bots` alias so that the `bots` vote adds the right number of bots
|
||||
//minplayers 0 // add bots if less then that number of players playing
|
||||
//minplayers_per_team 0 // add bots to each team if less than that number of players playing
|
||||
//alias bots "minplayers 4; minplayers_per_team 2"
|
||||
|
||||
//g_maxplayers 0 // above this player count, only allow spectators
|
||||
//bot_prefix [BOT] // prepend this to all botnames
|
||||
//bot_suffix "" // append this to all botnames
|
||||
//g_maplist_check_waypoints 0 // set this to 1 to skip maps without waypoints if there aren't enough players to play without bots
|
||||
|
||||
//g_maplist_votable 6 // number of maps to vote between. set to 0 to disable the map voting screen (please enable g_maplist_shuffle above when this is enabled, or votes will be repetitive)
|
||||
//g_maplist_votable_suggestions 2 // number of suggestions to accept using the suggestmap command
|
||||
//g_maplist_votable_abstain 0 // when 1, people get a "don't care" selection in the vote screen
|
||||
//g_maplist_votable_nodetail 1 // when 1, people can't see how many voted for what (to thwart abusive "influential" first votes)
|
||||
|
||||
sv_vote_gametype 1 // set to 1 to enable voting for gametypes after every match
|
||||
//sv_vote_gametype_options "dm kh dom tdm mycustom" // the gametypes to vote for, custom gametypes are supported (max 9 chars for the gametype identifier because sv_vote_gametype_hook_* can have max 31 chars)
|
||||
//set sv_vote_gametype_mycustom_name "My Custom Mode" // Name displayed for the custom gametype "mycustom" (replace "mycustom" with the name you set in sv_vote_gametype_options)
|
||||
//set sv_vote_gametype_mycustom_type "ft" // the basetype that the custom gametype is derived from
|
||||
//set sv_vote_gametype_mycustom_description "This is my custom gametype" // the description for the custom gametype
|
||||
// Custom icons for custom gametypes are supported and have to be located in a server pk3 as gfx/menu/default/gametype_mycustom
|
||||
|
||||
//sv_vote_commands "restart fraglimit gotomap nextmap endmatch reducematchtime extendmatchtime allready kick cointoss movetoauto shuffleteams bots nobots" // players can vote for those commands or use them if they are masters. You can also add 'g_grappling_hook' for hook voting, and 'sv_fbskin_green sv_fbskin_red sv_fbskin_orange sv_fbskin_off' for fbskin voting.
|
||||
//sv_vote_master_commands "movetored movetoblue movetoyellow movetopink" // add commands masters can use if logged in or elected. You may want to put 'kickban' here, so masters can keep out punks. It may be good to also put "sv_status_privacy 0" then...
|
||||
//rcon_restricted_commands "restart fraglimit chmap gotomap endmatch reducematchtime extendmatchtime allready kick kickban \"sv_cmd bans\" \"sv_cmd unban\" status \"sv_cmd teamstatus\" movetoauto movetored movetoblue movetoyellow movetopink" // commands for the (stronger) rcon restricted
|
||||
//rcon_restricted_password "" // put here the password for a "restricted" rcon user (see below)
|
||||
|
||||
//sv_vote_call 1 // 0 will disable the normal voting
|
||||
//sv_vote_master 1 // 0 will disable voting to become master, good if you prefer to use the master password instead
|
||||
//sv_vote_master_password "" // when set, vlogin PWD will allow people to become master to run master commands directly using vdo
|
||||
//sv_vote_majority_factor 0.5 // What percentage of the PLAYERS constitute a majority to win a vote? must be at least 0.5
|
||||
//sv_vote_majority_factor_of_voted 0 // What percentage of the VOTERS who already voted constitute a majority to win a vote? must be at least 0.5
|
||||
// note: to JUST support simple majorities, set these two factors equal
|
||||
|
||||
//sv_maxidle 0 // idle time in seconds after which players will get kicked
|
||||
|
||||
//sv_taunt 1 // 0 to disallow taunts
|
||||
//sv_autotaunt 1 // 0 to disallow autotaunts
|
||||
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////////////
|
||||
// Settings you MIGHT want to change for PRIVACY reasons.
|
||||
|
||||
// This line sends the following data to our servers:
|
||||
// - Date and time
|
||||
// - Your server IP address
|
||||
// - Your server ID hash, which is a fingerprint of the public key of your
|
||||
// server and does not impact security of your private key (use "crypto_keys"
|
||||
// on the console to show it)
|
||||
// - Your server name ("hostname")
|
||||
// - Current game type
|
||||
// - Current map
|
||||
// - Balance settings you have modified from defaults (only those that make
|
||||
// your server "impure")
|
||||
// - For each weapon pairing (A, B), separately for player-player, player-bot,
|
||||
// bot-player, bot-bot pairings:
|
||||
// - Number of hits of players/bots holding A against players/bots holding B
|
||||
// - Number of frags of players/bots holding A against players/bots holding B
|
||||
// - Total damage of players/bots holding A against players/bots holding B
|
||||
//
|
||||
// We use this data to:
|
||||
// - Optimize the game balance for future releases
|
||||
// - Identify problems in the bot AI and improving it
|
||||
// - Find settings that make servers "impure" that should not, so we can
|
||||
// whitelist them in future releases
|
||||
//
|
||||
// We will or might publish:
|
||||
// - Global weapon pairing statistics for players vs players, or bots vs bots,
|
||||
// or any vs any, on a selection of servers
|
||||
// - Per-gametype and per-map weapon pairing statistics players vs players, or
|
||||
// bots vs bots, or any vs any, on a selection of servers
|
||||
// - Lists of commonly changed cvars, together with counts on how often they
|
||||
// are modified
|
||||
//
|
||||
// No information about the players on the server is sent, so as a server admin
|
||||
// you need no permission of your players for this.
|
||||
//
|
||||
// No information about your server will be published - all published data sets
|
||||
// will include data from multiple servers.
|
||||
//
|
||||
sv_weaponstats_file "http://www.xonotic.org/weaponbalance/"
|
||||
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////////////
|
||||
// Some more advanced settings. You probably are not interested in changing them at all.
|
||||
|
||||
//sv_ready_restart 0 // 1 to allow players to restart the map when all of them press the ready button
|
||||
//sv_ready_restart_after_countdown 0 // if set to 1 the players and map items are reset after the countdown ended, otherwise they're reset already at the beginning of the countdown
|
||||
//sv_ready_restart_repeatable 0 "allows the players to restart the game as often as needed
|
||||
//sv_autoscreenshot 0 // 1 will force a screenshot for all clients when the map ends. Useful for competitions or the ladder.
|
||||
|
||||
//g_antilag 2 // 0 to disable the antilag feature, 1 and 2 use different methods
|
||||
|
||||
//sv_maxrate 1000000 // limits client connections to this rate in bytes/seconds
|
||||
|
||||
//sys_ticrate 0.0333333 // 0.0166667 for twice as many server frames per second; smoother gameplay but somewhat higher CPU use.
|
||||
// see Docs/mapdownload.txt for more info
|
||||
//sv_curl_defaulturl http://www.xonotic.org/contentdownload/getmap.php?file= //fallback download URL
|
||||
|
||||
//sv_defaultcharacter 0 // 1 will force a specific model for all players
|
||||
//sv_defaultplayermodel models/player/erebus.iqm // this model will be used
|
||||
//sv_defaultplayerskin 0 // this skin number will be forced for all players
|
||||
//sv_defaultplayercolors "" // you can even force player colors here (16*shirt+pants)
|
||||
//g_fullbrightplayers 0 // 1 to make players fullbright
|
||||
//g_fullbrightitems 0 // 1 to make items fullbright
|
||||
|
||||
//g_balance_teams 1 // 0 will show players the team selection menu after joining instead of automaticly putting them on the smaller team
|
||||
//g_balance_teams_prevent_imbalance 1 // 0 to prevent switchint to a bigger/begger team
|
||||
|
||||
//g_ban_sync_uri "http://46.38.241.138/~xonotic/bans/" // sync bans using this ban list provider (disabled by default, uncomment this line to enable)
|
||||
//g_ban_sync_trusted_servers "" // accept bans that were initially set on the server IPs listed here (if not set, your bans are just sent to the sync URIs, but no bans are retrieved from there)
|
||||
|
||||
//g_spawnshieldtime 1 // time for which players are protected after spawn
|
||||
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////////////
|
||||
// "Obvious" mutators that are allowed on a "pure" server
|
||||
//g_instagib 0 // set to 1 for InstaGib
|
||||
//g_weapon_stay 0 // set to 1, 2 or 3 for different weapon-stay modes (1 = traditional, 2 = no ammo but allow throwing, 3 = ghost weapon stay)
|
||||
//g_powerups -1 // set to 0 to turn off strength/quad and shield/invincible, and set to 1 to turn them on even in game modes that normally have them turned off
|
||||
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////////////
|
||||
// Overkill mod settings
|
||||
|
||||
// To enable Overkill, put 'exec defaultOverkill.cfg' at the top of this file (above any other cvar changes), don't use 'g_overkill 1' directly.
|
||||
// You should also consider enabling 'g_fullbrightplayers 1'.
|
||||
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////////////
|
||||
// WARNING: anything below this line makes your server "impure"!
|
||||
|
||||
// enable some mutators you'd like
|
||||
//g_cloaked 0 // set to 1 for transparent hard to see players
|
||||
//g_grappling_hook 0 // set to 1 to enable the hook (allowed on "pure" server in InstaGib)
|
||||
//g_jetpack 0 // set to 1 to enable the jetpack (allowed on "pure" server in InstaGib)
|
||||
//g_midair 0 // set to 1 to make only midair damage count
|
||||
//g_vampire 0 // set to 1 to give players the damage they cause as health
|
||||
//sv_gravity 800 // for low gravity, set this somewhere between 50 and 400
|
||||
|
||||
// select AT MOST one of these arena mutators (if you didn't select g_instagib)
|
||||
//g_nix is "0" ["0"] No Items Xonotic - instead of pickup items, everyone plays with the same weapon. After some time, a countdown will start, after which everyone will switch to another weapon, and so on
|
||||
//g_nix_with_healtharmor is "0" ["0"] when 1, health and armor still show up in NIX
|
||||
//g_nix_with_blaster is "0" ["0"] always carry the blaster as an additional weapon in NIX
|
||||
//g_nix_with_powerups is "0" ["0"] when 1, powerups still show up in NIX
|
Loading…
Reference in New Issue
Block a user