Sidebar

Non-flickering Minecraft sidebar implementation for ProtocolLib

License

License

Categories

Categories

IDE Development Tools
GroupId

GroupId

me.catcoder
ArtifactId

ArtifactId

bukkit-sidebar
Last Version

Last Version

3.1.4
Release Date

Release Date

Type

Type

jar
Description

Description

Sidebar
Non-flickering Minecraft sidebar implementation for ProtocolLib
Project URL

Project URL

https://github.com/CatCoderr/ProtocolSidebar
Source Code Management

Source Code Management

https://github.com/CatCoderr/ProtocolSidebar

Download bukkit-sidebar

How to add to project

<!-- https://jarcasting.com/artifacts/me.catcoder/bukkit-sidebar/ -->
<dependency>
    <groupId>me.catcoder</groupId>
    <artifactId>bukkit-sidebar</artifactId>
    <version>3.1.4</version>
</dependency>
// https://jarcasting.com/artifacts/me.catcoder/bukkit-sidebar/
implementation 'me.catcoder:bukkit-sidebar:3.1.4'
// https://jarcasting.com/artifacts/me.catcoder/bukkit-sidebar/
implementation ("me.catcoder:bukkit-sidebar:3.1.4")
'me.catcoder:bukkit-sidebar:jar:3.1.4'
<dependency org="me.catcoder" name="bukkit-sidebar" rev="3.1.4">
  <artifact name="bukkit-sidebar" type="jar" />
</dependency>
@Grapes(
@Grab(group='me.catcoder', module='bukkit-sidebar', version='3.1.4')
)
libraryDependencies += "me.catcoder" % "bukkit-sidebar" % "3.1.4"
[me.catcoder/bukkit-sidebar "3.1.4"]

Dependencies

provided (4)

Group / Artifact Type Version
org.spigotmc » spigot-api jar 1.8.8-R0.1-SNAPSHOT
org.projectlombok : lombok jar 1.18.8
us.myles » viaversion-common jar 2.2.2
com.comphenix.protocol » ProtocolLib-API jar 4.4.0

Project Modules

There are no modules declared in this project.

ProtocolSidebar

Build Status Maven Central Sonatype Nexus (Snapshots)

Non-flickering scoreboard (sidebar) implementation using ProtocolLib. Also supports ViaVersion.

POM snippet:

<dependency>
  <groupId>me.catcoder</groupId>
  <artifactId>bukkit-sidebar</artifactId>
  <version>LATEST_VERSION</version>
</dependency>

Example usage

Sidebar sidebar = new Sidebar(owner, "objective", "§2title");
        
sidebar.addLine("§aStatic line");
sidebar.addLine("Lines longer than 32 characters will be automatically truncated if player version is < 1.13");
sidebar.addLine(player -> "EXP: " + player.getExp());

sidebar.addViewer(player);
        
//...
// update all dynamic lines 
sidebar.update();

Versions

Version
3.1.4
3.1.3