Class StatsOptions.FastStatsOptions

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

public static class StatsOptions.FastStatsOptions extends Object
  • Field Details

    • loader

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

      @Nullable public @Nullable String 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 metrics 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.
  • Constructor Details

    • FastStatsOptions

      public FastStatsOptions()
  • Method Details