Skip to content

Commit

Permalink
Additional template updates
Browse files Browse the repository at this point in the history
  • Loading branch information
LordRalex committed Oct 25, 2023
1 parent 510d8eb commit 885c840
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 73 deletions.
2 changes: 1 addition & 1 deletion ark/ark.json
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
],
"run": {
"command": "./ShooterGame/Binaries/Linux/ShooterGameServer ${mapname}?listen?SessionName=${sessionname}?ServerAdminPassword=${serveradminpassword}?MultiHome=${ip}?Port=${port}?QueryPort=${queryport}?MaxPlayers=${maxplayers} -server -log ${exclusive}",
"stopCode": 2
"stop": "doexit"
},
"environment": {
"type": "host"
Expand Down
4 changes: 2 additions & 2 deletions minecraft-bungeecord/minecraft-bungeecord.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
},
"install": [
{
"if": "env == 'host'",
"if": "!in_path('java')",
"type": "javadl",
"version": "17"
},
Expand All @@ -54,7 +54,7 @@
"command": [
{
"command": "java17 -Xmx${memory}M -Xms${memory}M -Dlog4j2.formatMsgNoLookups=true -jar BungeeCord.jar",
"if": "env == 'host'"
"if": "in_path('java17')"
},
{
"command": "java -Xmx${memory}M -Xms${memory}M -Dlog4j2.formatMsgNoLookups=true -jar BungeeCord.jar"
Expand Down
70 changes: 0 additions & 70 deletions zomboid/zomboid-docker.json

This file was deleted.

17 changes: 17 additions & 0 deletions zomboid/zomboid.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,17 @@
},
"install": [
{
"if": "!in_path('steamcmd')",
"type": "steamgamedl",
"appId": "380870"
},
{
"if": "in_path('steamcmd')",
"type": "command",
"commands": [
"steamcmd +force_install_dir /pufferpanel +login anonymous +app_update 380870 +quit"
]
},
{
"target": "ProjectZomboid64.json",
"text": "{\n\t\"mainClass\": \"zombie/network/GameServer\",\n\t\"classpath\": [\n\t\t\"java/.\",\n\t\t\"java/istack-commons-runtime.jar\",\n\t\t\"java/jassimp.jar\",\n\t\t\"java/javacord-2.0.17-shaded.jar\",\n\t\t\"java/javax.activation-api.jar\",\n\t\t\"java/jaxb-api.jar\",\n\t\t\"java/jaxb-runtime.jar\",\n\t\t\"java/lwjgl.jar\",\n\t\t\"java/lwjgl-natives-linux.jar\",\n\t\t\"java/lwjgl-glfw.jar\",\n\t\t\"java/lwjgl-glfw-natives-linux.jar\",\n\t\t\"java/lwjgl-jemalloc.jar\",\n\t\t\"java/lwjgl-jemalloc-natives-linux.jar\",\n\t\t\"java/lwjgl-opengl.jar\",\n\t\t\"java/lwjgl-opengl-natives-linux.jar\",\n\t\t\"java/lwjgl_util.jar\",\n\t\t\"java/sqlite-jdbc-3.27.2.1.jar\",\n\t\t\"java/trove-3.0.3.jar\",\n\t\t\"java/commons-compress-1.18.jar\",\n\t\t\"java/uncommons-maths-1.2.3.jar\"\n\t],\n\t\"vmArgs\": [\n\t\t\"-Djava.awt.headless=true\",\n\t\t\"-Xmx${memory}M\",\n\t\t\"-Dzomboid.steam=1\",\n\t\t\"-Dzomboid.znetlog=1\",\n\t\t\"-Djava.library.path=linux64/:natives/\",\n \"-Duser.home=./\",\n\t\t\"-Djava.security.egd=file:/dev/urandom\",\n\t\t\"-XX:+UseZGC\",\n\t\t\"-XX:-OmitStackTraceInFastThrow\"\n\t]\n}",
Expand All @@ -66,6 +74,15 @@
"environment": {
"type": "host"
},
"supportedEnvironments": [
{
"type": "host"
},
{
"type": "docker",
"image": "steamcmd/steamcmd"
}
],
"requirements": {
"os": "linux",
"arch": "amd64"
Expand Down

0 comments on commit 885c840

Please sign in to comment.