Class BungeePlatform
java.lang.Object
io.github.projectunified.faststats.bungeecord.BungeePlatform
- All Implemented Interfaces:
Platform
-
Constructor Summary
ConstructorsConstructorDescriptionBungeePlatform(net.md_5.bungee.api.plugin.Plugin plugin) Constructs a newBungeePlatformfor the given plugin. -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the platform-specific configuration.Collection<Metric<?>> Gets default platform-specific metrics.voidLogs error messages.voidLogs informational messages.voidlogWarning(String message) Logs warning messages.
-
Constructor Details
-
BungeePlatform
public BungeePlatform(net.md_5.bungee.api.plugin.Plugin plugin) Constructs a newBungeePlatformfor the given plugin.- Parameters:
plugin- the plugin instance
-
-
Method Details
-
getConfig
-
getMetrics
Description copied from interface:PlatformGets default platform-specific metrics.- Specified by:
getMetricsin interfacePlatform- Returns:
- a collection of platform metrics
-
logInfo
-
logWarning
Description copied from interface:PlatformLogs warning messages.- Specified by:
logWarningin interfacePlatform- Parameters:
message- the message to log
-
logError
-