DevAuth Neo

Authenticate Minecraft accounts in development environments

Редакция NLZONE · 2 мин чтения · 1 просмотр
DevAuth Neo
Скачать DevAuth Neo1.21.11 – 26.3-rc-1 · с официальной страницы: modrinth.com
Перейти к загрузке

Что это

Authenticate Minecraft accounts in development environments

  • Тип: мод
  • Загрузчик: fabric
  • Версии Minecraft: 1.21.11 – 26.3-rc-1
  • Скачиваний на Modrinth: 3 129

Подробно

Authenticate Minecraft accounts in development environments.

This is a "reincarnation" of DevAuth but improved, updated and available directly as a Fabric mod.

Add the following to build.gradle: groovy dependencies { localRuntime 'net.litetex.mcm:dev-auth-neo: ' // Further documentation: https://wiki.fabricmc.net/documentation:fabricloom }

Add the following to build.gradle: groovy repositories { // https://support.modrinth.com/en/articles/8801191-modrinth-maven exclusiveContent { forRepository { maven { name = "Modrinth" url = "https://api.modrinth.com/maven" } } filter { includeGroup 'maven.modrinth' } } }

dependencies { localRuntime 'maven.modrinth:dev-auth-neo: ' // Further documentation: https://wiki.fabricmc.net/documentation:fabricloom }

IMPORTANT: DevAuth is disabled by default, in order to be unobtrusive. The simplest way to enable it is by setting the corresponding system property: -Ddevauth.enabled=1

When launching for the first time you will be prompted to enter your credentials You will also get hints on what to do in the console/logs when required After the authentication was successful the generated tokens will be stored in microsoftaccounts.json Future logins will try to reuse these tokens The tokens are then delegated to the game and it starts as usual

The configuration is dynamically loaded from (sorted by highest priority)

Environment variables prefixed with DEVAUTH all properties are in UPPERCASE and use instead of . or - System properties prefixed with devauth. A configuration file located in ~/.dev-auth-neo/config.json

| Property | Type | Default | Notes | | --- | --- | --- | --- | | enabled | bool | false | | | account | String | - | If not set: Will be prompted via the console | | account-type | String | microsoft | Currently only Microsoft is supported | | force-handle-all-tokens-as-expired | bool | false | Handles all existing tokens as if they have expired and refreshes them | | state-dir | String | Automatically determined ~/.dev-auth-neo) | The directory where the login information of the provider will be saved | | cache-profile-info-minutes | int | 360 6h | How long should fetched profile information(uuid and name) be cached? |

NOTE: All grant-flow options are additiona

Как установить

Скачайте файл на официальной странице ниже и положите его в папку mods (для модов) или plugins (для плагинов) вашего сервера или клиента. Для модов нужен совместимый загрузчик. Версия должна совпадать с версией Minecraft.

Текст подготовлен автоматически из описания на Modrinth и ждёт проверки редакцией.

Редакция NLZONE

Пишем о серверах, модах и играх, в которые играем сами. Нашли ошибку — напишите нам, исправим.

Комментарии 0

Комментарии к этому материалу отключены.

Читайте также