java.lang.Object
net.apartium.cocoabeans.commands.spigot.requirements.factory.SenderLimitFactory
All Implemented Interfaces:
net.apartium.cocoabeans.commands.requirements.RequirementFactory

public class SenderLimitFactory extends Object implements net.apartium.cocoabeans.commands.requirements.RequirementFactory
Requires senders running a command / sub command to be of a certain type, for example players / console only
  • Constructor Details

    • SenderLimitFactory

      public SenderLimitFactory()
  • Method Details

    • getRequirement

      @Nullable public @Nullable net.apartium.cocoabeans.commands.requirements.Requirement getRequirement(net.apartium.cocoabeans.commands.GenericNode node, Object obj)
      Specified by:
      getRequirement in interface net.apartium.cocoabeans.commands.requirements.RequirementFactory