Loading repository data…
Loading repository data…
CdecPGL / repository
A very simple and light match making system for P2P online game. Server binary for linux and windows, and client library for C# including Unity are provided.
A very simple and light match making system for P2P online game. Server binary for linux and windows, and client library for C# including Unity are provided.
A binary which is executable in below platforms.
For linux, extremely small docker image is also provided in DockerHub.
A library by below languages and platforms.
You can easily install and use server and client.
You can very easily install server by using docker by following steps.
cdec/planeta-match-maker-server:latestFollowing commands are examples to run a server with port 57000 by using docker.
docker pull cdec/planeta-match-maker-server:latest
# Production TLS. Mount an existing certificate chain and private key to the default paths.
docker run -p 57000:57000 \
-v /etc/letsencrypt/live/match.example.com/fullchain.pem:/etc/pmms/server.crt:ro \
-v /etc/letsencrypt/live/match.example.com/privkey.pem:/etc/pmms/server.key:ro \
cdec/planeta-match-maker-server:latest
# Local plain TCP test.
docker run -p 57000:57000 \
-e PMMS_TLS_MODE=plain \
cdec/planeta-match-maker-server:latest
You may need to set firewall to acceppt recieve connection of TCP port which is defined in the setting file.
The default server setting uses TLS. Mount certificate and private key files to the configured paths, or explicitly set tls.mode to "plain" for local plain TCP testing. See TLS Certificate Setup for production and development certificate examples.
You can change settings by editing the setting file if you need.
In linux and windows, you can install server by manually by following steps.
/etc/pmms/setting.jsonYou may need to set firewall to acceppt recieve connection of TCP port which is defined in the setting file.
You can change settings by editing the setting file if you need.
PlanetaMatchMakerClient/Source directory to your projectPlanetaMatchMakerUnityClient/Assets to Assets directory of your unity projectusing PlanetaGameLabo.MatchMaker.Extentions; in your codeMatchMakerClient.CreateRoomWithSteamAsync and MatchMakerClient.JoinRoomWithSteamAsyncNote that enabling Facepunch.Steamworks and Steamworks.NET at same time is not supported.
| Name | Macro | Repository |
|---|---|---|
| Facepunch.Steamworks | PMM_FacepunchSteamworks | URL |
| Steamworks.NET | PMM_SteamworksNET | URL |
The codes in this repository except codes from other repositories are lisenced unfer the MIT License.
This repogitory includes following libraries from other repogitories. The licenses of these codes follows each repogitories.