World Borders
hCore allows you to easily add world borders for player.
Example
This will create world border for provided player with blue color.
HWorldBorder#setCenter(Location)
Sets center location of border.
HWorldBorder#setColor(HBorderColor)
Sets border's color to provided.
HWorldBorder#setWarningDistance(int)
Sets warning distance of worldBorder.
HWorldBorder#setWarningTime(int)
How much time border will warn player about damage.
HWorldBorder#setDamageAmout(double)
Sets border's damage amout.
HWorldBorder#setDamageBuffer(double)
Sets border's damage buffer.
HWorldBorder#showAll()
Shows world border to all players
Last updated