Anti-Curse [1.8 ~ 1.12] 2.3.0

Blocks swearing in global chat and commands!

  1. Update #13 - v2.3.0 - Logs

    Hello everyone, I have added logs to the plugin. That means whenever someone curses in chat, its logs into the swears.txt file in the Logs folder.
    If players curses and they have the bypass permission, the cursing wont be logged!

    A new folder will be loaded up when you restart your server or restart the plugin with plugman called Logs.

    A new file will be loaded up when you restart your server or restart the plugin with plugman called swears.txt, thats where everything will be logged.

  2. Titles Added

    • I made it so players are sent a title when they curse in chat, if you wish to use this feature you much add the plugin TitleAPI to your server and Enable the TitleAPI feature in the config.yml
    Config Changes:
    Add this to line 37 in the config.yml:
    Code (Text):
    #In this area you have to add the plugin TitleAPI to your server, if you add it to your server please turn enable to true.
    #If you do not have titleapi on your server and the enable section is set to...
  3. Better Anti-Curse Checker

    I have changed the way anti curse checks when a player curses in chat, this new version will...
    Block words together if a curse word is in the line
    (Example: YouAreAPieceOfCrap)
    that will be blocked and staff will be notified!

    Block words with spaces between them!
    (Example: C R A P)
    That will be blocked and staff will be notified!

    Same thing will be blocked when players curse in commands!

    If anyone has any problems, questions, or concerns please PM me!
    If you like this plugin please...
  4. Update #10, Config Bug Fix

    Hello everyone, I have created a discord server that you can all join for support of the plugin. You are all welcome to join whenever you want, the link to the discord server is on the bottom of the resource page, and right here:

    • Fixed a bug where staff don't get notified when a player curses in commands
    I have changed the code up on how the config files loads, no longer will there be spam in...
  5. Update #9

    I've added a bypass permission for /anticurse clearchat, AntiCurse.Bypass, meaning players with that permission wont have their chat cleared, make life easier for staff.
    Added the placeholders %player% and %displayname% for line 30
    Code (Text):
    Message: "%prefix% &cChat has been cleared!"
    I recommend changing that line to:
    Code (Text):
    Message: "%prefix% &cChat has been cleared by %player%!"
    so staff knows who cleared chat.
    Players with the permission anicurse.bypass will only get that...
  6. Update #8, Re-code Everything

    I re-coded everything in this plugin making it look and run more efficiently.
    New look to the code, making it look much more organized
    Changed the look of the config.yml, must delete the config or go to the resource page and copy and paste everything that has been changed
    if the config isn't changed to look how its supposed to the plugin will work, you will just get a lot of errors

    Changed the look to /Anticurse help and /Anticurse info
    Changed a lot of the error...
  7. Blocked more words

    Made it so words in the BannedWords.yml will be blocked in commands
    Example: /msg <player> you're an ass
    That msg will be blocked and wont go through, and will be notified to staff if its enabled, and well as a command will be executed to do what ever you set it to.

    Fixed a small typo in the config
    Code (Text):
    #Message you receive when you clear chat - AntiCurse.ClearChat
    If anyone has any suggestions please PM me
    If anyone wants to report a bug please PM me
    Norska likes this.
  8. Bug Fixes and More Configurable Options

    1. Fixed a typo where when you do /AntiCurse ClearChat it doesn't show the prefix
    2. Changed up a lot in the config, you can either delete it and have a new one generate, or copy and paste all the new stuff in, the updated config is in the Config Spoiler.
    3. Fixed up a lot of the code.

    Code (Text):
    # +-----------------------------------------------------+
    # <                      Anti-Curse                     >
    # <                  Creator and Author...
  9. Updated Clear Chat Messages

    I changed the way broadcasted a msg comes when you clear chat
    replace this:
    Code (Text):
    Header: "&f*&c&m--------------------------------------------&f*"
    Middle: "&eThe chat has been cleared by"
    PlayersName: "%players_displayname%"
    Footer: "&f*&c&m--------------------------------------------&f*"
    with this:
    Code (Text):
    BroadcastMessage: #MAKE SURE THIS NAME IS HERE
      - "&f*&c&m--------------------------------------------&f*"
      - "&eThe chat has been cleared by"
  10. Bug Fixes

    Fixed the permission AntiCurse.Bypass
    Edited some code