getPrimaryClass

abstract fun getPrimaryClass(player: Player): CharacterClass?(source)

Returns the class that best represents the player's class, or null if there is no such class.

Server owners choose the plugin for it with the class-provider option in Mimic config. If the option isn't set, or the plugin isn't installed, Mimic asks plugins one by one, from the highest priority, and returns the first primary class it gets.