Chat silencing plugin!

Discussion in 'Archived: Plugin Requests' started by jaradzoida, Jan 3, 2013.

  1. Offline

    jaradzoida

    Plugin category: Chat

    Suggested name: SilenceAll

    What I want: I want a pretty simple plugin that can silence all chat. So that only ops can talk. I also think it would be nice if you could set the message you get when the server is silenced. For example, say the server is silenced, some random person tries to chat but it tells them "You can't talk right now. The server is silenced". Something like that would be awesome.

    Ideas for commands: /silenceall

    Ideas for permissions: silence.bypass

    When I'd like it by: Doesn't really matter.

    Note: I have seen maybe 2 plugins that do this but they are out of date and don't work.
     
  2. Offline

    ahotes09

    So a server without talking.....
     
  3. Offline

    zack6849

    I see the need for this, give me a few minutes and ill do it :D
     
  4. Offline

    jaradzoida

    It's for momentary server notices. Just so op's can talk and make a little announcement for a minute or two.
     
  5. Offline

    zack6849

    Sorry for the delay, but its done! :D

    Commands
    • silence on
    • silence off
    Permissions:
    • silence.bypass
    • silence.toggle
    The config is a bit more complicated to explain.

    The {PLAYER} variable represents the user who enabled it's name.
    The messages do support color codes.

    Code:
    #enable messages
    enable:
    #broadcasted when enabled
      broadcast: '&a{PLAYER} muted the chat.'
    #sent to the user when they try to talk
      message: '&4Sorry, you cant chat right now.'
    disable:
    #broadcast on disable
      broadcast: '&a{PLAYER} un-muted chat.'
    
    download it here
    I'll be posting this to bukkitdev shortly
    and now i feel stupid... as i was posting it i found this
    http://dev.bukkit.org/server-mods/silence/
    use that one if you wish, up to you
     
  6. Offline

    jaradzoida

    I used the version you made. It works perfectly! Thank you so much!
     
  7. Offline

    zack6849

    No problem :D
     

Share This Page