ChatPlugin Request!

Discussion in 'Archived: Plugin Requests' started by Dingle, Mar 2, 2013.

  1. Offline

    Dingle

    Plugin category: Chat
    Suggested name: GlobalMute

    What I want: I would want this plugin to have a simple command (for example /nochat) that will temporarily disable the Global chat, also with customizable messages, and simple permissions

    Ideas for commands: /nochat (Toggle chat on & off)

    Ideas for permissions: nochat.override (allows group to talk while chat is off)
    nochat.toggle (allows the /nochat command)

    When I'd like it by: ASAP :)

    I WOULD be so happy if someone could make this plugin! I think it could be quite simple to do, and it would help me so much! I have found loads of plugins like this, but NONE WORK!

    Can anyone Do this?

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

    Archarin

    Do you want this to hook into HeroChat or something? Do you want it to disable just global chat and not local or both?
     
  3. Offline

    Dingle

    Just Global.
    Nothing to do with herochat

    Its just so when the server is busy, i can do /nochat, and it makes it so they cant talk (can talk in faction chat and /msg)

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

    Alvarez96

    This is a really easy plugin, but i dont see why you wouldn't just use the minecraft settings to turn off chat.
    [​IMG]
     
  5. Offline

    Dingle

    Because I still want to be able to talk, while the chat is muted... Also for all the moderators, that's almost the whole point of it

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

    stepheng

    Download: <Edit by Moderator: Redacted mediafire url>
    Source: https://github.com/stephen-gardner/GlobalMute

    Just the bare minimum... "nochat.toggle" to use "/nochat" and "nochat.override" to allow talking with "/nochat" enabled. :)

    Let me know if you need more functionality, like being able to reload the language files in-game, or for the plugin to remember the "/nochat" state when people log out. As it is, you'll have to restart the server to reload the language configuration in the config.yml.
     
    Last edited by a moderator: Nov 7, 2016
  7. Offline

    Dingle

    [quote uid=90797011 name="stepheng" post=1572017]Download: <Edit by Moderator: Redacted mediafire url>
    Source: https://github.com/stephen-gardner/GlobalMute

    Just the bare minimum... "nochat.toggle" to use "/nochat" and "nochat.override" to allow talking with "/nochat" enabled. :)

    Let me know if you need more functionality, like being able to reload the language files in-game, or for the plugin to remember the "/nochat" state when people log out. As it is, you'll have to restart the server to reload the language configuration in the config.yml.[/quote]
    Thanks! I will test it. :)

    [quote uid=90797011 name="stepheng" post=1572017]Download: <Edit by Moderator: Redacted mediafire url>
    Source: https://github.com/stephen-gardner/GlobalMute

    Just the bare minimum... "nochat.toggle" to use "/nochat" and "nochat.override" to allow talking with "/nochat" enabled. :)

    Let me know if you need more functionality, like being able to reload the language files in-game, or for the plugin to remember the "/nochat" state when people log out. As it is, you'll have to restart the server to reload the language configuration in the config.yml.[/quote]
    Mhm... When I do /nochat it says "Global chat muted" but everyone can still talk?

    Can you find the problem ? :D

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Nov 7, 2016
  8. Offline

    stepheng

    Last edited by a moderator: Nov 7, 2016
  9. Offline

    Dingle

    [quote uid=90797011 name="stepheng" post=1572270]LOL whoops, I made a last moment logic error when making the mute disable itself in the event that the person lost the permission. I should have tested it one last time before commit. ;) I've fixed it now.

    Download: <Edit by Moderator: Redacted mediafire url>
    Commit: https://github.com/stephen-gardner/GlobalMute/commit/fe05ec9cf2330854df82fb437f2bf6d80c52fb95[/quote]
    ITS WORKS! I LOVE YOU! ;D

    [quote uid=90797011 name="stepheng" post=1572270]LOL whoops, I made a last moment logic error when making the mute disable itself in the event that the person lost the permission. I should have tested it one last time before commit. ;) I've fixed it now.

    Download: <Edit by Moderator: Redacted mediafire url>
    Commit: https://github.com/stephen-gardner/GlobalMute/commit/fe05ec9cf2330854df82fb437f2bf6d80c52fb95[/quote]
    Wait... I think the plugin is just muting my global chat, so they can see what eachother is saying.. but I cant? I need it so it disables it for everyone, and no one can talk...

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

    stepheng

    It mutes the general chat so that people can focus on a staff channel, private messages, guild, etc... it can be a problem on servers that choose not to use multiple channels, so I thought that's what you wanted.

    There are already various plugins that allow you to mute all players, like MuteManager.
     
  11. Offline

    Dingle

    That only mutes specific players...
     
  12. Offline

    stepheng

    On the BukkitDev page it clearly says, "Hint: Use * instead of player name to mute or unmute all players."
     
    Dingle likes this.
  13. Offline

    Dingle

    Ok thank's I will check it out :)

    This plugin is not what I want. It mutes all player [INCLUDING RANKS] and also it does NOT mute players that just join the game...
    Are you able to make it so the Chat is just muted for everyone, except for the people with the permission to talk..

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

    Wolf7115

    I'll take a look at coding it. It seems simple enough. I just need to know, do you have a plugin that manages other chat channels installed?
     
  15. Offline

    Dingle

    Factions, that's it
     
  16. Offline

    Wolf7115

    I'm done. I believe this does what you want: http://dl.dropbox.com/u/39814665/MuteAll.jar

    Global chat is disabled by default. Let me know if you want this changed.

    The command "/mutetoggle" is used by OPs or anyone with the "MuteAll.toggle" permission to toggle Global Chat's enabled status. OP players or players with the "MuteAll.exempt" permission will be able to chat even when global chat is disabled.

    I haven't tested this with factions, so let me know if there is an issue with this plugin.

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

    Dingle

    Thanks! I will test it

    It works well, but when people are in faction chat, when they talk, it comes up with the message "Global Chat is disabled"
    Thanks that's the only error i have found
    If you could fix it much appreciated :D

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

    Wolf7115

    I have to take a look at factions. I'll get back to you.

    http://dev.bukkit.org/server-mods/factions/

    Is this the factions plugin that you are using?

    If that is, replace your MuteAll with this: http://dl.dropbox.com/u/39814665/MuteAll_1.1.jar

    I still don't have Factions to test from, so please test it for me.

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

    Dingle

    Yes this is the factions I use
    I will test it now

    Could you also make it so the default is Chat ON, Not off? thanks

    It works! Thanks. I just need it so it's default Chat ON now

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

    Wolf7115

    Last edited by a moderator: May 31, 2016
  21. Offline

    Dingle

  22. Offline

    Wolf7115

    Oh, I can do anything. I'll take a look at your thread. No guarantees of me actually doing it. I'll do it if I have the time. It also appears like someone else is looking into it.
     

Share This Page