Class RequirementIsPlayer

java.lang.Object
com.kamikazejam.kamicommon.command.requirement.RequirementAbstract
com.kamikazejam.kamicommon.command.requirement.RequirementIsPlayer
All Implemented Interfaces:
Requirement, Predicate<CommandSender>, Serializable, Predicate<CommandSender>

public class RequirementIsPlayer extends RequirementAbstract
A Requirement that passes only for a Player sender, so a command carrying it can never run from console. Reach the shared instance with get() and attach it with KamiCommand.addRequirements(Requirement...); the refusal message is the shared one from KamiCommand.Config.
See Also: