Class VelocitySender
java.lang.Object
ru.cwcode.commands.velocityplatform.velocity.VelocitySender
- All Implemented Interfaces:
ru.cwcode.commands.api.Sender
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidnet.kyori.adventure.audience.Audiencecom.velocitypowered.api.proxy.PlayerbooleanhasPermission(String str) booleanisPlayer()voidsendMessage(String message) voidsendMessage(net.kyori.adventure.text.Component line) voidsendMessage(tkachgeek.tkachutils.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
-
Constructor Details
-
VelocitySender
public VelocitySender(com.velocitypowered.api.command.CommandSource sender)
-
-
Method Details
-
hasPermission
- Specified by:
hasPermissionin 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(tkachgeek.tkachutils.messages.TargetableMessageReturn targetable) - Specified by:
sendMessagein interfaceru.cwcode.commands.api.Sender
-
sendMessage
- Specified by:
sendMessagein 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
-
getAudience
public net.kyori.adventure.audience.Audience getAudience()- Specified by:
getAudiencein interfaceru.cwcode.commands.api.Sender
-
getPlayer
public com.velocitypowered.api.proxy.Player getPlayer()
-