Class StatsOptions.BStatsOptions

java.lang.Object
xyz.srnyx.annoyingapi.options.StatsOptions.BStatsOptions
Enclosing class:
StatsOptions

public static class StatsOptions.BStatsOptions extends Object
  • Field Details

    • loader

      @Nullable public @Nullable Class<? extends BStatsLoader> loader
      Convenience so that a separate BStatsProvider class doesn't need to be made (the API will create an anonymous one for you).
      This is overriden if a BStatsProvider class IS found during automatic registration.
    • id

      @Nullable public @Nullable Integer id
      Even more of a convenience than loader such that you provide just the ID, rather than an entire loader.
      However, this means you must define custom charts outside of a loader, which is not recommended.
      So, it's recommended to only use this if you don't want to define anything custom!
      This is overriden by loader if both are provided.
    • deleteOldBStatsFile

      public boolean deleteOldBStatsFile
      Whether to delete the old bstats.yml file when the plugin is loaded
  • Constructor Details

    • BStatsOptions

      public BStatsOptions()
  • Method Details