You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Gson empaquetado (fix latente): el JAR ahora incluye Gson relocado a com.cadiducho.cservidoresmc.lib.gson, evitando NoClassDefFoundError en servidores que no lo traen.
Circuit breaker en ApiClient: tras 3 fallos consecutivos, la API no se llama durante un backoff exponencial (5 s → 10 s → ... cap 5 min). Protege de martillear la API cuando está caída.
User-Agent informativo: ahora se envía 40ServidoresMC/<v>/<platform>-<serverVersion>/Java<major>-<vendor> a la API y a GitHub. Facilita identificar el entorno cliente.
Cache dedicado para /stats40: nuevo stats-cmd-cache-seconds (default 30 s) configurable, separado del cache de placeholders (5 min). Evita martillear la API ejecutando /stats40 repetidamente. Valor 0 desactiva.
Tests
100 tests unitarios (anteriormente 74) en 13 clases.
Instalación
Colocar 40ServidoresMC-3.0.1-Bukkit.jar (Bukkit/Spigot/Paper/Glowstone 1.7.10+) en plugins/.
Colocar 40ServidoresMC-3.0.1-Sponge-API7.jar (Sponge 7.4.0+) en mods/.
Se genera config.yml o 40ServidoresMC.conf al primer arranque.