Skip to content

TabDisplay ​v0.0.0

TabDisplay formats Java player-list names, headers, and footers. It leaves Bedrock lists unchanged.

See the plugin guide and API reference on the documentation site.

Installation ​

TabDisplay hasn't been released yet, so there is no tab-display.wasm to download. Its player-list changes haven't been checked with a Java client yet. To try it, clone this repository, run pnpm build --filter @pumpkin-plugins/tab-display, copy build/tab-display.wasm from the plugin's folder to your server's plugins/ folder, and restart Pumpkin.

PumpkinPIE placeholders are optional and come from a separate external plugin. TabDisplay does not build or bundle PumpkinPIE; install a compatible provider from the PumpkinPIE releases.

Permissions ​

Pumpkin asks you to approve these on the server console when it loads the plugin. It skips the question when the [plugins] table in pumpkin.toml lists all of them in allowed_permissions or sets ask_permission_confirmation = false. Pumpkin remembers your answer and asks again after the plugin file or this list changes.

PermissionWhy
fs.read.dataRead TabDisplay settings from the plugin data folder.
fs.write.dataCreate and update TabDisplay settings in the plugin data folder.
http.outboundCheck Pumpkin Market for plugin updates.

Commands ​

CommandDescriptionPermissionDefault access
/tabdisplay statusShow PumpkinPIE state, players and recent problemsTabDisplay:command.statusoperators (level 3)
/tabdisplay reloadReload config.tomlTabDisplay:command.reloadoperators (level 3)
/tabdisplay inspect <player>Show a player's placeholder IDsTabDisplay:command.inspectoperators (level 3)

Configuration ​

Settings live in plugins/data/TabDisplay/config.toml. The plugin creates the file if needed, adds settings from the schema and removes settings no longer defined there. Values for existing settings are preserved.

OptionTypeDefaultDescription
general.versioninteger1Format version. Do not change this value.
general.enabledbooleantrueApply configured Java tab display changes.
general.refresh_ticksinteger20Ticks between full display refreshes.
general.max_playersinteger500Maximum player snapshots processed per refresh.
placeholders.providerstring"PumpkinPIE"Pumpkin plugin that supplies placeholder values.
placeholders.missing_providerstring"literal"Text to show for tokens other than %player_name% and %server_online% when PumpkinPIE is unavailable: literal keeps them, empty removes them.
placeholders.unresolvedstring"literal"Text to show for unresolved identifiers: literal keeps tokens, empty removes them.
header.linestable[][{ text = "Welcome %player_name%", color = "#FFB347" }]Header lines in display order. Use a TOML array of inline tables, for example [{ text = "Welcome %player_name%", color = "#FFB347" }].
footer.linestable[][{ text = "%server_online% players online", color = "#AAAAAA" }]Footer lines in display order. Use a TOML array of inline tables, for example [{ text = "%server_online% players online", color = "#AAAAAA" }].
entry.enabledbooleantrueApply a custom name to real player rows.
entry.textstring"%player_name%"Name template for each listed player.
entry.colorstring"#FFFFFF"RGB text color in #RRGGBB form.
entry.boldbooleanfalseRender the row name in bold.
entry.italicbooleanfalseRender the row name in italics.
entry.underlinedbooleanfalseUnderline the row name.
entry.strikethroughbooleanfalseStrike through the row name.
A fresh install gets this file:
toml
# TabDisplay configuration.
# This file is managed by the plugin: when it starts, settings that were added are written here with
# their defaults and settings that were removed are dropped. Your values are kept; comments you add
# are not. Changes apply after `/tabdisplay reload` or a server restart.

# Plugin refresh and workload limits.
[general]

# Format version. Do not change this value.
version = 1

# Apply configured Java tab display changes.
enabled = true

# Ticks between full display refreshes.
refresh_ticks = 20

# Maximum player snapshots processed per refresh.
max_players = 500

# PumpkinPIE placeholder handling.
[placeholders]

# Pumpkin plugin that supplies placeholder values.
provider = "PumpkinPIE"

# Text to show for tokens other than `%player_name%` and `%server_online%` when PumpkinPIE is
# unavailable: `literal` keeps them, `empty` removes them.
missing_provider = "literal"

# Text to show for unresolved identifiers: `literal` keeps tokens, `empty` removes them.
unresolved = "literal"

# Personalized header lines. Each player sees their own placeholder context.
[header]

# Header lines in display order. Use a TOML array of inline tables, for example [{ text = "Welcome
# %player_name%", color = "#FFB347" }].
lines = [{ text = "Welcome %player_name%", color = "#FFB347" }]

# Personalized footer lines. Each player sees their own placeholder context.
[footer]

# Footer lines in display order. Use a TOML array of inline tables, for example [{ text =
# "%server_online% players online", color = "#AAAAAA" }].
lines = [{ text = "%server_online% players online", color = "#AAAAAA" }]

# Global real-player row formatting. Placeholder context is the listed subject.
[entry]

# Apply a custom name to real player rows.
enabled = true

# Name template for each listed player.
text = "%player_name%"

# RGB text color in `#RRGGBB` form.
color = "#FFFFFF"

# Render the row name in bold.
bold = false

# Render the row name in italics.
italic = false

# Underline the row name.
underlined = false

# Strike through the row name.
strikethrough = false

pumpkin-plugins documentation