Skip to content

Commit 7263a50

Browse files
committed
Release 1.0.0 latest version
1 parent 0a62c86 commit 7263a50

File tree

3 files changed

+336
-93
lines changed

3 files changed

+336
-93
lines changed

.config/binaries/installGameBinaries.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,14 @@ installGameBinaries () {
3838
checkAndInstallCommand "aria2c" "aria2"
3939
# Clean up any existing pluto_t5_full_game files/directories in /tmp
4040
rm -rf /tmp/pluto_t5_full_game*
41-
aria2c --dir=/tmp --seed-time=0 --console-log-level=error --summary-interval=1 --select-file=$(aria2c -S "$WORKDIR/Resources/sources/pluto_t5_full_game.torrent" | grep -E "main/|zone/|binkw32.dll" | cut -d'|' -f1 | tr '\n' ',' | tr -d ' ') "$WORKDIR/Resources/sources/pluto_t5_full_game.torrent"
41+
aria2c --dir=/tmp --seed-time=0 --console-log-level=error --summary-interval=1 --select-file=$(aria2c -S "$WORKDIR/Resources/sources/pluto_t5_full_game.torrent" | grep -E "main/|zone/|binkw32.dll|localization.txt" | cut -d'|' -f1 | tr '\n' ',' | tr -d ' ') "$WORKDIR/Resources/sources/pluto_t5_full_game.torrent"
4242

4343
# Move downloaded files to Resources
4444
rsync -a "/tmp/pluto_t5_full_game/main" "$WORKDIR/Server/"
4545
rsync -a "/tmp/pluto_t5_full_game/zone" "$WORKDIR/Server/"
4646
rsync -a "/tmp/pluto_t5_full_game/binkw32.dll" "$WORKDIR/Server/binkw32.dll"
47-
47+
rsync -a "/tmp/pluto_t5_full_game/localization.txt" "$WORKDIR/Server/localization.txt"
48+
4849
# Clean up downloaded files
4950
rm -rf /tmp/pluto_t5_full_game
5051

Plutonium/T5Server.sh

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -61,15 +61,6 @@ readonly MOD=""
6161
# 2. Set CONFIG_FILE to "dedicated_zm.cfg"
6262
# 3. Set GAME_MODE to "t5zm"
6363

64-
# Additional startup options
65-
readonly ADDITIONAL_PARAMS=""
66-
# Example:
67-
# +set sv_network_protocol 1
68-
# +set sv_maxclients 4
69-
# +set sv_anticheat 1
70-
# +set sv_pure 1
71-
72-
7364
# Function to update server files
7465
# This function uses the Plutonium updater to ensure your server is running the latest version
7566
update_server() {
@@ -97,10 +88,9 @@ start_server() {
9788
nice -n -10 wine ./bin/plutonium-bootstrapper-win32.exe $GAME_MODE $GAME_PATH -dedicated \
9889
+set key $SERVER_KEY \
9990
+set fs_game $MOD \
91+
+sv_config $CONFIG_FILE \
10092
+set net_port $SERVER_PORT \
101-
+exec $CONFIG_FILE \
102-
$ADDITIONAL_PARAMS \
103-
+map_rotate \
93+
+start_map_rotate \
10494
2>/dev/null
10595

10696
# If the server stops, log the event and restart

0 commit comments

Comments
 (0)