Jump to content

Grimwar/Server-side modding: Difference between revisions

From Vellocet Developer Community
Initialize Vellocet Developer Community
 
Publish SDK documentation
Tag: New redirect
 
Line 1: Line 1:
{{GameNav}}
#REDIRECT [[Grimwar/VMod]]
{{Draft}}
 
Grimwar server mods are C# source packages compiled at runtime and executed through an interpreter while the player and dedicated-server builds remain IL2CPP. Mods receive the stable <code>Grimwar.ModApi</code> capability surface rather than direct access to Unity, networking, the filesystem, reflection, or process APIs.
 
== Package pipeline ==
 
<syntaxhighlight lang="text">
addon.json + mod.json + C# sources
  -> package and API-version validation
  -> capability and syntax validation
  -> compile against Grimwar.ModApi
  -> isolated interpreted execution
  -> scoped commands, events, timers, effects, storage, and VSig
</syntaxhighlight>
 
== Core services ==
 
The mod context provides bounded services for logging, commands, player snapshots, messages, menus, gameplay effects, administration, game modes, events, timers, time, randomness, persistent storage, VSig, and mod inspection.
 
== Minimal structure ==
 
Every mod declares a stable ID, version, API version, entry point, source files, dependencies, permissions, kind, and server-only execution flag in <code>mod.json</code>. Its entry class implements <code>IMod</code> and registers callbacks during <code>OnLoad</code>.
 
The complete API reference and copy-ready examples will be generated from the public Mod API source after its documentation contract is finalized.
 
[[Category:Grimwar]] [[Category:Server modding]]

Latest revision as of 01:13, 25 August 2026

Redirect to: