Interface ActionValidator
- All Known Implementing Classes:
ActionAttributesExist,ActionSenderNotGagged,ActionSenderNotInJail,ActionSenderUseChatBucket,ActionTargetNotAway,ActionTargetNotGrumpyTowardsSender,ActionTargetNotIgnoringSender,ActionTargetOnline,ActionValidation,ExtractEntityValidator,ItemMovementInZoneAllowed,SlotVisibleIfEntityContained,ZoneNotChanged
public interface ActionValidator
validates an RPAction
- Author:
- hendrik
-
Method Summary
Modifier and TypeMethodDescriptionvalidate(Player player, RPAction action, ActionData data) validates an RPAction.
-
Method Details
-
validate
validates an RPAction.- Parameters:
player- Playeraction- RPAction to validatedata- data about this action- Returns:
nullif the action is valid; an error message otherwise
-