Package-level declarations

Types

Link copied to clipboard
abstract class VitalPlayer<T>(val player: T) : VitalEntity<UUID>

Base custom player class for every platform implementation of vital-players. Developers should very rarely use this class manually and rather use Spigot or Bungee instead.

Link copied to clipboard
abstract class VitalPlayerException(message: String, cause: Throwable? = null) : RuntimeException

Internal exception; thrown during VitalPlayer lifecycle.

Link copied to clipboard

Internal listener; manages VitalPlayer lifecycles.

Link copied to clipboard

Global repository; stores all instances of VitalPlayer. Use this class to retrieve your custom instances.

Link copied to clipboard
@ConfigurationProperties(prefix = "vital.players")
@Component
class VitalPlayersConfigurationProperties
Link copied to clipboard
class VitalPlayerService(vitalPlayerRepository: VitalPlayerRepository)

Internal class; used to create and destroy custom instances of VitalPlayer that are configured via vital.players.player-class-name.

Link copied to clipboard
class VitalPlayersModule(val vitalPlayersConfigurationProperties: VitalPlayersConfigurationProperties) : VitalModule