SHARE
TWEET

Untitled

a guest Jul 22nd, 2019 107 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ###########################################################
  2. #                 SpamDetector by Zwoosks                 #
  3. #  Do not edit this plugin, decompile or redistribute it  #
  4. ###########################################################
  5.  
  6. # ANTISPAM PERMISSIONS:
  7. # antispam.bypass
  8. # antispam.notify
  9.  
  10. # VERY IMPORTANT INFORMATION:
  11. # This plugin will only consider albhabetic chars (abcde... ñ, ç, etc) and numbers (spaces not included)
  12. # Due to this, please, if for example you want to block serv.nu word, you'll have to block servnu
  13. # 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)
  14. # By this way, people won't bypass the antispam replacing dots by other chars
  15.  
  16. ################# MESSAGES SECTION #################
  17. #    Configure general messages in this section    #
  18. ####################################################
  19. beenBannedMessage: "&c&lYou've been banned by the antispam!"
  20. banMessageNotifier: "&d&lSpamDetector >> &e%player% &2has been banned by the antispam."
  21.  
  22. ################# PLACEHOLDERS INFORMATION #################
  23. # placeholders for reasonBanMessage, notifyBanMessage and dispatchedCommand:
  24. # %player% = banned player
  25. # %illegalWord% = blocked word
  26. # %itemText% = text of the item name
  27.  
  28. #################### ANVIL ####################
  29. #                CONFIGURATION                #
  30. ###############################################
  31. anvil:
  32.     bannedWords:
  33.        - anviltest
  34.         - etc
  35.     cancelEventOnPlayerBan: true
  36.     banPlayer: true
  37.     runCommand: true
  38.     dispatchedCommand: "say Bye bye, %player%!"
  39.     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/"
  40.     banNotifier:
  41.         notify: true
  42.         notifyMessage: "&c&lReason: &2Detected &e%illegalWord%&2 in &e%itemText%&2 in an anvil."
  43.  
  44. #################### BOOKS ####################
  45. #                CONFIGURATION                #
  46. ###############################################
  47. books:
  48.     bannedWords:
  49.        - booktest
  50.         - etc
  51.     cancelEventOnPlayerBan: true
  52.     banPlayer: true
  53.     runCommand: true
  54.     dispatchedCommand: "say Bye bye, %player%!, this is a book test"
  55.     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/"
  56.     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/"
  57.     banNotifier:
  58.         notify: true
  59.         notifyMessage: "&c&lReason: &2Detected &e%illegalWord%&2 in &e%itemText%&2 on a book."
  60.         notifyMessageBooktitle: "&c&lReason: &2Detected &e%illegalWord%&2 in &e%itemText%&2 on a book title."
  61.  
  62. ################ CHAT MESSAGES ################
  63. #                CONFIGURATION                #
  64. ###############################################
  65. chat:
  66.     bannedWords:
  67.        - joinmyse
  68.         - etc
  69.     cancelEventOnPlayerBan: true
  70.     banPlayer: true
  71.     runCommand: true
  72.     dispatchedCommand: "say Bye bye, %player%!, this is a chat test"
  73.     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/"
  74.     banNotifier:
  75.         notify: true
  76.         notifyMessage: "&c&lReason: &2Detected &e%illegalWord%&2 in &e%itemText%&2 on the chat."
  77.  
  78. #################### SIGNS ####################
  79. #                CONFIGURATION                #
  80. ###############################################
  81. signs:
  82.     bannedWords:
  83.        - universocraft
  84.         - etc
  85.     cancelEventOnPlayerBan: true
  86.     banPlayer: true
  87.     runCommand: true
  88.     dispatchedCommand: "say Bye bye, %player%!, this is a SIGN test"
  89.     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/"
  90.     banNotifier:
  91.         notify: true
  92.         notifyMessage: "&c&lReason: &2Detected &e%illegalWord%&2 in &e%itemText%&2 on a sign."
  93.  
  94. ############## ONLINE/OFFLINE MODE ##############
  95. #                SPECIFY IT HERE                #
  96. #################################################
  97. # Enable for online servers, disable for offline servers.
  98. # 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
  99. # AND FROM UPPER TO LOWER CASE (zwoosks -> zwooskS : the UniqueUUID won't be the same if your server is in offline mode).
  100. online: false
  101.  
  102. ############### MYSQL INFORMATION ###############
  103. #              MYSQL DATABASE INFO              #
  104. #################################################
  105. username: zwoosks
  106. password: 0607ckx
  107. database: antispam
  108. host: localhost
  109. port: 3306
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top