Translate server-maintenance.md via GitLocalize

This commit is contained in:
mt-gitlocalize
2025-10-20 09:59:07 +00:00
parent 5eb30ea9ba
commit 557621fb5a

View File

@@ -4,99 +4,99 @@
## Как установить ## Как установить
For installation instructions, please see [server installation](create-a-server.md). Инструкции по установке см. в разделе [Установка сервера](create-a-server.md) .
## The ServerConfig file ## Файл ServerConfig
The server config, which is a file called `ServerConfig.toml`, uses the [TOML format](https://toml.io/en/). Конфигурация сервера, представляющая собой файл `ServerConfig.toml` , использует [формат TOML](https://toml.io/en/) .
*NOTE*: The *old* server config file was called `Server.cfg`, but this is no longer used, and the server will warn when this is still present. Please also note that the two config formats are **not** compatible with each other. *ПРИМЕЧАНИЕ* : *Старый* файл конфигурации сервера назывался `Server.cfg` , но он больше не используется, и сервер выдаст предупреждение, если он все еще присутствует. Также обратите внимание, что два формата конфигурации **несовместимы** друг с другом.
The config has one section by default, called `[General]`, which holds the following values: По умолчанию в конфигурации есть один раздел, называемый `[General]` , который содержит следующие значения:
Key | Value Type | Description Ключ | Тип значения | Описание
--- | --- | --- --- | --- | ---
AuthKey | AuthKey format `xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx` where all x's are alphanumeric characters (numbers and letters) | Used to identify your server with the backend. You should have gotten one while following the installation instructions. AuthKey | Формат AuthKey `xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx` где все x — буквенно-цифровые символы (цифры и буквы) | Используется для идентификации вашего сервера с бэкэндом. Вы должны были получить его, следуя инструкциям по установке.
Debug | true /false | When enabled (true), will show more messages in the log and provide more information. Enable this if you run into issues. Enabling this will drastically increase the size of the log file. Отлаживать | правда/ложь | При включении (true) будет отображаться больше сообщений в журнале и предоставляться больше информации. Включите это, если у вас возникнут проблемы. Включение этого параметра значительно увеличит размер файла журнала.
Private | true/false | When enabled (true), your server will not be shown in the server list. Anyone with the correct IP and port can still connect. Частный | правда/ложь | Если включено (true), ваш сервер не будет отображаться в списке серверов. Любой с правильным IP и портом все равно сможет подключиться.
Description | Any "text" | Shown as the description of the server in the server list (if the server is public). You can use special characters to format this with colors and styles. Описание | Любой "текст" | Отображается как описание сервера в списке серверов (если сервер публичный). Вы можете использовать специальные символы для форматирования с помощью цветов и стилей.
Name | Any "text" | Shown as the name / title of your server in the server list. You can use special characters to format this with colors and styles. Имя | Любой "текст" | Отображается как имя/заголовок вашего сервера в списке серверов. Вы можете использовать специальные символы для форматирования с помощью цветов и стилей.
Map | A valid map location, such as `/levels/gridmap_v2/info.json` | The map your server will host. Has to be installed either by default (a list can be found below) or as a server mod. Карта | Допустимое местоположение на карте, например `/levels/gridmap_v2/info.json` | Карта, которую будет размещать ваш сервер. Должна быть установлена либо по умолчанию (список можно найти ниже), либо как серверный мод.
MaxCars | Any number ≥ 1 | The maximum number of cars per player. Any additional cars a player tries to spawn will be deleted instantly. МаксКарс | Любое число ≥ 1 | Максимальное количество машин на игрока. Любые дополнительные машины, которые игрок попытается создать, будут мгновенно удалены.
Port | 1024-65535 | The networking port on which the server will be accessible. For a player to connect to your server directly, they will need your IP and this port. Порт | 1024-65535 | Сетевой порт, на котором будет доступен сервер. Чтобы игрок мог напрямую подключиться к вашему серверу, ему понадобится ваш IP и этот порт.
Other sections can and should be used by server plugins (Lua API coming soon), like so: `[MyMod]`. Другие разделы могут и должны использоваться серверными плагинами (скоро появится API Lua), например: `[MyMod]` .
The AuthKey **HAS** to be set by you. It will be empty by default, and needs to be filled with your AuthKey from the installation step earlier. Do not share this Key with anyone and, in screenshots, blur it fully. AuthKey **ДОЛЖЕН** быть установлен вами. Он будет пустым по умолчанию и должен быть заполнен вашим AuthKey с шага установки ранее. Не делитесь этим ключом ни с кем и на снимках экрана полностью размывайте его.
### All vanilla maps names ### Все названия ванильных карт
Here are all the stock maps: Вот все карты акций:
- /levels/gridmap_v2/info.json - /levels/gridmap_v2/info.json
- /levels/johnson_valley/info.json - /levels/johnson_valley/info.json
- /levels/automation_test_track/info.json - /levels/automation_test_track/info.json
- /levels/east_coast_usa/info.json - /levels/восточное_побережье_США/info.json
- /levels/hirochi_raceway/info.json - /levels/hirochi_raceway/info.json
- /levels/italy/info.json - /уровни/италия/info.json
- /levels/jungle_rock_island/info.json - /levels/jungle_rock_island/info.json
- /levels/industrial/info.json - /уровни/промышленный/info.json
- /levels/small_island/info.json - /levels/маленький_остров/info.json
- /levels/smallgrid/info.json - /уровни/smallgrid/info.json
- /levels/utah/info.json - /levels/юта/info.json
- /levels/west_coast_usa/info.json - /levels/западное_побережье_США/info.json
- /levels/driver_training/info.json - /уровни/обучениеодителей/info.json
- /levels/derby/info.json - /levels/derby/info.json
### Customize the look of your server name ### Настройте внешний вид имени вашего сервера
Use these special symbols before your text and it'll apply an effect to that text in the server list: Используйте эти специальные символы перед текстом, и к этому тексту в списке серверов будет применен эффект:
Value | Description Ценить | Описание
:-: | --- :-: | ---
`^r` | Reset `^r` | Перезагрузить
`^p` | Newline (descriptions only) `^p` | Новая строка (только описания)
`^n` | Underline `^n` | Подчеркнуть
`^l` | Bold `^l` | Смелый
`^m` | Strike-through `^m` | Зачеркивание
`^o` | Italic `^o` | Курсив
`^0` | Black `^0` | Черный
`^1` | Blue `^1` | Синий
`^2` | Green `^2` | Зеленый
`^3` | Light blue `^3` | светло-голубой
`^4` | Red `^4` | Красный
`^5` | Pink `^5` | Розовый
`^6` | Orange `^6` | Апельсин
`^7` | Grey `^7` | Серый
`^8` | Dark grey `^8` | Темно-серый
`^9` | Light purple `^9` | Светло-фиолетовый
`^a` | Light green `^a` | Светло-зеленый
`^b` | Light blue `^b` | светло-голубой
`^c` | Dark orange `^c` | Темно-оранжевый
`^d` | Light pink `^d` | светло-розовый
`^e` | Yellow `^e` | Желтый
`^f` | White `^f` | Белый
### Customize your server tags ### Настройте теги вашего сервера
Tags can be used to allow people to search for a specific type of server. Your serverConfig.toml will generate with the freeroam tag `Tags = "Freeroam"`. Теги могут использоваться для того, чтобы позволить людям искать определенный тип сервера. Ваш serverConfig.toml будет сгенерирован с тегом freeroam `Tags = "Freeroam"` .
You can add multiple tags separated by comma `Tags = "Events,Offroad,lang:english"`, they are not case sensitive. Вы можете добавить несколько тегов, разделенных запятой `Tags = "Events,Offroad,lang:english"` , регистр не учитывается.
You can choose from the following list: Вы можете выбрать из следующего списка:
- Age/Content: - Возраст/Содержание:
- `Mature/18+` - `Mature/18+`
- Gameplay Types: - Типы игрового процесса:
- `Freeroam` - `Freeroam`
- `Roleplay` - `Roleplay`
- `Economy` - `Economy`
- `Traffic` - `Traffic`
- Racing Categories: - Категории гонок:
- `Racing` - `Racing`
- `Racing:NASCAR` - `Racing:NASCAR`
@@ -105,26 +105,26 @@ You can choose from the following list:
- `Racing:Rally` - `Racing:Rally`
- `Touge` - `Touge`
- Off-Roading and Challenges: - Бездорожье и испытания:
- `Offroad` - `Offroad`
- `Crawling` - `Crawling`
- `Dakar` - `Dakar`
- `Challenge` - `Challenge`
- Destruction Events: - События разрушения:
- `Derby` - `Derby`
- `Arena` - `Arena`
- Weather and Time Conditions: - Погодные и временные условия:
- `Snow/Ice` - `Snow/Ice`
- `Rain` - `Rain`
- `Night` - `Night`
- `Weather` - `Weather`
- Gamemodes: - Режимы игры:
- `Gamemode` - `Gamemode`
- `Gamemode:Racing` - `Gamemode:Racing`
@@ -136,20 +136,20 @@ You can choose from the following list:
- `Gamemode:Delivery` - `Gamemode:Delivery`
- `Gamemode:Sumo` - `Gamemode:Sumo`
- Community and Events: - Сообщество и события:
- `Scenarios` - `Scenarios`
- `Events` - `Events`
- `Leaderboard` - `Leaderboard`
- Mods: - Модификации:
- `Modded` - `Modded`
- `Mod:BeamPaint` - `Mod:BeamPaint`
- `Mod:BeamJoy` - `Mod:BeamJoy`
- `Mod:CEI` - `Mod:CEI`
- Languages: - Языки:
- `Lang:English` - `Lang:English`
- `Lang:Russian` - `Lang:Russian`
@@ -160,78 +160,78 @@ You can choose from the following list:
- `Lang:Polish` - `Lang:Polish`
- `Lang:Arabic` - `Lang:Arabic`
- Other: - Другой:
- `Vanilla` - `Vanilla`
- `Moderated` - `Moderated`
Should a tag be missing from this list, you can submit a request for it to be added [here](https://forum.beammp.com/t/introducing-server-tags/1320081) Если тег отсутствует в этом списке, вы можете отправить запрос на его добавление [здесь.](https://forum.beammp.com/t/introducing-server-tags/1320081)
## The Server.log file ## Файл Server.log
This file will be generated when the server runs. It's a mirror of the messages you see in the console when you run the server. You should attach this file every time you need support from our support staff, and it will never show your AuthKey, so you can usually send it without modifications. Этот файл будет сгенерирован при запуске сервера. Это зеркало сообщений, которые вы видите в консоли при запуске сервера. Вам следует прикреплять этот файл каждый раз, когда вам нужна поддержка от нашей службы поддержки, и он никогда не покажет ваш AuthKey, поэтому вы обычно можете отправить его без изменений.
The format is as follows ($ prefix means “variable”, explained below): Формат следующий (префикс $ означает «переменная», пояснение ниже):
``` ```
[$DATE $TIME] $CONTEXT [$LOG_LEVEL] $MESSAGE [$DATE $TIME] $CONTEXT [$LOG_LEVEL] $MESSAGE
``` ```
Where: Где:
- `$DATE` is the date of the message, for example 21/07/2021 - `$DATE` — дата сообщения, например 21/07/2021
- `$TIME` is the time of the message, for example 11:05:23 - `$TIME` — время сообщения, например 11:05:23
- `$CONTEXT` (only visible if in Debug mode and mostly relevant to developers) is the context of the message, which is either: - `$CONTEXT` (виден только в режиме отладки и в основном актуален для разработчиков) — контекст сообщения, который может быть:
- `(Player ID) “Player Name”`, where the Player's ID is useful for moderation - `(Player ID) “Player Name”` , где ID игрока полезен для модерации
- A short name such as “HeartbeatThread - Короткое имя, например «HeartbeatThread»
- `$LOG_LEVEL` is one of the levels of importance of a message: - `$LOG_LEVEL` — один из уровней важности сообщения:
- `DEBUG`: Only visible in Debug mode, usually spammy and only important to developers - `DEBUG` : отображается только в режиме отладки, обычно является спамом и важен только для разработчиков.
- `INFO`: General information - `INFO` : Общая информация
- `LUA`: Message from a Lua plugin - `LUA` : Сообщение от плагина Lua
- `WARN`: Describes something that isn't supposed to happen, usually - `WARN` : Описывает то, что не должно происходить, обычно
- `ERROR`: Something went very wrong, or was very unexpected - `ERROR` : Что-то пошло не так или произошло очень неожиданно.
- `FATAL`: Something happened that causes the server to shut down - `FATAL` : Произошло что-то, что привело к отключению сервера.
- `$MESSAGE` the message itself, usually something that you should pay attention to and understand. In some cases this might be cryptic, but the general rule is that, as long as nothing is visibly wrong with the server and there are no ERRORs, all is good. - `$MESSAGE` само сообщение, обычно то, на что следует обратить внимание и что следует понять. В некоторых случаях это может быть зашифровано, но общее правило заключается в том, что пока нет видимых проблем с сервером и нет ОШИБОК, все хорошо.
## Updating the server ## Обновление сервера
### Why to update ### Зачем обновлять
Whenever a new update is released, you're advised to update your server. Usually this involves bug fixes, stability improvements and security improvements, next to the general new features etc. that are introduced. Всякий раз, когда выходит новое обновление, вам рекомендуется обновить свой сервер. Обычно это включает исправления ошибок, улучшения стабильности и безопасности, наряду с общими новыми функциями и т. д., которые вводятся.
To receive news about updates when they come out, either follow the discord server's “update” channel, look out for it on the forums, or look at / ask the [GitHub releases page](https://github.com/BeamMP/BeamMP-Server/releases). Чтобы получать новости об обновлениях по мере их выхода, подпишитесь на канал «обновления» сервера Discord, ищите его на форумах или посетите/спросите на [странице релизов GitHub](https://github.com/BeamMP/BeamMP-Server/releases) .
### How to update ### Как обновить
#### If you are using a BeamMP partnered hosting provider #### Если вы пользуетесь услугами хостинг-провайдера, являющегося партнером BeamMP
If you are using a BeamMP partnered hosting provider, the instructions below likely won't work. We recommend waiting for more details from your hosting provider, or contacting them for assistance. Если вы используете хостинг-провайдера, партнера BeamMP, инструкции ниже, скорее всего, не сработают. Мы рекомендуем дождаться более подробной информации от вашего хостинг-провайдера или связаться с ним для получения помощи.
#### Managing the server yourself #### Самостоятельное управление сервером
The server is updated by replacing the old executable with the new one. If you are unsure how to do this, there are step-by-step instructions for Windows and Linux below. Сервер обновляется путем замены старого исполняемого файла на новый. Если вы не уверены, как это сделать, ниже приведены пошаговые инструкции для Windows и Linux.
If you built from source, you just rebuild. Make sure to run `git submodule update --init --recursive` before you rebuild. Если вы собрали из исходников, просто пересоберите. Убедитесь, что выполнили `git submodule update --init --recursive` перед пересборкой.
#### On Windows #### В Windows
1. Ensure you have installed the [Visual C++ Redistributables](https://aka.ms/vs/17/release/vc_redist.x64.exe) in order to run the server. 1. Для запуска сервера убедитесь, что у вас установлены [распространяемые компоненты Visual C++](https://aka.ms/vs/17/release/vc_redist.x64.exe) .
2. Go to [BeamMP.com](https://beammp.com/) and click the “Download Server” button. 2. Перейдите на [BeamMP.com](https://beammp.com/) и нажмите кнопку «Загрузить сервер».
3. Once downloaded, you should see one file called `BeamMP-Server.exe`. We will call this one the “new executable”. 3. После загрузки вы должны увидеть один файл с именем `BeamMP-Server.exe` . Мы назовем его «новый исполняемый файл».
4. Go to the folder where your current `BeamMP-Server.exe` executable is located (same folder where your `ServerConfig.toml` is, usually). We will call this one the “old executable”. 4. Перейдите в папку, где находится ваш текущий исполняемый файл `BeamMP-Server.exe` (обычно это та же папка, где находится ваш `ServerConfig.toml` ). Мы будем называть его «старым исполняемым файлом».
5. Replace the old executable with the new executable (for example by copying or moving the new executable into the folder). 5. Замените старый исполняемый файл новым исполняемым файлом (например, скопировав или переместив новый исполняемый файл в папку).
#### On Linux #### На Линуксе
1. Go to [BeamMP.com](https://beammp.com/) and click the “Download Server” button, you will be redirected to the server's Github release page. 1. Перейдите на [BeamMP.com](https://beammp.com/) и нажмите кнопку «Загрузить сервер», вы будете перенаправлены на страницу релиза сервера на Github.
2. Download the correct version for your distro. For simplicity, it will now be called `BeamMP-Server-xxx` from now on, where `xxx` denotes the version for the distro you're using. 2. Загрузите правильную версию для вашего дистрибутива. Для простоты теперь он будет называться `BeamMP-Server-xxx` , где `xxx` обозначает версию для используемого вами дистрибутива.
3. Once downloaded, you should see one file called `BeamMP-Server-xxx` depending on the version you've downloaded. We will call this one the “new executable”. 3. После загрузки вы должны увидеть один файл с именем `BeamMP-Server-xxx` в зависимости от версии, которую вы скачали. Мы назовем его «новый исполняемый файл».
4. Go to the folder where your current `BeamMP-Server-xxx` executable is located (same folder where your `ServerConfig.toml` is, usually). We will call this one the “old executable”. 4. Перейдите в папку, где находится ваш текущий исполняемый файл `BeamMP-Server-xxx` (обычно это та же папка, где находится ваш `ServerConfig.toml` ). Мы будем называть его «старым исполняемым файлом».
5. Replace the old executable with the new executable (for example by copying or moving the new executable into the folder). 5. Замените старый исполняемый файл новым исполняемым файлом (например, скопировав или переместив новый исполняемый файл в папку).
6. Open a terminal in that folder where you just replaced the executable, and run `sudo chmod +x BeamMP-Server-xxx`. This will make sure the server can be run. 6. Откройте терминал в той папке, где вы только что заменили исполняемый файл, и выполните `sudo chmod +x BeamMP-Server-xxx` . Это позволит убедиться, что сервер может быть запущен.
### Automated updates ### Автоматические обновления
The server does not support automatic updates or update notifications (yet). Сервер не поддерживает автоматические обновления или уведомления об обновлениях (пока).
You can, however, ask the GitHub API for the lastest release by checking the server's version against the tags. You can get that by GET'ing from `https://api.github.com/repos/BeamMP/BeamMP-Server/git/refs/tags`. Однако вы можете запросить API GitHub для получения последней версии, проверив версию сервера по тегам. Вы можете получить это с помощью GET из `https://api.github.com/repos/BeamMP/BeamMP-Server/git/refs/tags` .