An open API service indexing awesome lists of open source software.

https://github.com/apollo-roboto/gameservermanager

Start a game server from a rest call!
https://github.com/apollo-roboto/gameservermanager

game minecraft rest-api server

Last synced: about 1 year ago
JSON representation

Start a game server from a rest call!

Awesome Lists containing this project

README

          

# Game Server Manager

Start a game server from a simple rest call!

This REST application allows you to setup multiple game server in a config file and start them from remote.

# Features
- Start a server process remotely
- Stop a server process remotely
- Automatically shutsdown after a timeout
- Webhooks!
- On start
- On stop
- On about to shutdown aka reminder
- Organized games by versions

*Limited to run one server at a time.*

# Example request

**Start:**
```bash
curl --request POST \
--url http://localhost:25575/server/start?game=&version= \
--header 'Authorization: Bearer ' \
--header 'Callback-Url: http://www.your-domain.com:8080/webhook'
```

**Stop:**
```bash
curl --request POST \
--url http://localhost:25575/server/stop \
--header 'Authorization: Bearer '
```

**Reset timeout:**
```bash
curl --request POST \
--url http://localhost:25575/server/resetTimeout \
--header 'Authorization: Bearer '
```