Class BStatsOptions

java.lang.Object
xyz.srnyx.javautilities.parents.Stringable
xyz.srnyx.annoyingapi.options.BStatsOptions

public class BStatsOptions extends xyz.srnyx.javautilities.parents.Stringable
Represents the options for bStats
  • Field Details

    • id

      @Nullable public @Nullable Integer id
      RECOMMENDED The ID of the plugin on bStats

      If not specified, bStats metrics will not be enabled

    • fileName

      @NotNull public @NotNull String fileName
      REQUIRED The name of the file to use for the bStats toggle

      This is required as bStats requires a way to disable metrics. Tampering with this in such a way that removes the ability to disable metrics will result in your plugin being banned from bStats

      IF YOU CHANGE THIS: The file MUST have toggleKey for a boolean to toggle bStats. If it doesn't, bStats will always be disabled

    • fileOptions

      @Nullable public AnnoyingResource.Options fileOptions
      OPTIONAL The options for the bStats file

      If not specified, the default options will be used

    • toggleKey

      @NotNull public @NotNull String toggleKey
      OPTIONAL The key for the node people can change to toggle bStats in the bStats file
  • Constructor Details

    • BStatsOptions

      public BStatsOptions()
      Constructs a new BStatsOptions instance with default values
  • Method Details