Browse Source

changed api to reflect whitelist.json

tags/1.0.0
kami 7 months ago
parent
commit
0a7b2769ca
2 changed files with 5 additions and 5 deletions
  1. +4
    -4
      README.md
  2. +1
    -1
      api/server.go

+ 4
- 4
README.md View File

@@ -5,8 +5,8 @@ This isnt technically oauth but oh well.
Compatible with Minecraft Client 1.7.X to 1.14.X and further through ViaVersion.
This server and plugin are meant to verify that an mc user exists and is valid.
Inspired by https://mc-oauth.net/. Head over to their description, seriously its a lot better.
Running all build steps below by hand is too complicated?
Try `drone exec` (requires drone-cli installed) or head over to the [releases](https://git.varelus.com/kami/mc-oauth/releases).
## [Releases](https://git.varelus.com/kami/mc-oauth/releases).

## Docker
We include a Docker setup out of the box with no configuration needed so you can just deploy this and forget about it.
@@ -100,11 +100,11 @@ Server will per default attach to port 80 (please use port forwarding in product
Response:

```json
{"uuid":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","username":"lolthisalegituser"}
{"uuid":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","name":"lolthisalegituser"}
```

or none

## License

MIT (c) [Felix Soederhuyzen](https://varelus.com)
MIT (c) [Felix Soederhuyzen](https://varelus.com)

+ 1
- 1
api/server.go View File

@@ -15,7 +15,7 @@ import (

type Response struct {
Uuid string `json:"uuid"`
Username string `json:"username"`
Username string `json:"name"`
}

type User struct {


Loading…
Cancel
Save