OpenLegends Game Server
OpenLegends socket server to play multiplayer game
[!IMPORTANT] Project in development!
Install
Dependencies
Rust
Use rustup installer to setup latest Rust environment:
|
Server
Setup
Launch
Arguments
--address,-arequired, serverhost:portto listen incoming connections--identity,-irequired, filepath to server identity in PKCS (PFX) format--password,-poptional, unlock encrypted identity by passphrase
Start
Commands
[!NOTE]
- Server requires from client TLS 1.2 certificate as the user identity
- Request size limited to
1024bytes- See also official client and shared server API libraries
Server
Request
server/about\r\n
Response
Request
server/status\r\n
Response
User
Request
user/register\r\n
{
"username": "string"
}
Response