> For the complete documentation index, see [llms.txt](https://hcore.gitbook.io/wiki/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hcore.gitbook.io/wiki/messaging/messagings.md).

# Messagings

hCore allows you to message with player with any way you want.

## BossBars

You can easily create bossbar, set color to it, bar style, title, and add players which will se this bossbar.

Example usage:

```java
HBossBar myBossBar = HCore.createBossBar("Title", HBarColor.WHITE, HBarStyle.SOLID); // creates bossbar with color white
myBossBar.setColor(HBarColor.RED); // changes it's color to red 
myBossBar.addPlayer(player); // allows player to see the bossbar
```

## Titles

You can easily send titles to player. Set animation speed for it, and change content for title.

Example usage:

```java
HTitle myTitle = new HTitle("Title", "Subtitle", 5, 3, 2); // created a title with title "Title" and subtitle "Subtitle" which appears in 3 ticks, disappears in 2 ticks so totally exists for 5 ticks
HCore.sendTitle(player, myTitle); // sent title to player
```

## Action Bars

You can also easily send action bars to player, and change content to it.

Example usage:

```java
HCore.sendActionBar(player, "Welcome back, " + player.getDisplayName()); // sent a simple actionbar to player with string "Welcome, playerName"
```

<br>
