This repository was archived by the owner on Jul 10, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Server Pairing
Ian Castaño edited this page Nov 7, 2020
·
1 revision
To pair a game mode with Centauri, the server needs to be in GAME mode, which will enable an ad-hoc mode for two minutes, allowing any game to pair with it.
To configure a GAME server you just have to fill in the following information in the config.yml located at Centauri.
game:
running: 0 # Max games running at one (Only applies at GAME mode)
total: 0 # Max game running at server lifecycle (Only applies at GAME mode)
mode: 0123456789abcdefg # Database ID of the desired game
subMode: 0123456789abcdefg # Database ID of the desired SubGameModeTo pair a game with a server, this plugin must call the GameModePairEvent event as soon as it is ready to receive games and provide you with the GameMode and SubGameMode that you want to pair with.
Bukkit.getPluginManager().callEvent(new GameModePairEvent(gameMode, subGameMode));Once the pairing is finished, the game sanitization process will proceed immediately.
- Understanding Session Registry
- Configuring a server
- Authentication Gateways
- Invalid Auth & Cooldowns
- Introduction
- Matchmaking
- Server Pairing
- Match Scheduling
- Lobby Functionality
- Stats
- Match Event Handling