Repository navigation
Expand file tree
/
Copy pathJustCause3_default.ps1
More file actions
48 lines (44 loc) · 1.81 KB
/
Copy pathJustCause3_default.ps1
File metadata and controls
48 lines (44 loc) · 1.81 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
Function New-LaunchScriptjc3serverPS {
# Just Cause™ 3: Multiplayer - Dedicated Server
# APP ID # 619960
################## Change Default Variables #################
# Server IP
${global:IP} = "${ip}"
# Server Name
$global:hostname = "SERVERNAME"
# Server Port
$global:port = "4200"
##############################/\##############################
# 4200 TCP/UDP
###################### Do not change below #####################
# System Directory
$global:systemdir = "$serverdir"
# Server Config Directory
$global:servercfgdir = "$serverdir"
# Server Executable
$global:executable = "Server"
# Server Executable Directory
$global:executabledir = "$serverdir"
# Gamedig Query
$global:querytype = "jc3mp"
# Default Port for gamedig - change if needed
$global:port = "4201"
# Game Process
$global:process = "Server"
# Log Directory
$global:logdirectory = "$serverdir\logs"
# Server Log
$global:consolelog = "Server.log"
# Game-Server-Config Directory
$global:gamedirname = "JustCause3"
# Game-Server-Config
$global:servercfg = "config.json"
# Server Launch Command
$global:launchParams = '@("${executable}")'
# Advanced must be set to "0"
Get-UserInput
# Download Game-Server-Config
Get-Servercfg
# Edit Server Game-Server-Config
Select-EditSourceCFG
}