๐ฆMinigame setup
The library requires T-DataBasesAPI on Paper 1.20.6 and newer versions.
Every minigame must extend MiniGame class.
public class MyMinigamePlugin extends MiniGame If you want to set configurators overwrite loadConfigurators method
@Override
protected ConfiguratorsInitializer loadConfigurators() {
return ConfiguratorsInitializer.builder()
.setGameConfigurator(new MyGameConfigurator())
.setPluginConfigurator(new MyPluginConfigurator())
//.setCommandConfigurator(new MyCommandConfigurator())
//old way how to register command module
.build();
}If you want to set GameManager or loader, other manager or factory, overwrite configure method
Init your own Game Manager.
You must set your own game manager, to define joining, leaving and drawing game.
If you want to use config.yml or other configuration YAML set it in initConfiguration method
You must implement this method
The whole implementation of the minigame main class
Last updated