mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-09 07:48:55 +00:00
50 lines
2.5 KiB
Batchfile
50 lines
2.5 KiB
Batchfile
@echo off
|
|
REM Server Tools configuration file. Lines starting with REM are comments and ignored.
|
|
REM on/off config options are considered "on" if they have anything (even 0) and "off" if they are blank or commented out.
|
|
|
|
REM This must be set to the name of your dme without the .dme part. (should be fine leaving this alone unless you renamed the code)
|
|
set PROJECTNAME=tgstation
|
|
|
|
|
|
REM location of the repo.
|
|
set REPO_URL=https://github.com/tgstation/-tg-station.git
|
|
REM set REPO_URL=git@github.com:tgstation/-tg-station.git
|
|
|
|
|
|
REM What branch of the repo to use.
|
|
set REPO_BRANCH=master
|
|
|
|
|
|
REM what map file to use. This should be the name of the dm, not dmm (and without the .dm part) (defaults to what ever is ticked in the dme)
|
|
set MAPFILE=tgstation2
|
|
REM set MAPFILE=metastation
|
|
REM set MAPFILE=ministation
|
|
|
|
|
|
REM port to use (only used to start the server in the start-server script)
|
|
set PORT=1337
|
|
|
|
|
|
REM This is the channel to log updates to. Leave blank to log to the normal channel (this is done via the tgstation bot, optional)
|
|
set UPDATE_LOG_CHANNEL=#coderbus
|
|
|
|
|
|
REM overrides the prompt to live apply the updates in update server.bat if set to anything other than a null string.
|
|
REM It is generally safe to live apply the updates, they don't take effect until the next round. the only concern is that some media files may get loaded by new clients before the next round. These files aren't edited 99% of the time, so its not a real concern, but I kept the prompt the default for compatibility sake.
|
|
set NOWAITUPDATES=
|
|
|
|
|
|
REM Attempt to push the compiled changelog to the configured git server? (set to anything)
|
|
REM This requires you configure git with authentication for the upstream server. (the ssh key should be stored in c:\users\USERNAME_HERE\.ssh\ as the filename id_rsa (if that still doesn't work, try c:\program files\git\.ssh\id_rsa))
|
|
set PUSHCHANGELOGTOGIT=
|
|
|
|
|
|
REM location of git. The script will attempt to auto detect this, but if it fails, you can set it manually.
|
|
REM This will be added to the end of path as is (only for the batch file, not the whole system)
|
|
REM github for windows users see http://www.chambaud.com/2013/07/08/adding-git-to-path-when-using-github-for-windows/ (an example is provided below)
|
|
set GIT_LOCATION_PATH=
|
|
REM set GIT_LOCATION_PATH=C:\Users\<user>\AppData\Local\GitHub\PortableGit_<GUID>\bin;C:\Users\<USER>\AppData\Local\GitHub\PortableGit_<GUID>\cmd
|
|
|
|
|
|
REM path to the byond bin folder. (if blank, we look in path, program files/byond/bin, and program files (x86)/byond/bin) (same rules as git path above)
|
|
set BYOND_LOCATION_PATH=D:\Program Files (x86)\BYOND\bin |