ChatUtility - ANTI-ADVERT ADDED

Status
This thread has been locked.

Synic

Programmer
Premium
Feedback score
0
Posts
490
Reactions
250
Resources
0
O0DzqGA.png

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.

All purchases will be handled securely via Paypal.
 
Last edited:
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

Synic

Programmer
Premium
Feedback score
0
Posts
490
Reactions
250
Resources
0
Bump.
 

Synic

Programmer
Premium
Feedback score
0
Posts
490
Reactions
250
Resources
0
Glad you added it to Spigot, will get this soon, looks like a must have!
Thanks! <3

Add more
such as anti advertising....
Will be in a near future update! Been busy with school-related work and exams.[DOUBLEPOST=1429831610,1429820324][/DOUBLEPOST]Update:
- Huge rewrite of the ChatListener class.
- Increased efficiency.

There should be a less chance of running into a chat conflict.

Download / Buy the update here: http://www.spigotmc.org/resources/chatutility.6188/
 

PhaseClan

Tinkerer
Premium
Feedback score
10
Posts
484
Reactions
219
Resources
0
O0DzqGA.png

WHAT DOES THIS PLUGIN OFFER?

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.

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/


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 do not have permission to decompile or modify the source of the plugin.
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.

*** This plugin is incompatible with DeluxeChat. ***

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".
#=======================================================================================================#

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.'
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.'
CONFIG_RELOADED: '&cThe configuration file has reloaded successfully.'

BLACKLIST:
- fuck
- cunt
- faggot

prefix-enabled: true

message-cooldown-enabled: true
deny-spam-enabled: true
deny-swear-enabled: true

limit-character-repeat-enabled: true
limit-capital-letters-enabled: true

chat-cooldown: 3
maximum-capital-letters: 3
maximum-character-repeat: 2
Code:
name: ChatUtility
author: Hid
main: com.hid.ChatUtility
version: 1.0
description: A plugin that allows staff to blacklist words, add spam-protection 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.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.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.

All purchases will be handled securely via Paypal.

Note: The buyer must pay first before I proceed to send the plugin.



If you need a video, I'd be willing to make one for you. You can ask V.G Dev if I am legit, we're pretty good friends. Come check out my previous plugin tutorials: https://www.youtube.com/channel/UCDLABr8ydF4R4pqr3C9d_JQ
 

Synic

Programmer
Premium
Feedback score
0
Posts
490
Reactions
250
Resources
0
If you need a video, I'd be willing to make one for you. You can ask V.G Dev if I am legit, we're pretty good friends. Come check out my previous plugin tutorials: https://www.youtube.com/channel/UCDLABr8ydF4R4pqr3C9d_JQ
Aha, thanks for the offer! But, unfortunately I'm not interested. I checked out your channel though and your videos are great! if I do become interested in the future, I'll be sure to contact you! Thank you!

This plugin is so good that I'd use this over chat control and a chat protection I had made for me.
Thank you! <3
 

PhaseClan

Tinkerer
Premium
Feedback score
10
Posts
484
Reactions
219
Resources
0
Aha, thanks for the offer! But, unfortunately I'm not interested. I checked out your channel though and your videos are great! if I do become interested in the future, I'll be sure to contact you! Thank you!


Thank you! <3
No problem! Just trying to grow my channel!
 

Synic

Programmer
Premium
Feedback score
0
Posts
490
Reactions
250
Resources
0
The feature you guys have all been waiting for - ANTI-ADVERTISING.

I have successfully included a powerful, yet false-positive free advertisement checker in ChatUtility.

There is an additional section in my main thread regarding Anti-Advertisement for more information.

The config.yml and plugin.yml (where permissions are located) have been updated as well.

Please make a backup of your current config.yml before generating a new config.yml with the new ChatUtility.jar (for the people who have already bought the plugin).

Buy/Update the plugin here: http://www.spigotmc.org/resources/chatutility.6188/
 

PhaseClan

Tinkerer
Premium
Feedback score
10
Posts
484
Reactions
219
Resources
0
Synic Would you mind adding me on Skype? I have a couple questions I may want to ask. Skype: lukenrip
 

Synic

Programmer
Premium
Feedback score
0
Posts
490
Reactions
250
Resources
0
Update:

After some friendly discussion and a change of heart, ChatUtility will have a wonderful tutorial video - made by PhaseClan.

The video will be in the main thread and will cover all aspects of ChatUtility 1.5.1.

Thank you PhaseClan for this, I appreciate it.

Go check out his channel for more tutorial videos @ https://www.youtube.com/channel/UCDLABr8ydF4R4pqr3C9d_JQ
 

PhaseClan

Tinkerer
Premium
Feedback score
10
Posts
484
Reactions
219
Resources
0

fluffybunnyohya

Feedback score
0
Posts
306
Reactions
85
Resources
0
You're welcome everyone originally this was my plugin but I told synic he could sell it have fun everyone and vouch lol
 

Synic

Programmer
Premium
Feedback score
0
Posts
490
Reactions
250
Resources
0
And proof that this was actually yours?...
What he meant by that is that, I coded this plugin originally as a commission for fluffybunnyohya, for the same price of $5. I asked him if I could resell the plugin and he said I could. And that is how I ended up making this thread.

Ask synic lol and synic good luck on selling it lol
Thanks!
 

PhaseClan

Tinkerer
Premium
Feedback score
10
Posts
484
Reactions
219
Resources
0
What he meant by that is that, I coded this plugin originally as a commission for fluffybunnyohya, for the same price of $5. I asked him if I could resell the plugin and he said I could. And that is how I ended up making this thread.


Thanks!
Kewl
 

Synic

Programmer
Premium
Feedback score
0
Posts
490
Reactions
250
Resources
0
UPDATE:

The video tutorial by PhaseClan has been made and is now on the front page of the thread.

Thank you lukenrip and I hope the community gets a better clarification of the functionality of the plugin.

Thanks,
Synic / Hid
 

Synic

Programmer
Premium
Feedback score
0
Posts
490
Reactions
250
Resources
0
Status
This thread has been locked.
Top