Class Defaults

java.lang.Object
com.github.mafelp.utils.Defaults

public class Defaults
extends java.lang.Object
The class the holds default values for all the values that are configured in the configuration.
  • Field Summary

    Fields
    Modifier and Type Field Description
    private static long[] authorizedAccountIDs
    Account IDs that are allowed to perform administrative tasks with the bot.
    private static java.lang.String[] games
    The default games that could be played.
    private static java.lang.String[] happyBirthdaySongs
    Links to happy birthday songs that could be played.
    private static long[] listeningChannels
    The default listening channels.
    private static long[] members
    The default members of the birthday.
  • Constructor Summary

    Constructors
    Constructor Description
    Defaults()  
  • Method Summary

    Modifier and Type Method Description
    static org.bukkit.configuration.file.YamlConfiguration createDefaultConfig()
    The function that creates a default global configuration.
    static org.bukkit.configuration.file.YamlConfiguration createDefaultServerConfiguration()
    The function that creates a default server configuration.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • listeningChannels

      private static final long[] listeningChannels
      The default listening channels.
    • members

      private static final long[] members
      The default members of the birthday.
    • games

      private static final java.lang.String[] games
      The default games that could be played.
    • happyBirthdaySongs

      private static final java.lang.String[] happyBirthdaySongs
      Links to happy birthday songs that could be played.
    • authorizedAccountIDs

      private static final long[] authorizedAccountIDs
      Account IDs that are allowed to perform administrative tasks with the bot.
  • Constructor Details

    • Defaults

      public Defaults()
  • Method Details

    • createDefaultConfig

      public static org.bukkit.configuration.file.YamlConfiguration createDefaultConfig()
      The function that creates a default global configuration.
      Returns:
      The default global configuration.
    • createDefaultServerConfiguration

      public static org.bukkit.configuration.file.YamlConfiguration createDefaultServerConfiguration()
      The function that creates a default server configuration.
      Returns:
      The default server configuration.