Find a file
2022-07-15 17:20:48 +01:00
auth Store oauth session for redirect, invite un-authed 2022-07-06 00:17:41 +01:00
invite Initial commit of MVP API 2022-07-05 11:10:18 +01:00
minecraft Initial commit of MVP API 2022-07-05 11:10:18 +01:00
store Switch to using user ID for invite log 2022-07-06 17:55:18 +01:00
transport Return 404 and empty json for routes 2022-07-07 18:28:09 +01:00
.build.yml Update secret 2022-07-15 16:55:32 +01:00
.gitignore Initial commit of MVP API 2022-07-05 11:10:18 +01:00
Dockerfile sr.ht build config 2022-07-06 20:54:49 +01:00
go.mod Initial commit of MVP API 2022-07-05 11:10:18 +01:00
go.sum Initial commit of MVP API 2022-07-05 11:10:18 +01:00
homepage.png Expand README 2022-07-15 17:20:48 +01:00
main.go Expand server and invite management, expose invite logs 2022-07-06 15:09:07 +01:00
README.md Expand README 2022-07-15 17:20:48 +01:00

Minecraft Server Invites mc.gmem.ca

Generate Discord-like invites for your Minecraft server

Homepage screenshot

Looking for the frontend? See here: https://git.sr.ht/~gmem/minecraft-server-invites-frontend

Building

# Docker
docker build . -t whitelistmanager
# Non-docker
go build -o wlm -ldflags "-s -w"

Running

This project aims to be as dependency free as possible. The SQLite database will be automatically created on first run.

You will need to generate the keys for the Microsoft OAuth flow by following this guide.

The keys can then be saved to environment variables as follows:

AZURE_OAUTH_CLIENT_ID=<client id>
AZURE_OAUTH_CLIENT_SECRET=<client secret>
AZURE_OAUTH_CLIENT_SECRET_ID=<client secret id> # technically unused at the moment
# Docker
docker run whitelistmanager
# Non-docker
go run ./...