Warning
This project is in early stages, expect lots of bugs and changes in the coming weeks. We're still actively figuring out the proper architecture for a minigame network in Hytale ourselves.
When making a Hytale server currently, one of the hardest things is to structure it since there is basically no reference. This is our attempt of a nice Hytale minigame server architecture.
This repository contains the server mod needed on every match server. It registers the current server and advertises any matches you tell it to. It should be integrated into your mods to be able to create matches and set the state of them.
- Automatically register with your Matchmaking API
- Grabs token for authenticating the server
- Provide library functions for your game plugins
- Manages players connecting to the server
- Kicks players that don't have a valid token
- Allow the plugin to reconnect to the Matchmaking API when the API goes down
- Notify the Matchmaking API when a token is invalid
- Provide functions to automatically let players queue new games