Universal update script for steam games, minecraft and more.
TekLab 5f52a220fa 'README.md' ändern 5 months ago
games/minecraft Change chmod 1 year ago
LICENSE 'LICENSE' ändern 1 year ago
README.md 'README.md' ändern 5 months ago
updater.sh 'updater.sh' ändern 5 months ago

README.md

TekBASE - Game Updater

TekBASE 8.X License OPL v1.0

Universal update script for steam games, minecraft and more. More informations about TekBASE at TekLab.de

Installation

cd /home
git clone https://gitgem.com/TekLab/tekbase-game-updater.git
cd tekbase-game-updater
chmod -R 0777 *.sh
tar -cf updater.tar *

Copy the updater.tar on your Imageserver (download server) and create an update entry in your game list. Example for minecraft:

wget ftp://testuser:password@123.123.123.123/updater.tar;tar -xf updater.tar;./updater.sh www minecraft

Update methodes

  • imageserver = Your ftp or http download server
  • gamefile = TekBASE admin panel -> gamelist -> edit game -> image file field
  • gamefolder = Folder name in www folder
  • steamuser = Your steam login or anonymous will be selected (not allowed for every game)
  • steampw = Your steam password or anonymous will be selected (not allowed for every game)
  • steamid = Steam id for the dedicated server files

File - download and extract from your server:

wget imageserver/updater.tar;tar -xf updater.tar;./updater.sh file "imageserver" "gamefile"

in example:

wget ftp://testuser:password@123.123.123.123/updater.tar;tar -xf updater.tar;./updater.sh file "imageserver" "css123"

or:

wget ftp://testuser:password@123.123.123.123/updater.tar;tar -xf updater.tar;./updater.sh file "imageserver/css/update" "version_123"

Steam - update via steamcmd:

wget imageserver/updater.tar;tar -xf updater.tar;./updater.sh steam "steamid" "gamefolder" "steamuser" "steampw"

in example:

wget ftp://testuser:password@123.123.123.123/updater.tar;tar -xf updater.tar;./updater.sh steam "232330" "" "STEAMUSER" "STEAMPW"

or:

wget ftp://testuser:password@123.123.123.123/updater.tar;tar -xf updater.tar;./updater.sh steam "232330" "" "" ""

WWW - download directly from the publisher website:

wget imageserver/updater.tar;tar -xf updater.tar;./updater.sh www "gamefolder"

in example:

wget ftp://testuser:password@123.123.123.123/updater.tar;tar -xf updater.tar;./updater.sh www "minecraft"

License

Copyright (c) TekLab.de. Code released under the OPL v1.0 License. The use by other commercial control panel providers is explicitly prohibited.