Package net.md_5.bungee.api.event
Class PermissionCheckEvent
- java.lang.Object
- 
- net.md_5.bungee.api.plugin.Event
- 
- net.md_5.bungee.api.event.PermissionCheckEvent
 
 
- 
 public class PermissionCheckEvent extends Event Called when the permission of a CommandSender is checked.
- 
- 
Constructor SummaryConstructors Constructor Description PermissionCheckEvent(CommandSender sender, String permission, boolean hasPermission)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)StringgetPermission()The permission to check.CommandSendergetSender()The command sender being checked for a permission.inthashCode()booleanhasPermission()voidsetHasPermission(boolean hasPermission)The outcome of this permission check.StringtoString()
 
- 
- 
- 
Constructor Detail- 
PermissionCheckEventpublic PermissionCheckEvent(CommandSender sender, String permission, boolean hasPermission) 
 
- 
 - 
Method Detail- 
hasPermissionpublic boolean hasPermission() 
 - 
getSenderpublic CommandSender getSender() The command sender being checked for a permission.
 - 
getPermissionpublic String getPermission() The permission to check.
 - 
setHasPermissionpublic void setHasPermission(boolean hasPermission) The outcome of this permission check.
 - 
canEqualprotected boolean canEqual(Object other) 
 
- 
 
-