Skip to content

leaderboards.yml

Jan Kluka edited this page Oct 23, 2026 · 1 revision
# Leaderboards: the /top menu, hologram boards and the %xprison_lb_<board>_...% placeholders.
#
# Board ids: currency_<currency> (one per currency in currencies.yml), blocks, ranks, prestiges,
# rebirths, autominer and gangs. Add-ons can register more boards; they show up automatically.
#
# Placeholders (PlaceholderAPI):
#   %xprison_lb_<board>_<position>_name%       e.g. %xprison_lb_currency_tokens_1_name%
#   %xprison_lb_<board>_<position>_value%      the formatted value
#   %xprison_lb_<board>_<position>_value_raw%  the plain number
#   %xprison_lb_<board>_position%              the viewing player's own position ('-' if not ranked)

# How often, in seconds, every board is recalculated. Boards are read from the database, so
# values saved since the last player-data save show up after the next save + refresh.
refresh-seconds: 60
# How many positions are kept per board. The menu, holograms and placeholders can show up to this.
snapshot-size: 100
# Shown for a position nobody holds yet, and for players whose name the server does not know.
empty-name: '<dark_gray>---'
empty-value: '<dark_gray>-'
unknown-name: 'Unknown'

# Commands that open the /top menu. '/top <board>' opens one board directly.
commands:
  - top
  - leaderboards
  - lb

messages:
  unknown-board: '<gradient:#FFD700:#FF8C00><bold>LEADERBOARDS</bold></gradient> <dark_gray>»</dark_gray> <red>There is no leaderboard called <white>%board%<red>.'
  no-boards: '<gradient:#FFD700:#FF8C00><bold>LEADERBOARDS</bold></gradient> <dark_gray>»</dark_gray> <red>There are no leaderboards to show.'

# Per-board settings, in the order the boards appear in the menu. Boards not listed here use
# their default name and a paper icon and are placed after these.
boards:
  currency_money:
    enabled: true
    display-name: '<green>Richest Players'
    icon: EMERALD
  currency_tokens:
    enabled: true
    display-name: '<yellow>Most Tokens'
    icon: MAGMA_CREAM
  currency_gems:
    enabled: true
    display-name: '<light_purple>Most Gems'
    icon: PRISMARINE_CRYSTALS
  currency_credits:
    # Credits are the store currency - ranking them publicly is usually not wanted.
    enabled: false
    display-name: '<aqua>Most Credits'
    icon: DIAMOND
  blocks:
    enabled: true
    display-name: '<gray>Most Blocks Mined'
    icon: DIAMOND_PICKAXE
  ranks:
    enabled: true
    display-name: '<gold>Highest Ranks'
    icon: GOLD_INGOT
  prestiges:
    enabled: true
    display-name: '<red>Highest Prestiges'
    icon: NETHER_STAR
  rebirths:
    enabled: true
    display-name: '<dark_purple>Most Rebirths'
    icon: END_CRYSTAL
  autominer:
    enabled: true
    display-name: '<aqua>Most AutoMiner Time'
    icon: CLOCK
  gangs:
    enabled: true
    display-name: '<blue>Top Gangs'
    icon: SHIELD

# Hologram boards (needs DecentHolograms). Place one with:
#   /xprison leaderboard create <id> <board> [lines]
hologram:
  header:
    - '<gradient:#FFD700:#FF8C00><bold>%board%</bold></gradient>'
    - ''
  line: '<yellow>#%position% <white>%name% <dark_gray>» <aqua>%value%'
  footer:
    - ''
    - '<gray>Updates every %refresh% seconds'

gui:
  menu:
    title: '<gradient:#FFD700:#FF8C00><bold>LEADERBOARDS</bold></gradient>'
    rows: 4
    filler: BLACK_STAINED_GLASS_PANE
    # Slots the boards fill, in order. Extra boards go to further pages.
    slots: [10, 11, 12, 13, 14, 15, 16, 19, 20, 21, 22, 23, 24, 25]
    board-item:
      name: '%board%'
      lore:
        - ''
        - '<yellow>#1 <white>%top_1_name% <dark_gray>» <aqua>%top_1_value%'
        - '<yellow>#2 <white>%top_2_name% <dark_gray>» <aqua>%top_2_value%'
        - '<yellow>#3 <white>%top_3_name% <dark_gray>» <aqua>%top_3_value%'
        - ''
        - '<gray>Your position: <white>%position%'
        - ''
        - '<green>Click to view!'
    previous-page:
      slot: 27
      material: ARROW
      name: '<yellow>Previous page'
      lore: []
    next-page:
      slot: 35
      material: ARROW
      name: '<yellow>Next page'
      lore: []
  board:
    title: '%board%'
    rows: 6
    filler: BLACK_STAINED_GLASS_PANE
    slots: [10, 11, 12, 13, 14, 15, 16, 19, 20, 21, 22, 23, 24, 25, 28, 29, 30, 31, 32, 33, 34, 37, 38, 39, 40, 41, 42, 43]
    # Players are shown with their own head; boards that do not rank players (gangs) use this.
    non-player-material: PAPER
    entry-item:
      name: '<yellow>#%position% <white>%name%'
      lore:
        - ''
        - '<gray>Value: <aqua>%value%'
    your-position:
      slot: 4
      name: '<gold>Your position'
      lore:
        - ''
        - '<gray>Position: <white>%position%'
        - '<gray>Value: <aqua>%value%'
    previous-page:
      slot: 45
      material: ARROW
      name: '<yellow>Previous page'
      lore: []
    next-page:
      slot: 53
      material: ARROW
      name: '<yellow>Next page'
      lore: []
    back:
      slot: 49
      material: BARRIER
      name: '<red>Back'
      lore: []

XPrison Logo

General

Modules

Default Configs

Enchant Configs — Passive

Enchant Configs — Currency Rewards

Enchant Configs — Key & Item Rewards

Enchant Configs — Area of Effect

Enchant Configs — Multipliers

Enchant Configs — Templates

Enchant Configs — Addons

Addons

Support

For Developers

Others

Clone this wiki locally