Start here
What a game mode is, how the server loads it, and a first script in ten lines: Introduction → Running a mode → Your first game mode.
Start here
What a game mode is, how the server loads it, and a first script in ten lines: Introduction → Running a mode → Your first game mode.
Server API
The callbacks the world calls and the functions a mode calls back — players, chat and HUD, zones, events, state, doors, bans, the clock and the weather. Callbacks.
Client API
The kcd2mp table a client script gets: events to and from the mode, the replicated state bags.
Overview.
Lua now, TypeScript next
Modes are Lua 5.4 today. The TypeScript tier is planned over the same surface; the code samples will carry both once it ships.