defcon42
Civil Servant Zombie
Civil Servant Zombie
Posts: 16
Joined: Sun Nov 06, 2016 12:59 am
x 1

TOOL WIP - Automatic Unturned & RocketMod Updater (Linux)

Wed Jan 11, 2017 4:32 pm

This script runs in a TMUX session in the background. Every five minutes, it checks for buildID updates against the appmanifest.acf file. If it finds an update, it shuts down the unturned server, updates, then restarts it.

Excuse the horribly written code, improvements may come later if I'm not lazy. This is more of a proof of concept.

https://github.com/snowball7275/Automat ... ed-Updater

Requirements:
- Linux
- Running Unturned server in a TMUX session (script attached in GitHub for this)
- RocketMod already installed

Steps:
0. Install SteamCMD so you can do literally everything else here.
1. Install Unturned server
2. Install Rocketmod on said unturned server
3. Download necessary files from this repository (all three SH files, readme isn't necessary)
4a. Customize all files as needed (including the rocketmod start.sh file, it may contain the wrong directory for steamcmd)
4b. Make all SH files executable (chmod +x filename)
5. Start unturned server using provided script
6. Start unturned updater using provided script
7. ???
8. Profit!
0 x

User avatar
tortellio
Civilian Zombie
Civilian Zombie
Posts: 69
Joined: Mon May 25, 2015 6:37 am
Location: Solok, Indonesia
x 3
Website
Facebook
Twitter
YouTube

Re: TOOL WIP - Automatic Unturned & RocketMod Updater (Linux)

Wed Jan 11, 2017 11:04 pm

defcon42 wrote:This script runs in a TMUX session in the background. Every five minutes, it checks for buildID updates against the appmanifest.acf file. If it finds an update, it shuts down the unturned server, updates, then restarts it.

Excuse the horribly written code, improvements may come later if I'm not lazy. This is more of a proof of concept.

https://github.com/snowball7275/Automat ... ed-Updater

Requirements:
- Linux
- Running Unturned server in a TMUX session (script attached in GitHub for this)
- RocketMod already installed

Steps:
0. Install SteamCMD so you can do literally everything else here.
1. Install Unturned server
2. Install Rocketmod on said unturned server
3. Download necessary files from this repository (all three SH files, readme isn't necessary)
4a. Customize all files as needed (including the rocketmod start.sh file, it may contain the wrong directory for steamcmd)
4b. Make all SH files executable (chmod +x filename)
5. Start unturned server using provided script
6. Start unturned updater using provided script
7. ???
8. Profit!

support :D
0 x
Image
Collaboration is better than Competition

defcon42
Civil Servant Zombie
Civil Servant Zombie
Posts: 16
Joined: Sun Nov 06, 2016 12:59 am
x 1

Re: RE: Re: TOOL WIP - Automatic Unturned & RocketMod Updater (Linux)

Thu Jan 12, 2017 2:18 am

tortellio wrote:support :D


Yay!

Sent from my SAMSUNG-SM-G930A using Tapatalk
0 x
i got bored so i decided to make a server
or two
or three
russia: 142.4.213.12
washington: 142.4.213.12:27025
pei: 142.4.213.12:27035

Return to “Tools”

Who is online

Users browsing this forum: No registered users and 1 guest

Advertisement