NoSwearing

logo

logo

Overview

This plugin prevents swearing on bukkit minecraft servers. It monitors chat messages, signs, /me commands, private messages, custom made items using anvil, books, and nicknames for restricted words in the config file. Offenders are stored in the config file. You can configure the plugin to kick or ban on the final warning.

This plugin uses regular expressions for words.

Features

Monitors

  • Player chats
  • Signs
  • Private messages
  • Items named with the Anvil
  • Book text and titles
  • Manual warnings
  • Mute players for a configured time frame after swearing.

Flags

  • Ignore OPs from any checks.
  • Censor messages by replacing the restricted word with another, including player name (%name%).
  • Words that are abused are also logged to show frequency.
  • Block words like "d$%n", "d a m n", and "@$$" with the advanced option.
  • Block single character words and check for swears using a queue for players who like to swear using separate lines.
  • Additionally you can remove vowels from words to compare what players are writing.
  • Numbers are removed during checks to thwart things like "da1mn".
  • Patterns are checked for words like "dddaaaammmnnnnn". This would be flagged.
  • Can censor using a random replacement word.
  • Can run custom commands instead of kicking a player.

Allowances

  • Standard word conventions such as apostrophes are permitted within certain restraints. "I'm", "don't", "you're" will not be flagged, while "cr'ap" would be flagged.
  • Websites are allowed.
  • & colors are not flagged.
  • Symbols "-" and "_" are allowed in specific patterns.
  • Online usernames are not flagged.
  • Allow list is used to enable words with symbols like "o_O".

History

The reason that I wrote this was because I have been finding signs all over my server with restricted words and couldn't find a plugin that checked signs. I decided not to stop there and that is why this plugin restricts swearing in more than just chat.

Usage

Example:

  1. To block hell but not hello, the plugin understands hell!o as matching hell but not hello.
  2. Word borders are understood as /b. borders can only be at the beginning or end of a word.
  3. /i is used to ignore words for the removeVowels option.

Commands

  • /ns warnings - View your current warnings
  • /ns report - Report the last flagged word for owners review
  • /ns info - View plugin info
  • /ns add <word> - Add a word to the banned list
  • /ns allow <word> - Add a word containing symbols to the symbols allowed list.
  • /ns exempt <player> - Stop issuing warnings to specified player
  • /ns notexempt <player> - Remove player for exempt list and continue issuing warnings
  • /ns review - View all the words users flagged for review
  • /ns remove <word> - Remove players request to review word
  • /ns removeall - Remove all player requests for reviewing words
  • /ns clear <player> - Remove warnings player has received
  • /ns delete <word> - Remove a word from the banned words list

Permissions

  • - ns.add
  • - ns.allow
  • - ns.exempt
  • - ns.notexempt
  • - ns.review
  • - ns.remove
  • - ns.remove
  • - ns.clear
  • - ns.delete

Configuration

Configuration file information Youtube review

Source Code

Source Download

Comments

Please give me input, thank you.

My website: http://www.graphicport.net

My server: http://minecraft.graphicport.net

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of fleebow8 fleebow8 Aug 07, 2014 at 18:44 UTC - 0 likes

    @tubelius: Go Probably

    BFAK:90977825,f5e062cc8f07335691f9bece08b336a3c79e7dd8a1329f5a4eb4d11a87341591

  • Avatar of InfinityNetwork InfinityNetwork May 27, 2014 at 19:54 UTC - 0 likes

    If players are muted by essentials they can still message if they violate the no swearing system.

    i.e. I have just been muted, I can't message with normal chat, but if a use a word that isn't allowed on NoSwearing I can still chat.

    Also, please make a reload config command, or make it so i can upload a config and on the restart it'll use the new config, at the moment the server has to be offline whilst uploading a file which is terrible for any server that wants to actually do well :D

    Last edited May 27, 2014 by InfinityNetwork
  • Avatar of PlusMCPKBPK PlusMCPKBPK May 20, 2014 at 11:07 UTC - 0 likes

    how to allow player swearing ?

    Plugin incorporate

  • Avatar of flapjack1968 flapjack1968 May 08, 2014 at 17:47 UTC - 0 likes

    Thanks for creating this plugin. Very helpful, but I notice that after the "final warning" it stops taking action as if the final action is always to ban. I chose 60 minutes in jail as the final action expecting it would continue to jail the player each time they swear after the warnings were exhausted. Is that possible? (craftbukkit 1.7.9)

    Thanks!

  • Avatar of starkingchris starkingchris Apr 05, 2014 at 02:38 UTC - 0 likes

    Hi! I'm a server owner (MC.DarkWolfGames.Net) I was wondering if you can disable the announcement saying why the player was kicked? It would be nice! PM me if you use it! Or if it is already possible.

  • Avatar of BlackFing85 BlackFing85 Apr 02, 2014 at 17:07 UTC - 0 likes

    Can you add changeable prefix?

  • Avatar of tubelius tubelius Feb 23, 2014 at 08:40 UTC - 0 likes

    Nice plugin. Why is ns.remove twice in the permissions list? Is the other one supposed to be ns.removeall?

    BFAK:90947941,f3e0d3b5cc59635a0f4e2e4bcf9e4e2955d46255e5355f5c0854f1c0f8fb7794

  • Avatar of Interested Interested Feb 02, 2014 at 14:04 UTC - 0 likes

    Awesome thank you :) Do you have a Dev builds site?

  • Avatar of xavierarmadillo xavierarmadillo Jan 27, 2014 at 15:25 UTC - 0 likes

    @Interested: Go

    Hi, yes it seems the player name exemption isn't working. F@ck should be blocked is you are blocking symbols. If I fix the player name thing that should help. The allowed list is more for adding in things like "0_0", not individual symbols.

    Lemme see what I can do.

  • Avatar of xavierarmadillo xavierarmadillo Jan 27, 2014 at 15:22 UTC - 0 likes

    @NickLanding: Go

    Lemme see what I can do.

Facts

Date created
Jan 15, 2013
Categories
Last update
Dec 18, 2013
Development stage
Release
Language
  • enUS
License
Public Domain
Curse link
NoSwearing
Downloads
7,518
Recent files

Authors