From 49241ba69039606376d74f07a925aa789f7dd18a Mon Sep 17 00:00:00 2001 From: DeathByDenim Date: Sun, 23 Apr 2023 20:46:56 -0400 Subject: [PATCH] Add smallrandomisland map to OpenSpades --- scripts/deploy_openspades.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/deploy_openspades.sh b/scripts/deploy_openspades.sh index 377ecc9..ac6614b 100755 --- a/scripts/deploy_openspades.sh +++ b/scripts/deploy_openspades.sh @@ -47,7 +47,7 @@ sudo -u ${systemuser} sed -i ${systemuserhome}/.config/piqueserver/config.toml \ -e s/"color = \[ 0, 0, 255\]"/"color = [ 0, 255, 255]"/ \ -e s/"name = \"Green\""/"name = \"Pinkster\""/ \ -e s/"color = \[ 0, 255, 0\]"/"color = [ 255, 0, 255]"/ \ - -e s/" \"classicgen\","/" \"island\",\n \"pinpoint\",\n \"realisticbridge\",\n \"rocketisland\",\n \"submarine\","/ \ + -e s/" \"classicgen\","/" \"smallrandomisland\",\n \"island\",\n \"pinpoint\",\n \"realisticbridge\",\n \"rocketisland\",\n \"submarine\","/ \ -e s/"default_time_limit = \"2hours\""/"default_time_limit = \"20minutes\""/ deactivate @@ -69,6 +69,7 @@ for map in island pinpoint realisticbridge rocketisland submarine; do curl "https://raw.githubusercontent.com/kinvaris/openspades-maps/master/${map}.txt" > ${systemuserhome}/.config/piqueserver/maps/${map}.txt curl "https://raw.githubusercontent.com/kinvaris/openspades-maps/master/${map}.vxl" > ${systemuserhome}/.config/piqueserver/maps/${map}.vxl done +curl "https://raw.githubusercontent.com/DeathByDenim/openspades-maps/main/smallrandomisland.txt" > ${systemuserhome}/.config/piqueserver/maps/smallrandomisland.txt systemctl daemon-reload systemctl enable --now openspades.service