mirror of
https://github.com/plexusorg/Plex.git
synced 2025-07-05 00:56:42 +00:00
Add documentation to custom Plex events + config
This commit is contained in:
@ -5,16 +5,25 @@ import lombok.Getter;
|
||||
import org.bukkit.event.Cancellable;
|
||||
import org.bukkit.event.HandlerList;
|
||||
|
||||
//TODO: Event doesn't look like it is called
|
||||
/**
|
||||
* Event that is called when a player is frozen or unfrozen
|
||||
*/
|
||||
@Getter
|
||||
public class PunishedPlayerMuteEvent extends PunishedPlayerEvent implements Cancellable
|
||||
{
|
||||
private static final HandlerList handlers = new HandlerList();
|
||||
|
||||
/**
|
||||
* Status of the Punished Player being frozen before the event's occurrence.
|
||||
* New muted state of the player
|
||||
*/
|
||||
private final boolean muted;
|
||||
|
||||
/**
|
||||
* Creates a new event instance
|
||||
* @param punishedPlayer The player who was punished
|
||||
* @param muted The new muted status
|
||||
*/
|
||||
public PunishedPlayerMuteEvent(PunishedPlayer punishedPlayer, boolean muted)
|
||||
{
|
||||
super(punishedPlayer);
|
||||
|
Reference in New Issue
Block a user