Interface IPlayerPermissionSystemRegisterAPI
public interface IPlayerPermissionSystemRegisterAPI
The API for registering player permission system implementations.
Player permission 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, IPlayerPermissionSystemAPI system) Registers a player permission system implementation to be available to OPAC under a specified name.
-
Method Details
-
register
Registers a player permission system implementation to be available to OPAC under a specified name.The actual permission system used by the mod is configured in the main server config file with the "permissionSystem" option.
- Parameters:
name- the name to register the permission system under, not nullsystem- the permission system implementation, not null
-