-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMinecraft_default.ps1
More file actions
43 lines (39 loc) · 1.64 KB
/
Minecraft_default.ps1
File metadata and controls
43 lines (39 loc) · 1.64 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
Function New-LaunchScriptminecraft_serverPS {
# Minecraft
# 11500000
################## Change Default Variables #################
# Server IP
${global:IP} = "${ip}"
# Server Name
$global:hostname = "SERVERNAME"
# Server Port
$global:port = "25565"
###########################/\#################################
# 25565 TCP/UDP IPV4
###################### Do not change below #####################
# System Directory
$global:systemdir = "$serverdir"
# Server Config Directory
$global:servercfgdir = "$serverdir"
# Server Executable Directory
$global:executable = "server.jar"
# Server Executable Directory
$global:executabledir = "$serverdir"
# Gamedig Query
$global:querytype = "minecraft"
# Game Process
$global:process = "java"
# Log Directory
$global:logdirectory = ""
# Server Log
$global:consolelog = ""
# Game-Server-Config Directory
$global:gamedirname = ""
# Game-Server-Config
$global:servercfg = "server.properties"
# Server Launch Command
$global:launchParams = '@("java -Xms1024M -Xmx1024M -jar $executable nogui")'
# Advanced must be set to "0"
Get-UserInput
Get-MCjavaBinaries
}