Theslowaja / BossBar

showing the BossBar to the player
MIT License
11 stars 7 forks source link

Suggest #7

Closed Henry5K closed 1 year ago

Henry5K commented 1 year ago

I think, it's interesting you add per world boss bar...

Use this example on main code:

if($this->getConfig->get("world") === lobby) {
}

or 

if($this->getMain()->cfg->get("world") === lobby {
}
Theslowaja commented 1 year ago

i'll progress it

xqwtxon commented 1 year ago

Suggessting to use

foreach(array_keys($this->getConfig()->get("worlds")) as $world){
 // ....
}
RevandDev commented 1 year ago

Now, this feature has been implemented