Class VelocityOnlyPlayerContextual<MESSAGE>

java.lang.Object
dev.rollczi.litecommands.velocity.tools.VelocityOnlyPlayerContextual<MESSAGE>
All Implemented Interfaces:
dev.rollczi.litecommands.contextual.Contextual<com.velocitypowered.api.command.CommandSource,com.velocitypowered.api.proxy.Player>

public class VelocityOnlyPlayerContextual<MESSAGE> extends Object implements dev.rollczi.litecommands.contextual.Contextual<com.velocitypowered.api.command.CommandSource,com.velocitypowered.api.proxy.Player>
  • Constructor Details

    • VelocityOnlyPlayerContextual

      public VelocityOnlyPlayerContextual(MESSAGE onlyPlayerMessage)
  • Method Details

    • extract

      public panda.std.Result<com.velocitypowered.api.proxy.Player,Object> extract(com.velocitypowered.api.command.CommandSource source, dev.rollczi.litecommands.command.Invocation<com.velocitypowered.api.command.CommandSource> invocation)
      Specified by:
      extract in interface dev.rollczi.litecommands.contextual.Contextual<com.velocitypowered.api.command.CommandSource,com.velocitypowered.api.proxy.Player>