About
VortexSidebars was made to make it easy for anyone to make sidebars for anything.
It supports hex codes, animated text, lambdas, and more!
Example
Code:
public final class Main extends JavaPlugin implements Listener {
Sidebar sidebar;
@Override
public void onEnable() {
Bukkit.getPluginManager().registerEvents(this, this);
AnimatedText animatedText = new AnimatedText(this, List.of(
TextColor.PURPLE + TextColor.BOLD + "CoolKid Network",
TextColor.fromHex("D84797") + TextColor.BOLD + "CoolKid Network"
), 20);
sidebar = new Sidebar(this, animatedText);
List<Text> lines = List.of(
new Text(TextColor.GRAY + "play.example.com"),
new Text(TextColor.AQUA + "-----------------"),
new Text(TextColor.GREEN + "Dev Status: " + TextColor.RED + "Procrastinating"),
new FunctionText(() -> "" + Bukkit.getOnlinePlayers().size(), new Text(TextColor.GREEN + "Players: " + TextColor.YELLOW), new Text("/64")),
new Text(TextColor.AQUA + "----------------- ")
);
for (Text line : lines) sidebar.addLine(line);
}
@EventHandler
public void onJoin(PlayerJoinEvent event) {
if (!sidebar.getPlayers().contains(event.getPlayer())) sidebar.addPlayer(event.getPlayer());
}
}
Usage
JavaDocs
Installation:
Maven:
<project>
<repositories>
<repository>
<id>codemc-releases</id>
<url>https://repo.codemc.io/repository/maven-releases/</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>us.teaminceptus</groupId>
<artifactId>vortexsidebars</artifactId>
<version>[VERSION]</version>
<scope>compile</scope>
</dependency>
</dependencies>
</project>
Gradle (Groovy):
repositories {
maven { url 'https://repo.codemc.io/repository/maven-releases/' }
}
dependencies {
implementation 'us.teaminceptus:vortexsidebars:[VERSION]'
}
Gradle (Kotlin DSL):
repositories {
maven(url = "https://repo.codemc.io/repository/maven-releases/")
}
dependencies {
implementation('us.teaminceptus:vortexsidebars:[VERSION]')
}
Contributors
- @DraginCraft (creator)
- @GamerCoder215
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta
