This is a very simple AntiSwear plugin made by me. ( My 2nd plugin )
This plugin has an easy config.
Code (Text):# You need to put a new "- <word>" to block a word
# To change the color I recommend you to recreate the message/prefix
# When you recreate the message/prefix please use "<message>" ("" is needed!)
# Example | block-message: "\xa7aPlease be \xa7erespectful!"
# \xa7 = & | a = green | &a | easy right?
# The /xa7 bug will be solved soon!
# Do not put a space to prefix
block-message: "§cPlease be respectful!"
reload-message: "§aYou reloaded the config.yml!"
no-perm-message: "§cYou don't have permission to use this command!"
globalmute-enable-message: "§bGlobal mute enabled by"
globalmute-disable-message: "§bGlobal mute disabled by"
globalmute-block-message: "§cYou can't speak when the globalmute is enabled!"
Commands and permissions
/antiswear | No permission
/antiswear update | No permission
/antiswear version | No permission
/antiswear reload | antiswear.reload
/antiswear add | antiswear.add
/antiswear delete | antiswear.delete
/antiswear prefix | (This command is coming soon!)
/antiswear globalmute | antiswear.globalmute | antiswear.globalmute.speak to speak when the globalmute is enabled!
Almost all messages are configurable!
You can add/delete words in-game!
You can mute/unmute all players if the chat is spammed
Found a bug? Contact me via PM and i'll solve it !
Thanks for reading!