Class DummyConsoleSender
java.lang.Object
me.lucko.luckperms.common.sender.DummyConsoleSender
- All Implemented Interfaces:
Sender
-
Field Summary
Fields inherited from interface Sender
CONSOLE_NAME, CONSOLE_UUID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()Gets the sender's usernamenet.luckperms.api.util.TristategetPermissionValue(String permission) Gets the tristate a permission is set to.Gets the plugin instance the sender is from.Gets the sender's unique id.booleanhasPermission(String permission) Check if the Sender has a permission.booleanhasPermission(CommandPermission permission) Check if the Sender has a permission.booleanGets whether this sender is the consolevoidperformCommand(String commandLine) Makes the sender perform a command.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Sender
getNameWithLocation, isValid, sendMessage
-
Constructor Details
-
DummyConsoleSender
-
-
Method Details
-
getPermissionValue
Description copied from interface:SenderGets the tristate a permission is set to.- Specified by:
getPermissionValuein interfaceSender- Parameters:
permission- the permission to check for- Returns:
- a tristate
-
hasPermission
Description copied from interface:SenderCheck if the Sender has a permission.- Specified by:
hasPermissionin interfaceSender- Parameters:
permission- the permission to check for- Returns:
- true if the sender has the permission
-
hasPermission
Description copied from interface:SenderCheck if the Sender has a permission.- Specified by:
hasPermissionin interfaceSender- Parameters:
permission- the permission to check for- Returns:
- true if the sender has the permission
-
performCommand
Description copied from interface:SenderMakes the sender perform a command.- Specified by:
performCommandin interfaceSender- Parameters:
commandLine- the command
-
isConsole
-
getPlugin
Description copied from interface:SenderGets the plugin instance the sender is from. -
getUniqueId
Description copied from interface:SenderGets the sender's unique id.See
Sender.CONSOLE_UUIDfor the console's UUID representation.- Specified by:
getUniqueIdin interfaceSender- Returns:
- the sender's uuid
-
getName
-