Interface PluginActionAPI
public interface PluginActionAPI
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidIf you don't specify a level, the default level is INFO.voidLogs a message at the specified log level.voidsendPlayerMessage(String playerName, String message) "Send a message to a player."voidsendPlayerMessage(UUID playerUUID, String message) Send a message to a playervoidsendPlayerUpdateEvent(UUID playerUUID) Fires PlayerUpdateEvent event.
-
Method Details
-
sendPlayerMessage
Send a message to a player- Parameters:
playerUUID- The UUID of the player you want to send the message to.message- The message to send to the player.
-
sendPlayerMessage
"Send a message to a player."- Parameters:
playerName- The name of the player to send the message to.message- The message to send to the player.
-
log
Logs a message at the specified log level.- Parameters:
logLevel- The level of the log message.message- The message to be logged.
-
log
If you don't specify a level, the default level is INFO.- Parameters:
message- The message to log.
-
sendPlayerUpdateEvent
Fires PlayerUpdateEvent event.- Parameters:
playerUUID- The UUID of the player to send the event to.
-