Modules
| countdown | Countdown
These functions provide the ability to display a countdown timer that also locks players during countdown. |
| eventlog | Event Log
Functionality to display a list of game events in the top-right corner. |
| hud | Multiplayer HUD utilities
This system handles heads-up display (HUD) functionality in multiplayer, including damage feedback, timers, round indicators, scoreboards and world markers. |
| spawn | Spawn
This system manages player spawning and respawning in a multiplayer game session. |
| spectate | Multiplayer Spectator System
Client-side spectating logic for multiplayer. |
| stats | Stats
Tracks kill and death counts for each player in a multiplayer session. |
| teams | Teams
Handles dynamic team assignment, player coloring, and UI rendering for team selection in a multiplayer match. |
| tools | Multiplayer Tool & Loot System
Server-side system for managing tools, loot crates, and dropped weapons in multiplayer matches. |
| ui | UI Helper & Utility Functions
Standardized helpers used across mplib scripts for rendering text, panels, buttons, and player-related visuals. |
| util | Multiplayer Level Utility Functions
This module provides utilities for extracting spawn positions, tool spawn locations, and points of interest from level tags, as well as generating valid dynamic spawn points in a level using raycasting and terrain checks. |