类 BStats


  • public class BStats
    extends Object
    bStats collects some data for plugin authors.

    Check out https://bStats.org/ to learn more about bStats!

    • 字段详细资料

      • B_STATS_VERSION

        public static final int B_STATS_VERSION
        另请参阅:
        常量字段值
      • logFailedRequests

        public static boolean logFailedRequests
      • logSentData

        public static boolean logSentData
      • logResponseStatusText

        public static boolean logResponseStatusText
    • 构造器详细资料

      • BStats

        public BStats()
    • 方法详细资料

      • setProvider

        public static void setProvider​(BStatsProvider provider)
      • getServerId

        public static String getServerId()
      • setServerId

        public static void setServerId​(@NotNull
                                       String sid)
      • getPluginData

        public Map<String,​Object> getPluginData()
        Gets the plugin specific data. This method is called using Reflection.
        返回:
        The plugin specific data.
      • getPlayerAmount

        protected static int getPlayerAmount()
      • isOnlineMode

        protected static boolean isOnlineMode()
      • getBukkitVersion

        protected static String getBukkitVersion()
      • getBukkitName

        protected static String getBukkitName()
      • getServerData

        protected static Map<String,​Object> getServerData()
        Gets the server specific data.
        返回:
        The server specific data.
      • getCustomCharts

        public List<Object> getCustomCharts()
      • submitData

        public static void submitData()