summaryrefslogtreecommitdiffstats
path: root/EssentialsXMPP/src/com/earth2me/essentials/xmpp/IEssentialsXMPP.java
blob: c95520357a4ac6a2c80f82f1b91ae199dcd93760 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package com.earth2me.essentials.xmpp;

import java.util.List;
import org.bukkit.entity.Player;


public interface IEssentialsXMPP
{

	String getAddress(final Player user);

	String getAddress(final String name);

	List<String> getSpyUsers();
	
	String getUserByAddress(final String address);

	void sendMessage(final Player user, final String message);

	void sendMessage(final String address, final String message);

	void setAddress(final Player user, final String address);

	boolean toggleSpy(final Player user);
	
}