registerLevelSystem

Registers the given provider for BukkitLevelSystem with normal priority.

Return

registered level system or null if it was not registered.

Parameters

provider

The provider used to get level system.

apiLevel

Minimal required API level for this level system implementation: - if required API level is higher than installed Mimic, provider will not be registered, - if required API level is lower - will be enabled compatibility mode. Specify MimicApiLevel.CURRENT to use API level of Mimic dependency used on compile time.

plugin

The plugin implementing this level system.


Registers the given provider for BukkitLevelSystem.

Return

registered level system or null if it was not registered.

Parameters

provider

The provider used to get level system.

apiLevel

Minimal required API level for this level system implementation: - if required API level is higher than installed Mimic, provider will not be registered, - if required API level is lower - will be enabled compatibility mode. Specify MimicApiLevel.CURRENT to use API level of Mimic dependency used on compile time.

plugin

The plugin implementing this level system.

priority

Default priority. Service with higher priority will be used if user have not configured preferred service in config.