Plugin that disables the chat for everyone.

Discussion in 'Plugin Requests' started by ioi_xd, Mar 11, 2018.

Thread Status:
Not open for further replies.
  1. Offline

    ioi_xd

    I'd like to replace my server's chat with a channel on my Discord, as the Minecraft chat isn't very good in my opinion. I've already downloaded a plugin that broadcasts messages from a certain channel to the chat. However, I'd like to make it one way, so that the players can't chat through Minecraft. The plugins I've found for this so far don't work, and I've been left to download a censor plugin and censor every key on the US keyboard (because that's type I own.) It would be really nice to have an alternative to this.
     
  2. Offline

    Zombie_Striker

    @ioi_xd
    Could you post which plugin you are using? There may be a configuration section to disable this.
     
  3. Hey,
    If I understood correctly you just want a plugin that disables the normal minecraft chat? Or do you need a plugin that disables the normal minecraft chat and sends the messages of the discord channel to the chat?
    Sorry for my bad english, I'm german.

    Best regards,
    baeni
     
  4. Offline

    Concube

    So you just want a plugin that makes players unable to send chat messages? Thats it?
     
  5. Offline

    ioi_xd

    Yeah. I found out how to do this with ChatControl. But it would still be nice to have a plugin that does this exclusively. The current one enables it for admins and you have to execute a command every time the server starts up to do it. I'd like to disable it entirely and automatically, and output a message when one tries to do it. I would like it to allow non-player messages though, as we have another plugin that broadcasts the Discord messages to the Minecraft chat.
     
  6. Offline

    Gezicht

    Will try and make this if I have some free time.
     
  7. Offline

    CodeVyxis

    So you want Players to not be able to chat but discordSRV to be able (Or what ever Discord plugin you use)

    Do your admins have OP rights or the "*" permission node?
     
  8. If you can specify a rule just put if it doesn't start with a '/' then cancel the chat.
     
  9. Offline

    CodeVyxis

    That's pretty easy since you just have to get the message from the AsyncPlayerChatEvent and check if it starts with "/"
    and if not you cancel the event. Done. The only thing would be to check if the Discord plugin uses PlayerChatEvents or just broadcasting methods.
     
  10. Offline

    Concube

    I am going to make this using Skript once I get a chance.
    @ioi_xd
    I will have 3 modes, one being disabled - anyone can talk. 2nd mode will be enabled - where only players with a certain permission will be able to use chat. The 3rd mode is fully silenced - where no one is able to talk unless they have permissions that override that somehow. Does this sound similar to what you want?
     
    Last edited: Mar 19, 2018
  11. Options two and three sound the same. It sounds like notalking.users and notalking.bypass
     
  12. Offline

    Concube

    Nah, third one was intended to be complete silence where noone can talk at all, only thing is I was worried about were bypasses to it, but I tested with OP and it still blocked messages.

    I made the plugin in Skript. Quick overview -
    There are 3 modes - Disabled, Partial, and Complete. Once you do the command first time it will just start the whole thing up. After that it works well.
    The partial mode is where only people with 7gn.silence.chat can communicate. I suppose OP works too.
    Complete is where NOONE can chat.
    Disabled is where the silencer is disabled.

    If you have questions, find a bug, or want something changed, please contact me @ioi_xd
    All you need to do to download the plugin is get Skript, once you get a Skript folder just put the .sk file I gave you into the scripts folder located inside the Skript folder.

    Download: Redacted
     
    Last edited by a moderator: Mar 20, 2018
  13. You set an encryption key...
     
  14. Offline

    Concube

    Huh? I just started using MEGA, how do I undo that xd

    Okay, I guess I will give the link with the encryption key itself? Can @ioi_xd reply since he is the one who requested this plugin and I want to make sure he didn't abandon this request. I don't want the plugin to go to waste, because if he doesn't use it then it can be my private
     
  15. IDK about @timtower but I'd like to see it just for the sake of making sure it's safe. A plugin this simple wouldn't take that long to whip up. Honestly it would probably take longer to get the plugin ready to code and build verses actually writing the actual code.
     
  16. Offline

    Concube

    i mean i used skript for it so it was decently quick lol
    also it is safe lmao, you can check once i know the guy is here and actually wanting to use it, i'm still posting link in here
     
  17. Offline

    timtower Administrator Administrator Moderator

    @Concube Could have attached a txt file... Or put it in http://pastebin.com or one of the many similar sites.
    Redacted the mega url.
    Please check the rules for allowed sharing methods.
     
    Last edited: Mar 21, 2018
  18. Offline

    Concube

    @timtower
    Skript skripts work as .sk files, essentially txt files with a custom extension so Skript reads it. I will post the .sk file itself so the person for whom it was made, assuming he's still interested in it, through MEGA. MEGA doesn't seem to be disallowed on the rules list, so I'm assuming it should be fine?
    @ioi_xd
     
  19. Offline

    timtower Administrator Administrator Moderator

    @Concube I removed it with a reason, same stuff happening there as mediafire.
    Why would you need to use mega anyways? It is a text file, you can put it in a post here using [code] <script here> [/code], pastebin or as attachment.
     
  20. Offline

    Concube

    I'm new to sharing files lol, MEGA seemed to be free. Didn't know it also put ads.
    I guess I'll pastebin the file or something.
    @timtower
     
    Last edited: Mar 21, 2018
Thread Status:
Not open for further replies.

Share This Page