OTAPI.Upcoming
3.3.7
dotnet add package OTAPI.Upcoming --version 3.3.7
NuGet\Install-Package OTAPI.Upcoming -Version 3.3.7
<PackageReference Include="OTAPI.Upcoming" Version="3.3.7" />
<PackageVersion Include="OTAPI.Upcoming" Version="3.3.7" />
<PackageReference Include="OTAPI.Upcoming" />
paket add OTAPI.Upcoming --version 3.3.7
#r "nuget: OTAPI.Upcoming, 3.3.7"
#:package OTAPI.Upcoming@3.3.7
#addin nuget:?package=OTAPI.Upcoming&version=3.3.7
#tool nuget:?package=OTAPI.Upcoming&version=3.3.7
The Open Terraria API, known as OTAPI, is a low-level API for Terraria that rewrites and hooks into the official or modded binaries for others to use.
OTAPI is primarily a server modification and is available as a cross platform package via NuGet.
Version 3.0 is now a .NET9 library thanks to ModFramework being able to retarget the .NET4 vanilla assembly up to .NET9.
This means that any mod you create can be written as a .NET9 module and later merged into the patched assembly thanks to MonoMod.
Here is what is now possible:
- Native Runtime hooks, just reference OTAPI.Runtime.dll and register to MonoMod events generated from the Terraria assembly.
- Full .NET9 ecosystem and its performance improvements. No need for two targets such as Windows & Mono anymore either.
- A new optional internal module system via ModFramework to load precompiled dll's, .cs files or even top level classes.
- A strong set of libraries with methods and extensions to help you build more mods.
- Create 1 file MonoMod patches to rewrite or inject new meta data to the assembly.
| 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)
- System.IO.Packaging (>= 9.0.2)
NuGet packages (7)
Showing the top 5 NuGet packages that depend on OTAPI.Upcoming:
| Package | Downloads |
|---|---|
|
TSAPI
This is the Terraria Server API, the API that TShock for Terraria runs on. |
|
|
Chireiden.TSAPI
TSAPI with upcoming OTAPI |
|
|
UnrealMultiple.TShock-Beta
TShock is a toolbox for Terraria servers and communities. |
|
|
UnrealMultiple.TSAPI-Beta
This is the Terraria Server API, the API that TShock for Terraria runs on. |
|
|
Appointer
Package Description |
GitHub repositories (2)
Showing the top 2 popular GitHub repositories that depend on OTAPI.Upcoming:
| Repository | Stars |
|---|---|
|
Pryaxis/TShock
☕️⚡️TShock provides Terraria servers with server-side characters, anti-cheat, and community management tools.
|
|
|
Pryaxis/TSAPI
🛠🌳 The TShock Scaffold API enables developers to build plugins that hook directly into the Terraria game engine.
|
| Version | Downloads | Last Updated |
|---|---|---|
| 3.3.7 | 131 | 2/11/2026 |
| 3.3.6 | 290 | 2/5/2026 |
| 3.3.5 | 277 | 2/1/2026 |
| 3.3.4 | 222 | 1/31/2026 |
| 3.3.3 | 49 | 1/29/2026 |
| 3.3.2 | 32 | 1/28/2026 |
| 3.3.1 | 696 | 1/28/2026 |
| 3.2.6 | 286 | 6/9/2025 |
| 3.2.5 | 385 | 3/1/2025 |
| 3.2.4 | 4,729 | 1/5/2025 |
| 3.2.3 | 270 | 1/4/2025 |
| 3.2.2 | 191 | 1/2/2025 |
| 3.2.1 | 170 | 1/2/2025 |
| 3.2.0 | 186 | 1/2/2025 |
| 3.1.21 | 234 | 12/26/2024 |
| 3.1.20 | 50,094 | 11/17/2022 |
| 3.1.19 | 16,438 | 11/10/2022 |
| 3.1.18 | 15,500 | 11/9/2022 |
| 3.1.17 | 14,033 | 11/6/2022 |
Terraria 1.4.4.9 - Address ClientUUID issue as per GHSA-hvm9-wc8j-mgrc with credits to original contributors and TShock team, see advisory for more details.