Skip to content
fraioccPublic

About

Modular per-viewer packet display engine for Paper & Folia: nametags, holograms, sidebar and tablist.

Topics

Resources

Code of conduct

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

146 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fraio

Placard

Modular, per-viewer packet display engine for your Minecraft server.

Supports Paper, Purpur and Folia (1.21.11 & 26.x).

Available on Modrinth    Available on Hangar    Join our Discord

Found a bug? Report it at report.fraio.cc


Features

  • Six packet-based surfaces.
    • Nametags (DISPLAY & TEAM): Multi-line virtual text_display passengers with merged passenger lists, name_tag_distance support on 26.2+, collision rules, sneak hiding, and per-target placeholder rendering.
    • Belowname: Packet-based BELOW_NAME scoreboard slot (slot 2) with per-target numeric scores, MiniMessage titles, 1.20.3+ fancy-display (ScoreNumberFormat), O(N) shared batch diffing, and automatic conflict resync.
    • Holograms: 64-block spatial-grid indexed, distance-hysteresis text_display holograms with full styling (billboard, alignment, scale, translation, background-color, text-opacity, line-width, shadow, see-through) and virtual Interaction click targets.
    • Sidebar: Flicker-free component lines (up to 15), multi-board condition selection, ScoreNumberFormat (blank, default, fixed:<template>), and automatic resync against external scoreboard conflicts.
    • Tablist: Diffed header/footer, per-viewer display names, UPDATE_LIST_ORDER sorting (NONE, ALPHABETICAL, PROFILE_PRIORITY, PLACEHOLDER), single-packet batching, async O(N) rebuilds with O(1) shared deltas, playerlist objective (slot 0, INTEGER/HEARTS, fancy-value), custom multi-layout grids (COLUMNS/ROWS, fixed slots, skins, player groups with overflow), and lock-free ADD_PLAYER re-apply hooks.
    • Bossbar: Multi-bar per-profile boss bars with condition filtering, dynamic templated text, progress, color, and overlay, flags, and minimal per-field packet diffing.
  • MiniMessage + Object Components (1.21.9+). Built-in <icon:alias> for atlas <sprite> and player <head> components with automatic <fallback> for older clients, <anim:id> frame animations, <cond:expr>...</cond> inline conditionals, %placeholder% shorthand, and optional legacy &/&#RRGGBB conversion.
  • Per-viewer profiles & conditions. Prioritized YAML profiles (profiles/*.yml) with per-surface enabled toggles and rich boolean expressions (permission:, any_permission:, all_permissions:, world: wildcards, player:, protocol:, client:, gamemode:, sneaking, invisible, region:, distance:, y:, and %placeholder% operators ==, !=, >, <, >=, <=, between, in, contains, startsWith, endsWith, matches with and/or/not) plus persistent per-player profile overrides and surface toggles in SQLite.
  • Built-in plugin converters. Migrate existing configs from TAB, FeatherBoard, DecentHolograms, and FancyHolograms using /placard import <source>, with clear warnings for unsupported features.
  • Live in-game hologram editor. Create, edit lines, adjust every text_display style property, move, teleport, and remove holograms with full Brigadier tab completion (/placard hologram edit <id> ...).
  • Atomic hot reload & hash-tracked auto-updater. /placard reload validates every YAML file before applying changes—invalid configs never disrupt active displays. Config and language files auto-update defaults while preserving user edits and merging missing keys.
  • Native Folia & high-concurrency design. Per-player entity-scheduler ticking, async SQLite/YAML/skin I/O, value-deduplicated concurrent template caching, compact bitmask session state, and component tree diffing built for 5,000+ viewers.
  • Zero NMS / Reflection. All packets go through a clean PacketBackend SPI backed by external PacketEvents 2.14.0+. A single Java 21 bytecode jar runs on both 1.21.11 (Java 21) and 26.x (Java 25+).
  • Lightweight jar. PlacardPluginLoader downloads runtime libraries (kotlin-stdlib, configurate-yaml, sqlite-jdbc) automatically via Paper's library loader.

Performance

Measured on 500 viewers (8 Folia region threads) and an extreme 5,000-viewer stress test (16 region threads) with all 6 surfaces ticking at interval = 1 (20 Hz):

Placard Folia Benchmark

Installation

  1. Install PacketEvents 2.14.0+ (required). PlaceholderAPI and MiniPlaceholders (3.x) are optional.
  2. Drop placard-0.9.5.jar into your plugins/ folder and start the server (Java 21+ required).
  3. Edit the generated files in plugins/Placard/ (config.yml, icons.yml, animations.yml, profiles/default.yml, holograms/).
  4. Run /placard reload in-game to validate and apply changes live.

Commands

Root command: /placard (alias: /plcd, base permission: placard.command).

Command Description Permission
/placard reload Validate and reload all configuration files placard.command.reload
/placard profile <id|reset> Override or reset your active profile placard.command.profile
/placard toggle <surface> Toggle a surface (nametag, belowname, hologram, sidebar, tablist, bossbar) placard.command.toggle
/placard preview <template> Preview a MiniMessage / icon template in chat placard.command.preview
/placard icon list List all configured sprite and head icons placard.command.icon
/placard icon preview <alias> Preview a configured icon in chat placard.command.icon
/placard import <source> Import configs from tab, featherboard, decentholograms, or fancyholograms placard.command.import
/placard hologram list List all loaded holograms placard.command.hologram
/placard hologram create <id> <text> Create a hologram at your location placard.command.hologram
/placard hologram edit <id> <action> Edit lines, style, view distance, or position placard.command.hologram
/placard hologram remove <id> Remove a hologram placard.command.hologram
/placard dump Print version, server info, modules, and counts placard.command.dump
/placard debug Toggle runtime debug mode placard.command.debug

Template Tags & Placeholders

Tags

Tag Description
<ph:key> / %key% Inserts a placeholder value (MiniMessage-escaped by default)
<ph_raw:key> Inserts a placeholder value parsed as MiniMessage / legacy formatting
<icon:alias> Renders a sprite or player head from icons.yml (falls back on pre-1.21.9 clients)
<anim:id> Renders the current frame of an animation from animations.yml
<cond:expr>...</cond> Renders inner content only when expr evaluates to true for the viewer
<fallback>...</fallback> Renders inner content only for clients without 1.21.9+ object component support

Built-in Placeholders

If PlaceholderAPI is installed, any unrecognized placeholder is automatically resolved through PlaceholderAPI.

Placeholder Description
player_name / player Player's username
player_uuid Player's UUID
online Current online player count
ping Player's latency in milliseconds
world Current world name
health / max_health Current / maximum health (rounded)
level Experience level
x, y, z Player's block coordinates

Developer API

Add placard-api as compileOnly in your Gradle build:

dependencies {
    compileOnly("cc.fraio:placard-api:0.9.5")
}

Kotlin DSL

import cc.fraio.placard.api.dsl.placard

placard(placardInstance) {
    profile("vip") {
        priority = 10
        condition = permission("group.vip") and world("lobby")
    }
}

Custom Surface Modules (ServiceLoader)

Implement cc.fraio.placard.api.module.PlacardModule and register it in:

META-INF/services/cc.fraio.placard.api.module.PlacardModule

You can also register custom PlaceholderProviders (with Folia ThreadAffinity), Condition factories, and Action factories directly on Placard. See the API Guide for details.

Building

./gradlew clean test build

Output jar: placard-paper/build/libs/placard-0.9.5.jar.

Documentation

Contributing

Issues and pull requests are welcome. Please read CONTRIBUTING.md and our Code of Conduct before submitting changes.

License

Licensed under the GNU Lesser General Public License v3.0.


Made by Fraio

About

Modular per-viewer packet display engine for Paper & Folia: nametags, holograms, sidebar and tablist.

Topics

Resources

Code of conduct

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages