SV commands list

Does anyone have a repository of common SV commands to use for setting up a leaguemode server.

Im updating the wiki and the instructions are horribly wrong

1 Like

Hi. Thanks for updating the documentation. I hope the following information is helpful.
There is also the cbills button option: Then the rest of them, I think, at the bottom. Look for the “documentation folder” under mwll install for file called mwll-league-mode.txt .

Taken from the release notes: http://mechlivinglegends.net/changelog.txt

LEAGUE MODE
- Implemented a new command for league play: C-Bill Button
This command works only if “sv_leaguemode_givecbills” AND “sv_leaguemode_enabled” are BOTH set to 1
The way it works is that any player who presses the “Home” key in the default key bindings (or types “givemecbills” in the game console and presses enter) will receive 100000 cbills IF the conditions mentioned above are satisfied
The command will produce a message in the center of the screen, that will be visible only to the player who requested the command if the cvar “sv_cbillmessage_broadcast” will be set to 0 (default value). If “sv_cbillmessage_broadcast”, the message will be visible to every player connected on the server.
Whether “sv_cbillmessage_broadcast” is set to 0 or 1, the usage of the command by any player will always be logged in the server console (if the league setting is enabled)
And here is documentation from the mwll documentation folder titled mwll-league-mode.txt

MechWarrior: Living Legends :: League Mode

This document discusses the new League Mode cvar controls implemented as of the 0.4.0 release. An example server.cfg follows.

LEAGUE MODE ENABLE CONTROL
sv_leaguemode_enabled [0,1] default is 0 and signifies standard MWLL gameplay, 1 will enable the League Mode client HUD notification box, and unlock all subsequent league mode CVAR options

AUTOMATED DEFENSE TURRET CONTROL
sv_leaguemode_turrets [0,1] default is 1 and enables turrets, 0 is league mode and disables turret firing (except anti-missile/LT turrets)
sv_leaguemode_ams [0,1] where 1 is the default and base AMS is enabled, 0 means AMS defenses are unwisely disabled

C-BILL TRANSFER CONTROL
sv_leaguemode_cbtx [0,1] default is 1 and allows players to transfer C-Bills between one another, 0 is league mode and disables c-bill transfers between players

VEHICLE REPAIR CONTROL
sv_leaguemode_repair [0,1] default is 1 and enables repair in hangars, 0 is league mode and disables repair functions of hangars VTOL pads and aerospace runways

VEHICLE RE-SALE CONTROL
sv_leaguemode_vsale [0,1] default is 1 and allows users to sell back vehicles at the calculated valuation, 0 is league mode and disables vehicle resale

PURCHASE TYPE CONTROL
sv_leaguemode_purchasemode [0,1,2] default is 1 and allows all player to purchase all asset types (vehicles, ammo, equipment) from all Buy Zones. 0 is a league mode option and disables ALL purchasing options from all Buy Zones after sv_leaguemode_purchasetimer has expired. 2 is a league mode option and disables all vehicle purchasing options from all Buy Zones after sv_leaguemode_purchasetimer has expired but still allows players to purchase vehicle ammunition and infantry equipment

PURCHASE TIMER CONTROL
sv_leaguemode_purchasetimer [xxx] time in seconds from game session start that Buy Area purchasing is enabled for all players, after this time limit runs out, all Buy Areas on the map are deactivated or changed based on the setting of sv_leaguemod_purchasemode A timer is displayed to all players as a countdown ex. “PTimer: 37 sec”

MATCH START BASE EXIT TIMER
sv_leaguemode_exittimer [xxx] time in seconds that an auto-kill zone surrounding bases is active prior to match start, exiting the defined base area before the timer expires will automatically kill the offending player; The Buy Zone is currently used to define the no-kill areas at Mech hangars and aerospace bases. Timer is displayed as a countdown to all players. The use of the Buy Zone makes older maps backwards compatible. Timer is displayed to all players as “ExitTimer: 107 sec”

MATCH START TEAM JOIN TIMER
sv_leaguemode_jointimer [xxx] Time in seconds from the start of the game during which players may join a game in progress

PLAYER JOIN CONTROL
sv_leaguemode_joinmode [0,1] Where 1 is the default and allows players to join the game in progress at all times. 0 is league mode and disables new players/spectators from joining the server (including disconnects) after the timer has expired as set by sv_leaguemode_jointimer until the start of the next match.

ACTIVE EJECTION CONTROL
sv_leaguemode_activeeject [0,1] Where 1 is the default and allows players to initiate an active ejection from their vehicle at all times. When set to 0, active ejection is disallowed and players may only exit from ejection-seat capable vehicles (i.e. 'Mechs) by first powering down. When enabled pressing “F” or any key bound to the ejection command whilst the player vehicle is in a powered up state will result the command being ignored

AEROSPACE IN-AIR REARM CONTROL
sv_leaguemode_aerorearm [0,1] Where 1 is the default and allows aerospace and VTOLs to rearm by performing a low pass over the aero field or VTOL pad, respectively. When enabled with a 0 setting, aerospace must land on the aerospace runway and come to a complete stop in order to enable Buy Menu actions. For VTOLs they must land on the VTOL pad and come to rest before the Buy Menu is enabled

INSTANT CBILLS
sv_leaguemode_givecbills [0,1] Where 0 is the default and if set to 1 allows any player to use the “givemecbills” command in the console (or by pressing “home” key in the default keybinding) in order to get 100,000 C-Bills.
If set to 0, by entering “givemecbills” command in the console, nothing will happen.

#******************************************************************************
#BEGIN EXAMPLE SERVER.CFG
#******************************************************************************
#sv_gamerules
#tc = Terrain Control
#tsa = Team Solaris Arena
#tos = Test of Strength

sv_servername = “MWLL 0.4.0 League”
g_revivetime = 3
g_timelimit = 60
g_preroundtime = 0
g_minplayerlimit = 0
g_minteamlimit = 0
g_scorelimit = 0
g_autoteambalance = 0
g_tk_punish = 0
g_teamlock = 16
sv_is_vs_clan = 0
sv_team_tickets = 0
sv_null_ticket_wait_time = 120
sv_ticket_decrement_rate = 0.1
sv_capturing_rate = 0.1
sv_player_tickets = 0
sv_player_full_ticket_spawn_time = 1200
sv_player_ticket_spawn_time = 2400
sv_cheatprotection 0
net_pb_sv_enable 0
log_verbosity 3
sv_league_mode 1
sv_gamerules = tsa
map tsa_sandblasted
sv_leaguemode_enabled = 1
sv_leaguemode_turrets = 0
sv_leaguemode_ams = 0
sv_leaguemode_repair = 1
sv_leaguemode_vsale = 1
sv_leaguemode_cbtx = 1
sv_leaguemode_purchasemode = 1
sv_leaguemode_purchasetimer = 360
sv_leaguemode_aerorearm = 0
sv_leaguemode_activeeject = 1
sv_leaguemode_joinmode = 1
sv_leaguemode_jointimer = 360
sv_leaguemode_exittimer = 180
sv_leaguemode_givecbills = 0

#******************************************************************************
#END EXAMPLE SERVER.CFG
#******************************************************************************

2 Likes