Package com.petarmc.lib.notification
Class NotificationManager
java.lang.Object
com.petarmc.lib.notification.NotificationManager
Utility class for showing in-game notifications to the player.
Only works on the client side.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
NotificationManager
public NotificationManager()
-
-
Method Details
-
showError
Shows an error notification in chat.- Parameters:
message- the message to display
-
showInfo
Shows an info notification in chat.- Parameters:
message- the message to display
-
showChatMessage
Shows a custom notification in chat.- Parameters:
message- the message to display
-