Class VelocityOnlyPlayerContextual<MESSAGE>

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

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

    • VelocityOnlyPlayerContextual

      public VelocityOnlyPlayerContextual(MESSAGE onlyPlayerMessage)
  • Method Details

    • provide

      public dev.rollczi.litecommands.context.ContextResult<com.velocitypowered.api.proxy.Player> provide(dev.rollczi.litecommands.invocation.Invocation<com.velocitypowered.api.command.CommandSource> invocation)
      Specified by:
      provide in interface dev.rollczi.litecommands.context.ContextProvider<com.velocitypowered.api.command.CommandSource,com.velocitypowered.api.proxy.Player>