Inactive [CHAT] LocalAreaChat v0.07.1 - See messages only from nearby players [935]

Discussion in 'Inactive/Unsupported Plugins' started by neko259, Jun 8, 2011.

  1. Offline

    neko259

    LocalAreaChat
    Version: v0.07.1

    Tired of many messages from 20+ players of your server? With this plugin you can see only messages that were sent by the players in certain radius from you, and only in your world. If you want to send a message globally to every player - use /shout command.


    Features:
    • Local area chat
    • Configurable chatting radius (uses all three coordinates)
    • Configurable shout message format
    • Broadcast messages with /shout or /sh command
    • Send message only to the current world with /shoutw or /shw
    Download zip
    or
    Browse the source code (you can find old versions at the downloads page).
    For information refer to the wiki.

    Changelog:
    Version 0.07.1:
    • Fixed error on '/lac' command.
    Version 0.07:
    • Switching chat mode in-game for every player. Use /lac mode <mode>
    • Listen to all chat (for admins). Use /lac listen on/off. Supports permissions.
    Version 0.06:
    • Three modes: public, private and world
    • Shout message config (prefix, color and CAPS)
    • /shoutw or /shw command to shout to the current world
    • /sh alias for /shout
    Version 0.05:
    • Initial release
    Future features:
    In 0.08:
    • Different chat commands with different radius
    • Regions for private chatting
    • Permissions support for modes switching
    Possible future features:
    • iConomy support for shouting
    • Configurable shout command
    • Shouting with prefix instead of command (ex. '!')
     
  2. Offline

    BioRage

    In that case, it works with Faction's, thank you.

    Factions is a plugin like Towny, if you are familiar, though chat get's congested, thanks a lot for this plugin.

    Maybe add *Compatibility :Factions?* :)
     
  3. Offline

    neko259

    Maybe :) I don't have enough machines for testing for now, that's why development is not very fast.
     
  4. Offline

    BioRage

    Bummer, doesn't actually worked, put it on the main server.

    When you type normally, anyone can see anywhere, as if it's normal.

     
  5. Offline

    [Kor]Deer

    command delay plz (5 Second)
    or
    /sh on - command hold
    /sh off - command hold

    and!

    admin group's color chat support
     
  6. Offline

    neko259

    This can be done using iChat. I prefer unix-way: separate plugins for every function.
     
  7. Offline

    BioRage

    Any aid on my problem?
     
  8. Offline

    neko259

    I'll release 0.07 with the latest bukkit support.
     
    BioRage likes this.
  9. Offline

    BioRage

    @neko259
    What do you mean <LAC MODE>

    As in, default is optional? Or forced, or LOCAL AREA CHAT MODE is Forced / Default?

    "X enters a server"
    1. "X joins channel LAC MODE or Default MC CHAT"
    2. "X needs to change to LAC MODE?"

    2- If they changed to LAC mode, than can others still hear around them (defined by x radius in the config file?)
    2- Or is it like a private chat?
    ---
    Read the Wiki, so, default I assume is lac mode private

    Alright.

    If you type /lac you get an internal error.

    http://pastebin.com/BKkC9Ruj

    Unfortunately, Local Chat doesn't work with Factions, *sad face*

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  10. Offline

    halvors

  11. Offline

    neko259

    Hmm, thanks. I'll try to fix that.

    I fixed an error in 0.07.1

    If anyone tests this with build 953 - please tell me the result.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  12. Offline

    treymok

    Throwing this at me.... on 953

    Code:
    04:05:15 [SEVERE] Could not pass event PLAYER_JOIN to LocalAreaChat
    java.lang.IllegalAccessError: tried to access method ru.ttyh.neko259.ChatPlayer.
    <init>(Lorg/bukkit/entity/Player;I)V from class ru.ttyh.neko259.LocalAreaChatPla
    yerListener
            at ru.ttyh.neko259.LocalAreaChatPlayerListener.onPlayerJoin(LocalAreaCha
    tPlayerListener.java:205)
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
    va:244)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:321)
            at net.minecraft.server.ServerConfigurationManager.c(ServerConfiguration
    Manager.java:124)
            at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:97)
            at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:74)
            at net.minecraft.server.Packet1Login.a(SourceFile:43)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:40)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:91)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Nevermind I had 0.7.1 AND 0.7 running ;/
     
  13. Offline

    Zalastri

    Could you make this work with iChat? It seems you see messages no matter where people are thanks to iChat. I also use factions, dunno if that would clash.
     
  14. Offline

    Flabaliki

    Works fine with 953 with no other plugins.
     
  15. Offline

    neko259

    I use iChat but it works fine for me.
     
  16. Offline

    Zalastri

    This is throwing errors when people in a faction (Via the plugin Factions) use their private chat.

    Code:
    18:17:13 [SEVERE] Could not pass event PLAYER_CHAT to LocalAreaChat
    java.lang.NullPointerException
            at ru.ttyh.neko259.LocalAreaChatPlayerListener.onPlayerChat(LocalAreaChatPlayerListener.java:63)
            at org.bukkit.plugin.java.JavaPluginLoader$6.execute(JavaPluginLoader.java:279)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:321)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:681)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:669)
            at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:84)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
    Also it keeps saying "Could not find player"
     
  17. Offline

    neko259

    That means the plugin could not add a player config and cannot use it while chatting. Maybe Factions is blocking the 'PLAYER_JOIN' event?
     
  18. Offline

    Zalastri

    I want to use your plugin :x If you could get it to work with factions I'd be much obliged.
     
  19. Offline

    M1sT3rM4n

    The plugin was throwing an error when I tried running it this morning. Will include a screenshot after I get home from work.
     
  20. Offline

    BakaKoneko

    Nice stuff, exactly what I was looking for and nothing else!

    Would it be possible to get two things?

    A configurable command, instead of /sh. Allow us to set it via the config, so we can emulate other (older) plugins? One of my favourites allowed you to simply have an exclamation point before you message instead of a /command to make it global, which is what I'm looking to do here.

    A ping back if there's noone within range to hear your local chat. I believe the old plugin said 'Noone can hear you.' in grey whenever you were out of range of anyone.

    With those two, this plugin would be absolutely perfect!

    Regardless, thankyou very much for this!
     
  21. Offline

    neko259

    I can make the 'ping' right now, but I cannot make configurable command for now.
     
  22. Offline

    Jason91jj

    Hi, I have been using your plugin for about a month now and LOVE IT. but please, i BEG you make it work with factions, for some reason when factions is on my server and localAreaChat everyone can see normal chat, as if it local is not even there please fix it
     
    Zalastri likes this.
  23. Offline

    Zalastri

    This is my problem too I suppose. I use factions, and localchat does not work for me. +1
     
  24. Offline

    neko259

    I believe that's factions problem, not mine. They cancel chat event after processing and it doesn't come to my plugin.
     
  25. Offline

    morizuki

    suggestion.. hoping you can add a region chat dependency in residence/worldguard
     
  26. Offline

    neko259

    I'll try that in the next version.
     
    morizuki likes this.
  27. Offline

    morizuki

    disregard worldguard XD i'm using residence hehee.. thanks
     
  28. Offline

    neko259

    Disregard residence, I'm using worldguard :3

    But I'll try to use both and add a config for selecting them.
     
    morizuki likes this.
  29. Offline

    morizuki

    lol XD ok imma wait for that XD
     
  30. Offline

    jakobb987

    Is it possible to have a chat channel plugin, that isn't affected by this, whilst the default chat "channel" is affected?
    If you haven't implemented it yet, could you please do? :)
    Trying out your plugin now, I can imagine what it's like.
    Nice job, to my understanding this is your first plugin.
     
  31. Offline

    Jason91jj

    The author of that plugin could in turn use the Faction chat integration hooks if they have time for it. Alternately, EssentialsChat has a local chat feature and it's currently partially supported and will have full Factions chat integration in their next major release.

    this is the reply from factions creator

    ALSO the creator of factions just notified me that he has provided the proper hooks if you would please integrate them into your plugin he has a link for it! thanks :)
     

Share This Page