Skip to content

Commit

Permalink
Added uPanel back to Unturned entrypoint with new download urls
Browse files Browse the repository at this point in the history
  • Loading branch information
sparkedhostllc committed Jul 9, 2024
1 parent cc2c092 commit 6018a94
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions games/unturned/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,35 @@ if [ "${USCRIPT_AUTOUPDATE}" == "1" ]; then
unzip -o -q uScript.Unturned.zip && rm uScript.Unturned.zip
fi

if [ "${UPANEL}" == "Vanilla" ]; then
cd /home/container/Modules
mkdir uPanelLoader
cd uPanelLoader
wget https://upanel.one/api/plugin/loader/Module
unzip -o Module
rm -r Module
cd /home/container
fi

if [ "${UPANEL}" == "RocketMod" ]; then
cd /home/container/Servers/unturned/Rocket
wget https://upanel.one/api/plugin/loader/Rocket
unzip -o Rocket
mv uPanelLoader.dll Plugins
rm -r Rocket
cd /home/container
fi

if [ "${UPANEL}" == "OpenMod" ]; then
cd /home/container/Servers/unturned/OpenMod/plugins
wget https://upanel.one/api/plugin/loader/Openmod
unzip -o Openmod
mv Libraries/* .
rm -r Openmod
rm -r Libraries
cd /home/container
fi

mkdir -p Unturned_Headless_Data/Plugins/x86_64
cp -f steam/linux64/steamclient.so Unturned_Headless_Data/Plugins/x86_64/steamclient.so

Expand Down

0 comments on commit 6018a94

Please sign in to comment.