Scripting

All about extending StompyMUX through its Lua APIs

Guides and API references for extending StompyMUX with Lua.


Overview

An overview of the Lua scripting system

Object scripting

How to extend and manipulate in-game objects through Lua

Object Flags

A reference of in-game object flags

Object Powers

A reference of in-game object powers

Commands

How to define new global and object-level commands

Global logic

How to write global logic that is not attached to an in-game object

Scheduled events

How to run object-attached and global Lua logic on UTC cron schedules

Interactive flows

How to write interactive player flows

Validating and Reloading

How to validate and reload your game’s Lua sources

Lua errors

Structured errors for Lua scripts and native bindings

Lua testing

Write and run isolated, fully mutable Lua test suites

Package Reference

A reference for the Lua scripting APIs