OTAPI.USP
1.0.5
dotnet add package OTAPI.USP --version 1.0.5
NuGet\Install-Package OTAPI.USP -Version 1.0.5
<PackageReference Include="OTAPI.USP" Version="1.0.5" />
<PackageVersion Include="OTAPI.USP" Version="1.0.5" />
<PackageReference Include="OTAPI.USP" />
paket add OTAPI.USP --version 1.0.5
#r "nuget: OTAPI.USP, 1.0.5"
#:package OTAPI.USP@1.0.5
#addin nuget:?package=OTAPI.USP&version=1.0.5
#tool nuget:?package=OTAPI.USP&version=1.0.5
OTAPI Unified Server Process
OTAPI.USP is a secondary IL patch built on top of OTAPI, enabling multiple isolated Terraria server instances to run within a single process.
Unlike standard OTAPI builds, this package introduces a breaking change by redirecting access to static fields within the Terraria server to their instance-scoped equivalents. This change allows each server instance to operate in a fully isolated execution context—enabling true multi-server concurrency within a single host process.
Key Features
- 🧩 Built on top of OTAPI (IL-patched
TerrariaServer.exe
) - ⚠️ Breaking change: static server state is redirected to instance-level context
- 🧵 Supports multiple Terraria server instances running in parallel threads
- 💡 Enables advanced hosting models (e.g., high-density server clusters, custom orchestration, dynamic scaling)
Compatibility
- Terraria: 1.4.4.9
- OTAPI:
3.2.6+9348ecf600322b8492d16a48bf9b1fd6eb7619a3
Important Notes
- This package is not drop-in compatible with standard OTAPI mods.
- Due to static field redirection, code that relies on traditional static access (e.g.,
Main.time
,Netplay
) must be adapted to use the appropriate instance context. - For mod development or integration, consult the API documentation or source examples on GitHub.
Licensing
This package follows the licensing terms of OTAPI and the original Terraria server executable. See COPYING.txt
for details.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net9.0 is compatible. 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. |
-
net9.0
- ModFramework (>= 1.1.15)
- MonoMod (>= 22.7.31.1)
- MonoMod.RuntimeDetour (>= 25.2.3)
- Newtonsoft.Json (>= 13.0.3)
- Steamworks.NET (>= 2024.8.0)
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 |
---|---|---|
1.0.5 | 12 | 8/11/2025 |
1.0.4 | 164 | 8/7/2025 |
1.0.3-ci.3 | 137 | 8/4/2025 |
1.0.2 | 92 | 7/27/2025 |
1.0.1 | 435 | 7/24/2025 |
Preliminary Terraria 1.4.4.9