Class GSAuthMuteEvent
java.lang.Object
com.gamersafer.minecraft.auth.velocity.event.GSAuthEvent
com.gamersafer.minecraft.auth.velocity.event.GSAuthMuteEvent
Fired when a user is (un)muted
- 
Constructor Summary
ConstructorsConstructorDescriptionGSAuthMuteEvent(com.velocitypowered.api.proxy.Player player, UUID uuid, com.velocitypowered.api.command.CommandSource muter, boolean nowMuted) Creates a newGSAuthMuteEvent - 
Method Summary
Modifier and TypeMethodDescriptioncom.velocitypowered.api.command.CommandSourcegetMuter()TheCommandSource(un)muting the player.booleanReturns whether the player is now mutedMethods inherited from class com.gamersafer.minecraft.auth.velocity.event.GSAuthEvent
getPlayer, getUuid 
- 
Constructor Details
- 
GSAuthMuteEvent
public GSAuthMuteEvent(com.velocitypowered.api.proxy.Player player, UUID uuid, com.velocitypowered.api.command.CommandSource muter, boolean nowMuted) Creates a newGSAuthMuteEvent- Parameters:
 player- the (un)muted playeruuid- theUUIDof the (un)muted playermuter- the sender issuing the (un)mutenowMuted- whether the player is now muted
 
 - 
 - 
Method Details
- 
getMuter
public com.velocitypowered.api.command.CommandSource getMuter()TheCommandSource(un)muting the player.- Returns:
 - the 
CommandSourceperforming the action 
 - 
isNowMuted
public boolean isNowMuted()Returns whether the player is now muted- Returns:
 - whether the player is now muted
 
 
 -