Skip to content

Commit

Permalink
chore: steam query coldstarter adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcStdt committed Oct 19, 2024
1 parent a82d5a3 commit 40a7a8f
Show file tree
Hide file tree
Showing 11 changed files with 176 additions and 10 deletions.
6 changes: 5 additions & 1 deletion scrolls/lgsm/.build/scroll.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ name: artifacts.druid.gg/druid-team/scroll-lgsm
desc: {{ .Version }}
version: 0.0.2
app_version: {{ .Version }}
{{- if .Vars.lua_query_game_name }}
{{- if or .Vars.lua_query_game_name .Vars.main_port_protocol }}
ports:
{{- if .Vars.lua_query_game_name }}
- name: query
protocol: udp
sleep_handler: packet_handler/query.lua
Expand All @@ -18,9 +19,12 @@ ports:
value: {{ .Vars.lua_query_map }}
- name: ServerListName
value: "{{ .Vars.lua_query_servername }}"
{{- end }}
{{- if .Vars.main_port_protocol }}
- name: main
protocol: {{ .Vars.main_port_protocol }}
{{- end }}
{{- end }}
init: "console"
commands:
console:
Expand Down
55 changes: 46 additions & 9 deletions scrolls/lgsm/.build/vars.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,30 +11,67 @@
"cs2server": {
"rcon": "enabled",
"postinstall": "enabled",
"port": "main=27015/udp;rcon=27015"
"port": "main=27015/udp;rcon=27015",
"lua_query_game_name": "CS2: Druid Server",
"lua_query_folder": "csgo",
"lua_query_map": "server idle",
"lua_query_servername": "Druid Gameserver (idle) - Start server by joining",
"main_port_protocol": "udp"
},
"pwserver": {
"port": "main=8211/udp;rcon=25575"
"port": "main=8211/udp;rcon=25575",
"main_port_protocol": "udp"
},
"gmodserver": {
"port": "query=27005/udp;main=/udp;sourcetv=27020/udp;steam=27015"
"port": "query=27005/udp;main=/udp;sourcetv=27020/udp;steam=27015",
"lua_query_game_name": "GMod Server",
"lua_query_folder": "garrysmod",
"lua_query_map": "server idle",
"lua_query_servername": "Druid Gameserver (idle) - Start server by joining",
"main_port_protocol": "udp"
},
"sdtdserver": {
"port": "main=26900/udp;main2=26902/udp;maintcp=26900"
"port": "main=26900/udp;main2=26902/udp;maintcp=26900",
"lua_query_game_name": "7 Days To Die",
"lua_query_folder": "7DTD",
"lua_query_map": "server idle",
"lua_query_servername": "Druid Gameserver (idle) - Start server by joining",
"main_port_protocol": "udp"
},
"dayzserver": {
"port": "main=2302/udp;battle-eye=2304/udp;query=27016/udp"
"port": "main=2302/udp;battle-eye=2304/udp;query=27016/udp",
"main_port_protocol": "udp"
},
"untserver": {
"port": "main=27015/udp;mainv6=27016"
"port": "main=27015/udp;mainv6=27016",
"lua_query_game_name": "Unturned Server",
"lua_query_folder": "Unturned",
"lua_query_map": "server idle",
"lua_query_servername": "Druid Gameserver (idle) - Start server by joining",
"main_port_protocol": "udp"
},
"csgoserver": {
"port": "query=27005/udp;main=27015/udp;sourcetv=27020/udp;steam=27015"
"port": "query=27005/udp;main=27015/udp;sourcetv=27020/udp;steam=27015",
"lua_query_game_name": "Counter-Strike: Global Offensive",
"lua_query_folder": "csgo",
"lua_query_map": "server idle",
"lua_query_servername": "Druid Gameserver (idle) - Start server by joining",
"main_port_protocol": "udp"
},
"terrariaserver": {
"port": "todo=8211/udp"
"port": "todo=8211/udp",
"lua_query_game_name": "Terraria Server",
"lua_query_folder": "terraria",
"lua_query_map": "server idle",
"lua_query_servername": "Druid Gameserver (idle) - Start server by joining",
"main_port_protocol": "udp"
},
"pzserver": {
"port": "main=26900/udp;main2=26902/udp;maintcp=26900"
"port": "main=26900/udp;main2=26902/udp;maintcp=26900",
"lua_query_game_name": "Project Zomboid",
"lua_query_folder": "zomboid",
"lua_query_map": "server idle",
"lua_query_servername": "Druid Gameserver (idle) - Start server by joining",
"main_port_protocol": "udp"
}
}
17 changes: 17 additions & 0 deletions scrolls/lgsm/cs2server/scroll.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,23 @@ name: artifacts.druid.gg/druid-team/scroll-lgsm
desc: cs2server
version: 0.0.2
app_version: cs2server
ports:
- name: query
protocol: udp
sleep_handler: packet_handler/query.lua
vars:
- name: GameName
value: "CS2: Druid Server"
- name: GameSteamFolder
value: csgo
- name: GameSteamId
value: "0"
- name: MapName
value: server idle
- name: ServerListName
value: "Druid Gameserver (idle) - Start server by joining"
- name: main
protocol: udp
init: "console"
commands:
console:
Expand Down
17 changes: 17 additions & 0 deletions scrolls/lgsm/csgoserver/scroll.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,23 @@ name: artifacts.druid.gg/druid-team/scroll-lgsm
desc: csgoserver
version: 0.0.2
app_version: csgoserver
ports:
- name: query
protocol: udp
sleep_handler: packet_handler/query.lua
vars:
- name: GameName
value: "Counter-Strike: Global Offensive"
- name: GameSteamFolder
value: csgo
- name: GameSteamId
value: "0"
- name: MapName
value: server idle
- name: ServerListName
value: "Druid Gameserver (idle) - Start server by joining"
- name: main
protocol: udp
init: "console"
commands:
console:
Expand Down
3 changes: 3 additions & 0 deletions scrolls/lgsm/dayzserver/scroll.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: artifacts.druid.gg/druid-team/scroll-lgsm
desc: dayzserver
version: 0.0.2
app_version: dayzserver
ports:
- name: main
protocol: udp
init: "console"
commands:
console:
Expand Down
17 changes: 17 additions & 0 deletions scrolls/lgsm/gmodserver/scroll.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,23 @@ name: artifacts.druid.gg/druid-team/scroll-lgsm
desc: gmodserver
version: 0.0.2
app_version: gmodserver
ports:
- name: query
protocol: udp
sleep_handler: packet_handler/query.lua
vars:
- name: GameName
value: "GMod Server"
- name: GameSteamFolder
value: garrysmod
- name: GameSteamId
value: "0"
- name: MapName
value: server idle
- name: ServerListName
value: "Druid Gameserver (idle) - Start server by joining"
- name: main
protocol: udp
init: "console"
commands:
console:
Expand Down
3 changes: 3 additions & 0 deletions scrolls/lgsm/pwserver/scroll.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: artifacts.druid.gg/druid-team/scroll-lgsm
desc: pwserver
version: 0.0.2
app_version: pwserver
ports:
- name: main
protocol: udp
init: "console"
commands:
console:
Expand Down
17 changes: 17 additions & 0 deletions scrolls/lgsm/pzserver/scroll.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,23 @@ name: artifacts.druid.gg/druid-team/scroll-lgsm
desc: pzserver
version: 0.0.2
app_version: pzserver
ports:
- name: query
protocol: udp
sleep_handler: packet_handler/query.lua
vars:
- name: GameName
value: "Project Zomboid"
- name: GameSteamFolder
value: zomboid
- name: GameSteamId
value: "0"
- name: MapName
value: server idle
- name: ServerListName
value: "Druid Gameserver (idle) - Start server by joining"
- name: main
protocol: udp
init: "console"
commands:
console:
Expand Down
17 changes: 17 additions & 0 deletions scrolls/lgsm/sdtdserver/scroll.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,23 @@ name: artifacts.druid.gg/druid-team/scroll-lgsm
desc: sdtdserver
version: 0.0.2
app_version: sdtdserver
ports:
- name: query
protocol: udp
sleep_handler: packet_handler/query.lua
vars:
- name: GameName
value: "7 Days To Die"
- name: GameSteamFolder
value: 7DTD
- name: GameSteamId
value: "0"
- name: MapName
value: server idle
- name: ServerListName
value: "Druid Gameserver (idle) - Start server by joining"
- name: main
protocol: udp
init: "console"
commands:
console:
Expand Down
17 changes: 17 additions & 0 deletions scrolls/lgsm/terrariaserver/scroll.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,23 @@ name: artifacts.druid.gg/druid-team/scroll-lgsm
desc: terrariaserver
version: 0.0.2
app_version: terrariaserver
ports:
- name: query
protocol: udp
sleep_handler: packet_handler/query.lua
vars:
- name: GameName
value: "Terraria Server"
- name: GameSteamFolder
value: terraria
- name: GameSteamId
value: "0"
- name: MapName
value: server idle
- name: ServerListName
value: "Druid Gameserver (idle) - Start server by joining"
- name: main
protocol: udp
init: "console"
commands:
console:
Expand Down
17 changes: 17 additions & 0 deletions scrolls/lgsm/untserver/scroll.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,23 @@ name: artifacts.druid.gg/druid-team/scroll-lgsm
desc: untserver
version: 0.0.2
app_version: untserver
ports:
- name: query
protocol: udp
sleep_handler: packet_handler/query.lua
vars:
- name: GameName
value: "Unturned Server"
- name: GameSteamFolder
value: Unturned
- name: GameSteamId
value: "0"
- name: MapName
value: server idle
- name: ServerListName
value: "Druid Gameserver (idle) - Start server by joining"
- name: main
protocol: udp
init: "console"
commands:
console:
Expand Down

0 comments on commit 40a7a8f

Please sign in to comment.