[INACTIVE][CHAT] LocalChat v0.3 - Allow players to use chat different chat groups. [674]

Discussion in 'Inactive/Unsupported Plugins' started by halvors, Apr 5, 2011.

  1. Offline

    halvors

    LocalChat
    Version: 0.3

    License: GPLv3

    IMPORTANT: Before update to a new version of LocalChat, be sure you backup and delete your old LocalChat/config.yml file, because when add new feature/fix old feature, config file is edited, and then LocalChat will crash with old config file.

    LocalChat allow players to choose a chat group, each group have it's own radius, only players inside the radius from the chat player can hear him. This is the basic, but lot more features is comming.

    Download
    Source Code

    Features:
    • Choose different chat group with distances
    • Set chat group when player join.
    • Permissions support.
    Install (open)

    1. Copy the LocalChat.jar file into your plugins folder.
    2. Restart/reload server.
    3. If you want edit the config.yml file in plugins/LocalChat folder.

    Commands (open)

    /lc help - Show help.
    /lc status (player) - Show your/others status.
    /lc off - Turn of chat group and set to default chat.
    /lc whisper - Toggle whisper group.
    /lc speak - Toggle speak group.
    /lc shout - Toggle shout group.
    /lc broadcast - Toggle broadcast group.
    /lc set [player] [group] - Set player to chat group.
    /lc spy - Show anything on server.

    Permissions nodes (open)

    LocalChat.* - Give you access to anything.
    LocalChat.help
    LocalChat.status
    LocalChat.off
    LocalChat.whisper
    LocalChat.speak
    LocalChat.shout
    LocalChat.broadcast
    LocalChat.admin.set
    LocalChat.admin.spy

    Changelog (open)

    Version 0.3
    • Code cleanup.
    • Now "/lc (player)" command show your/others status.
    • Added support to see other peoples status using "/lc status (player)".
    • Added admin command "/lc set [player] [group]".
    • Added admin command "/lc spy".
    Version 0.2
    • Fixed that distance 0 is infinite and -1 is muted.
    • Added "/lc [chatmode] (message)".
    • Added "/lc off".
    • Added option for add player to group when join, this is set in config.yml file.
    • Added Broadcast chat group.
    Version 0.1

    • Initital release.


    Thanks to:
    MisanthropX - For the idea and support.
     
    MisanthropX and xAnder like this.
  2. Offline

    blacknedvertigo

    I have one ideia its:
    Do /o [text]
    (Out of Character)
    if the player dont do /o [text]
    do IC( In character )
    understand?
     
  3. Offline

    halvors

    Ah, not really. Plesas explain :)
     
  4. he's talking about role playing. typically when people are role playing and want to speak out of character, they'll do something like "[Hey, I'm out of character right now]" or "(ooc) I'm out of character too!". I think what he wants is on option "/o" where the text is colored and/or a prefix/sufix/brackets are added.
     
  5. Offline

    halvors

    Should we have a command for this then? "/ooc" to enable? Then what prefix etc do you want? How should player set the prefix?
     
  6. Offline

    blacknedvertigo

    no...
    On roleplay server's :D
    /o [text]
    Eg: /o Hi all!
     
  7. Offline

    halvors

    Don't understand what different from normal chat... Excactly what is it you want me to implement in LocalChat?
     
  8. Offline

    blacknedvertigo

    :S i cant explain im not inglish.. but
    /o [text] is to write to all players
    and normal is the /lc speak but without command
     
  9. Offline

    halvors

    Will implement /msg or something for private messages or to entrie server. Is this what you want? You can configure LocalChat (next version) to join a group on player join.
     
  10. Offline

    MisanthropX

    back again to suggest things :)

    about bedrock: well, rather have a command to turn off/on chat.spy
    about OOC - out of character:
    when roleplaying on a server (you actually play a role, like a hero, a priest, or something else)
    you often need to say something that doesn't belong to roleplay, e.g. explaining how to use the localchat system :p
    However, this /lc ooc <text> command should mark a text as an "ooc" text.
    this often happens by either enclosing the ooc text with double brackets, or adding ooc:(<text>)

    I also had another Idea for this, even if other plugins serve that, but not in the way localchat should

    this should be custom and not needed.
    What about adding "<currentmodeprefix>" ?
    but again: the text should be custom.
    This could be useful so the players actually know if they are whispering or speaking :)

    for roleplay "speaks, whispers and shouts" is just not enough to be honest.
    people can think, or do other things.

    adding a basic /me command would suit that to override the prefix, in the desired
    local chat mode
    the problem only is that something like
    /lc whisper
    /me shouts: woah we are so quiet!
    will be possible.

    adding such an awesome text prefix would make this plugin a MUST BE for all roleplaying servers :D

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

    halvors

    Yes, will look into it, i am working on a custom group system (That you requested in the begining) so people can add/remove group, will also make this posible ingame. I'm working on a user system too, so LocalChat remember players group when he leave.
     
  12. Offline

    MisanthropX

    awesome halvors, looking forward to the release :>
     
  13. Offline

    halvors

    Thanks :D
     
  14. Offline

    dxfire

    Thanks for the cool plugin! It's not overpumped with features and is quite simple to use.
    Anyway, i think i have found a bug, it doesn't save the localchat messages in the server.log?
     
  15. Offline

    halvors

    Hmm. Will look into it, next version will get much more functions :)

    BTW: Here is a question about how groups should be handled. Should user be able to join multiplie group or just one at the time?

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

    Jorrdan

    Hmmm, just one. Reason being, rpg servers that have factions, would be nice if you could force factions to only talk to each other. Kind of like a brotherhood thing. Where /o message would broadcast to the whole server, like mentioned above. I think groups is an excellent idea halvors. If it's just one group per player i will add this to my server after 1.5 when i start bringing pvp and guilts into the community. Could you add a perms node like 'hear default' where a trusted member could hear people who talk who just joined the server for the first time. Or even better yet, have it so people not in a group can be heard by all groups? :)

    Thanks Halvors,

    Jordan
     
  17. Offline

    MisanthropX

    I do not really get what is the purpose of groups,
    so that only that group can hear me even if another group member is around?
    Out of realism I would put the whole server in the same group,
    It is the players fault if he trusts a distinguished spion :p
    And the player can whisper so no one can hear him except another one.
    @halvors do you have plans on adding a /me function? + adding custom endings for each local mode?
    (Halvors speaks: Halvors shouts: Halvors whispers:)
    would be another enrichment :)
     
  18. Offline

    halvors

    Groups are repleacement of chat mode, that give the admin/user access to customize. Each group have a distance. So if i chat "Hello!" everybody inside a distance of 32 blocks wil hear me :)
     
  19. Offline

    MG127

    i would realy like to set the DefaultChatGroup for each Permissions Group seperatly, so that the guests are speaking per default, but my members broadcast by default (small server)
    and an allway-on-spy would be good for admins

    @blacknedvertigo
    for the ooc problem, why dont you use just another color for ooc text? (iChat)
    instead of implementing an /ooc, &6 is also fast to write :)
     
  20. Offline

    EvHub

    Amazing plugin. I just have one question: When I run this without permissions does it default to ops only have admin commands? If not could you please add this. :)
     
  21. Offline

    Almin

    I cant set to any player on login set to join speak channel? How can i set everyone to speak in channel speak?
     
  22. Offline

    MisanthropX

    what bugs me is that if I reload with /reload all chatgroups get a reset and everyone can hear everyone :(
     
  23. Offline

    anonymous

    @halvors is this plugin working for 740?
     
  24. Offline

    MisanthropX

    it works, but some features not as intended.. whenever I do /lc spy it automatically disables the group I am talking in.

    I would appreciate it, if you continue this plugin @halvors
     
  25. Offline

    halvors

    Will do, have a new revelition system but need some more work.
     
  26. Offline

    Plague

    CB 674 - inactive
     
  27. Offline

    Ne3zy

    Can you make a command like this one /lc me [text] ?
    Result :
    Nickname [text]
    You just see this message if you are X blocks arround
     
  28. Offline

    GilDev

    Please please please, update this plugin ! I very need it !
     
  29. Offline

    halvors

    Sorry. I have no time. You can use this LocalAreaChat.
     

Share This Page