
Что это
Avoids syncing sensitive values in configs to the client
- Тип: мод
- Загрузчик: forge, neoforge
- Версии Minecraft: 1.13.2 – 1.21.4
- Скачиваний на Modrinth: 1 745
Подробно
NeoForge and MinecraftForge sync the entire content of all "server configs" to the client. Since this is not clear from the naming, some mods ended up putting secret values in these configs, e.g. Discord bot tokens. If you run a server using a mod with this issue, this allows any user that can join your server to access these values. This mod avoids this by removing sensitive values before the config is sent to the client.
Since this mod covers a wide range of Minecraft versions and two modloaders, the versioning scheme is somewhat complicated. See the table below for the correct version for your loader and Minecraft version.
|Loader |Minecraft version|Mod version suffix| |--------------|-----------------|------------------| |MinecraftForge|1.13.2 - 1.16.5 |-1.13.2 | |MinecraftForge|1.17.x - 1.20.1 |-1.17.1 | |NeoForge |1.20.1 |-1.17.1 | |MinecraftForge|1.20.2+ |-1.20.2-mcf | |NeoForge |1.20.2 - 1.20.5 |-1.20.2-neo | |NeoForge |1.21.0+ |-1.21.0-neo |
This mod works in two stages: First, it detects config options that potentially contain sensitive information during launch. Since this is done using a very rough heuristic, the options that are found have to be manually classified in the config/serverconfigcleaner-common.toml config file: 1. Most of them will be false positives, harmless options that happen to match the heuristic. For example, the option logistics.seatHostileMobs in Create would be marked as a potentially sensitive option since it contains the string Host. These config values have to be added to the falsePositives list. 2. Some of them may be options that contain actual sensitive values. These options have to be added to the doNotSync list in the same format, e.g. doNotSync = ["mymod:discord.token"].
To continue the launch, all found values have to be classified in the ServerConfigCleaner config. The mod ships with a list of known false positives and known "problematic" options (the latter not in plaintext). Therefore, you should usually not have to do anything at this stage. If you have to add values manually, see below on getting them added to the default lists.
In the second stage, the mod intercepts the config sync on the server. If a value was marked as sensitive in the config after the first stage, the value will be replaced by the default value before being synced to the client. Since the default value for sensitive options is generally a meaningless constant value provided by the developer (e.g. INSERT B
Как установить
Скачайте файл на официальной странице ниже и положите его в папку mods (для модов) или plugins (для плагинов) вашего сервера или клиента. Для модов нужен совместимый загрузчик. Версия должна совпадать с версией Minecraft.
Текст подготовлен автоматически из описания на Modrinth и ждёт проверки редакцией.
Комментарии 0
Комментарии к этому материалу отключены.
Читайте также
Better Archeology (1.20 Update)
Better Archeology adds new life to the archeology mechanic in Minecraft. 05.12.2026
Dragon Ball Z Totems Pack Optifine
A fan-made resource pack that transforms your Totem of Undying into Dragon Ball Z characters with OptiFine CIT support. Featuring Goku… 05.12.2026
Vivecraft Perfected - spooky scary edition
A variation of Vivecraft perfected leaning towards a horror experience 05.12.2026
Create: Eternal Zinc
This is an addon for the Create mod that makes zinc an infinite resource. 05.12.2026
TalkingClouds
Speech bubbles for players and for any other entities. 05.12.2026
New Sniffer Egg
Changing the texture of the sniffer egg to a more beautiful one! 05.12.2026