ogs-plugin-sdk
    Preparing search index...

    ogs-plugin-sdk

    The OpenGolfSim Plugin SDK

    You can extend the functionality of OpenGolfSim by creating or installing your own custom plugins.

    For security, our Plugin SDK operates in a isolated script context. So we expose some global namespaces to enable communications with OpenGolfSim and launch monitors over network (TCP, WebSockets) or bluetooth.

    • No Module System: require(), import, and export are disabled.
    • Global Scope: Only the specific namespaces defined below are available.
    • Standard JS: Only ECMAScript built-ins (e.g., JSON, Map, Math) are present.

    Learn more in our plugin guide at: https://help.opengolfsim.com/desktop/plugins/

    Namespaces

    logging
    system
    shotData
    network
    bluetooth
    webSockets