Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/andcool-systems/mc-oauth
Simple Minecraft OAuth Service
https://github.com/andcool-systems/mc-oauth
bukkit minecraft oauth plugin
Last synced: about 7 hours ago
JSON representation
Simple Minecraft OAuth Service
- Host: GitHub
- URL: https://github.com/andcool-systems/mc-oauth
- Owner: Andcool-Systems
- Created: 2024-05-31T11:52:32.000Z (8 months ago)
- Default Branch: master
- Last Pushed: 2024-06-01T10:46:56.000Z (8 months ago)
- Last Synced: 2025-02-01T07:28:49.325Z (about 10 hours ago)
- Topics: bukkit, minecraft, oauth, plugin
- Language: Java
- Homepage: https://modrinth.com/plugin/mc-oauth
- Size: 49.8 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Simple Minecraft OAuth Service
This service allows you to implement user login on your website without needing to log in to a Microsoft account.
Minecraft server IP: **mc-oauth.andcool.ru** (1.8 — 1.20.*)## How It Works
The plugin is installed on a Bukkit server (you can also add ViaVersion for a wider range of versions).
After installation, all connections will be disconnected with a message containing a 6-digit code.
On the server side, the plugin sets up an API on the port specified in the config, where all the requests described below should be sent.## Retrieving Data
`GET /code/<6-digit code>`
After the user receives the code, you should send a request to the API endpoint, which will return data about the Minecraft account.
The code is valid only once and for 5 minutes (by default) after it is received. After this time, the code is deleted.**Example of a Successful Response:**
```json
{
"nickname": "AndcoolSystems",
"UUID": "1420c63c-b111-4453-993f-b3479ba1d4c6",
"status": "success"
}
```