Class VelocityPlayer
java.lang.Object
dev.jorel.commandapi.commandsenders.VelocityPlayer
- All Implemented Interfaces:
AbstractCommandSender<com.velocitypowered.api.proxy.Player>,AbstractPlayer<com.velocitypowered.api.proxy.Player>,VelocityCommandSender<com.velocitypowered.api.proxy.Player>
public class VelocityPlayer
extends Object
implements AbstractPlayer<com.velocitypowered.api.proxy.Player>, VelocityCommandSender<com.velocitypowered.api.proxy.Player>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.velocitypowered.api.proxy.PlayerbooleanhasPermission(String permissionNode) booleanisOp()
-
Constructor Details
-
VelocityPlayer
public VelocityPlayer(com.velocitypowered.api.proxy.Player player)
-
-
Method Details
-
hasPermission
- Specified by:
hasPermissionin interfaceAbstractCommandSender<com.velocitypowered.api.proxy.Player>
-
isOp
public boolean isOp()- Specified by:
isOpin interfaceAbstractCommandSender<com.velocitypowered.api.proxy.Player>
-
getSource
public com.velocitypowered.api.proxy.Player getSource()- Specified by:
getSourcein interfaceAbstractCommandSender<com.velocitypowered.api.proxy.Player>
-