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!
- Host: GitHub
- URL: https://github.com/apollo-roboto/gameservermanager
- Owner: Apollo-Roboto
- Created: 2021-07-20T22:19:34.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-10-02T21:31:57.000Z (over 2 years ago)
- Last Synced: 2025-01-22T05:17:31.989Z (over 1 year ago)
- Topics: game, minecraft, rest-api, server
- Language: Python
- Homepage:
- Size: 38.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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 '
```