
You are viewing a potentially older version of this package. View Latest Version
TimePlayerControl
Limita el tiempo de juego por jugador en servidores Valheim. HUD configurable, top 5 de tiempo jugado y vuelta al menu al agotar el tiempo.TimePlayerControl
Limita el tiempo de juego por jugador en servidores de Valheim (BepInEx). Incluye HUD en cliente, ranking top 5 y desconexión limpia al menú cuando se acaba el tiempo.
Características
- Tiempo diario (o por bloque) por SteamID, configurable en JSON
- HUD compacto / detalle (tecla
F1por defecto, configurable) - Top 5 de mayor tiempo jugado acumulado
- Auto-ocultado del HUD con inventario, mapa y menú
- Mensaje «Te has quedado sin tiempo» y vuelta al menú de inicio
- Jugadores VIP/admin exentos (
IsExempt)
Instalación
Con gestor (r2modman / Thunderstore Mod Manager)
- Instala el pack en el perfil del cliente y en el del servidor dedicado
- Asegúrate de que ambos usen la misma versión del mod
Manual
Copia el contenido de plugins/ a:
BepInEx/plugins/
Archivos incluidos:
TimePlayerControl.dllNewtonsoft.Json.dll
Reinicia cliente y servidor.
Importante: cliente + servidor
El mod debe estar en ambos. El servidor gestiona tiempos y kicks; el cliente muestra el HUD y recibe el sync.
Configuración
Al iniciar se crea:
BepInEx/config/TimePlayerControl.json
- Servidor: tiempos, resets, jugadores,
TotalPlayedSeconds - Cliente: layout del HUD (
HudAnchor,HudToggleKey, opacidad, etc.)
HUD (cliente)
| Campo | Descripción |
|---|---|
HudAnchor |
TopLeft, TopRight, BottomLeft, BottomRight |
HudToggleKey |
Tecla para expandir/compactar (ej. F1, F6) |
HudAutoHideOverlays |
Oculta el HUD con UI del juego |
HudStartCompact |
Empieza en modo compacto |
HudOpacity |
Transparencia (0–1) |
Jugadores (servidor)
RemainingSeconds/AssignedSeconds— bloque actualTotalPlayedSeconds— acumulado (no se resetea cada día)IsExempt— sin límiteNextResetTime— próxima renovación
Uso en juego
- F1 (o tu
HudToggleKey): compacto ↔ detalle - Panel detalle: restante, asignado, usado, total jugado, renovación y top 5
- Chat:
/tiempo,/tiempos,/hud
Código fuente
https://github.com/Pedrox1591/TimePlayerControl-Valheim
Notas
- Probado con BepInEx 5 (pack Valheim)
- Tras actualizar el mod, actualiza cliente y servidor

