Introduction
Welcome to the MY Multiplayer wiki. On this wiki you'll find a wealth of information on using MY Multiplayer.
MY Multiplayer (MYMP) is a multiplayer platform that lets you create, develop, and host custom servers, offering freedom and flexibility to build any kind of multiplayer experience. This wiki covers server configuration and Lua 5.4 scripting, split into two main sections in the top navigation bar.
Documentation
Conceptual and practical guides explaining how MY Multiplayer works: how resources are organised (meta.xml and modules/), how to configure a server (server.cfg), built-in global variables, vector types (vec2 and vec3) and how the client and the server exchange events.
Scripting
The complete Scripting reference covering every Lua function and event available in MY Multiplayer (MYMP), grouped by category and marked with the side each one runs on: client, server or shared (both sides).
Where to start
- Resource structure: a resource's folder layout and every tag accepted in
meta.xml. - Modules and import: how to split and reuse Lua code within or across resources using
import. - Server configuration (server.cfg): startup directives (
ensure,set), core convars and thecontent.keyencryption file. - Global variables: globals available in every script (
root,resourceRoot,localPlayer,exports) and inside event handlers (source,client). - Vectors (vec3): how MYMP accepts coordinates and returns positions, rotations and velocities as
vec3andvec2values. - Events between client and server: registering custom events and communicating across the network with
triggerServerEventandtriggerClientEvent.