Guides · Files
tops.yml
# ============================================================
# RoodyTops · tops.yml — every top
# Easier with /tops (menu) and /tops create <id> <source>. After editing: /tops reload
#
# name: "&cKills", or one per language: {en: "Kills", es: "Asesinatos"}
# icon: item of the menus
# source: where the values come from:
# statistic:PLAYER_KILLS a vanilla statistic
# statistic:MINE_BLOCK:DIAMOND_ORE,DEEPSLATE_DIAMOND_ORE of some blocks/items/mobs
# statistic:MINE_BLOCK:* of all of them
# playtime (seconds) · money (Vault) · level (experience level)
# kills · deaths · mob-kills · jumps · blocks-mined · fish-caught · damage-dealt · walked
# "%any_placeholder%" PlaceholderAPI, any number it gives
# order: highest (most first) or lowest (least first: fastest times...)
# format: number (12,345) · short (12.3K) · decimal (12,345.67) · time (3d 4h, the value in
# seconds) · money ($12,345.67) · percent
# multiply: the value × this (walked is in cm: 0.01 = metres)
# periods: all (all time), daily, weekly, monthly, yearly. Timed periods count what each
# player gained since the period started and start again from 0 when it ends.
# min-value: players below this are not shown (1 = hide the ones with 0)
# group: none, team (scoreboard teams), luckperms (primary group) or "%placeholder%"
# (clans, factions, towns...): the top ranks groups adding up their players
# group-mode: sum, average or best
# updated-on: [servers] that read the values (server-name of config.yml); [] = all of them
# announce: tell everyone the winners when a period ends
# rewards: per period, per position: "1", "2-3", "4-10", "11+" or "*" (everyone in the top).
# Each line: a console command, or [console] / [player] command, [message] /
# [broadcast] / [actionbar] text, [title] title;subtitle, [sound] id volume pitch.
# {player} {uuid} {rank} {value} {value-raw} {top} {top-id} {period} {group}
# enabled: false = off (kept, not counted or shown)
# ============================================================
tops:
kills:
name: {en: "&cKills", es: "&cAsesinatos"}
icon: IRON_SWORD
source: kills
format: number
periods: [all, daily, weekly, monthly]
rewards:
weekly:
"1":
- "give {player} diamond 10"
- "[broadcast] {prefix}&f{player} &7won the weekly &f{top} &7top with &f{value}&7!"
"2-3":
- "give {player} diamond 5"
"4-10":
- "give {player} emerald 5"
deaths:
name: {en: "&7Deaths", es: "&7Muertes"}
icon: SKELETON_SKULL
source: deaths
periods: [all, weekly, monthly]
mob-kills:
name: {en: "&2Mob kills", es: "&2Mobs matados"}
icon: ZOMBIE_HEAD
source: mob-kills
format: short
periods: [all, daily, weekly, monthly]
playtime:
name: {en: "&bTime played", es: "&bTiempo jugado"}
icon: CLOCK
source: playtime
format: time
min-value: 60
periods: [all, daily, weekly, monthly]
rewards:
monthly:
"1": ["[broadcast] {prefix}&f{player} &7played the most this month: &f{value}&7!"]
blocks-mined:
name: {en: "&6Blocks mined", es: "&6Bloques minados"}
icon: DIAMOND_PICKAXE
source: blocks-mined
format: short
periods: [all, daily, weekly, monthly]
walked:
name: {en: "&aDistance walked", es: "&aDistancia andada"}
icon: LEATHER_BOOTS
source: walked
multiply: 0.01
format: number
periods: [all, weekly]
money:
name: {en: "&eRichest", es: "&eMás ricos"}
icon: GOLD_INGOT
# needs Vault and an economy plugin (EssentialsX...)
source: money
format: money
periods: [all]
# A top of teams (/team) adding up the kills of their players. Clans: group: "%clan_name%"
team-kills:
name: {en: "&dTeam kills", es: "&dAsesinatos por equipo"}
icon: RED_BANNER
source: kills
group: team
group-mode: sum
periods: [all, weekly]
enabled: false