BarBuilder Class - Create your owns bars
1.0.1Create Xp bars, loading bars and whatever you want !
This isn't a plugin, it's a lib for plugins developpers
Source code and Wiki: https://github.com/Ariouz/BarBuilder
BarBuilder
See Last Updates
Last updates:
Added:
1.0.1 update: added invert(), switchColors() and switchSense(Sense) methods. Full tutorial on github, https://github.com/Ariouz/BarBuilder
What is that ?
BarBuilder is a class that help you to make bars, looking like XP bars. Example: 10% of 20 = 2 are green and 18 are red -> in code this is:
new BarBuilder(10, 20).build();
Preview: 
How to use
How to make a basic XP bar ?
Create a String wich the bar you want to have.
String myXpBar;Initialize it with the bar you want. For example, if I want a bar that shows 12% with 50 caracters (default is '|')
myXpBar = new BarBuilder(12, 50).build;Don't forget to use build() methods at the end. You can also change the colors, the caracter, the size of bar.
Methods and Build details
If you want to customize you bar, you can change the colors, the size of the bar (how many '|' there are) and the caracter (change '|' with another thing).
The setFullColor Method:
This methods will change the green bars to another color, exemple in code:
myXpBar = new BarBuilder(12, 50).setFullColor(ChatColor.BLUE).build;The setEmptyColor Method:
This method will change you the red bars to another color, exemple in code:
myXpBar = new BarBuilder(12, 50).setEmptyColor(ChatColor.GOLD).build;The setSize Method:
This method will change you the bar size (default is 100), exemple in code:
myXpBar = new BarBuilder(12, 150).build;myXpBar = new BarBuilder(12).setSize(150).build;(These methods do the same thing) Preview: 
The setCaracter Method:
This method will change you the bar caracter (default is '|'), exemple in code:
myXpBar = new BarBuilder(12, 50).setCaracter('x').build;You can superpose methods in one line of code, exemple in code:
myXpBar = new BarBuilder(12).setCaracter(':').setFullColor(ChatColor.YELLOW).setEmptyColor(ChatColor.GOLD).setSize(50).build;Hope you enjoy my class, if you have any request or idea ask me.
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



