Coder Social home page Coder Social logo

rustide's Introduction

yHWZSYQ

Rustide

Rust + Oxide 2.0 Server deployment and management

This script is now deprecated for current Rust servers
Oxide 2.0 was discontinued and replaced with Umod in 2019

It's recommended to use uMod Agent to deploy uMod Servers: https://umod.org/agent

This script will maintain a Rust "Experimental" server with Oxide2 Mod by allowing the server to update automatically when the script is run.
It will check and update both Rust Game & Oxide 2, and start the server automatically at the end of the script.
Currently updates are pushed out by Facepunch Studios approximately 5pm EDT every Thursday.

Features:

  • Download + Update Rust/Oxide
  • Auto Start Rustide (optional)
  • Create server backups
  • Remove old backups

Usage:

  • Check the SET parameters at the start of the Rustide.bat file to customise your server.
    If backup is enabled "maxbackups" is how many backups it will keep in the folder.
    The "backuploc" option is for backup location, you can change it to something like C:\RustBackup if you want or leave it as default for the Rustide folder.
    MULTIPLE SERVER BACKUPS
    If you just want to use this script for update+backup, then just change "autostart" to no
  • Just run Rustide.bat when you're ready.
  • Want to run multiple servers? Just make multiple Rustide folders with different names (for seperate installs) or copy the Rustide.bat file and change "ident" to something meaningful for each server.

Already have an Oxide modded server?

  • Run this script once then quit the server.
  • Copy configuration files from your current server. Folders to copy are:
    <rust>\RustDedicated_Data\Managed <rust>\server\my_server_identity

Known Issues:

  • The RAW GitHub server occasionally gives a 503 error, because their proxies are lame. The script will keep retrying
  • There are no checks for the last update, so it will update your Rust+Oxide every time it restarts.
  • There are no frequency checks for the backup, so it will make a backup every time you restart.

CHANGELOG:

UPDATE v.1.7

  • Updated scripts for uMod & Newer versions -- tested on Windows Server 2022 & Ubuntu 21.04 LTS

UPDATE v.1.4

  • Added script for Linux support -- tested on Ubuntu

UPDATE v.1.3

  • Fixed backup naming convention for non English locales

UPDATE v.1.2

  • Added in support for server details on server listing

UPDATE v.1.1

  • Fixed bug with autorestart
  • Removed Eternals Rust Restarter

UPDATE v.1.0.8

  • Adjusted backup for new backup folder

UPDATE v.1.0.7

  • Changes to loop when quit/crashes
  • Fixed backup prompting if File or Directory

UPDATE v.1.0.6

  • Added option to let server restart itself if closed
  • Added missing -autoupdate flag

UPDATE v.1.0.5

  • Added additional checks for trimming backups in case someone changes path to something stupid, or does have multiple servers backing up in the same folder.

UPDATE v.1.0.4

  • Added check for running instance of RustDedicated server, so additional servers do not try and update if it is running. (in case of a single install with multiple launch instances)
  • Added ability to disable Auto Update completely.
  • Added ability to force updates (useful if running completely seperate installs)

UPDATE v.1.0.3

  • Changed backup naming convention
  • Added backup file trim (will only keep X number of backups)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.