Skip to content

cosmosquark/AlphaGSM

 
 

Repository files navigation

This is the Sector Alpha Game Server Manager.

This tool runs game servers using screen to manage the sessions and provides
tools to control them in a consistent way and to possibly many servers at once.
This also contains code to share downloads and if possible the actual files
between multiple installs.

For changing users sudo is used so all protected permissions are controlled
using sudo.

The public script is alphagsm. This can either by run using it's full or relative
path or for ease of use can be installed in bin/ (or ~/bin/) using a symlink (It
can't be physically moved as other paths are resolved relative to it's true 
location).

For help using it run alphagsm --help or see the examples below.

For help editing and contributing see the documentation in the source code or the
pydoc output, especially for the modules "server.gamemodules" and
"downloader.downloadermodules".

The plans are also being discussed on the sector alpha wiki at
http://wiki.sector-alpha.net/index.php?title=AlphaGSM

Dependencies

  python3
  screen
  crontab
  python3-crontab
  sudo (for multi user/shared downloads support)

Example of setting up of a Minecraft vanilla server

  alphagsm mymcserver create minecraft setup
  alphagsm mymcserver start

This will create a new minecraft server called mymcserver and set it up
asking you for which version and port to use and any other info it needs.
The second command will (assuming the setup succeded) start the server.

There are various servers available "minecraft" defaults to vanilla minecraft
which has the full name is minecraft.vanilla. There is also minecraft.custom
and minecraft.tekkit and many more to come including Terraria, Steam games
and team speak

To stop the server 

  alphagsm mymcserver stop

To backup

  alphagsm mymcserver backup

which will use the default backup settings for the server. For details of how
configure backups and setup regular backups please see the full help by 
running 'alphagsm --help'.

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%