Klasse PlayerUnmuteEvent

java.lang.Object
me.kzlyth.api.events.ZenithEvent
me.kzlyth.api.events.mute.PlayerUnmuteEvent

public class PlayerUnmuteEvent extends ZenithEvent
Event fired when a player is unmuted.

For detailed documentation and examples, see: https://docs.zenith-studios.org/

Example:


 ZenithEventBus.getInstance().subscribe(PlayerUnmuteEvent.class, event -> {
     getLogger().info(event.getPlayerName() + " was unmuted by " + event.getStaffName());
 });
 
Seit:
1.2.3
Autor:
Zenith-Studios
  • Konstruktordetails

    • PlayerUnmuteEvent

      public PlayerUnmuteEvent(@NotNull @NotNull UUID playerUuid, @NotNull @NotNull String playerName, @Nullable @Nullable UUID staffUuid, @NotNull @NotNull String staffName, @NotNull @NotNull String reason, int caseId)
      Constructs a new PlayerUnmuteEvent.
      Parameter:
      playerUuid - The UUID of the unmuted player
      playerName - The name of the unmuted player
      staffUuid - The UUID of the staff member (null for console)
      staffName - The name of the staff member
      reason - The reason for the unmute
      caseId - The case ID