Class MinestomOnlyPlayerContext<MESSAGE>

java.lang.Object
dev.rollczi.litecommands.minestom.tools.MinestomOnlyPlayerContext<MESSAGE>
All Implemented Interfaces:
dev.rollczi.litecommands.context.ContextProvider<net.minestom.server.command.CommandSender,net.minestom.server.entity.Player>

public class MinestomOnlyPlayerContext<MESSAGE> extends Object implements dev.rollczi.litecommands.context.ContextProvider<net.minestom.server.command.CommandSender,net.minestom.server.entity.Player>
  • Constructor Details

    • MinestomOnlyPlayerContext

      public MinestomOnlyPlayerContext(MESSAGE onlyPlayerMessage)
  • Method Details

    • provide

      public dev.rollczi.litecommands.context.ContextResult<net.minestom.server.entity.Player> provide(dev.rollczi.litecommands.invocation.Invocation<net.minestom.server.command.CommandSender> invocation)
      Specified by:
      provide in interface dev.rollczi.litecommands.context.ContextProvider<net.minestom.server.command.CommandSender,net.minestom.server.entity.Player>