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)

The Basics

Plugins

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.