Presets & Placeholders
Configure per-kit, per-page, and per-timeframe placeholders, 2D head sprites, and custom presets.
HoloStats
$9.993D player stats and rotating Top 10 leaderboards with no resource pack.
HoloStats loads every .yml file inside plugins/HoloStats/presets/. Two presets ship out of the box:
presets/classic.yml(id: "classic"): Opened by/stats. Features a left overview panel, a center 3D skin statue on a pedestal, a right category breakdown panel, a 3D kit carousel, and</>page navigation arrows.presets/cards.yml(id: "cards"): Opened by/stats2or/cardstats. Features a center 3D skin statue, 6 floating 3D stat cards with 3D item/sprite icons, andAll-Time,Monthly,Weekly, andDailytimeframe tabs.
Built-In Internal Tokens
You can use these tokens inside any preset text, lines, value, or value-pattern field:
| Token | Description |
|---|---|
%player_name% |
Target player's username. |
%category_name% |
Display name of the selected carousel category (Sword, UHC, Pot). |
%category_id% |
Config key of the selected carousel category (sword, uhc, pot). |
%page% |
Current page number (1-indexed). |
%max_page% |
Total pages configured (max-pages). |
{category} |
Replaced with the selected category ID inside classic.yml value-pattern strings. |
{timeframe} |
Replaced with the selected timeframe ID (alltime, monthly, weekly, daily) inside cards.yml value-pattern strings. |
{accent}, {label}, {value}, {muted} |
Replaced with hex colors from the theme: section of config.yml. |
Per-Kit & Per-Page Placeholders in /stats (presets/classic.yml)
In presets/classic.yml, the right panel (right_panel) and bottom carousel (category_carousel) work together. Each item in carousel.categories has a key (sword, axe, uhc, pot, nethpot, smp), and the carousel defines max-pages (default 2).
You can wire placeholders per kit and per page in two ways:
Method 1: Dynamic value-pattern (Automatic Kit Token)
If your stats plugin uses consistent placeholder names per kit, use {category} (or %category_id%) inside value-pattern:
- label: "WINS"
icon: "🏆"
color: "#55FF55"
value-pattern: "%strikepractice_wins_{category}%"
When a player clicks the uhc kit in the 3D carousel, {category} becomes uhc and HoloStats resolves %strikepractice_wins_uhc%.
Method 2: Explicit page-values (Per Kit + Per Page)
When each kit or page uses completely different placeholders, define a page-values map under any stat entry in right_panel.stats.
Supported key formats inside page-values:
"<kit>:<page>": Applies when<kit>is selected on<page>(such as"sword:1"or"sword:2")."*:<page>"or"page_<page>": Fallback for any kit on<page>(such as"*:2")."<kit>": Applies to<kit>on all pages if no<kit>:<page>match exists.
right_panel:
type: panel
title: "<gradient:#FF5555:#FFAA00><bold>⚔ %category_name% <gray>(%page%/%max_page%)</bold></gradient>"
stats:
- label: "KILLS / CASUAL"
icon: "⚔"
color: "#FF5555"
value-pattern: "%statistic_player_kills%"
page-values:
# Page 1: Ranked stats per kit
"sword:1": "%yourplugin_ranked_kills_sword%"
"uhc:1": "%yourplugin_ranked_kills_uhc%"
"pot:1": "%yourplugin_ranked_kills_pot%"
# Page 2: Unranked / Casual stats per kit
"sword:2": "%yourplugin_unranked_kills_sword%"
"uhc:2": "%yourplugin_unranked_kills_uhc%"
"pot:2": "%yourplugin_unranked_kills_pot%"
# Fallback for any other kit on Page 2
"*:2": "%statistic_mob_kills%"
Controlling Page Count & Navigation Arrows
In presets/classic.yml, adjust max-pages under category_carousel to set how many pages the < and > arrows cycle through:
category_carousel:
type: carousel
max-pages: 2
show-arrows: true
prev-arrow-offset: [-0.82, 0.22, 0.10]
next-arrow-offset: [0.82, 0.22, 0.10]
arrow-scale: 1.05
Per-Timeframe Placeholders in /stats2 (presets/cards.yml)
In presets/cards.yml, the timeframe_tabs element defines the selectable tabs (alltime, monthly, weekly, daily):
timeframe_tabs:
type: tab_bar
offset: { x: 0.0, y: 0.20, z: 0.18 }
spacing: 0.72
default-tab: "alltime"
tabs:
alltime:
label: "All-Time"
monthly:
label: "Monthly"
weekly:
label: "Weekly"
daily:
label: "Daily"
Each of the 6 card elements (card_kills, card_deaths, card_kdr, card_winrate, card_streak, card_playtime) supports two ways to resolve placeholders per tab:
Method 1: Explicit values Map (Recommended)
Map each tab ID directly to its PlaceholderAPI placeholder:
card_kills:
type: card
offset: { x: -2.10, y: 2.02, z: 0.20 }
yaw-angle: 22.0
title: "KILLS"
subtitle: "Eliminations"
accent-color: "#FFAA00"
icon:
material: "DIAMOND_SWORD"
value: "%statistic_player_kills%"
values:
alltime: "%ajlb_value_kills_alltime%"
monthly: "%ajlb_value_kills_monthly%"
weekly: "%ajlb_value_kills_weekly%"
daily: "%ajlb_value_kills_daily%"
footer: "⚔ Combat"
Method 2: Dynamic value-pattern
Use {timeframe} inside value-pattern:
card_kills:
type: card
value-pattern: "%ajlb_value_kills_{timeframe}%"
Element Animations
enter, exit, motion, and switch keys sit in the element's block, at the same indent as type:, offset:, and wave::
right_panel:
type: panel
enter: rise
exit: mirror
enter-delay: 0
enter-ticks: 10
motion:
preset: float
motion-speed: 1.0
motion-amount: 1.0
| Key | Default | Behavior |
|---|---|---|
enter |
none |
rise, fade, pop, slide-left, slide-right, or none. none is instant and keeps the legacy behavior. |
exit |
mirror |
mirror reverses enter; also accepts none, rise, sink, fade, pop, shrink, slide-left, slide-right. Closing plays elements in reverse spawn order (LIFO). |
enter-delay |
0 |
Ticks to wait after spawn before the enter glide starts. |
enter-ticks |
10 |
Enter glide duration in ticks (2–60). Also used as the exit duration. |
motion |
none | Idle loop block. preset: is float, sway, spin, pulse, bounce, or drift. |
motion-speed |
1.0 |
Loop speed multiplier (0.1–4.0). |
motion-amount |
1.0 |
Loop amplitude multiplier (0.0–3.0). 0 freezes the loop. |
switch |
none |
Carousel/tab content transition: slide, fade, pop, or none. Ignored by other element types. |
switch-ticks |
6 |
Switch duration in ticks (2–40). |
category_carousel:
type: carousel
switch: slide
switch-ticks: 6
statue elements ignore enter and exit. For a staggered open, give each element an increasing enter-delay (0, 2, 4, …); closing reverses the order LIFO. Everything here is settable per element under Motion in the in-game editor.
3D Item Icons vs. 2D Head Sprites on Cards
Each card in presets/cards.yml can display either a rotating 3D ItemDisplay or a 2D text/head sprite in its top-right badge:
- 3D Item: Set
icon.materialto any BukkitMaterialname (such as"DIAMOND_SWORD","TOTEM_OF_UNDYING","BLAZE_POWDER","CLOCK"). Adjust theicon.offset,icon.scale, andicon.rotationblocks to orient it. - 2D Sprite / Mob Head: Set
icon.materialto a glyph or MiniMessage head tag.
card_deaths:
type: card
title: "DEATHS"
subtitle: "Times Fallen"
accent-color: "#FF5555"
icon:
material: "<white><head:MHF_Skeleton></white>"
Any preset material field — the item element's material, a card's icon.material, and carousel/tab entry material — accepts nexo:<id>, itemsadder:<namespace:id>, or craftengine:<id>. References resolve through the installed plugin via reflection, with no hard dependency; a missing plugin or unknown ID logs a one-time warning and falls back to a vanilla item.
icon:
material: "nexo:shine_sword"
entries:
sword:
material: "itemsadder:weapons:sword"
Built-In Signed Mob Head Tags
HoloStats automatically injects signed Mojang texture properties for these <head:...> tags so they render on both online-mode and offline-mode servers without rate limits:
<white><head:MHF_Skeleton></white>(or<head:skeleton>)<white><head:MHF_WSkeleton></white>(or<head:wither_skeleton>)<white><head:MHF_Zombie></white>(or<head:zombie>)<white><head:MHF_Creeper></white>(or<head:creeper>)<white><head:PlayerName></white>(resolves any cached or online player's skin)
Creating a New Preset & Shortcut Command
- Copy
plugins/HoloStats/presets/cards.ymltoplugins/HoloStats/presets/vip.yml. - Set
id: "vip"and optionallyallow-everyone: false(requiresholostats.preset.vip). - Add a shortcut command in
config.ymlif desired:commands: preset-shortcuts: stats2: "cards" vipstats: "vip" - Run
/hs reload(or restart if you added a new shortcut command).
Was this page helpful?
Tell us what to fix, or ask in Discord.