Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions scrolls/lgsm/.build/scroll.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ ports:
{{- end }}
{{- end }}
commands:
{{- $keepAliveTraffic := or .Vars.keep_alive_traffic "10kb/5m" }}
console:
needs:
- start
Expand All @@ -28,11 +29,11 @@ commands:
expectedPorts:
{{- if .Vars.lua_query_game_name }}
- name: {{ $queryPort }}
keepAliveTraffic: 10kb/5m
keepAliveTraffic: {{ $keepAliveTraffic }}
{{- end }}
{{- if and .Vars.main_port_protocol (ne $queryPort "main") }}
- name: main
keepAliveTraffic: 10kb/5m
keepAliveTraffic: {{ $keepAliveTraffic }}
{{- end }}
{{- if .Vars.rcon_port }}
- name: rcon
Expand Down Expand Up @@ -79,11 +80,11 @@ commands:
expectedPorts:
{{- if .Vars.lua_query_game_name }}
- name: {{ $queryPort }}
keepAliveTraffic: 10kb/5m
keepAliveTraffic: {{ $keepAliveTraffic }}
{{- end }}
{{- if and .Vars.main_port_protocol (ne $queryPort "main") }}
- name: main
keepAliveTraffic: 10kb/5m
keepAliveTraffic: {{ $keepAliveTraffic }}
{{- end }}
mounts:
- path: "/server"
Expand Down
2 changes: 2 additions & 0 deletions scrolls/lgsm/.build/vars.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"pwserver": {
"port": "main=8211/udp;rcon=25575",
"main_port_protocol": "udp",
"keep_alive_traffic": "1mb/5m",
"lua_steam_app_id": "1623730",
"dependencies": "bc;binutils;bzip2;cpio;file;jq;pkgsi686Linux.gcc;netcat;pigz;python3;tmux;unzip;util-linux;moreutils;iproute2"
},
Expand Down Expand Up @@ -96,6 +97,7 @@
},
"pzserver": {
"port": "main=16261/udp;main2=16262/udp;maintcp=16261",
"keep_alive_traffic": "1mb/5m",
"lua_query_game_name": "Project Zomboid",
"lua_query_folder": "zomboid",
"lua_query_map": "server idle",
Expand Down
2 changes: 2 additions & 0 deletions scrolls/lgsm/.build/versions/arkserver/chunks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ chunks:
path: linuxgsm.sh
- name: lgsm
path: lgsm
- name: patch-lgsm-permissions
path: patch-lgsm-permissions.sh
- name: serverfiles
path: serverfiles
chunks:
Expand Down
2 changes: 2 additions & 0 deletions scrolls/lgsm/arkserver/scroll.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ chunks:
path: linuxgsm.sh
- name: lgsm
path: lgsm
- name: patch-lgsm-permissions
path: patch-lgsm-permissions.sh
- name: serverfiles
path: serverfiles
chunks:
Expand Down
4 changes: 2 additions & 2 deletions scrolls/lgsm/pwserver/scroll.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ commands:
image: artifacts.druid.gg/druid-team/druid:v0.1.248
expectedPorts:
- name: main
keepAliveTraffic: 10kb/5m
keepAliveTraffic: 1mb/5m
mounts:
- path: "/runtime"
sub_path: "."
Expand All @@ -35,7 +35,7 @@ commands:
image: artifacts.druid.gg/druid-team/druid:v0.1.248-steamcmd
expectedPorts:
- name: main
keepAliveTraffic: 10kb/5m
keepAliveTraffic: 1mb/5m
mounts:
- path: "/server"
working_dir: "/server"
Expand Down
4 changes: 2 additions & 2 deletions scrolls/lgsm/pzserver/scroll.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ commands:
image: artifacts.druid.gg/druid-team/druid:v0.1.248
expectedPorts:
- name: main
keepAliveTraffic: 10kb/5m
keepAliveTraffic: 1mb/5m
mounts:
- path: "/runtime"
sub_path: "."
Expand All @@ -45,7 +45,7 @@ commands:
image: artifacts.druid.gg/druid-team/druid:v0.1.248-steamcmd
expectedPorts:
- name: main
keepAliveTraffic: 10kb/5m
keepAliveTraffic: 1mb/5m
mounts:
- path: "/server"
working_dir: "/server"
Expand Down
Loading