Skip to content

ProgressBar

DarthBoomerPlay edited this page Mar 28, 2020 · 1 revision

ProgressBar

This utility create a progress bar. Version Support: 1.8 - 1.15.1

It looks something like this:

public double getCurrent()
public double getMax()
public int getCount()

public String getYesColor()
public String getNoColor()
public String getSymbol()

public String getProgressBar()

public String getPercent()
//
new ProgressBar(double current, double max, int symbolCount)
new ProgressBar(double current, double max, int symbolCount, String colorYes, String colorNo, int symbol)

// Example to usage:
ProgressBar bar = new ProgressBar(4, 10, 100, "&a", "&7", "■");
p.sendMessage("You task: "+bar.getProgressBar()+" "+bar.getPercent());
Clone this wiki locally