Repository navigation
Languages
The plugin creates editable language files in plugins/NahNoMinimap/lang/. The bundled languages are ru.json and en.json; the default configuration selects Russian.
language: enEdit the selected JSON file, save it as UTF-8, then run /nm reload. Keep valid JSON syntax: strings need double quotes and commas between entries.
{
"blocked": "MAP and MINIMAP modifications are prohibited on this server!",
"reload": "<green>Configuration and language reloaded.",
"usage": "<yellow>/nahnominimap reload",
"detected": "<yellow>[NahNoMinimap] {player}: detected channel {channel} ({evidence}).",
"evidence-packet": "packet",
"evidence-register": "channel registration",
"no-permission": "<red>You do not have permission.",
"reload-error": "<red>Reload failed. Check the console."
}These are examples; retain your existing file's values if you prefer them. The placeholders {player}, {channel} and {evidence} are used in detected. Formatting supports color tags such as <green> and the legacy-style tag <&c> where the destination supports formatting; map overlays may display plain text instead.
Create a JSON file in lang, for example lang/es.json, and set language: es. Use letters, digits, underscores or hyphens in the name, up to 32 characters. Missing translation keys fall back to English. A missing custom file is not created automatically. For bundled files, missing keys can be added automatically while existing values are preserved.
For provider-generated packs, changing the plugin language or blocked text may require rebuilding and redistributing the resource pack. The plugin language supplies the generated restriction message; it is separate from the player's own Minecraft language selection. See Resource Packs.