LSurvivalCore 0.2.9
dotnet add package LSurvivalCore --version 0.2.9
NuGet\Install-Package LSurvivalCore -Version 0.2.9
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="LSurvivalCore" Version="0.2.9" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="LSurvivalCore" Version="0.2.9" />
<PackageReference Include="LSurvivalCore" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add LSurvivalCore --version 0.2.9
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: LSurvivalCore, 0.2.9"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package LSurvivalCore@0.2.9
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=LSurvivalCore&version=0.2.9
#tool nuget:?package=LSurvivalCore&version=0.2.9
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
LSurvivalCore 0.2.9
LSurvivalCore (OpenMod)
Núcleo base para servidor LSurvival en Unturned con OpenMod. Incluye utilidades de supervivencia: sistema TPA, retorno a cama (/home), etiquetado de combate y persistencia JSON.
Versión del paquete: {{Version}}
Instalación rápida
openmod install LSurvivalCore
openmod reload
Características principales
- Prefijo configurable para mensajes.
- Sistema TPA completo:
/tpa <jugador>: Solicita ir hacia el jugador objetivo./tpahere <jugador>: Solicita que el jugador venga hacia ti./tpaccept: Acepta la solicitud pendiente./tpdeny: Rechaza la solicitud pendiente./tpcancel: Cancela tu solicitud enviada.- Tiempo de expiración de solicitudes, warmup y cooldown configurables.
- Home a cama reclamada:
/home: Teletransporta a la cama reclamada con persistencia JSON.- Warmup y cooldown configurables.
- Validación de combate para evitar abusos.
- Etiquetado de combate:
- Marcado por daño (listeners en preparación) con duración configurable.
- Cancelación de warmups cuando el jugador entra en combate.
- Persistencia JSON para “home”: almacena posición, yaw y referencias básicas de cama.
- Panel de diagnóstico para consola (
diag ...): inspección de camas, TPA y combate, simulaciones y resync. - Estadísticas de kills/deaths administradas via consola (
statsctl ...) con persistencia JSON y rangos canónicos/display.
Comandos
/ls: Verifica el estado del plugin./tpa <jugador>: Pide teletransportarte hacia el jugador./tpahere <jugador>: Pide que el jugador venga hacia ti./tpaccept: Acepta la solicitud TPA pendiente./tpdeny: Rechaza la solicitud TPA pendiente./tpcancel: Cancela tu propia solicitud TPA./home: Te lleva a tu cama reclamada.
Consola (solo administrador)
diag beds scan|show: sincroniza y revisa camas persistidas.diag combat tag|clear: fuerza o limpia combat tag.diag tpa simulate: recorre el flujo completo de TPA en modo simulado.statsctl show <steam64>: muestra kills/deaths, rank canónico/display y faltantes para Leyenda.statsctl addkills <steam64> <n>: suma kills y recalcula rank.statsctl setkills <steam64> <n>: fija kills y rank.statsctl top [n]: lista el top global (por defectoTopDefault).
Configuración (appsettings.json)
Sección LSurvivalCore:
{
"LSurvivalCore": {
"Prefix": "&7[&aLSurvival&7] ",
"Home": {
"Enabled": true,
"RequireClaimedBed": true,
"BindToBed": true,
"WarmupSeconds": 5,
"CooldownSeconds": 30,
"BlockInCombat": true,
"BedProximityMetersForClaimScan": 2.5,
"OnMissingBed": "Block",
"DataPath": "data"
},
"TPA": {
"Enabled": true,
"RequestTimeoutSeconds": 60,
"WarmupSeconds": 5,
"CooldownSeconds": 30,
"BlockInCombat": true
},
"Combat": {
"TagSeconds": 15,
"DamageResetsTimer": true
},
"Stats": {
"DataPath": "OpenMod/plugins/LSurvivalCore/data/stats.json",
"TopDefault": 5
}
}
}
Permisos (propuestos)
Nota: La capa de permisos real de OpenMod se integrará en próximas versiones; por ahora los checks están estructurados para:
- Uso:
lsurvival.home.uselsurvival.tpa.requestlsurvival.tpa.herelsurvival.tpa.acceptlsurvival.tpa.denylsurvival.tpa.cancel- Consola (implícito) ya que
diagystatsctlse limitan aConsoleActor. - Bypass (opcionales):
lsurvival.bypass.combatlsurvival.bypass.warmuplsurvival.bypass.cooldown- Ámbito específico:
lsurvival.bypass.home.*,lsurvival.bypass.tpa.*
Estado actual (0.2.x)
- Implementado: TPA, /home con persistencia JSON, prefijo configurable, warmups/cooldowns centralizados, panel
diag, árbolstatsctlconJsonStatsService(archivo único), validaciones básicas contra combate. - En progreso: listeners de daño/desconexión/cama, verificación fuerte de cama y estrategias
OnMissingBed, integración completa de permisos de OpenMod para jugadores.
Solución de problemas
- “No puedes usar /home en combate”: revisa
LSurvivalCore:Home:BlockInCombato asigna bypass de combate. - “Cooldown activo”: espera el tiempo mostrado o asigna bypass de cooldown.
- “No tienes ninguna cama reclamada”: asegúrate de tener cama reclamada; valida el directorio JSON configurado.
- “statsctl … falla por servicio no disponible”: confirma que
OpenMod/plugins/LSurvivalCore/data/stats.jsonexiste (se crea solo al primer guardado) y que el plugin fue recompilado en 0.2.9.
Comprobación
En juego/consola: /ls → LSurvivalCore ✔ Todo OK.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.1 is compatible. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.1
- OpenMod.API (>= 3.8.10)
- OpenMod.Core (>= 3.8.10)
- OpenMod.Unturned (>= 3.8.10)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.2.9 | 287 | 11/9/2025 |
| 0.2.8 | 172 | 11/8/2025 |
| 0.2.7 | 165 | 11/8/2025 |
| 0.2.6 | 167 | 11/8/2025 |
| 0.2.5 | 163 | 11/8/2025 |
| 0.2.4 | 167 | 11/8/2025 |
| 0.2.3 | 167 | 11/8/2025 |
| 0.2.2-oy2g2rvpxxoitye3ueqqp... | 165 | 11/8/2025 |
| 0.2.1-oy2g2rvpxxoitye3ueqqp... | 139 | 11/8/2025 |
| 0.1.3 | 146 | 11/8/2025 |
| 0.1.2 | 140 | 11/8/2025 |
| 0.1.1 | 138 | 11/8/2025 |
| 0.1.0 | 145 | 11/8/2025 |