Skip to content

Xenon Plugin SDK#

Build high-performance WASM plugins for Xenon in C++.
Tiny binaries. No stdlib. Just code.

Draw Primitives#

Lines, circles, rectangles, text, and health bars rendered as an overlay.

ImGui Menus#

Checkboxes, sliders, combos, and collapsing headers for plugin settings.

Entity System#

Iterate players and enemies, read health, position, bones, and visibility.

Config Persistence#

Save and load plugin settings automatically between sessions.

Library Plugins#

Share code between plugins with the dependency system.

Freestanding C++#

Compiles to WASM with Clang. No stdlib overhead — just your logic.

Quick Example#

A complete plugin in 15 lines:

#include <xenon/SDK.hpp>
using namespace xenon;

XENON_PLUGIN("my_esp", "My ESP", "Draws circles on enemies")

extern "C" void on_render()
{
    for (Entity player : Players())
    {
        if (!player.IsAlive() || !player.IsEnemy()) continue;

        Vector2 screen;
        if (WorldToScreen(player.GetBonePos(Bone::Head), screen))
            Draw::CircleFilled(screen, 5.f, Color::Red());
    }
}
build.bat my_esp.cpp

Next Steps#