SDK

The SDK.

One API for your scripts, and the pieces that run it on every host.

The pieces

What is in it.

Each piece, in detail
  • Lua core

    One API for scripts, on any Lua from 5.1 to 5.4 and LuaJIT.

  • Adapters

    One per host: it maps the API onto what the host already has.

  • .NET host kit

    For C# engines and servers. Runs Lua and TypeScript side by side.

  • CLI

    Create, test, publish and install scripts from the command line.

  • TypeScript types

    Autocomplete for the whole API in your editor.

  • Specs

    The runtime API, the manifest and the HTTP API, written down.

Integrate

Two ways to integrate.

Your host runs Lua

Write an adapter.

One table maps the API onto your host, as an addon, a mod, a plugin or a shim.

Create an adapter

Your engine has no Lua

Embed a host kit.

A C# engine references the kit and its users write Lua or TypeScript.

Embed the .NET kit

Languages

One API, every language.

How languages meet
  • Lua

    Lua: everywhere

    On each host’s own Lua, 5.1 to 5.4 or LuaJIT.

  • TypeScript and JavaScript

    TypeScript: .NET kit

    On the .NET kit, compiled when you pack or verify.

The platform

On top of the SDK.

  • Licensing

    A key per buyer, one activation per server, checked again on a schedule.

    Licensing API
  • Shops on Tebex

    On the seller’s own store: a payment there issues a licence here.

    Open a shop
  • Proof by real runs

    Statuses come from reports written in the real runtime, never from a form.

    How a status is earned
  • Imports

    scriptgo add checks the hash and the signature before it writes a file.

    scriptgo add

Monetize

Two ways to earn with it.

What is sold is the seller’s own code, as a SCRIPT//GO script that runs on the environments it declares.

  • a script studio

    A studio sells a script to server operators.

    Each buyer gets a licence for their own servers. The release can be delivered encrypted.

    1. The operatorbuys the script
    2. The studio’s Tebex storetakes the payment
    3. SCRIPT//GOissues the licence
    4. Licence and keybound to one server
    5. The serverruns the script

    Sold: a licence to run the studio’s script.Read more

  • a server operator

    An operator sells a perk to players.

    A monthly VIP pass, for example, unlocks a feature of the operator’s own script.

    1. The playerbuys the pass
    2. The operator’s Tebex storetakes the payment
    3. SCRIPT//GOrecords the perk
    4. The SDK on the serverasks who has it
    5. The operator’s scriptunlocks the feature

    Sold: a feature of the operator’s own code. Never the game, its content or access to it.Read more

Protection

Protect your work.

Signed releases, a licence per server, and encrypted delivery where the host can hold a key.

What a host needs for encrypted delivery

  1. Step 1: A server keyMade on the server. The private half never leaves it.
  2. Step 2: The key endpointAnswers a short-lived key, wrapped to that server.
  3. Step 3: A loader in compiled codeChecks the signature, decrypts in memory.

One module, every runtime

Same code. Real output.

A package’s README example, and what each environment printed when it ran.

Loading…