diff options
Diffstat (limited to 'EssentialsXMPP/src')
-rw-r--r-- | EssentialsXMPP/src/com/earth2me/essentials/xmpp/IEssentialsXMPP.java | 24 |
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; + +} |