SimpleFabricScoreboardAPI
ModrinthA lightweight Kotlin module for Minecraft Fabric providing a simple and flexible API for managing scoreboards.
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")
}
Версії
FAQ
Як встановити SimpleFabricScoreboardAPI?
Завантажте файл під свою версію Minecraft і завантажувач із цієї сторінки, потім покладіть .jar у папку mods (або plugins) і запустіть гру.
SimpleFabricScoreboardAPI безкоштовний?
SimpleFabricScoreboardAPI можна завантажити безкоштовно на Modgrid — ми ведемо прямо до офіційного джерела.
Які версії Minecraft підтримує SimpleFabricScoreboardAPI?
Працює з Fabric, Quilt. Підтримуються версії 1.21.5–26.1.2. Перелік підтримуваних версій і завантажувачів — у блоці завантаження на цій сторінці.

Коментарі 0
Поки немає коментарів. Будь першим, хто поділиться думкою.