Package mindustry.net

Interface Administration.ActionFilter

Enclosing class:
Administration

public static interface Administration.ActionFilter
Allows or disallows player actions.
  • Method Details

    • allow

      boolean allow(Administration.PlayerAction action)
      Returns:
      whether this action should be permitted. if applicable, make sure to send this player a message specify why the action was prohibited.