Fix anchors parity with the old documentation

- Preserve section ids of the old Sphinx-based documentation with invisible
  anchors (install-server, vanilla, authorization-code-grant, uuid, etc.),
  so existing external links still lead to the right section
- Set explicit ids for all headings, so anchors are the same in both locales
  instead of locale-dependent auto-generated slugs
- Link to minecraft-auth by the file path, so the link is validated on build
This commit is contained in:
ErickSkrauch committed 2026-10-28 18:40:23 +01:00
1 parent b128b92941
commit a5dac3b611
11 files changed
+89 -32

No files matched your search

+8 -4
View File
@@ -1,14 +1,16 @@
# Ely.by API (симуляция Mojang API)
# Ely.by API (симуляция Mojang API) {#ely-by-api-mojang-api}
Здесь приведена информация об API, совместимом с функционалом [Mojang API](http://wiki.vg/Mojang_API) Обращаем ваше внимание на то, что это не полноценное API Ely.by, а только набор дополнительных запросов, реализованных на базе нашего [сервера авторизации](./minecraft-auth).
Здесь приведена информация об API, совместимом с функционалом [Mojang API](http://wiki.vg/Mojang_API) Обращаем ваше внимание на то, что это не полноценное API Ely.by, а только набор дополнительных запросов, реализованных на базе нашего [сервера авторизации](./minecraft-auth.mdx).
## Запросы
## Запросы {#requests}
:::note
API не имеет ограничения на количество запросов. У нас есть просто настроенный fail2ban, который будет банить особо надоедливых клиентов. Такие дела.
:::
В этой секции будут описаны запросы и их же варианты для Mojang API. Все запросы выполняются на базовый url `https://authserver.ely.by`.
<a id="uuid" className="legacy-anchor"></a>
### UUID по нику на время {#uuid-by-username}
Данный запрос позволяет узнать UUID пользователя по его нику на указанный момент времени. Время задаётся через GET параметр `at` с unix timestamp.
@@ -90,10 +92,12 @@ API не имеет ограничения на количество запро
В случае, если один из переданных никнеймов не найден в базе данных, для него не будет возвращено значения (он будет просто пропущен). Учитывайте эту ситуацию при парсинге ответа.
### Запрос информации о профиле по UUID {#profile-by-uuid}
См. [запрос профиля для сервера авторизации](./minecraft-auth#profile-request).
См. [запрос профиля для сервера авторизации](./minecraft-auth.mdx#profile-request).
## Возможные ошибки {#possible-errors}
<a id="illegalargumentexception" className="legacy-anchor"></a>
### IllegalArgumentException {#illegal-argument-exception}
Данная ошибка возникает при попытке передать на сервер данные в неправильном формате.
+1 -1
View File
@@ -1,4 +1,4 @@
# Authlib-Injector
# Authlib-Injector {#authlib-injector}
**authlib-injector** — это библиотека, позволяющая подменить адреса серверов авторизации и сессии в Authlib, не модифицируя непосредственно саму библиотеку. Выполнена как javaagent.
Данная библиотека значительно упрощает установку альтернативных сервисов авторизации в игровой клиент и сервер, поскольку она универсально применяет трансформацию в процессе работы программы.
+14 -2
View File
@@ -18,11 +18,11 @@
### Предусмотренные ошибки {#errors}
В отличие от оригинального протокола, на Ely применяется меньший зоопарк ошибок:
#### IllegalArgumentException
#### IllegalArgumentException {#illegal-argument-exception}
**Причина**: Вы передали неполный список данных для выполнения запроса.
**Решение**: Внимательно перепроверьте что вы шлёте в запросе и что указано в документации.
#### ForbiddenOperationException
#### ForbiddenOperationException {#forbidden-operation-exception}
**Причина**: Пользователь ввёл/разработчик передал неверные значения.
**Решение**: Необходимо вывести пользователю уведомление о неправильно введённых данных.
@@ -240,9 +240,13 @@ Ely.by поддерживает библиотеку authlib-injector. Это н
Многие лаунчеры и скрипты запуска серверов проверяют целостность файлов игры при запуске и могут не допускать подобную модификацию
:::
<a id="install-server" className="legacy-anchor"></a>
### Установка authlib на сервер {#authlib-server}
Сервер также использует **authlib** для выполнения авторизации игрока, поэтому соответствующие изменения должны быть также применены и к нему. Ниже приведены инструкции по установки **authlib** для различных реализаций сервера Minecraft.
<a id="vanilla" className="legacy-anchor"></a>
#### Оригинальный сервер {#authlib-server-vanilla}
С помощью архиватора откройте файл сервера `minecraft_server.ВЕРСИЯ.jar`. Таким же образом откройте архив с authlib для соответствующей версии сервера. Перед вами будет два окна: одно с файлами сервера, другое с файлами authlib. Вам необходимо «перетащить» из архива с authlib все файлы и папки, **за исключением директории META-INF**, и подтвердить замену.
<figure>
@@ -251,9 +255,13 @@ Ely.by поддерживает библиотеку authlib-injector. Это н
</figure>
После этих действий вы можете закрыть оба окна и в файле `server.properties` установить значение `online-mode=true`.
<a id="bukkit-spigot" className="legacy-anchor"></a>
#### Bukkit/Spigot {#authlib-server-spigot}
Сперва выполните установку, как она описана для [оригинального сервера](#authlib-server-vanilla). Затем скачайте библиотеки [commons-io](https://repo1.maven.org/maven2/commons-io/commons-io/2.5/commons-io-2.5.jar) и [commons-lang3](https://repo1.maven.org/maven2/org/apache/commons/commons-lang3/3.5/commons-lang3-3.5.jar), после чего аналогичным с authlib образом последовательно переместите содержимое скачанных архивов в файлы сервера.
<a id="forge-sponge" className="legacy-anchor"></a>
#### Forge/Sponge {#authlib-server-forge}
Прежде чем производить установку, необходимо определить, какой именно файл подлежит модификации:
* **>=1.16**: `libraries/net/minecraft/server/ВЕРСИЯ-ЦИФРЫ/server-ВЕРСИЯ-ЦИФРЫ-extra.jar`.
@@ -262,6 +270,8 @@ Ely.by поддерживает библиотеку authlib-injector. Это н
Когда необходимый файл найден, выполните для него установку authlib, аналогично [оригинальному серверу](#authlib-server-vanilla).
<a id="paper-paperspigot" className="legacy-anchor"></a>
#### Paper (PaperSpigot и производные) {#authlib-server-paper}
Установка производится по аналогии с [Bukkit/Spigot](#authlib-server-spigot) в файл `cache/patched-ВЕРСИЯ.jar`. После внесения изменений, запускать сервер нужно через jar-файл из директории cache, поскольку в противном случае Paper восстановит исходное состояние файла:
```bash
@@ -271,6 +281,8 @@ java -jar paper-ВЕРСИЯ-БИЛД.jar
java -jar cache/patched-ВЕРСИЯ.jar
```
<a id="bungeecord" className="legacy-anchor"></a>
#### BungeeCord (и производные) {#authlib-server-bungeecord}
:::tip
Вы можете воспользоваться библиотекой [authlib-injector](./authlib-injector.md) для установки системы авторизации без модификации внутренностей сервера.
+10 -2
View File
@@ -1,4 +1,4 @@
# Авторизация по протоколу OAuth2
# Авторизация по протоколу OAuth2 {#oauth2}
На этой странице вы найдёте информацию о реализации авторизации по протоколу OAuth2 на вашем проекте через сервис Аккаунты Ely.by. Реализация этого протокола позволяет вашим пользователям производить авторизацию с использованием своего аккаунта Ely.by.
## Регистрация приложения {#app-registration}
@@ -50,6 +50,8 @@ https://example.com/oauth/ely.php?error=access_denied&error_message=The+resource
| **offline_access** | Вместе с `access_token` вы также получите и `refresh_token`. Смотрите подробнее в [соответствующем разделе](#refresh-token). |
| **minecraft_server_session** | `access_token` можно будет использовать в качестве сессии для Minecraft. |
<a id="authorization-code-grant" className="legacy-anchor"></a>
## Обмен кода на ключ {#access_key}
После получения кода авторизации (`auth_code`), вам необходимо обменять его на ключ авторизации (`access_key`). Для этого необходимо выполнить POST запрос на URL:
```url
@@ -98,6 +100,8 @@ if (!is_null($_GET['code'])) {
Выполняем запрос, получаем ответ, переводим его из JSON в ассоциативный массив.
:::
<a id="authorization-code-grant-response" className="legacy-anchor"></a>
### Ответ сервера {#access_key_result}
В случае успешного запроса в теле ответа будет находиться результат обмена кода авторизации на `access_token`. Данные являются JSON документом и могут быть легко интерпретированы средствами используемого языка программирования.
Тело JSON документа содержит следующие поля:
@@ -144,6 +148,8 @@ curl_close($curl);
}
```
<a id="refresh-token-grant" className="legacy-anchor"></a>
## Обновление токена доступа {#refresh-token}
Если при выполнении авторизации вами было запрошено право на получение scope `offline_access`, то вместе с `access_token` вы также получите и `refresh_token`. Данный токен не истекает и может быть использован для получения нового токена доступа, когда он истечёт.
@@ -188,6 +194,8 @@ curl_close($curl);
## Возможные ошибки {#errors}
Ниже приведены стандартные ошибки, которые вы можете получить в случае неправильной передачи данных на сервер авторизации. Если вы столкнулись с ошибкой, не описанной в этой документации, пожалуйста, сообщите о ней через [форму обратной связи](https://ely.by/site/contact).
<a id="auth-start-errors" className="legacy-anchor"></a>
### Ошибки при инициализации авторизации {#errors-init-auth}
Этот раздел описывает ошибки, отображаемые при переадресации пользователя с вашего сайта на нашу страницу инициализации авторизации.
@@ -221,7 +229,7 @@ Can not find application you are trying to authorize.
```
В поле `error` находится системный идентификатор ошибки, в `error_description` — описание ошибки на английском языке.
#### Возможные значения error
#### Возможные значения error {#issue-token-error-values}
* `invalid_request`: Переданы не все необходимые параметры запроса или значение `code` не было найдено в базе выданных кодов.
* `unsupported_grant_type`: Данная ошибка сигнализирует о том, что вы попытались произвести авторизацию по неизвестному для нашего OAuth2 сервера типу Grant.
* `invalid_client`: Эта ошибка возникает в случае, когда трио значений `client_id`, `client_secret` и `redirect_uri` не совпали ни с одним из зарегистрированных приложений.
+7 -7
View File
@@ -1,4 +1,4 @@
# Система скинов
# Система скинов {#skins-system}
На этой странице вы найдёте информацию о доступных запросах к сервису системы скинов Ely.by. Вы можете использовать любой из них как дополнительный или основной источник скинов для своего проекта.
@@ -26,7 +26,7 @@ URL для загрузки текстуры скина. Расширение `.
URL для загрузки текстуры плаща. Расширение `.png` опционально. Если текстура не будет найдена, сервер вернёт ответ с `404` статусом.
### Запрос текстур
### Запрос текстур {#textures-request}
> **GET /textures/\{nickname\}**
По этому URL вы можете получить текстуры в формате, указанному в поле `textures` одноимённого property в [ответе на запрос подписанных текстур](https://wiki.vg/Mojang_API#UUID_-.3E_Profile_.2B_Skin.2FCape):
@@ -47,7 +47,7 @@ URL для загрузки текстуры плаща. Расширение `.
Если текстуры не будут найдены, сервер вернёт пустой ответ с `204` статусом.
### Запрос профиля
### Запрос профиля {#profile-request}
> **GET /profile/\{nickname\}**
Данный запрос является аналогом запроса [профиля игрока в API Mojang](https://wiki.vg/Mojang_API#UUID_-.3E_Profile_.2B_Skin.2FCape), только вместо идентификации пользователя по UUID используется его ник. Также, как и в API Mojang, вы можете добавить к запросу `?unsigned=false`, чтобы получить текстуры с подписью. В ответе также будет присутствовать дополнительное property с `name` равным ely.
@@ -81,7 +81,7 @@ URL для загрузки текстуры плаща. Расширение `.
Такой же запрос, что и предыдущий, но возвращает ключ в формате `PEM`.
### Запрос подписанных текстур
### Запрос подписанных текстур {#signed-textures-request}
> **GET /textures/signed/\{nickname\}**
Этот запрос используется в нашем [плагине серверной системы скинов](https://ely.by/server-skins-system) для загрузки текстур с оригинальной подписью Mojang. Полученные в ответе текстуры могут быть без изменений переданы в немодифицированный игровой клиент. В ответе также будет присутствовать дополнительное property с `name` равным ely.
@@ -106,7 +106,7 @@ URL для загрузки текстуры плаща. Расширение `.
Если текстуры не будут найдены, сервер вернёт пустой ответ с 204 статусом.
### Дополнительные параметры
### Дополнительные параметры {#additional-parameters}
При совершении любого из вышеописанных запросов вы также можете передать ряд дополнительных **GET** параметров. Они будут использованы для анализа использования сервиса разными версиями игры.
* `version`: Версия протокола, по которому идёт запрос на скины. На данный момент это версия `2` , т.е. вам необходимо указать `version=2`.
* `minecraft_version`: Версия Minecraft, с которой идёт запрос.
@@ -117,7 +117,7 @@ URL для загрузки текстуры плаща. Расширение `.
http://skinsystem.ely.by/textures/erickskrauch?version=2&minecraft_version=1.14.0&authlib_version=1.5.25
```
### Вспомогательные URL
### Вспомогательные URL {#auxiliary-urls}
Также запрос скина и плаща можно выполнить, передавая ник через GET параметр. Эта возможность используется для передачи аналитических параметров в версиях игры до 1.5.2, когда ник просто добавлялся в конец строки. Для этого вся строка выстраивается таким образом, чтобы последним параметром шёл name, после добавления ника к которому получался полный запрос на текстуру.
> **GET /skins?name=\{nickname\}.png**
@@ -142,5 +142,5 @@ http://skinsystem.ely.by/cloaks?version=2&minecraft_version=1.4.7&name=notch
Если вы владеете лицензионным аккаунтом Minecraft, но ваш ник занят, пожалуйста, обратитесь в [службу поддержки](https://ely.by/site/contact) и после небольшой проверки мы передадим ник в ваше пользование.
## Готовые реализации
## Готовые реализации {#implementations}
Готовые реализации патчей и инструкции по их установке могут быть найдены в [разделе загрузок на главном сайте Ely.by](https://ely.by/load).
@@ -1,14 +1,16 @@
# Ely.by API (Mojang API simulation)
# Ely.by API (Mojang API simulation) {#ely-by-api-mojang-api}
This article contains information about the API compatible with the [Mojang API](http://wiki.vg/Mojang_API) functionality. Please note that this is not a full-fledged API of Ely.by, but only a set of additional requests implemented based on our `[authorization server](./minecraft-auth)`.
This article contains information about the API compatible with the [Mojang API](http://wiki.vg/Mojang_API) functionality. Please note that this is not a full-fledged API of Ely.by, but only a set of additional requests implemented based on our `[authorization server](./minecraft-auth.mdx)`.
## Requests
## Requests {#requests}
:::note
The API has no rate limit. We just have a configured fail2ban that will ban especially annoying clients. That’s the way.
:::
This section will describe the requests and their corresponding variants for Mojang API. Base URL for requests is `https://authserver.ely.by`.
<a id="uuid" className="legacy-anchor"></a>
### UUID by username at a time {#uuid-by-username}
This request allows you to find out the UUID of a user by their username at a specified point in time. The time is specified via GET parameter at as a Unix timestamp.
@@ -90,10 +92,12 @@ The data is returned in the same order they were requested.
If one of the passed usernames isn’t found in the database, no value will be returned for it (it will be skipped). Keep this in mind when parsing the response.
### Profile info by UUID {#profile-by-uuid}
See the `[profile request for the authorization server](./minecraft-auth#profile-request)`.
See the `[profile request for the authorization server](./minecraft-auth.mdx#profile-request)`.
## Possible errors {#possible-errors}
<a id="illegalargumentexception" className="legacy-anchor"></a>
### IllegalArgumentException {#illegal-argument-exception}
This error occurs when attempting to send data to the server in an incorrect format.
@@ -1,4 +1,4 @@
# Authlib-Injector
# Authlib-Injector {#authlib-injector}
**authlib-injector** is a library that allows you to spoof authorization and session server addresses in the Authlib without modifying the library itself. It’s designed as an javaagent.
This library significantly simplifies the installation of an alternative authorization service in the game client and server, since transformation occurs during application bootstrap process.
@@ -18,11 +18,11 @@ The authentication protocol is implemented as similar as possible to the [origin
### Expected Errors {#errors}
Unlike the original protocol, Ely.by uses a simplified set of errors:
#### IllegalArgumentException
#### IllegalArgumentException {#illegal-argument-exception}
**Cause**: Incomplete or incorrect request parameters.
**Solution**: Verify the request against the documentation.
#### ForbiddenOperationException
#### ForbiddenOperationException {#forbidden-operation-exception}
**Cause**: Invalid user input or developer-provided data.
**Solution**: Prompt the user to correct their input.
@@ -238,9 +238,13 @@ To install, you need to replace the original library located at `<Minecraft inst
Many launchers and server startup scripts check the integrity of the game files at startup and may not allow such modification
:::
<a id="install-server" className="legacy-anchor"></a>
### Installing Authlib on a server {#authlib-server}
The server also uses **authlib** to perform player authentication, so the appropriate changes should be applied to it as well. Below are instructions on how to install **authlib** for different Minecraft server implementations.
<a id="vanilla" className="legacy-anchor"></a>
### Vanilla Server {#authlib-server-vanilla}
Use an archiver to open the server file `minecraft_server.VERSION.jar`. In the same way, open the archive with authlib for the corresponding server version. You will see two windows in front of you: one with the server files, the other with the authlib files. You need to “drag and drop” all files and folders from the authlib archive, **except for the META-INF** directory, and confirm the replacement.
<figure>
@@ -249,9 +253,13 @@ Use an archiver to open the server file `minecraft_server.VERSION.jar`. In the s
</figure>
After these steps, you can close both windows and set `online-mode=true` in the `server.properties` file.
<a id="bukkit-spigot" className="legacy-anchor"></a>
### Bukkit/Spigot {#authlib-server-spigot}
First perform the installation as described for the [original server](#authlib-server-vanilla). Then download the libraries [commons-io](https://repo1.maven.org/maven2/commons-io/commons-io/2.5/commons-io-2.5.jar) and [commons-lang3](https://repo1.maven.org/maven2/org/apache/commons/commons-lang3/3.5/commons-lang3-3.5.jar), and then move the contents of the downloaded archives into the server files in the same way as authlib
<a id="forge-sponge" className="legacy-anchor"></a>
### Forge/Sponge {#authlib-server-forge}
Before performing the installation, it is necessary to determine which file is to be modified:
- **≥1.16**: Modify `libraries/net/minecraft/server/VERSION-DIGITS/server-VERSION-DIGITS-extra.jar`.
@@ -260,6 +268,8 @@ Before performing the installation, it is necessary to determine which file is t
When the required file is found, perform an authlib installation for it, similar to [original server](#authlib-server-vanilla).
<a id="paper-paperspigot" className="legacy-anchor"></a>
### Paper (PaperSpigot) {#authlib-server-paper}
Installation is done similarly to [Bukkit/Spigot](#authlib-server-spigot) into the `cache/patched-VERSION.jar` file. After making changes, the server must be started via the jar file from the cache directory, because otherwise Paper will restore the original state of the file:
```bash
@@ -269,6 +279,8 @@ java -jar paper-ВЕРСИЯ-БИЛД.jar
java -jar cache/patched-ВЕРСИЯ.jar
```
<a id="bungeecord" className="legacy-anchor"></a>
### BungeeCord {#authlib-server-bungeecord}
:::tip
You can use the [authlib-injector](./authlib-injector.md) library to install the authentication system without modifying the server internals.
@@ -1,4 +1,4 @@
# Authorization via OAuth2 protocol
# Authorization via OAuth2 protocol {#oauth2}
On this page you’ll find how to implement OAuth2 authorization on your project through the Ely.by Accounts service. The implementation of this protocol will allow your users to authorize using their Ely.by account.
## Application registration {#app-registration}
@@ -50,6 +50,8 @@ https://example.com/oauth/ely.php?error=access_denied&error_message=The+resource
| **offline_access** | With an access_token you will also recieve a refresh_token. See more at [the corresponding section](#refresh-token). |
| **minecraft_server_session** | It will be possible to use `access_token` as a session identifier for the Minecraft. |
<a id="authorization-code-grant" className="legacy-anchor"></a>
## Exchange auth code for a access key {#access_key}
After receiving an authorization code (`auth_code`), you’ll need to exchange it for an authorization key (`access_key`). To do this, you must perform a POST request to the URL:
```url
@@ -98,6 +100,8 @@ Then we create a POST request to exchange the `code` for an `access_token`, pass
Then we execute the request, get the answer and parse it from JSON into the associative array.
:::
<a id="authorization-code-grant-response" className="legacy-anchor"></a>
### Server response {#access_key_result}
In case of a successful request, the response body will contain the result of exchanging the authorization code for an `access_token`. Data is a JSON document and can be easily interpreted by tools of a used programming language.
The JSON document body will contain the following fields:
@@ -148,6 +152,8 @@ Note that the email field will only be present when the account_email scope has
In the future, the number of returned fields may increase, but existing ones will remain the same.
:::
<a id="refresh-token-grant" className="legacy-anchor"></a>
## Refreshing access token {#refresh-token}
If you have requested the scope `offline_access` during authorization, then along with your `access_token` you’ll also get `refresh_token`. This token doesn’t expire and can be used to obtain a new access token when that one expires.
@@ -193,6 +199,8 @@ A simpler way is to use a ready-made library, to which you’ll only have to pro
## Possible errors {#errors}
Below are the typical errors that you may receive after transmitting incorrect data to the authorization server. If you encounter an error that is not described in this documentation, please report it via [feedback form](https://ely.by/site/contact).
<a id="auth-start-errors" className="legacy-anchor"></a>
### Errors during authorization initiation {#errors-init-auth}
This section describes the errors displayed when a user is redirected from your site to our authorization initiation page.
@@ -226,7 +234,7 @@ If an error occurs, instead of the expected response with the `200` status, you
```
The `error` field contains the system error identifier, and `error_description` describes the error in English language.
#### Possible error values
#### Possible error values {#issue-token-error-values}
* `invalid_request`: Not all the required request parameters were passed or the `code` value was not found in the issued codes database.
* `unsupported_grant_type`: This error indicates that you tried to authorize using an unknown for our OAuth2 server Grant-type.
* `invalid_client`: This error occurs when the trio of values `client_id`, `client_secret` and `redirect_uri` didn’t match with any of the registered applications.
@@ -1,4 +1,4 @@
# Skins system
# Skins system {#skins-system}
On this page you’ll find information about available endpoints of Ely.by’s skins system service. You can use any of them as an secondary or primary source of skins for your project.
@@ -26,7 +26,7 @@ URL for downloading a skin texture. The `.png` extension can be omitted. If text
URL for downloading a cape texture. The `.png` extension can be omitted. If textures aren’t found, the server will return a `404` status response.
### Textures request
### Textures request {#textures-request}
> **GET /textures/\{nickname\}**
Via this URL you can get textures in the format specified in the `textures` field of JSON property with the same name in response to [request for signed textures](https://wiki.vg/Mojang_API#UUID_-.3E_Profile_.2B_Skin.2FCape):
@@ -47,7 +47,7 @@ Depending on the availability of textures for the player, fields `SKIN` or `CAPE
The server will return an empty response with `204` status, if textures aren’t found.
### Profile request
### Profile request {#profile-request}
> **GET /profile/\{nickname\}**
This endpoint is an analog of the [player profile query in the Mojang’s API](https://wiki.vg/Mojang_API#UUID_-.3E_Profile_.2B_Skin.2FCape), but instead of UUID user is queried by his nickname. Just like in the Mojang’s API, you can append `?unsigned=false` to the URL to get textures with a signature. The response will also include an additional property with `name` ely.
@@ -81,7 +81,7 @@ This endpoint returns a public key that can be used to verify a texture’s sign
The same endpoint as the previous one, except that it returns the key in `PEM` format.
### Signed Textures Request
### Signed Textures Request {#signed-textures-request}
> **GET /textures/signed/\{nickname\}**
This request is used in our [server skins system plugin](https://ely.by/server-skins-system) to load textures with the original Mojang’s signature. The textures received this way can be transferred to an unmodified game client without any changes. The answer will also include additional property with `name` equal to **ely**.
@@ -106,7 +106,7 @@ By default textures proxying isn’t used for this query. To enable it, add an a
The server will return an empty response with `204` status, if textures aren’t found.
### Additional parameters
### Additional parameters {#additional-parameters}
You can also pass a range of additional **GET** parameters while making any of the above requests. They will be used to analyze the usage of the service by different versions of the game.
* `version`: The version of the protocol by which skins will be requested. The current version is `2`, i.e. you need to specify `version=2`.
@@ -118,7 +118,7 @@ Here is an example of a textures request with parameters described above:
http://skinsystem.ely.by/textures/erickskrauch?version=2&minecraft_version=1.14.0&authlib_version=1.5.25
```
### Additional URLs
### Additional URLs {#auxiliary-urls}
You can also perform a skin and cape request by passing the nickname through the GET parameter. This feature is used to pass analytical parameters of game versions up to 1.5.2, where the nickname is simply appended to the end of the line. To do this, the entire string is arranged in such a way that the last parameter is `name`, after appending a nickname to which you get a full request string for textures.
> **GET /skins?name=\{nickname\}.png**
@@ -143,5 +143,5 @@ To improve the throughput of the proxying algorithm, information about textures
If you own a Minecraft premium account, but your nickname is busy, please contact our [support team](https://ely.by/site/contact) and after a short check we’ll pass the nickname on to you.
## Ready-made implementations
## Ready-made implementations {#implementations}
Ready-made patch implementations and installation instructions can be found at the [download section of the main Ely.by website](https://ely.by/load).
+9
View File
@@ -28,3 +28,12 @@
--ifm-color-primary-lightest: #4fddbf;
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
}
/*
* Invisible anchors that preserve the section ids of the old Sphinx-based documentation,
* so external links like "/ru/minecraft-auth.html#install-server" still lead to the right section
*/
.legacy-anchor {
display: block;
scroll-margin-top: calc(var(--ifm-navbar-height) + 0.5rem);
}