-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCaspa_default.ps1
More file actions
60 lines (56 loc) · 2.22 KB
/
Caspa_default.ps1
File metadata and controls
60 lines (56 loc) · 2.22 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
Function New-LaunchScriptCaspaServerPS {
# Capsa Dedicated Server
# APP ID # 667230
# https://steamcommunity.com/sharedfiles/filedetails/?id=1178788612
################## Change Default Variables #################
# Server IP
${global:IP} = "${ip}"
# Server Name
$global:hostname = "SERVERNAME"
# Server Port
$global:port = "27014"
# Query Port
$global:queryport = "27015"
##############################/\##############################
# 27014-27015/UDP
# \Capsa\Saved\Config\WindowsServer\game.ini
# [Server]
# ServerName=MyFirstCapsaServer
# MaxPlayers=64
# AdminSteamID=0
# FriendsOnly=False
# GroupOnly=False
# GroupSteamID=0
# DayNightCycle=True
# TimeOfDay=1130
# DayLength=240
# CountryCode=GB
# WelcomeMessage=Welcome to Capsa
# DynamicCloudDensity=True
# CloudDensity=0
###################### Do not change below #####################
# System Directory
$global:systemdir = "$serverdir"
# Server Config Directory
$global:servercfgdir = "$serverdir\Capsa\Saved\Config\WindowsServer"
# Server Executable
$global:executable = "CapsaServer"
# Server Executable Directory
$global:executabledir = "$serverdir"
# Gamedig Query
$global:querytype = "protocol-valve"
# Game Process
$global:process = "CapsaServer-Win64-Shipping"
# Log Directory
$global:logdirectory = "$serverdir\Capsa\Saved\Logs"
# Server Log
$global:consolelog = "Capsa.log"
# Game-Server-Config Directory
$global:gamedirname = "Capsa"
# Game-Server-Config
$global:servercfg = "Game.ini"
# Server Launch Command
$global:launchParams = '@("${executable}")'
# Advanced must be set to "0"
Get-UserInput
}