X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=xonotic-server.cfg;h=8593149805835749a9dc9848804a7113836a6f5b;hp=39482b8518d14d6efbbfd9651f9a20bbf08e9a6a;hb=060a811f3d8b7aaf8c15b5e450c9975e41a29922;hpb=dc02e4d78fb0e67b47a0c1e150b4c18c0711b8bf diff --git a/xonotic-server.cfg b/xonotic-server.cfg index 39482b851..859314980 100644 --- a/xonotic-server.cfg +++ b/xonotic-server.cfg @@ -14,10 +14,12 @@ set sv_mapchange_delay 5 "delay by this many seconds after the match ends before set minplayers 0 "fill server with bots to reach this number of players in teamless games (if bot_number is not enough)" set minplayers_per_team 0 "fill server with bots to reach this number of players per team (if bot_number is not enough)" +// executed when the first player joins or the last player leaves +alias sv_hook_firstjoin +alias sv_hook_lastleave + // restart server if all players hit "ready"-button -set sv_ready_restart 0 "allow a map to be restarted once all players pressed the \"ready\" button" set sv_ready_restart_after_countdown 0 "reset players and map items after the countdown ended, instead of at the beginning of the countdown" -set sv_ready_restart_repeatable 0 "allows the players to restart the game as often as needed" alias sv_hook_readyrestart @@ -49,8 +51,6 @@ set sv_timeout_number 2 "how many timeouts one player is allowed to call (gets r set sv_timeout_leadtime 4 "how long the players will be informed that a timeout was called before it starts, in seconds" set sv_timeout_resumetime 3 "how long the remaining timeout-time will be after a player called the timein command" -set g_allow_oldvortexbeam 1 "If enabled, clients are allowed to use old v2.3 Vortex beam" - set g_telefrags 1 "telefragging, i.e. killing someone who stands in the way of someone who is teleporting" set g_telefrags_teamplay 1 "never telefrag team mates" set g_telefrags_avoid 1 "when teleporters have a random destination, avoid teleporting to locations where a telefrag would happen" @@ -199,7 +199,13 @@ set g_shootfromcenter 0 "weapon gets moved to the center, shots still come from set g_shootfromfixedorigin "" "if set to a string like 0 y z, the gun is moved to the given y and z coordinates. If set to a string like x y z, the whole shot origin is used" set g_weapon_stay 0 "1: ghost weapons can be picked up but give no ammo, thrown guns have ammo 2: ghost weapons can be picked up and refill ammo to one pickup size, thrown guns have no ammo (to prevent infinite ammo abuse)" set g_weapon_throwable 1 "if set to 1, weapons can be dropped" -set g_powerups -1 "if set to 0 the strength and shield (invincibility) will not spawn on the map, if 1 they will spawn in all game modes, -1 is game mode default" +set g_powerups -1 "if set to 0 no powerups will spawn, if 1 they will spawn in all game modes, -1 is game mode default" +set g_powerups_drop_ondeath 0 "players will drop their powerups on death (1 = timer continues, 2 = timer freezes until picked up)" +set g_powerups_stack 0 "enables stacking of powerup timers when picking up a powerup you already have; otherwise timer is reset to the time granted by the item, if greater than the time you currently have" +set g_powerups_strength 1 "allow strength powerups to spawn" +set g_powerups_shield 1 "allow shield powerups to spawn" +set g_powerups_speed 1 "allow speed powerups to spawn" +set g_powerups_invisibility 1 "allow invisibility powerups to spawn" set g_use_ammunition 1 "if set to 0 all weapons have unlimited ammo" set g_pickup_items -1 "if set to 0 all items (health, armor, ammo, weapons...) are removed from the map, if 1 they are forced to spawn" set g_pickup_respawntime_scaling_reciprocal 0 "Multiply respawn time by `reciprocal / (p + offset) + linear` where `p` is the current number of players, takes effect with 2 or more players present, `reciprocal` (with `offset` and `linear` set to 0) can be used to achieve a constant number of items spawned *per player*" @@ -228,14 +234,13 @@ set g_maplist_sizes_count_bots 1 "include the number of bots currently in the se set g_items_mindist 4000 "starting distance for the fading of items" set g_items_maxdist 4500 "maximum distance at which an item can be viewed, after which it will be invisible" +set g_items_dropped_lifetime 20 "default lifetime for dropped items unless explicitly overriden (ie. flags)" set g_grab_range 200 "distance at which dragable objects can be grabbed" -set g_cloaked 0 "display all players mostly invisible" set g_player_alpha 1 "default opacity of players" set g_player_brightness 0 "set to 2 for brighter players" set g_player_damageforcescale 2 "push multiplier of attacks against players" -set g_balance_cloaked_alpha 0.25 "opacity of cloaked players" set g_playerclip_collisions 1 "0 = disable collision testing against playerclips, might be useful on some defrag maps" set g_botclip_collisions 1 "0 = disable collision testing against botclips, might be useful on some defrag maps" @@ -313,9 +318,9 @@ set sv_logscores_filename scores.log "filename" set sv_logscores_bots 0 "exclude bots by default" // spam (frag/capture) log -set sv_eventlog 0 "the master switch for efficiency reasons" -set sv_eventlog_console 1 "print event log entries to the console as well" -set sv_eventlog_files 0 "save the event log to individual files instead of the main server log" +set sv_eventlog 0 "enable event logging" +set sv_eventlog_console 1 "print event log entries to the dedicated console as well" +set sv_eventlog_files 0 "save the event log to individual files" set sv_eventlog_files_timestamps 1 "include timestamps in the log file names" set sv_eventlog_files_counter 0 "internal counter cvar, do not modify" set sv_eventlog_files_nameprefix xonotic "prefix of individual log file names" @@ -343,6 +348,7 @@ sv_curl_defaulturl "http://www.xonotic.org/contentdownload/getmap.php?file=" set sv_curl_serverpackages_auto 1 "automatically add packs with *.serverpackage files to sv_curl_serverpackages" set sv_motd "" "additional information to show on the welcome screen that greets joining players" +set sv_termsofservice_url "" "URL from which Server specific Terms of Service should be downloaded" set g_waypoints_for_items 0 "make waypoints out of items, values: 0 = never, 1 = unless the mapper prevents it by worldspawn.spawnflags & 1, 2 = always" @@ -414,9 +420,11 @@ sv_gameplayfix_droptofloorstartsolid 0 set sv_foginterval 1 "force enable fog in regular intervals" set sv_maxidle 0 "kick players idle for more than this amount of time in seconds" -set sv_maxidle_spectatorsareidle 0 "when sv_maxidle is not 0, assume spectators are idle too" +set sv_maxidle_alsokickspectators 1 "when sv_maxidle is > 0, kick idle spectators as well as players" set sv_maxidle_slots 0 "when not 0, only kick idlers when this many or less player slots are available" set sv_maxidle_slots_countbots 1 "count bots as player slots" +set sv_maxidle_minplayers 2 "check for idlers only when there are at least this many players (only in dedicated servers)" +set sv_maxidle_playertospectator 60 "move players idle for more than this amount of time in seconds to spectators (sv_maxidle timer starts again after sv_maxidle_playertospectator has moved a player to spectators)" sv_allowdownloads_inarchive 1 // for csprogs.dat sv_allowdownloads 0 // download protocol is evil @@ -543,10 +551,10 @@ set g_frozen_damage_trigger 1 "if 1, frozen players falling into the void/lava/s set g_frozen_force 0.6 "How much to multiply the force on a frozen player with" // player statistics -set g_playerstats_gamereport_uri "http://stats.xonotic.org/stats/submit" "Output player statistics information to either: URL (with ://), console (with a dash like this: -), or supply a filename to output to data directory." +set g_playerstats_gamereport_uri "https://stats.xonotic.org/stats/submit" "Output player statistics information to either: URL (with ://), console (with a dash like this: -), or supply a filename to output to data directory." set g_playerstats_gamereport_ladder "" -set g_playerstats_playerbasic_uri "http://stats.xonotic.org" -set g_playerstats_playerdetail_uri "http://stats.xonotic.org/player/me" +set g_playerstats_playerbasic_uri "https://stats.xonotic.org" +set g_playerstats_playerdetail_uri "https://stats.xonotic.org/player/me" set g_playerstats_playerdetail_autoupdatetime 1800 // automatically update every 30 minutes anyway // autoscreenshots @@ -576,11 +584,11 @@ set sv_join_notices_time 15 "how long the alert is shown on the player's screen" set sv_simple_items 1 "allow or forbid client use of simple items" -set sv_showspectators 1 "Show who's spectating who in the player info panel when client has cl_showspectators on. Shouldn't be used on competitive servers, also disable when watching a suspected cheater" +set sv_showspectators 1 "Show who's spectating who in the player info panel when client has cl_showspectators on. 1: shouldn't be used on competitive servers, or when watching a suspected cheater. 2: only spectators can see the spectators list" set sv_damagetext 2 "<= 0: disabled, >= 1: visible to spectators, >= 2: visible to attacker, >= 3: all players see everyone's damage" -set sv_showfps 5 "Show player's FPS counters in the scoreboard. This setting acts as a delay in seconds between updates" +set sv_showfps 0 "Show player's FPS counters in the scoreboard. This setting acts as a delay in seconds between updates. NOTE: this feature gathers performance telemetry, it may require consent from players on the server depending on your legislation" set sv_doors_always_open 0 "If set to 1 don't close doors which after they were open" set sv_warpzone_allow_selftarget 0 "do not touch"