- Java 90.4%
- Nix 9.6%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| dist | ||
| src/main | ||
| .gitignore | ||
| build.gradle.kts | ||
| gradle.properties | ||
| README.md | ||
| settings.gradle.kts | ||
| shell.nix | ||
Player-Tab
Paper plugin framework for Anarchygg's WinterCraft 2026. Adds a custom header (and optional footer) above/below the in-game tab list while keeping the vanilla player list fully intact.
| Plugin name | WinterCraftTabList |
| Target | Minecraft 26.3 / Paper 26.3.build.273-stable |
| Java | 25 |
| Version | 2026.12.3 |
| Artifact | dist/wintercraft-tablist-2026.12.3.jar |
Version note: Minecraft no longer uses
1.xnumbering. After 1.21.11 Mojang switched to year-based versions (26.1,26.2,26.3, …). This project targets 26.3, not "1.26.3".Plugin versions follow calendar versioning:
YEAR.MONTH.DAY(e.g.2026.12.3= Dec 3, 2026; repeat releases on the same day bump a trailing patch counter).
What it does
Use case
Multiplayer servers often want branding or live info visible when a player holds Tab — server name, event title, motd-style lines — without replacing the familiar row of heads, names, and ping bars.
This plugin is the starting framework for that:
- Header / footer — shows configured text above and below the vanilla player list.
- Vanilla list preserved — player heads, names, gamemodes, and ping render exactly as Paper sends them. Header/footer travel in a separate packet, so nothing is overwritten.
- Join + lifecycle handling — header is applied when a player joins and to everyone already online when the plugin enables; cleared when the plugin disables.
- Extension hook —
TabEntryDecoratoris ready for future per-player tab data (ranks, stats, custom names viaplayerListName).
Functions
| Component | Role |
|---|---|
WinterCraftTabPlugin |
Main class. Loads config, registers join listener, applies/clears header. |
TabListService |
Parses MiniMessage config, sends header/footer, runs registered decorators. |
TabEntryDecorator |
Functional interface for future per-viewer / per-subject tab customization. |
config.yml |
header and footer strings (MiniMessage). |
Default header/footer:
header: "<bold><gradient:#7fd8ff:#ffffff>Anarchygg's WinterCraft 2026</gradient></bold>\n\n"
footer: "\n<gray>wintercraft.anarchygg.org</gray>"
Renders as:
Anarchygg's WinterCraft 2026 ← bold gradient (looks larger)
← blank-line padding
[head] PlayerName [ping bar]
[head] OtherName [ping bar]
← blank-line padding
wintercraft.anarchygg.org ← footer
Note: the tab list font size is fixed by the client —
boldis the largest it can get. Blank lines (\n) are the padding mechanism.
Config
On first run Paper creates plugins/WinterCraftTabList/config.yml:
# MiniMessage tags are supported:
# https://docs.papermc.io/adventure/minimessage
header: "<bold><gradient:#7fd8ff:#ffffff>Anarchygg's WinterCraft 2026</gradient></bold>\n\n"
footer: "\n<gray>wintercraft.anarchygg.org</gray>"
Examples:
# Plain text with padding
header: "Anarchygg's WinterCraft 2026\n\n"
# More padding above the list (3 blank lines)
header: "<bold><gradient:#7fd8ff:#ffffff>Anarchygg's WinterCraft 2026</gradient></bold>\n\n\n"
footer: "\n<gray>wintercraft.anarchygg.org</gray>\n<gray>Discord: discord.gg/anarchygg</gray>"
After editing, restart the server (or reload the plugin config and rejoin) to see changes. There is no /reload command yet — restart is the supported path.
Building with nix-shell
All development builds run inside a Nix shell so every contributor gets the same JDK 25 and Gradle 9 without installing them globally.
Prerequisites
- Nix with flakes/channel access (
nixpkgs) - Network access on first build (Gradle downloads
paper-apifromrepo.papermc.io)
Enter the shell
cd Player-Tab
nix-shell
You should see:
wintercraft-tablist dev shell
java: openjdk version "25.0.5.1" ...
gradle: 9.9.3
What shell.nix does
pkgs.mkShell {
packages = [ pkgs.openjdk25 pkgs.gradle_9 ];
# shellHook sets JAVA_HOME and puts java/gradle on PATH
}
| Piece | Purpose |
|---|---|
pkgs.openjdk25 |
Paper 26.3 requires Java 25 to compile and run. |
pkgs.gradle_9 |
Gradle 9.x supports the Java 25 toolchain. |
shellHook |
Exports JAVA_HOME, prepends tool bins to PATH, prints versions. |
Gradle itself is configured in build.gradle.kts:
- Toolchain
JavaLanguageVersion.of(25)— compiler targets 25 - Dependency
compileOnly("io.papermc.paper:paper-api:26.3.build.273-stable")— API only; the server provides it at runtime (compileOnly, not shaded) - Repository
https://repo.papermc.io/repository/maven-public/
Build commands
One-shot (no interactive shell):
nix-shell --run 'gradle build'
Or interactively:
nix-shell
gradle build
Outputs:
build/libs/wintercraft-tablist-2026.12.3.jar # Gradle output
dist/wintercraft-tablist-2026.12.3.jar # copy committed to the repo
To refresh the committed jar after a source change:
nix-shell --run 'gradle build'
cp build/libs/wintercraft-tablist-2026.12.3.jar dist/
git add dist/wintercraft-tablist-2026.12.3.jar
git commit -m "Update plugin jar"
git push
Project layout
Player-Tab/
├── shell.nix # nix-shell: JDK 25 + Gradle 9
├── build.gradle.kts # paper-api dependency, Java 25 toolchain
├── settings.gradle.kts
├── gradle.properties
├── dist/
│ └── wintercraft-tablist-2026.12.3.jar # ready-to-install build
└── src/main/
├── java/org/anarchygg/wintercraft/tablist/
│ ├── WinterCraftTabPlugin.java
│ ├── TabListService.java
│ └── TabEntryDecorator.java
└── resources/
├── plugin.yml
└── config.yml
Server installation
Requirements
| Component | Version |
|---|---|
| Minecraft (client) | 26.3 |
| Server software | Paper 26.3 (or a fork that accepts Paper plugins with api-version: '26.3') |
| Java on the server | 25+ |
Steps
-
Download Paper 26.3 for your platform from papermc.io / fill.papermc.io.
-
Install Java 25 on the host (
java -versionmust show 25+). -
Get the plugin jar — either:
- Prebuilt:
dist/wintercraft-tablist-2026.12.3.jarfrom this repo, or - Build it yourself (see above).
- Prebuilt:
-
Copy the jar into the server’s
plugins/directory:your-server/ └── plugins/ └── wintercraft-tablist-2026.12.3.jar -
Start (or restart) the server. On first boot you should see:
[WinterCraftTabList] WinterCraft tab list enabledand
plugins/WinterCraftTabList/config.ymlwill be generated. -
Join the server and hold Tab — the header appears above the player list; heads/names/ping are unchanged.
-
Customize
plugins/WinterCraftTabList/config.yml, then restart the server to apply.
Verify
/plugins
# WinterCraftTabList v2026.12.3 ... enabled
In game (hold Tab):
Anarchygg's WinterCraft 2026 ← bold gradient header
← padding
[head] PlayerName [ping bar]
[head] OtherName [ping bar]
← padding
wintercraft.anarchygg.org ← footer
Uninstall
Stop the server, delete plugins/wintercraft-tablist-2026.12.3.jar (and optionally plugins/WinterCraftTabList/), start again. On clean disable the plugin clears header/footer from online players.