MafiaNet Documentation¶
MafiaNet is a cross-platform networking engine for multiplayer games. Built on the foundation of RakNet and SLikeNet, it provides reliable UDP messaging, NAT traversal, peer-to-peer networking, and various game-specific networking features.
Supported Platforms: Windows, Linux, macOS (primary) | iOS, Android (limited)
Getting Started
The Basics
Architecture Guide
Plugins
- Plugins Overview
- ReplicaManager3
- Virtual Worlds (Dimensions)
- RPC4 Plugin
- FullyConnectedMesh2 Plugin
- NAT Punchthrough
- NATTypeDetection Plugin
- FileListTransfer Plugin
- DirectoryDeltaTransfer Plugin
- Autopatcher Plugin
- ReadyEvent Plugin
- TeamManager Plugin
- Router2 Plugin
- MessageFilter Plugin
- PacketLogger Plugin
- TwoWayAuthentication Plugin
- CloudComputing Plugin
- Lobby2 Plugin
- RakVoice
- TeamBalancer
- SQLite3Plugin
- Steam Lobby Integration
Advanced Topics
Quick Links¶
Features¶
Reliable UDP - Ordered, sequenced, and reliable message delivery
NAT Traversal - Built-in NAT punchthrough for peer-to-peer connections
Cross-Platform - Windows, Linux, macOS support
Plugin System - Extensible architecture with modular plugins
Security - Secure handshake and encryption support
Replication - Object replication system for game state synchronization
Voice Chat - RakVoice for in-game voice communication
Autopatcher - Delta patching system for game updates
License¶
MafiaNet is released under the MIT License. See the LICENSE file for details.