Package cn.nukkit.metrics
Class NukkitMetrics
java.lang.Object
cn.nukkit.metrics.NukkitMetrics
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
NukkitMetrics
@Deprecated @DeprecationDetails(by="PowerNukkit", since="1.4.0.0-PN", replaceWith="NukkitMetrics.startNow(Server)", reason="The original cloudburst nukkit constructor implementation behaves like a stateful static method and don\'t comply with Java standards. Use the static method startNow(server) instead.") @Since("1.4.0.0-PN") public NukkitMetrics(Server server) Deprecated.Replace withstartNow(Server)
Setup the nukkit metrics and starts it if it hadn't started yet.- Parameters:
server
- The Nukkit server
-
-
Method Details
-
startNow
Setup the nukkit metrics and starts it if it hadn't started yet.- Parameters:
server
- The Nukkit server
-
startNow(Server)