GreenFilter | Filter messages in Chat, Commands, Signs, Books, Usernames, and Items. [1.20] icon

GreenFilter | Filter messages in Chat, Commands, Signs, Books, Usernames, and Items. [1.20] -----

Ads-Swearing-Caps-Flood-Spam filtering solution for your server.



GreenFilter is a powerful message filtering solution designed to support multiple communication platforms: Chat, Commands, Signs, Books, Usernames, and Items. It can detect Ads, Swearing, Caps, Flood, and Spam.

It also has additional features like chat disable/enable, notifications when a player pings you, and the ability to clear server chat.


Commands:
upload_2024-4-20_13-31-31.png
Check documentation for permissions.

Code (YAML):
#hello this is chat plugin created by GreenedDev
#what does this plugin do?
#you can block swearing/advertising in chat, books, signs, commands, on item names and even in player nickname too!
#here is our config


anti-swear-words
:
 - "shit"
  - "your mom"
anti-advertising-blacklist
:
 - "badserver.com"
  - "play.hypixel.net"
punish-commands
:
  book
:
    advertising
: "/ipmute %player% -N 3h Violation of chat rules [Advertising]"
    swearing
: "/ipmute %player% -N 3h Violation of chat rules [Swearing]"
    advertising-message
: "&cCHAT: %player% failed advertising in a book &7(%reason%)"
    swearing-message
: "&cCHAT: %player% failed swearing in a book &7(%reason%)"
  command
:
    advertising
: "/ipmute %player% -N 3h Violation of chat rules [Advertising]"
    swearing
: "/ipmute %player% -N 3h Violation of chat rules [Swearing]"
    advertising-message
: "&cCHAT: %player% failed advertising in command &7(%reason%)"
    swearing-message
: "&cCHAT: %player% failed swearing in command &7(%reason%)"
  item
:
    advertising
: "/ipban %player% 6d Violation of rules [Advertising]"
    swearing
: "/ipban %player% 30m Violation of rules [Swearing]"
    advertising-message
: "&cCHAT: %player% failed advertising with item &7(%reason%)"
    swearing-message
: "&cCHAT: %player% failed swearing with item &7(%reason%)"
  username
:
    advertising
: "/ban %player% Violation of rules [Advertising]"
    swearing
: "/ban %player% Violation of rules [Swearing]"
    advertising-message
: "&cCHAT: %player% failed advertising in username &7(%reason%)"
    swearing-message
: "&cCHAT: %player% failed swearing in username &7(%reason%)"
  chat
:
    advertising
: "/ipmute %player% -N 3h Violation of chat rules [Advertising]"
    swearing
: "/ipmute %player% -N 3h Violation of chat rules [Swearing]"
    advertising-message
: "&cCHAT: %player% failed advertising in chat &7(%reason%)"
    swearing-message
: "&cCHAT: %player% failed swearing in chat &7(%reason%)"
  sign
:
    advertising
: "/ipban %player% 6d Violation of rules [Advertising]"
    swearing
: "/ipban %player% 30m Violation of rules [Swearing]"
    advertising-message
: "&cCHAT: %player% failed advertising in sign &7(%reason%)"
    swearing-message
: "&cCHAT: %player% failed swearing in sign &7(%reason%)"
options
:
  anti-spam
:
    enabled
: true
    delay
: 3 #in seconds
  commands-anti-spam
:
    enabled
: true
    delay
: 1 #in seconds
  anti-caps
:
    enabled
: true
    #limit of uppercase letters in the message. after the limit is exceeded player will get warning of caps.
    limit
: 6
  anti-flood
:
    enabled
: true
    #the checking radius. this is used in many flood-check logics. to answer short,
    #if a char repeats N times in the message it will flag. (N = radius)
    radius
: 5
  anti-repeat
:
    enabled
: true
    #If the player's last message's length is lower than this then he's next message will not be checked as try of repeated message.
    size-barrier
: 8
  anti-syntax
:
    enabled
: true
  #if command starts with these we will not do checks on the command.
  commands-whitelist
:
   - register
    - reg
    - login
  mentions
:
    enabled
: true
    sound
: BLOCK_NOTE_BLOCK_PLING
language
:
  commands
:
    clear-chat
:
      player
: "&aThe chat was cleared by %player%"
      console
: "&aThe chat was cleared by Console"
    toggle-alerts
:
      enable
: "&aChat alerts are now enabled!"
      disable
: "&cChat alerts are now disabled!"
    toggle-chat
:
      chat-is-disabled
: "&cServer Chat is disabled by &6%player%"
      someone-disabled-chat
: "&cServer Chat has been disabled by &6%player%"
      someone-enabled-chat
: "&aServer Chat has been enabled by &6%player%"
  reload
: "&aSuccessfully reloaded!"
  no-perm
: "&cYou do not have permission to execute that command!"
  update-available
: "&a[GreenChat] &bAn update &6%newversion% &bfor the GreenChat plugin is now available. Download it from &bhttps://www.spigotmc.org/resources/116285/"
  warn
:
    anti-spam
:
      chat
: "&cPlease wait &6%seconds% &cbefore sending another message!"
      commands
: "&cPlease wait &6%seconds% &cbefore sending another command!"
    anti-caps
: "&cYou are using too many caps!"
    anti-flood
: "&cYou can't send too large messages!"
    anti-repeat
: "&cCHAT: You can't repeat same message!"
    syntax
: "&cSyntax is disabled in this server!"
  help
:
   - "&aGreenFilter Commands:"
    - "&e/chat &7- &bDisplays this message."
    - "&e/chat clear &7- &bClear Chat for all players."
    - "&e/chat alerts &7- &bToggle notification sound when players mention you."
    - "&e/chat toggle &7- &bToggle server chat for everyone."
    - "&e/greenfilter reload &7- &bReload the plugin's config."

Notifications: (the detected words are underlined so you can read it easily)
upload_2024-4-20_17-48-20.png

That's it. Please use discord link below to get support.
https://discord.gg/2zZChX9AEN


[​IMG]
Resource Information
Author:
----------
Total Downloads: 60
First Release: Apr 20, 2024
Last Update: Apr 21, 2024
Category: ---------------
All-Time Rating:
0 ratings
Find more info at discord.gg...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings