-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathBeyondtheWire_default.ps1
More file actions
67 lines (59 loc) · 3.05 KB
/
BeyondtheWire_default.ps1
File metadata and controls
67 lines (59 loc) · 3.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
Function New-LaunchScriptBeyondtheWirePS {
# BeyondtheWire Server
# APP ID # 1064780
# https://beyondthewire.fandom.com/wiki/Server_Configuration
################## Change Default Variables #################
# Server IP
${global:IP} = "${ip}"
# Server Port
$global:port = "7887"
# Query Port
$global:queryport = "27165"
# Rcon Port
# $global:rconport = "27020"
# # Rcon Password
# $global:rconpassword = "$RANDOMPASSWORD"
# Maxplayers
$global:maxplayers = "100"
# Server Name
$global:hostname = "SERVERNAME"
##############################/\##############################
# MULTIHOME = The IP Address you want to bind the server to. (Use only if you have multiple IPs on your server) (Optional)
# Port = Game port
# QueryPort = Steam query port
# RANDOM = Randomize map rotation (ALWAYS, FIRST, NONE) (Optional)
# FIXEDMAXPLAYERS = Player count cannot go higher than this (Optional)
# FIXEDMAXTICKRATE = MAX server tickrate (Optional)
# PREFERPREPROCESSOR = CPU Affinity (Optional) UNTESTED
# -log = Display a log window on the server (Optional)
# -fullcrashdump = Save a full dump file on crash (can become quite large sometimes) (Optional)
###################### Do not change below #####################
# System Directory
$global:systemdir = "$serverdir"
# Server Config Directory
$global:servercfgdir = "$serverdir\WireGame\ServerConfig"
# Server Executable
$global:executable = "WireGameServer"
# Server Executable Directory
$global:executabledir = "$serverdir\WireGame\Binaries\Win64"
# Gamedig Query
$global:querytype = "protocol-valve"
# Game Process
$global:process = "WireGameServer"
# Log Directory
$global:logdirectory = "$serverdir\WireGame\Saved\Logs"
# Server Log
$global:consolelog = "WireGame.log"
# Game-Server-Config Directory
# $global:gamedirname = ""
# Game-Server-Config
$global:servercfg = "Server.cfg"
# Server Launch Command
$global:launchParams = '@("${executable} MULTIHOME=${ip} Port=${port} QueryPort=${queryport} FIXEDMAXPLAYERS=${maxplayers} FIXEDMAXTICKRATE=35 RANDOM=NONE -log")'
# Advanced must be set to "0"
Get-UserInput
# Download Game-Server-Config
# Get-Servercfg
# Edit Server Game-Server-Config
# Select-EditSourceCFG
}