Anti-Curse [1.8 ~ 1.12] 2.3.0

Blocks swearing in global chat and commands!

  1. Update #13 - v2.3.0 - Logs

    H1DD3NxN1NJA
    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.

    This...
  2. Titles Added

    H1DD3NxN1NJA
    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

    H1DD3NxN1NJA
    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

    H1DD3NxN1NJA
    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: https://discord.gg/Txv7aXq

    Fixed:
    • 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

    H1DD3NxN1NJA
    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

    H1DD3NxN1NJA
    I re-coded everything in this plugin making it look and run more efficiently.
    New:
    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:
    Changed the look to /Anticurse help and /Anticurse info
    Changed a lot of the error...
  7. Blocked more words

    H1DD3NxN1NJA
    New:
    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.

    Changes:
    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

    H1DD3NxN1NJA
    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

    H1DD3NxN1NJA
    I changed the way broadcasted a msg comes when you clear chat
    replace this:
    Code (Text):
    ClearChatBroadcastMessage:
    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

    H1DD3NxN1NJA
    Fixed the permission AntiCurse.Bypass
    Edited some code