Can someone make this plugin to stop swearing?

Discussion in 'Archived: Plugin Requests' started by iPodHacks142, Nov 3, 2012.

  1. Offline

    iPodHacks142

    Hi. I need a plugin that sends console commands when someone swears. I want to be able to send this command when someone swears: "/jail <player> 5 jail swearing" (jail plugin). It should have second, third and forth consequences so when someone swears a second time it jails them for 10 mins. 3rd should be "/tempban <player> 2d". and so on. These should also be customisable. Can anyone do this?

    EDIT: should also be able to add custom swears to the config.
     
  2. Offline

    kaketoe

    nice idea
    there alredy exists a plugin to stop swearing and edit it to your words
    but not to jail them if they swear
     
  3. Offline

    KeybordPiano459

    Is my AntiCurse ok? If you need, PM me on BukkitDev and I can add a few more features.
     
  4. Offline

    iPodHacks142

    Looks cool. Can you add the features above?
     
  5. Offline

    KeybordPiano459

    Yeah, I can get started. I should have this released in a few days, do you need it soon?
     
  6. Offline

    iPodHacks142

    Kinda. My server just started to get really popular and there are a few people that come on that don't read the rules.
     
  7. Offline

    KeybordPiano459

    D: Almost done, don't understand why my code doesn't work =/
     
  8. Offline

    Woobie

    Do you need help? :p
     
  9. Offline

    KeybordPiano459

    No, I think I'm almost done...
     
  10. Offline

    iPodHacks142

    :D
     
  11. Offline

    AndyMcB1

    You could mute them until the plugin is up? Like the people's who swear.
     
  12. Offline

    Canownueasy

    I would recommend my plugin NoThanks to prevent swearing on your server. Though it does not have the feature you described, it uses a better algorithm than other plugins in that it combats multiple forms of swears (e.g. if you block "hello" then "H3l10" is blocked automatically) and forces the user to retype his message if it contains a swear (therefore swears are not shown to other players). It is a lightweight plugin and does not impact server performance. Might I also recommend using Fixie in combination with NoThanks to autocorrect bad grammar, abbreviations, and only common literary mistakes.
     
  13. Offline

    redranger

    ChatCensor can run a command when someone swears or uses a word on the blacklist.

    By default it's 'smite', which is pretty fun but you could change it to jail.
     
  14. Offline

    KeybordPiano459

    Noooooo use my plugin :) I'm done, will be uploading later today.

    Also, my plugin doesn't block words within words. For example, if you banned ass, you don't get kicked for assassin.

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

    iPodHacks142

    Can you send me the .jar?
     
  16. Offline

    iPodHacks142

    please?
     
  17. Offline

    KeybordPiano459

    Sorry, been really busy the last day or two and haven't been able to test much. I'll release tomorrow definitely.
     
  18. Offline

    iPodHacks142

    Ok. Can you please post the link here when uploaded
     
  19. Offline

    Hoolean

  20. Offline

    KeybordPiano459

    I'm on the bus, I'll upload mine when I get home. Also, let me know if you want any features added to this, I think my plugin has lots of potential.

    Ok, I'm able to get people in the jail, but I can't get them out after a set period of time =/

    @Devs
    Can someone look at my code and tell me how to fix it?
    http://github.com/keybordpiano459/AntiCurse/

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

    iPodHacks142

    I'm using the Jail plugin for that

    I just want it it send the commands.

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

    KeybordPiano459

    Oh. I guess I could do that rather quickly, I'll finish when I get home from school, but I will continue trying to make my own jail.
     
  23. Offline

    iPodHacks142

    Can you release it without the jail and just the commands soon?
     
  24. Offline

    KeybordPiano459

    Well you can play around with the features and everything, but for now the jail is broken if you want to try it out. Check ALL of the comments in the config, as it tells you how to use it. Enjoy.
    https://dl.dropbox.com/u/34152054/AntiCurse.jar
     
  25. Offline

    iPodHacks142

    I'm just trying it now. But when i do the command to jail people with the Jail plugin it does nothing. Just does not send the message. Any idea why?
     
  26. Offline

    KeybordPiano459

    The command should be something like 'jail %PLAYER% 5'. Don't use slashes, and contact me if you still need help.
     
  27. Offline

    iPodHacks142

    I did it like that. It was set to COMMAND and it still didn't work.
     
  28. Offline

    KeybordPiano459

    Can you show me your config? Also is there an error in console when someone curses?
     
  29. Offline

    iPodHacks142

    No errors. Here the config:
    (sorry but I had to show the swears)
     
  30. Offline

    KeybordPiano459

    I understand... also you did reload the server after editing the config, right?
     

Share This Page