Interface IPlayerPartySystemRegisterAPI
public interface IPlayerPartySystemRegisterAPI
The API for registering party system implementations.
Party system implementations must be registered during the xaero.pac.common.event.api.OPACServerAddonRegister.EVENT on Fabric or OPACServerAddonRegisterEvent on Forge.
-
Method Summary
Modifier and TypeMethodDescriptionvoidregister(String name, IPlayerPartySystemAPI<?> system) Registers a party system implementation to be available to OPAC under a specified name.
-
Method Details
-
register
Registers a party system implementation to be available to OPAC under a specified name.The primary party system used by the mod is configured in the main server config file with the "primaryPartySystem" option.
- Parameters:
name- the name to register the party system under, not nullsystem- the party system implementation, not null
-