1
0
mirror of https://git.chasehall.net/Chase/COD-Cfgs.git synced 2025-06-07 23:37:52 -05:00
COD-Cfgs/T7/Start.bat
2020-09-15 16:33:25 +00:00

74 lines
2.7 KiB
Batchfile

@echo off
:: BO3 Dedicated Server Launcher
:: Created By: LeonLionHeart & Chase (https://chasehall.net)
:: Special endorsements (https://nexuscore.us/)
:: Your Game Server Port.
:: Make sure you Port Forward both TCP & UDP.
set GamePort=15001
:: Color Codes for Server Name
:: ^1 Red
:: ^2 Green
:: ^3 Yellow
:: ^4 Blue
:: ^5 Cyan
:: ^6 Pink
:: ^7 White
:: ^8 Depends on the map you playing.
:: ^9 Grey
:: ^0 Black
:: Server Name/Description (in server browser)
:: Stay away from known illegal characters, such as the pipe, using these will break the config. ( | )
set Name="^1A New BO3 Server"
set Desc=Coming Soon
:: Playlist File
:: Sets the Playlist to use from the playlists.info file in the /machinecfg folder
set playlist=1
:: Mod Support
:: Sets the mod the server will load, usermaps is the default mod that can be run with user made maps.
:: Replace usermaps with mod ID to run a mod.
:: !!! YOU MUST BE SIGNED INTO A STEAM ACCOUNT FOR MODS TO DOWNLOAD !!!
:: To the line above, you can use Steam as a service or use the Steam client itself. Workshop anonymous downloads are broken for the T7 dedicated server.
:: Example: fsgame=771672355
:: No Mod: fsgame=usermaps
set fsgame=771672355
:: Private Server Password
:: Setting this will make your server password-protected.
set PrivPW=
:: RCON Password
:: Used with tools like BO3 Remote Console/IW4MAdmin.
:: IW4MAdmin is incomplete, however it still works from the webfront, however, YMMV.
set RCON=
:: lobbyTimerStatusStartInterval
:: Sets the wait time between maps in the lobby in millisecond. 60000ms = 60 seconds.
set lobbytimer=60000
:: Enables console log on the server
:: Basically g_log on older CODs but super broken. It does not generate a separate log if it is defined.
:: This is what is required for IW4MAdmin to work. However, RaidMax is still testing T7.
set consolelog=1
:: Enables logging on the server, helpful for crashes or debug information.
:: Setting 1 will buffer the write and 2 will not.
set logfile=2
start BlackOps3_UnrankedDedicatedServer.exe +set sv_playlist %playlist% +set fs_game %fsgame% +set g_log %consolelog% +set logfile %logfile% +set net_port %GamePort% +lobbyTimerStatusStartInterval %lobbytimer% +set live_steam_server_name %Name% +set live_steam_server_description "%Desc%" +set live_steam_server_password "%PrivPW%" +rcon_password "%RCON%" %*
:: Please do not touch the line above unless you know you are doing.
exit
:: EXTRA INFO BELOW ::
:: Allows you to manually define the IP address of your server.
:: Only advanced users should mess with this feature.
:: set net_ip
:: Unofficial way to run a config for advanced users. You must place these configs in /zone
:: exec default_dedicated.cfg