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

import org.bukkit.command.CommandSender;

import com.redstoner.annotations.Version;

/** 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);
}