Class NotificationManager

java.lang.Object
com.petarmc.petarlib.notifications.NotificationManager

public class NotificationManager extends Object
  • Constructor Details

    • NotificationManager

      public NotificationManager()
  • Method Details

    • showActionBarNotif

      public void showActionBarNotif(String msg, org.bukkit.entity.Player p)
      Shows an action bar notification to the player. This will appear above the player's hotbar and disappear after a few seconds.
      Parameters:
      msg -
      p -
    • sendChatNotif

      public void sendChatNotif(String msg, org.bukkit.entity.Player p)
      Sends a chat message to the player. This is not an action bar notification, but a regular chat message.
      Parameters:
      msg -
      p -