Skip to content

Commit bf1fc18

Browse files
authored
feat(newserver): add Velocity Proxy (#3904)
1 parent d3cdf63 commit bf1fc18

20 files changed

+226
-3
lines changed
Lines changed: 179 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,179 @@
1+
##################################
2+
######## Default Settings ########
3+
##################################
4+
# DO NOT EDIT, ANY CHANGES WILL BE OVERWRITTEN!
5+
# Copy settings from here and use them in either:
6+
# common.cfg - applies settings to every instance.
7+
# [instance].cfg - applies settings to a specific instance.
8+
9+
#### Game Server Settings ####
10+
11+
## Predefined Parameters | https://docs.linuxgsm.com/configuration/start-parameters
12+
javaram="1024" # -Xmx$1024M
13+
14+
## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
15+
startparameters=""
16+
17+
## Release Settings | https://docs.linuxgsm.com/game-servers/minecraft#release-settings
18+
# Version (latest|3.1.1)
19+
mcversion="latest"
20+
21+
#### LinuxGSM Settings ####
22+
23+
## LinuxGSM Stats
24+
# Send useful stats to LinuxGSM developers.
25+
# https://docs.linuxgsm.com/configuration/linuxgsm-stats
26+
# (on|off)
27+
stats="off"
28+
29+
## Notification Alerts
30+
# (on|off)
31+
32+
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
33+
displayip=""
34+
35+
# More info | https://docs.linuxgsm.com/alerts#more-info
36+
postalert="off"
37+
38+
# Discord Alerts | https://docs.linuxgsm.com/alerts/discord
39+
discordalert="off"
40+
discordwebhook="webhook"
41+
42+
# Email Alerts | https://docs.linuxgsm.com/alerts/email
43+
emailalert="off"
44+
email="email@example.com"
45+
emailfrom=""
46+
47+
# Gotify Alerts | https://docs.linuxgsm.com/alerts/gotify
48+
gotifyalert="off"
49+
gotifytoken="token"
50+
gotifywebhook="webhook"
51+
52+
# IFTTT Alerts | https://docs.linuxgsm.com/alerts/ifttt
53+
iftttalert="off"
54+
ifttttoken="accesstoken"
55+
iftttevent="linuxgsm_alert"
56+
57+
# Mailgun Email Alerts | https://docs.linuxgsm.com/alerts/mailgun
58+
mailgunalert="off"
59+
mailgunapiregion="us"
60+
mailguntoken="accesstoken"
61+
mailgundomain="example.com"
62+
mailgunemailfrom="alert@example.com"
63+
mailgunemail="email@myemail.com"
64+
65+
# Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
66+
pushbulletalert="off"
67+
pushbullettoken="accesstoken"
68+
channeltag=""
69+
70+
# Pushover Alerts | https://docs.linuxgsm.com/alerts/pushover
71+
pushoveralert="off"
72+
pushovertoken="accesstoken"
73+
pushoveruserkey="userkey"
74+
75+
# Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat
76+
rocketchatalert="off"
77+
rocketchatwebhook="webhook"
78+
rocketchattoken=""
79+
80+
# Slack Alerts | https://docs.linuxgsm.com/alerts/slack
81+
slackalert="off"
82+
slackwebhook="webhook"
83+
84+
# Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
85+
# You can add a custom cURL string eg proxy (useful in Russia) in "curlcustomstring".
86+
# For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help".
87+
telegramapi="api.telegram.org"
88+
telegramalert="off"
89+
telegramtoken="accesstoken"
90+
telegramchatid=""
91+
curlcustomstring=""
92+
93+
## Updating | https://docs.linuxgsm.com/commands/update
94+
updateonstart="off"
95+
96+
## Backup | https://docs.linuxgsm.com/commands/backup
97+
maxbackups="4"
98+
maxbackupdays="30"
99+
stoponbackup="on"
100+
101+
## Logging | https://docs.linuxgsm.com/features/logging
102+
consolelogging="on"
103+
logdays="7"
104+
105+
## Monitor | https://docs.linuxgsm.com/commands/monitor
106+
# Query delay time
107+
querydelay="1"
108+
109+
## ANSI Colors | https://docs.linuxgsm.com/features/ansi-colors
110+
ansi="on"
111+
112+
#### Advanced Settings ####
113+
114+
## Message Display Time | https://docs.linuxgsm.com/features/message-display-time
115+
sleeptime="0.5"
116+
117+
## Stop Mode | https://docs.linuxgsm.com/features/stop-mode
118+
# 1: tmux kill
119+
# 2: CTRL+c
120+
# 3: quit
121+
# 4: quit 120s
122+
# 5: stop
123+
# 6: q
124+
# 7: exit
125+
# 8: 7 Days to Die
126+
# 9: GoldSrc
127+
# 10: Avorion
128+
# 11: end
129+
# 12: shutdown
130+
stopmode="12"
131+
132+
## Query mode
133+
# 1: session only
134+
# 2: gamedig (gsquery fallback)
135+
# 3: gamedig
136+
# 4: gsquery
137+
# 5: tcp
138+
querymode="2"
139+
querytype="minecraft"
140+
141+
## Console type
142+
consoleverbose="yes"
143+
consoleinteract="yes"
144+
145+
## Game Server Details
146+
# Do not edit
147+
gamename="Velocity Proxy"
148+
engine="lwjgl2"
149+
glibc="null"
150+
151+
#### Directories ####
152+
# Edit with care
153+
154+
## Game Server Directories
155+
systemdir="${serverfiles}"
156+
executabledir="${serverfiles}"
157+
preexecutable="java -Xmx${javaram}M -XX:+UseG1GC -XX:G1HeapRegionSize=4M -XX:+UnlockExperimentalVMOptions -XX:+ParallelRefProcEnabled -XX:+AlwaysPreTouch -XX:MaxInlineLevel=15 -jar"
158+
executable="./velocity.jar"
159+
servercfgdir="${systemdir}"
160+
servercfg="velocity.toml"
161+
servercfgdefault="velocity.toml"
162+
servercfgfullpath="${servercfgdir}/${servercfg}"
163+
164+
## Backup Directory
165+
backupdir="${lgsmdir}/backup"
166+
167+
## Logging Directories
168+
logdir="${rootdir}/log"
169+
gamelogdir="${systemdir}/logs"
170+
lgsmlogdir="${logdir}/script"
171+
consolelogdir="${logdir}/console"
172+
lgsmlog="${lgsmlogdir}/${selfname}-script.log"
173+
consolelog="${consolelogdir}/${selfname}-console.log"
174+
alertlog="${lgsmlogdir}/${selfname}-alert.log"
175+
postdetailslog="${lgsmlogdir}/${selfname}-postdetails.log"
176+
177+
## Logs Naming
178+
lgsmlogdate="${lgsmlogdir}/${selfname}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
179+
consolelogdate="${consolelogdir}/${selfname}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"

lgsm/data/almalinux-8.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ ut99
119119
vh,glibc-devel
120120
vs
121121
vints,mono-complete
122+
vpmc,java-11-openjdk
122123
wet
123124
wf
124125
wmc,java-11-openjdk

lgsm/data/centos-8.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ ut99
118118
vh,glibc-devel
119119
vs
120120
vints,mono-complete
121+
vpmc,java-11-openjdk
121122
wet
122123
wf
123124
wmc,java-11-openjdk

lgsm/data/debian-10.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ ut99
119119
vh,libc6-dev
120120
vs
121121
vints,mono-complete
122+
vpmc,openjdk-11-jre
122123
wet
123124
wf
124125
wmc,openjdk-11-jre

lgsm/data/debian-11.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ ut99
119119
vh,libc6-dev
120120
vs
121121
vints,mono-complete
122+
vpmc,openjdk-11-jre
122123
wet
123124
wf
124125
wmc,openjdk-17-jre

lgsm/data/rhel-7.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ ut99
119119
vh,glibc-devel
120120
vs
121121
vints,mono-complete
122+
vpmc,java-11-openjdk
122123
wet
123124
wf
124125
wmc,java-11-openjdk

lgsm/data/rhel-8.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ ut99
119119
vh,glibc-devel
120120
vs
121121
vints,mono-complete
122+
vpmc,java-11-openjdk
122123
wet
123124
wf
124125
wmc,java-11-openjdk

lgsm/data/rocky-8.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ ut99
119119
vh,glibc-devel
120120
vs
121121
vints,mono-complete
122+
vpmc,java-11-openjdk
122123
wet
123124
wf
124125
wmc,java-11-openjdk

lgsm/data/serverlist.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ ut3,ut3server,Unreal Tournament 3
117117
ut99,ut99server,Unreal Tournament 99
118118
vh,vhserver,Valheim
119119
vints,vintsserver,Vintage Story
120+
vpmc,vpmcserver,Velocity Proxy MC
120121
vs,vsserver,Vampire Slayer
121122
wet,wetserver,Wolfenstein: Enemy Territory
122123
wf,wfserver,Warfork

lgsm/data/ubuntu-18.04.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ ut99
119119
vh,libc6-dev
120120
vs
121121
vints,mono-complete
122+
vpmc,openjdk-11-jre
122123
wet
123124
wf
124125
wmc,openjdk-11-jre

0 commit comments

Comments
 (0)