Repository navigation
SubVulpes SDK 0.3.0
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_setchanges 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) andaim_snap. - Players:
account_numbergives the number that /players shows.human_removeends the body of a player or of an orphan. - Properties:
human.healthgoes up to 1000.item.trigger_tickscan 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.