summaryrefslogtreecommitdiffstats
path: root/EssentialsXMPP
diff options
context:
space:
mode:
Diffstat (limited to 'EssentialsXMPP')
-rw-r--r--EssentialsXMPP/src/net/ess3/xmpp/IEssentialsXMPP.java47
1 files changed, 47 insertions, 0 deletions
diff --git a/EssentialsXMPP/src/net/ess3/xmpp/IEssentialsXMPP.java b/EssentialsXMPP/src/net/ess3/xmpp/IEssentialsXMPP.java
index 789ccddc9..bf221a370 100644
--- a/EssentialsXMPP/src/net/ess3/xmpp/IEssentialsXMPP.java
+++ b/EssentialsXMPP/src/net/ess3/xmpp/IEssentialsXMPP.java
@@ -8,21 +8,68 @@ import org.bukkit.plugin.Plugin;
public interface IEssentialsXMPP extends Plugin
{
+ /**
+ *
+ * @param user
+ * @return
+ */
String getAddress(final CommandSender user);
+ /**
+ *
+ * @param name
+ * @return
+ */
String getAddress(final String name);
+ /**
+ *
+ * @return
+ */
List<String> getSpyUsers();
+ /**
+ *
+ * @param address
+ * @return
+ */
IUser getUserByAddress(final String address);
+ /**
+ *
+ * @param user
+ * @param message
+ * @return
+ */
boolean sendMessage(final CommandSender user, final String message);
+ /**
+ *
+ * @param address
+ * @param message
+ * @return
+ */
boolean sendMessage(final String address, final String message);
+ /**
+ *
+ * @param user
+ * @param address
+ */
void setAddress(final CommandSender user, final String address);
+ /**
+ *
+ * @param user
+ * @return
+ */
boolean toggleSpy(final CommandSender user);
+ /**
+ *
+ * @param sender
+ * @param message
+ * @param xmppAddress
+ */
void broadcastMessage(final IUser sender, final String message, final String xmppAddress);
}