ModsJava
ProtocolSidebar - Scoreboard library [1.12.2-1.19.3]
Java mod listed for Minecraft 1.12–1.19. Download on the author's site.
⬇ Download on SpigotA non flicker scoreboard library. Requires ProtocolLib to work. Optionally supports ViaVersion.
Library has built-in animations, but you can also create your own.
More examples are available on GitHub page.
If you have found a bug, please report it to me in the issue tracker.
How to use it?
Sidebar sidebar = new Sidebar (TextIterators. textFadeHypixel ( "Hello World!" ), this ) ;
sidebar. addLine ( "Test Static Line" ) ; // supports legacy color codes
sidebar. addBlankLine ( ) ;
// Supports modern chat components
sidebar. addUpdatableLine (player -> new ComponentBuilder ( "Your Health: " )
. append (player. getHealth ( ) + "" )
. color (ChatColor. GREEN )
. create ( ) ) ;
sidebar. addBlankLine ( ) ;
sidebar. addUpdatableLine (player -> new ComponentBuilder ( "Your Hunger: " )
. append (player. getFoodLevel ( ) + "" )
. color (ChatColor. GREEN )
. create ( ) ) ;
sidebar. addBlankLine ( ) ;
// Long lines will be truncated if player version < 1.13
sidebar. addLine ( "§ehttps://github.com/CatCoderr/ProtocolSidebar" ) ;
// Update all dynamic lines every 20 ticks
sidebar. updateLinesPeriodically (0L, 20L, this ) ;
Display our sidebar to the player:
Library has built-in animations, but you can also create your own.
More examples are available on GitHub page.
If you have found a bug, please report it to me in the issue tracker.
How to use it?
Code (Java):
Sidebar sidebar = new Sidebar (TextIterators. textFadeHypixel ( "Hello World!" ), this ) ;
sidebar. addLine ( "Test Static Line" ) ; // supports legacy color codes
sidebar. addBlankLine ( ) ;
// Supports modern chat components
sidebar. addUpdatableLine (player -> new ComponentBuilder ( "Your Health: " )
. append (player. getHealth ( ) + "" )
. color (ChatColor. GREEN )
. create ( ) ) ;
sidebar. addBlankLine ( ) ;
sidebar. addUpdatableLine (player -> new ComponentBuilder ( "Your Hunger: " )
. append (player. getFoodLevel ( ) + "" )
. color (ChatColor. GREEN )
. create ( ) ) ;
sidebar. addBlankLine ( ) ;
// Long lines will be truncated if player version < 1.13
sidebar. addLine ( "§ehttps://github.com/CatCoderr/ProtocolSidebar" ) ;
// Update all dynamic lines every 20 ticks
sidebar. updateLinesPeriodically (0L, 20L, this ) ;
Code (Java):
@EventHandler
public void onPlayerJoin (PlayerJoinEvent event ) {
sidebar. addViewer (event. getPlayer ( ) ) ;
}
public void onPlayerJoin (PlayerJoinEvent event ) {
sidebar. addViewer (event. getPlayer ( ) ) ;
}
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.12, 1.13, 1.14
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
ProtocolSidebar - Scoreboard library [1.12.2-1.19.3] is a free Minecraft Java mod. Compatible with Minecraft 1.12, 1.13, 1.14, 1.15 and newer. Downloaded 379 times (via Spigot). Download it and open it directly in the game.