StatsCommand

interface StatsCommand<CS>

Internal class; handles health check logic and the /stats command.

Inheritors

Types

Link copied to clipboard
@Conditional(value = [RequiresBungee::class])
class Bungee(val vitalStatisticsService: VitalStatisticsService, val vitalStatisticsConfigurationProperties: VitalStatisticsConfigurationProperties, val vitalPlugin: VitalPlugin) : VitalCommand.Bungee, StatsCommand<BungeeCommandSender>
Link copied to clipboard
object Companion
Link copied to clipboard
@Conditional(value = [RequiresSpigot::class])
class Spigot(val vitalStatisticsService: VitalStatisticsService, val vitalStatisticsConfigurationProperties: VitalStatisticsConfigurationProperties, val vitalPlugin: VitalPlugin) : VitalCommand.Spigot, StatsCommand<SpigotCommandSender>

Functions

Link copied to clipboard
open fun handleOnCommand(sender: CS)
Link copied to clipboard
Link copied to clipboard
abstract fun sendMessage(sender: CS, message: String)