Compatibility
Minecraft: Java Edition
Platforms
Supported environments
Links
Tags
Creators
Details
SimpleFabricScoreboard
SimpleFabricScoreboard is a lightweight library for Minecraft Fabric that provides a simple way to create, update, and manage sidebar scoreboards.
The project is built for mod developers who want a clean and practical API for scoreboard handling without having to work directly with all of Minecraft's lower-level scoreboard logic. The goal is to keep the library small, easy to integrate, and straightforward to use in real Fabric projects.
What it does
SimpleFabricScoreboard helps you create sidebar scoreboards for players and update them dynamically during gameplay. It is designed for common use cases such as lobbies, minigames, player stats, event displays, and other situations where you want to show structured information on the side of the screen.
The library focuses on a developer-friendly Kotlin API and a compact workflow:
- create a scoreboard
- add lines
- assign it to a player
- update or remove it later
Features
- Simple scoreboard creation
- Dynamic line updates
- Clean Kotlin-oriented API
- Per-player scoreboard management
- Packet-based sidebar updates
- Easy integration into existing Fabric mods
- Lightweight design with minimal overhead
- Useful for both static and frequently changing sidebars
Example
val board = scoreboard("test_board", Component.literal("Test Board"), server) {
+Component.literal("Line 1")
+Component.literal("Line 2")
+emptyLine()
+Component.literal("Line 4")
line(5, Component.literal("Special Line"))
}
ScoreboardManager.setPlayerScoreboard(player, board)
board.update {
line(2, Component.literal("Updated Line 2"))
+emptyLine()
+Component.literal("Another Line")
}


