-
Notifications
You must be signed in to change notification settings - Fork 7
Adding support for your groups plugin
Edson Passos edited this page Jun 12, 2022
·
2 revisions
Adding support for TitansBattle is as simple as extending two classes and registering one of them.
Steps:
- Extending Group. (Example here)
- Extending GroupManager. (Example here)
- Fetch TitansBattle's instance and register your GroupManager:
@Override
public void onEnable() {
TitansBattle tb = TitansBattle.getInstance();
GroupManager gm = new YourGroupManager(tb);
tb.setGroupManager(gm);
}