Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ###########################################################
- # SpamDetector by Zwoosks #
- # Do not edit this plugin, decompile or redistribute it #
- ###########################################################
- # ANTISPAM PERMISSIONS:
- # antispam.bypass
- # antispam.notify
- # VERY IMPORTANT INFORMATION:
- # This plugin will only consider albhabetic chars (abcde... ñ, ç, etc) and numbers (spaces not included)
- # Due to this, please, if for example you want to block serv.nu word, you'll have to block servnu
- # If you want to block for example çpço block coco and the same for the other non-English chars (ñaña = nana, íe = ie, etc)
- # By this way, people won't bypass the antispam replacing dots by other chars
- ################# MESSAGES SECTION #################
- # Configure general messages in this section #
- ####################################################
- beenBannedMessage: "&c&lYou've been banned by the antispam!"
- banMessageNotifier: "&d&lSpamDetector >> &e%player% &2has been banned by the antispam."
- ################# PLACEHOLDERS INFORMATION #################
- # placeholders for reasonBanMessage, notifyBanMessage and dispatchedCommand:
- # %player% = banned player
- # %illegalWord% = blocked word
- # %itemText% = text of the item name
- #################### ANVIL ####################
- # CONFIGURATION #
- ###############################################
- anvil:
- bannedWords:
- - anviltest
- - etc
- cancelEventOnPlayerBan: true
- banPlayer: true
- runCommand: true
- dispatchedCommand: "say Bye bye, %player%!"
- reasonBanMessage: "&c&lReason: &2You wrote &e%illegalWord%&2 in &e%itemText%&2 on an anvil.\n&eYou can appeal your ban in https://www.example.com/appeal/"
- banNotifier:
- notify: true
- notifyMessage: "&c&lReason: &2Detected &e%illegalWord%&2 in &e%itemText%&2 in an anvil."
- #################### BOOKS ####################
- # CONFIGURATION #
- ###############################################
- books:
- bannedWords:
- - booktest
- - etc
- cancelEventOnPlayerBan: true
- banPlayer: true
- runCommand: true
- dispatchedCommand: "say Bye bye, %player%!, this is a book test"
- reasonBanMessage: "&c&lReason: &2You wrote &e%illegalWord%&2 in &e%itemText%&2 on a book.\n&eYou can appeal your ban in https://www.example.com/appeal/"
- reasonBanBooktitleMessage: "&c&lReason: &2You wrote &e%illegalWord%&2 in &e%itemText%&2 on a book title.\n&eYou can appeal your ban in https://www.example.com/appeal/"
- banNotifier:
- notify: true
- notifyMessage: "&c&lReason: &2Detected &e%illegalWord%&2 in &e%itemText%&2 on a book."
- notifyMessageBooktitle: "&c&lReason: &2Detected &e%illegalWord%&2 in &e%itemText%&2 on a book title."
- ################ CHAT MESSAGES ################
- # CONFIGURATION #
- ###############################################
- chat:
- bannedWords:
- - joinmyse
- - etc
- cancelEventOnPlayerBan: true
- banPlayer: true
- runCommand: true
- dispatchedCommand: "say Bye bye, %player%!, this is a chat test"
- reasonBanMessage: "&c&lReason: &2You wrote &e%illegalWord%&2 in &e%itemText%&2 in the chat.\n&eYou can appeal your ban in https://www.example.com/appeal/"
- banNotifier:
- notify: true
- notifyMessage: "&c&lReason: &2Detected &e%illegalWord%&2 in &e%itemText%&2 on the chat."
- #################### SIGNS ####################
- # CONFIGURATION #
- ###############################################
- signs:
- bannedWords:
- - universocraft
- - etc
- cancelEventOnPlayerBan: true
- banPlayer: true
- runCommand: true
- dispatchedCommand: "say Bye bye, %player%!, this is a SIGN test"
- reasonBanMessage: "&c&lReason: &2You wrote &e%illegalWord%&2 in &e%itemText%&2 on a sign.\n&eYou can appeal your ban in https://www.example.com/appeal/"
- banNotifier:
- notify: true
- notifyMessage: "&c&lReason: &2Detected &e%illegalWord%&2 in &e%itemText%&2 on a sign."
- ############## ONLINE/OFFLINE MODE ##############
- # SPECIFY IT HERE #
- #################################################
- # Enable for online servers, disable for offline servers.
- # IF YOUR SERVER IS IN OFFLINE MODE AND YOU ENABLE THIS OPTION, PLAYERS WILL BE ABLE TO BYPASS THE BAN CHANGING FROM LOWER TO UPPER CASE
- # AND FROM UPPER TO LOWER CASE (zwoosks -> zwooskS : the UniqueUUID won't be the same if your server is in offline mode).
- online: false
- ############### MYSQL INFORMATION ###############
- # MYSQL DATABASE INFO #
- #################################################
- username: zwoosks
- password: 0607ckx
- database: antispam
- host: localhost
- port: 3306
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement