Skip to content

SubVulpes SDK 0.3.0

Choose a tag to compare

@TheGreatVulpzin TheGreatVulpzin released this 10 Nov 04:14
dbc97d0

The SDK for 0.3.0: new API calls, the help and log services of Patchouli and Aya, and the plugin test runner.

Download: SubVulpes-sdk-v0.3.0.zip
SHA-256: a53e3c9c6a72bf3b3f1053b0f08a9585cd3954e971b73e296c88f2d60e13895e

What it holds: the public headers, a plugin template, the plugin test runner (subvulpes_plugin_test.exe), a probe plugin and the API docs. Start with docs/sdk-first-steps.md. The Workshop page is docs/sdk-workshop.md.
Needs: Windows, MSVC Build Tools (x86), CMake and a Windows SDK. It needs no game data.
Limits: native C plugins only. The API may still change before v1.0.

Changes

  • Server control: a plugin can save, stop or restart the server (SvServerControl.request).
  • Console: a plugin can run a registered plugin command and read its reply (SvConsole.execute).
  • Level reads: buildings and bases, areas, single blocks, and a line test that tells the surface material (building_count, building, base, area, block, surface).
  • Level writes: block_set changes one block of an area.
  • Street map: roads, intersections and the nearest street point (road, intersection, street_near).
  • Bots: chase_mode, possess (a player takes a bot) and aim_snap.
  • Players: account_number gives the number that /players shows. human_remove ends the body of a player or of an orphan.
  • Properties: human.health goes up to 1000. item.trigger_ticks can be read and written.
  • Services between plugins: Patchouli (help topics and text pages) and Aya (the log). Their headers are in the SDK, so your plugin can use them.
  • The official plugins are now built from the Workshop, and the Workshop CI uses this SDK.