Package ru.cwcode.tkach.config
Class VoidSender
java.lang.Object
ru.cwcode.tkach.config.VoidSender
- All Implemented Interfaces:
ru.cwcode.commands.api.Sender
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidnet.kyori.adventure.audience.AudiencegetName()booleanhasPermission(String str) booleanisPlayer()voidsendMessage(String message) voidsendMessage(net.kyori.adventure.text.Component line) voidsendMessage(ru.cwcode.cwutils.messages.TargetableMessageReturn targetable) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ru.cwcode.commands.api.Sender
isOp
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
VoidSender
public VoidSender()
-
-
Method Details
-
hasPermission
- Specified by:
hasPermissionin interfaceru.cwcode.commands.api.Sender
-
getName
- Specified by:
getNamein interfaceru.cwcode.commands.api.Sender
-
sendMessage
public void sendMessage(net.kyori.adventure.text.Component line) - Specified by:
sendMessagein interfaceru.cwcode.commands.api.Sender
-
isPlayer
public boolean isPlayer()- Specified by:
isPlayerin interfaceru.cwcode.commands.api.Sender
-
sendMessage
public void sendMessage(ru.cwcode.cwutils.messages.TargetableMessageReturn targetable) - Specified by:
sendMessagein interfaceru.cwcode.commands.api.Sender
-
sendMessage
- Specified by:
sendMessagein interfaceru.cwcode.commands.api.Sender
-
getAudience
public net.kyori.adventure.audience.Audience getAudience()- Specified by:
getAudiencein interfaceru.cwcode.commands.api.Sender
-
confirm
public void confirm(String confirmableString, long timeToConfirm, Runnable onConfirm, Runnable onExpired) - Specified by:
confirmin interfaceru.cwcode.commands.api.Sender
-