Skip to content

CBGallarno/CHBarAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CHBarAPI

Functions

boolean phas_bar([player]):

Returns whether the specified player has a boss bar set. If no player is given it defaults to the running player.

void premove_bar([player]):

Removes the boss bar from the given player. If no player is given it defaults to the running player.

void set_bar_health([player], percent):

Sets the health of the boss bar for the given player. If no player is given it defaults to the running player. Percent should be between 0-100

void set_bar_message([player], message | player, message, [percent]):

Sets a boss bar with a message for the given player. If no player is given it defaults to the running player. Percent can be set to specify how much to fill up the bar from 0 - 100.

void set_timed_bar_message([player], message, seconds):

Sets a boss bar with a message for the given player. If no player is given it defaults to the running player. Seconds will show the message for that many seconds with the bar decreasing as the time runs out.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages