Class BnetConfigSample

java.lang.Object
br.net.dd.netherwingcore.common.configuration.ConfigurationSample
br.net.dd.netherwingcore.bnetserver.configuration.BnetConfigSample

public class BnetConfigSample extends ConfigurationSample
This class represents a sample configuration for the NetherwingCore Auth Server, providing a structured example of how to define configuration options for the server. It extends ConfigurationSample and initializes a Configuration object with various sections, groups, and items that illustrate the expected format and content of the configuration file.

The BnetConfigSample class serves as a template for creating the actual configuration file used by the auth server, demonstrating how to organize settings and provide detailed descriptions, examples, and default values for each configuration option.

  • Constructor Details

    • BnetConfigSample

      public BnetConfigSample()
      Constructs a new instance of BnetConfigSample, initializing the configuration with a sample structure and setting the file name for the configuration file.
  • Method Details

    • makeSample

      public Configuration makeSample()
      Creates a sample Configuration object with predefined sections, groups, and items that illustrate the expected format and content of the configuration file.
      Returns:
      A Configuration instance representing the sample configuration for the NetherwingCore Auth Server.
    • createSample

      public Configuration createSample()
      Creates a sample Configuration object with predefined sections, groups, and items that illustrate the expected format and content of the configuration file.
      Returns:
      A Configuration instance representing the sample configuration for the NetherwingCore Auth Server.