Interface IPlayerPartySystemRegisterAPI

All Superinterfaces:
IPlayerPartySystemRegisterAPI

@Deprecated public interface IPlayerPartySystemRegisterAPI extends IPlayerPartySystemRegisterAPI
Deprecated.
use IPlayerPartySystemRegisterAPI instead

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 Details

    • register

      @Deprecated default void register(String name, IPlayerPartySystemAPI<?> system)
      Deprecated.
      use IPlayerPartySystemRegisterAPI instead

      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 null
      system - the party system implementation, not null