send action bar spigot code example
Example 1: send action bar spigot
player.spigot().sendMessage(ChatMessageType.ACTION_BAR, new TextComponent("This message will be in the Action Bar"));
Example 2: spigot actionbar
player.spigot().sendMessage(
ChatMessageType.ACTION_BAR,
new TextComponent("This message will be in the Action Bar"));
Example 3: spigot action bar
player.spigot().sendMessage(ChatMessageType.ACTION_BAR, new TextComponent("This message will be in the Action Bar"));