WHAT DOES THIS PLUGIN OFFER?
Please make a backup of your current config.yml file and have the plugin generate a new config.yml. Then paste all your values from your old config.yml into the new one. I am not responsible if you lose all your configured settings in your config.yml.
ChatUtility is a chat-restriction based plugin that implements the below features:
Anti-Swear
In the configuration file, server owners can enter in blacklisted words. If a player says one of these blacklisted words in their message, a warn message will be sent to the player defined in the configuration file.
Anti-Spam
This feature prevents users from sending the same message consecutively. A warn message will be sent to the player if the player attempts to consecutively say messages.
Chat-Cooldown
Players will have to wait a set amount of time in seconds (defined in the configuration file) before they can send their next message. A warn message will be sent to the player if he or she attempts to send a message before the cooldown has
Character Repeat Restriction
If a player attempts to send the same character(s) consecutively in the same message, the specific character(s) will be reduced to an amount set in the configuration file.
Example: If the maximum is set to '2', the sentence, "I want to buy ChatUtility right nowwwwwwwwwww.", will be reduced to, "I want to buy ChatUtility right noww."
Caps Restriction
All letters in a player's message will be forced to lower-case. However, the server owner can set a maximum of capital letters (defined in the configuration file) allowed to be said. In other words, any word that contains a number of capital letters that is less than or equal to the set maximum will remain in capital letters.
Example: If the maximum capital letters is set to '3', the word, "LOL" will remain capitalized however, the word, "LMAO" will be forced into lowercase letters.
Clear/Lock Chat
A staff member with certain permissions would be able to lock the global chat using /lockchat (unlock the chat by typing in the command again) and would be able to clear the chat using /clearchat. A broadcast announcement will be sent upon locking/unlocking/clearing the chat. If a player attempts to talk during locked chat, a warn message will be sent to the player defined in the configuration file.
Anti-Advertising (NEW)
The feature that everyone has been waiting for - Anti-Advertising. This is not your regular Anti-Advertising checker that most plugins have. My friend has shared a powerful regular expression (special text string for describing a search pattern) that checks for both URLs and IP's. In addition, I have added some of my own checks for advertising. The anti-advertising checker is powerful, yet false-positive free. I have included a white-list where you can include all the URLs or IP's that you wish to exclude from the advertisement checker. I also included a black-list so words that are included in the blacklist trigger the advertisement checker. There is an option whether you want to alert staff with the player and their advertisement using the permission: chat.advertise.alert. Once a player advertises, a punishment can be dealt in the ADVERTISEMENT_PUNISHMENT section where commands can be entered.
WHY SHOULD YOU BUY THIS PLUGIN?
It is true that there are other plugins out there that perform the exact functions as this plugin. However, those plugins usually come with too little features, causing you to install multiple plugins to use all of these features, and other plugins that come with too many features that isn't necessitated by the server owner.
Compared to other plugins, I have an abundance of customizable features in the configuration file along with detailed notes that can guide the confused server owner. In the configuration file, I have allowed server owners to disable any aspect of the plugin that they do not need. The way, the plugin can be designed to meet your server needs. In addition, all messages can be edited, a prefix can be added (can be disabled), and all variables can be edited accordingly.
There are many instances of plugins that have these features, but lack efficient and proper code methodology. I have been a Java and Bukkit developer for almost two years (however, I still lack the knowledge to create advanced plugins as I had no incentive to learn them - such as mini games). I can assure that most of this code is efficient. If you do not trust me, you can ask Skionz, as I had him personally take a look at the source of my plugin.
HOW CAN WE PURCHASE THIS PLUGIN?
The price of this plugin is set at $5.
This plugin is currently uploaded in Spigot.
You may purchase it via this link: http://www.spigotmc.org/resources/chatutility.6188/
*** Contact me @ via.synic on Skype if you have DeluxeChat on your server before buying this plugin.***
Code:
#===============================================[ Notes ]===============================================#
# ------ I RECOMMEND READING ALL OF THESE NOTES BEFORE CONTINUING TO ALTER THE BELOW VARIABLES. ------
#=======================================================================================================#
# - The value of {lock} is either: "&clocked" or "&alocked", depending on whether the chat is locked or
# unlocked.
#
# - "CHAT_STATUS" - is only sent to the player that attempts to speak during locked chat.
#
# - "chat-cooldown" - must be a positive integer in seconds.
#
# - ./chatutility reload" command ONLY reloads the messages. The other variables can only be
# reloaded using PlugMan, ./reload, or a restart of the server.
#
# - "maximum-capital-letters" - refers to the maximum number of letters that can remain
# capitalized in a word. For example, the words: "LOL", "OMG", "HEY" would not be forced to lower-case.
# if "maximum-capital-letters" is set to a value of "3".
#
# - "maximum-character-repeat" - refers to the maximum number of characters that can be
# consecutively repeated in a sentence. For example, the sentence: "I hateeeeee my cat" would be
# converted to "I hatee my cat", if the "maximum-character-repeat" value is set to "2". If it was set
# at "3", then the word "hateeeeee" would reduce to "hateee".
#=======================================================================================================#
[/LEFT]
PREFIX: '&8[&4ChatUtility&8]&7 '
NO_PERMISSION: '&cYou do not have permission to execute this command.'
IMPROPER_USAGE: '&cImproper usage. Proper usage for this command: /clearchat | /lockchat | /cu reload.'
CONFIG_RELOADED: '&cThe configuration file has reloaded successfully.'
CHAT_CLEAR_BROADCAST: '&7The chat has been &acleared &7by &c{username}&7.'
CHAT_LOCK_BROADCAST: '&7The chat has been {lock}&7 by &c{username}&7.'
CHAT_STATUS: '&cThe chat is currently locked.'
DENY_SWEAR: '&cPlease do not swear.'
DENY_SPAM: '&cPlease wait before sending your next message.'
DENY_REPEAT: '&cPlease do not spam.'
DENY_ADVERTISING: '&cYou have been muted for advertising.'
ALERT_STAFF_ADVERTISING: '&c{username} &7has advertised the following: &c{advertisement}&7.'
prefix-enabled: true
message-cooldown-enabled: true
deny-spam-enabled: true
deny-swear-enabled: true
deny-advertising-enabled: true
alert-staff-enabled: true
limit-character-repeat-enabled: true
limit-capital-letters-enabled: true
chat-cooldown: 3
maximum-capital-letters: 3
maximum-character-repeat: 2
SWEAR_BLACKLIST:
- fuck
- cunt
- faggot
ADVERTISING_PUNISHMENTS:
- mute {username} 15m
ADVERTISING_WHITELIST:
- mc-market.org
- prntscr.com
- gyazo.com
ADVERTISING_BLACKLIST:
- mineplex
- hypixel
[LEFT]
Code:
[/LEFT]
name: ChatUtility
author: Hid
main: com.hid.ChatUtility
version: 1.5
description: A plugin that allows staff to blacklist words, add spam-protection, block advertising, and lock/clear the chat.
commands:
chatutility:
aliases: [cu, chatu, cutility]
clearchat:
aliases: [cc, cchat, clearc]
lockchat:
aliases: [lc, lchat, lockc]
permissions:
chat.clear:
description: The permission used to give access to ./clearchat.
chat.lock:
description: The permission used to give access to ./lockchat.
chat.reload:
description: The permission used to give acess to ./chatutility reload.
chat.lock.bypass:
description: The permission used to allow players to talk during a locked chat.
chat.blacklist.bypass:
description: The permission used to allow players to say blacklisted words.
chat.cooldown.bypass:
description: The permission used to allow players to talk without a cooldown.
chat.caps.bypass:
description: The permission used to allow players to freely use capitalized letters.
chat.spam.bypass:
description: The permission used to allow players to talk with duplicate letters.
chat.repeat.bypass:
description: The permission used to allow players to say duplicate messages.
chat.advertise.bypass:
description: The permission used to allow players to advertise URLs or IPs.
chat.advertise.alert:
description: The permission used to allow players to be alerted of an advertisement.
chat.bypass.*:
description: The permission used to give all bypass related permissions.
children:
chat.lock.bypass: true
chat.blacklist.bypass: true
chat.cooldown.bypass: true
chat.caps.bypass: true
chat.spam.bypass: true
chat.repeat.bypass: true
chat.advertise.bypass: true
[LEFT]
Upon purchase of this plugin,
1) You do not have permission to resell or give this plugin to other person.
2) This plugin can only be used on your own server.
3) You cannot decompile or modify the source of the plugin without my permission.
4) There are absolutely no refunds.
5) I am not responsible if this plugin is incompatible with another chat plugin that you currently have on your server, thus no refunds will be given.
1) You do not have permission to resell or give this plugin to other person.
2) This plugin can only be used on your own server.
3) You cannot decompile or modify the source of the plugin without my permission.
4) There are absolutely no refunds.
5) I am not responsible if this plugin is incompatible with another chat plugin that you currently have on your server, thus no refunds will be given.
All purchases will be handled securely via Paypal.
Last edited:
