Skip to content

Config.yml

Loving11ish edited this page May 3, 2025 · 2 revisions

Default Config.yml

This config is the default one that is generated by UStats on initial install. (Please note the version listed at the top to ensure you are using the latest version on your server)

#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
#                                         ----[UStats]----                                          #
#                                     ----[By Loving11ish]----                                      #
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
#                                   ----[Plugin Config File]----                                    #
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
#UStats config for 1.0.1

#General settings
general:
  developer-debug-mode:
    #Do you want to see a lot of debug messages in console when most actions are performed?
    #OPTIONS: 'true'/'false', PLACEHOLDERS: none, DEFAULT:'false'
    enabled: false

  placeholderAPI:
    #Should placeholders be enabled?
    #OPTIONS: 'true'/'false', PLACEHOLDERS: none, DEFAULT:'true'
    enable-Placeholders: true

  plugin-update-notifications:
    #Do you want to enable in game plugin update notifications?
    #OPTIONS: 'true'/'false', PLACEHOLDERS: none, DEFAULT:'true'
    enabled: true

#Storage settings
storage:
    #Do you want to use MySQL for storage?
    #OPTIONS: 'true'/'false', PLACEHOLDERS: none, DEFAULT:'false'
    use-mySQL: false
    #MySQL settings
    mySQL:
        #MySQL database host
        #OPTIONS: 'anyString', PLACEHOLDERS: none, DEFAULT: 'localhost'
        host: 'localhost'
        #MySQL database port
        #OPTIONS: 'anyInt', PLACEHOLDERS: none, DEFAULT: 3306
        port: 3306
        #MySQL database name
        #OPTIONS: 'anyString', PLACEHOLDERS: none, DEFAULT: 'database'
        database: 'database'
        #MySQL database table
        #OPTIONS: 'anyString', PLACEHOLDERS: none, DEFAULT: 'table'
        table: 'UStats'
        #MySQL database username
        #OPTIONS: 'anyString', PLACEHOLDERS: none, DEFAULT: 'username'
        username: 'username'
        #MySQL database password
        #OPTIONS: 'anyString', PLACEHOLDERS: none, DEFAULT: 'password'
        password: 'password'
        #Use SSL for MySQL connection
        #OPTIONS: 'true'/'false', PLACEHOLDERS: none, DEFAULT:'false'
        useSSL: false
        #MySQL driver
        #OPTIONS: 'anyString', PLACEHOLDERS: none, DEFAULT: 'mysql'
        driver: 'mysql'
        #MySQL tls version
        #OPTIONS: 'anyString', PLACEHOLDERS: none, DEFAULT: ''
        tlsVersion: ''

#Statistics settings
stats:
  general:
    #Should only the value be shown in the statistics?
    #OPTIONS: 'true'/'false', PLACEHOLDERS: none, DEFAULT:'true'
    show-value-only: false
  calculate-top-players:
    #Should the top players be calculated?
    #OPTIONS: 'true'/'false', PLACEHOLDERS: none, DEFAULT:'true'
    enabled: true

  disabled-worlds:
    #List of worlds where stats are disabled
    #OPTIONS: 'anyList', PLACEHOLDERS: none, DEFAULT: []
    list:
      - "world_nether"
      - "world_the_end"


#GUI settings
gui:
  general:
    menu-controls:
      #The name of the previous page icon
      #OPTIONS: 'anyString', PLACEHOLDERS: none, DEFAULT: "&2Previous Page"
      previous-page-icon-name: "&2Previous Page"
      #The name of the next page icon
      #OPTIONS: 'anyString', PLACEHOLDERS: none, DEFAULT: "&2Next Page"
      next-page-icon-name: "&2Next Page"
      #The name of the close/go back icon
      #OPTIONS: 'anyString', PLACEHOLDERS: none, DEFAULT: "&4Close/Go Back"
      close-go-back-icon-name: "&4Close/Go Back"

    gui-fillers:
      #Do you want to use the GUI fillers?
      #These are the items that fill the GUI's to make them look better.
      #OPTIONS: 'true'/'false', PLACEHOLDERS: none, DEFAULT:'true'
      enabled: true
      #What material do you want to use for the GUI fillers?
      #OPTIONS: 'material', PLACEHOLDERS: none, DEFAULT:'BLACK_STAINED_GLASS_PANE'
      material: 'BLACK_STAINED_GLASS_PANE'
      #What is the name of the GUI fillers?
      #OPTIONS: 'anyString', PLACEHOLDERS: none, DEFAULT:' '
      name: " "
      #What lore do you want to use for the GUI fillers?
      #OPTIONS: 'anyList', PLACEHOLDERS: none, DEFAULT:[]
      lore: [ ]

Home Page

Click Here

Clone this wiki locally