▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/mc-oauth
mc-oauth

mc-oauth

Simple Minecraft OAuth Service

123
4

MC-OAuth available as a separate server

Visit site: https://mc-oauth.andcool.ru

Simple Minecraft OAuth Service

This service allows you to implement user login on your website without needing to log in to a Microsoft account.

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:

{
  "nickname": "AndcoolSystems",
  "UUID": "1420c63c-b111-4453-993f-b3479ba1d4c6",
  "status": "success"
}

Совместимость

Minecraft: Java Edition

1.20.x

Платформы

Поддерживаемые окружения

Сервер

Детали

Лицензия:GPL-3.0-or-later
Опубликован:1 год назад
Обновлён:1 год назад
Главная