# NMSR-aas config — renders to nmsr/config.toml (gitignored) via # tooling/render-config.sh. Only ${BASE_DOMAIN} is substituted. # # Skins come from Drasl, NOT Mojang. Drasl exposes Mojang-compatible routes at # the bare BaseURL: # session_server -> {url}/session/minecraft/profile/{uuid} # mojang_api_server -> {url}/users/profiles/minecraft/{name} # and embeds absolute skin URLs (http://auth.${BASE_DOMAIN}/web/texture/skin/…) # in the profile, which NMSR fetches directly (textures_server is only a # fallback). NMSR resolves auth.${BASE_DOMAIN} internally over the docker # network (caddy holds the mcnet alias → drasl), so no public round-trip. [server] address = "0.0.0.0" port = 8080 [caching] cleanup_interval = "1h" resolve_cache_duration = "15m" texture_cache_duration = "48h" [caching.cache_biases] [mojank] # Point every Mojang endpoint at Drasl (internal, plain http via the caddy alias). session_server = "http://auth.${BASE_DOMAIN}" textures_server = "http://auth.${BASE_DOMAIN}" mojang_api_server = "http://auth.${BASE_DOMAIN}" session_server_rate_limit = 10 # This is an offline-mode (authlib-injector) server — Drasl issues v3 offline # UUIDs, so they must be accepted. allow_offline_mode_uuids = true use_dashless_uuids = false [rendering] sample_count = 1 use_smaa = true