Class SenderLimitFactory
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable net.apartium.cocoabeans.commands.requirements.RequirementgetRequirement(net.apartium.cocoabeans.commands.GenericNode node, Object obj)
-
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:
getRequirementin interfacenet.apartium.cocoabeans.commands.requirements.RequirementFactory
-