 
                Leaderboards Addon for UltimateClans!
This addon requires Ultimate Clans 8.12.0+
About:
Addon of: ⚔ Ultimate Clans ⚔ | Take your server to a higher level
With the Leaderheads Addon you can display the top clans in ways that are attractive to players, with the support of Signs, Armor stands, player heads, turning Holograms on or off and choose the type of armor for each rank.
Currently supporting 9 types of clan ranks which are: KILL, DEATH, KDR, MEMBER, BANK, LEVEL, WAR, ALL, POINT
This addon must be installed in the folder "/plugins/UltimateClans/addons/"
Commands:
/clanleaderboard help - Show help menu.
/clanleaderboard reload - Reload settings.
/clanleaderboard create <statistic> <rank> - Create a leaderboard.
/clanleaderboard editmode - Enter edit mode.
/clanleaderboard update - Update a board.
/clanleaderboard delete <id> - Delete a board.
/clanleaderboard tp <id> - Update a board.
This addon does not contain additional commands.
Dependencies:
Optional hook with: HolographicDisplays, Holograms, CMI or DecentHolograms

Looking at a SIGN or ARMOR_STAND use the command '/clanleaderboard create <type> <numeric_rank>' like '/clanleaderboard create KDR 1'. If it's a Sign, optionally you can add HEADS or ARMOR_STANDS above the board and then update with '/clanleaderboard update ALL'
Acceptable types: KILL, DEATH, KDR, MEMBER, BANK, LEVEL, WAR, ALL, POINT
Config:
  version: '1'
  # available: EN
  language: EN
  date_format_short: dd/MM/yyyy
Leaderboard:
    enabled: true
# Update manager
    update:
      timed:
        #Then FALSE, the addon waits for updates from the main plugin to update the boards.
        enabled: true
        #in seconds, WARNING: Recommended 180+ (3 minutes +) to avoid overload!
        timer: 300
        #in seconds, WARNING: Recommended 10+!
        start: 10
      #Only if timed enabled is set to FALSE can you choose which clan events update boards.
      events:
        # Used for boards: **
        ClanDeleteEvent: true
        # Used for boards: **
        ClanCreateEvent: true
        # Used for boards: POINT, LEVEL
        ClanPointChangeEvent: true
        # Used for boards: BANK
        ClanBankChangeEvent: true
        # Used for boards: WAR
        ClanWarWinEvent: true
        # Used for boards: ALL
        ClanVerifyChangeEvent: true
        # Used for boards: KILL, DEATH, KDR
        ClanPlayerKDRChangeEvent: true
        # Used for boards: MEMBER
        ClanPlayerLeaveEvent: true
        # Used for boards: MEMBER
        ClanPlayerJoinEvent: true
#general formatation
    format:
      stand:
        #empty to disable
        name: ''
      sign:
        lines:
        - <blue>----- <yellow>#{num} <blue>-----
        - <yellow>{name}
        - <green>{amount} <aqua>{type}
        - <blue>----------
      holo:
        enabled: true
        stand_ajust_y: 3.1
        skull_ajust_y: 1.5
        lines:
        - <yellow>#{num}
        - <yellow>{name}
        - <green>{amount} <aqua>{type}
# You can disable click actions to open gui menu or show in chat.
    #action values: GUI, CHAT
    actions:
      #Click heads action
      skull_click: true
      skull_action: CHAT
      #Click stands action
      stand_click: true
      stand_action: CHAT
      #Click signs action
      sign_click: true
      sign_action: CHAT
#Stand equipment depending on the board position.
    equip:
      empty_head: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMzA3ZjQ3OTU4NGZjY2FlNjg2MDAzYTYwODAwZGRmZWU3MmFmZmUxMGU0YmIyNmE3ZDRhMDBjY2I5OTc5N2QyIn19fQ==
#This is standard equipment for not listed below by position
      default:
        chestplate: LEATHER_CHESTPLATE
        leggings: LEATHER_LEGGINGS
        boots: LEATHER_BOOTS
#Other numbers can be added here following the same numbering pattern
      position:
        '1':
          chestplate: DIAMOND_CHESTPLATE
          leggings: DIAMOND_LEGGINGS
          boots: DIAMOND_BOOTS
        '2':
          chestplate: GOLDEN_CHESTPLATE
          leggings: GOLDEN_LEGGINGS
          boots: GOLDEN_BOOTS
        '3':
          chestplate: IRON_CHESTPLATE
          leggings: IRON_LEGGINGS
          boots: IRON_BOOTS
# BOARD STORAGE
  Storage:
    #mysql/sqlite/yaml (It is highly recommended to use mysql for better performance!!!)
    type: sqlite
    mysql:
      host: localhost
      port: 3306
      base: YOUR-BASE-PRE-CREATED
      #SSL is only valid for MYSQL, most servers are not necessary to use it as true.
      useSSL: false
    # Used for Mysql mandatory and optional for H2 and Sqlite (default: root)
    user: root
    # Used for Mysql mandatory and optional for H2 and Sqlite (default is empty)
    pass: ''
    databases:
      leaderboard_loc: uclans-leaderboard_loc







