summaryrefslogtreecommitdiffstats
path: root/EssentialsXMPP/src/com/earth2me/essentials
diff options
context:
space:
mode:
authorsnowleo <snowleo@e251c2fe-e539-e718-e476-b85c1f46cddb>2011-06-02 13:25:57 +0000
committersnowleo <snowleo@e251c2fe-e539-e718-e476-b85c1f46cddb>2011-06-02 13:25:57 +0000
commite53ce03d3678df0627de2378450a9b18a5c24582 (patch)
treef8bdc8789e3da2b3b7a5293183a085212b40a4d5 /EssentialsXMPP/src/com/earth2me/essentials
parentaeb3b0f37ce89e5b816abd0f9c7dc2c0945bbf8a (diff)
downloadEssentials-e53ce03d3678df0627de2378450a9b18a5c24582.tar
Essentials-e53ce03d3678df0627de2378450a9b18a5c24582.tar.gz
Essentials-e53ce03d3678df0627de2378450a9b18a5c24582.tar.lz
Essentials-e53ce03d3678df0627de2378450a9b18a5c24582.tar.xz
Essentials-e53ce03d3678df0627de2378450a9b18a5c24582.zip
Missing file for EssentialsXMPP
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1566 e251c2fe-e539-e718-e476-b85c1f46cddb
Diffstat (limited to 'EssentialsXMPP/src/com/earth2me/essentials')
-rw-r--r--EssentialsXMPP/src/com/earth2me/essentials/xmpp/IEssentialsXMPP.java24
1 files changed, 24 insertions, 0 deletions
diff --git a/EssentialsXMPP/src/com/earth2me/essentials/xmpp/IEssentialsXMPP.java b/EssentialsXMPP/src/com/earth2me/essentials/xmpp/IEssentialsXMPP.java
new file mode 100644
index 000000000..8716d6b1b
--- /dev/null
+++ b/EssentialsXMPP/src/com/earth2me/essentials/xmpp/IEssentialsXMPP.java
@@ -0,0 +1,24 @@
+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();
+
+ void sendMessage(final Player user, final String message);
+
+ void sendMessage(final String address, final String message);
+
+ void setAddress(final Player user, final String address) throws Exception;
+
+ boolean toggleSpy(final Player user) throws Exception;
+
+}