summaryrefslogtreecommitdiff
path: root/src/main/java/com/redstoner/misc/BroadcastFilter.java
blob: a0098b6ca6a9f54da4cc015155c336956e051dca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package com.redstoner.misc;

import com.redstoner.annotations.Version;
import org.bukkit.command.CommandSender;

/**
 * Classes implementing this interface can be used to define a filter for the Utils.broadcast method for sending a message to more than one, but less than all users.
 *
 * @author Pepich
 */
@Version (major = 1, minor = 0, revision = 0, compatible = 1)
public interface BroadcastFilter {
	public boolean sendTo(CommandSender recipient);
}