diff options
author | snowleo <schneeleo@gmail.com> | 2011-08-08 16:30:32 +0200 |
---|---|---|
committer | snowleo <schneeleo@gmail.com> | 2011-08-08 16:30:32 +0200 |
commit | fbd9ee9453cdfec7367effba3cb2bc388e3ee88b (patch) | |
tree | 64e08e222c5a87eedc58ab8579380047a54dac53 /EssentialsXMPP/src/com/earth2me/essentials/xmpp/IEssentialsXMPP.java | |
parent | 8185b05b5d8a1feb60e70ebbddb907e08dbeeed5 (diff) | |
download | Essentials-fbd9ee9453cdfec7367effba3cb2bc388e3ee88b.tar Essentials-fbd9ee9453cdfec7367effba3cb2bc388e3ee88b.tar.gz Essentials-fbd9ee9453cdfec7367effba3cb2bc388e3ee88b.tar.lz Essentials-fbd9ee9453cdfec7367effba3cb2bc388e3ee88b.tar.xz Essentials-fbd9ee9453cdfec7367effba3cb2bc388e3ee88b.zip |
XMPP: Let xmpp users see xmpp messages from other xmpp users.
Diffstat (limited to 'EssentialsXMPP/src/com/earth2me/essentials/xmpp/IEssentialsXMPP.java')
-rw-r--r-- | EssentialsXMPP/src/com/earth2me/essentials/xmpp/IEssentialsXMPP.java | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/EssentialsXMPP/src/com/earth2me/essentials/xmpp/IEssentialsXMPP.java b/EssentialsXMPP/src/com/earth2me/essentials/xmpp/IEssentialsXMPP.java index f5a944e2b..d90bff803 100644 --- a/EssentialsXMPP/src/com/earth2me/essentials/xmpp/IEssentialsXMPP.java +++ b/EssentialsXMPP/src/com/earth2me/essentials/xmpp/IEssentialsXMPP.java @@ -2,17 +2,17 @@ package com.earth2me.essentials.xmpp; import java.util.List; import org.bukkit.entity.Player; +import org.bukkit.plugin.Plugin; -public interface IEssentialsXMPP +public interface IEssentialsXMPP extends Plugin { - String getAddress(final Player user); String getAddress(final String name); List<String> getSpyUsers(); - + String getUserByAddress(final String address); boolean sendMessage(final Player user, final String message); @@ -22,5 +22,6 @@ public interface IEssentialsXMPP void setAddress(final Player user, final String address); boolean toggleSpy(final Player user); - + + void broadcastMessage(final String name, final String message); } |