Install Asset
Install via Godot
To maintain one source of truth, Godot Asset Library is just a mirror of the old asset library so you can download directly on Godot via the integrated asset library browser
Quick Information
Generic P2P networking layer for Godot 4. Provides a WebSocket signaling client and server (compatible with the official Godot webrtc_signaling demo), WebRTC mesh transport, and a simple raw-bytes API.Features:- host_room() / join_room() with room codes- send_to() and broadcast() with Error return codes- seal_lobby(), peer_joined when WebRTC is ready- Optional local signaling server scene (port 8080)- Headless smoke tests includedDesktop exports require the webrtc-native GDExtension (https://github.com/godotengine/webrtc-native). HTML5 uses Godot's built-in WebRTC. Run godot --import once after installing the extension.
P2P Net — Godot Asset Library package
Game-agnostic P2P transport for Godot 4: WebSocket signaling + WebRTC mesh, raw bytes API.
This folder is the standalone Git repository root to publish on GitHub and submit to the Godot Asset Library.
Repository layout
p2p_net/ ← this repo root
LICENSE
README.md
icon.png
.gitignore
addons/p2p_net/ ← generated by export script
Publish workflow
From the Forces Godot project (or after editing addons/p2p_net/):
cd godot
.\tools\export_p2p_assetlib.ps1
Then publish assetlib/p2p_net/ as its own Git repo:
cd assetlib/p2p_net
git init
git add .
git commit -m "Initial release 1.0.0"
git remote add origin https://github.com/YOUR_USER/godot-p2p-net.git
git push -u origin main
See SUBMIT.md for Asset Library form values.
Desktop dependency (important)
On desktop exports, install webrtc-native into your game project as res://webrtc/ (GDExtension). HTML5 uses Godot's built-in WebRTC.
Run once after install:
godot --headless --path . --import --quit
License
MIT — see LICENSE.
Generic P2P networking layer for Godot 4. Provides a WebSocket signaling client and server (compatible with the official Godot webrtc_signaling demo), WebRTC mesh transport, and a simple raw-bytes API.
Features:
- host_room() / join_room() with room codes
- send_to() and broadcast() with Error return codes
- seal_lobby(), peer_joined when WebRTC is ready
- Optional local signaling server scene (port 8080)
- Headless smoke tests included
Desktop exports require the webrtc-native GDExtension (https://github.com/godotengine/webrtc-native). HTML5 uses Godot's built-in WebRTC. Run godot --import once after installing the extension.
Reviews
Quick Information
Generic P2P networking layer for Godot 4. Provides a WebSocket signaling client and server (compatible with the official Godot webrtc_signaling demo), WebRTC mesh transport, and a simple raw-bytes API.Features:- host_room() / join_room() with room codes- send_to() and broadcast() with Error return codes- seal_lobby(), peer_joined when WebRTC is ready- Optional local signaling server scene (port 8080)- Headless smoke tests includedDesktop exports require the webrtc-native GDExtension (https://github.com/godotengine/webrtc-native). HTML5 uses Godot's built-in WebRTC. Run godot --import once after installing the extension.