IceBanWords

IceBanWords

English Version

It's a plugin who disallowed words in the chat (no case sensitive) or regex.

Version

Last version: v2.2

What plugin doing?

When a player send message with a blacklist word or blacklist regex, the message isn't send (or it's replace by other string) and a player have a informational message (if it's specified).

Commands

  • /banwords: give all disallowed words
  • /banwords <help/?>: give help

Permissions:

icebanwords.bypass for bypass all disallowed words and regex

icebanwords.bypass.<id_name> for bypass one disallowed word or regex

Configuration

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
message:
  #Message when a player use a disallowed word and the word have a disallow reason, $reason is replaced by the reason
  usebanword: '&cSomething that you said is forbidden for the reason : &6$reason&c.'
  #Message when player use /banwords, $words is replaced by all disallowed words
  listbanwords: '&6$words are disallowed on this server.'

#Blacklist words example
banwords:
  word_yolo:
    word: yolo
    reason: bad word
  word_shit:
    word: shit
    replace: s***
  word_fuck:
    word: fuck
    replace: love
    reason: 'fuck is''nt nice'    
  regex_ip:
    regex: (.*)(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)(.*)
    reason: ip not allowed
  [id_name]:
    regex: [regex] #Detect a regex in a chat
    replace: [replace (regex)] #Replace regex with this regex (if null message not send)
    reason: [reason] #Player get a message with this reason (if null player get any message)
  [id_name]:
    word: [word] #Detect a word in a chat
    replace: [replace (word)] #When a word is detected
    reason: [reason] #Player get a message with this reason
  

Version Française

C'est un plugin qui permet de censuré des mots dans le chat ou une regex. (Insensible aux majuscules / minuscules)

Version

Dernière version : v2.2

Que fait le plugin ?

Quand un joueur utilise un mot interdit dans son message (ou une regex interdite), le message n'est pas envoyé (si aucun mot de replacement est spécifié) et le joueur reçoit un message lui disant comme quoi il a dit quelque chose d'interdit (si une raison est spécifié).

Commandes

  • /banwords: donne la liste des mots interdits
  • /banwords <help/?>: donne l'aide

Permissions :

icebanwords.bypass pour ne pas être affecté par le plugin

icebanwords.bypass.<id_name> pour pouvoir utiliser un mot (ou une regex) interdite sans être censuré

Configuration

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
message:
  #Message quand un joueur utilise un mot interdit, $reason est remplacé par la raison de l'interdiction du mot.
  usebanword: '&cTu as dit quelque chose d'interdit pour la raison suivante : &6$reason&c.'
  #Message quand un joueur fait /banwords, $words est remplacé par la liste des mots interdits.
  listbanwords: '&6Les mots : $words sont interdit sur ce serveur'

#Mots interdits
banwords:
  word_yolo:
    word: yolo
    reason: bad word
  word_shit:
    word: shit
    replace: s***
  word_fuck:
    word: fuck
    replace: love
    reason: 'fuck is''nt nice'    
  regex_ip:
    regex: (.*)(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)(.*)
    reason: ip not allowed
  [id_name]:
    regex: [regex] #Permet d'interdire une regex
    replace: [replace (regex)] #Permet de remplacer une regex interdit par cette regex (si c'est pas précisé le message est pas envoyé)
    reason: [reason] #Permet de dire au joueur une raison pour l'interdiction de cette regex (si c'est pas précisé le joueur reçoit aucune raison)
  [id_name]:
    word: [word] #Permet d'interdire un mot
    replace: [replace (word)] #Permet de remplacer un mot interdit par ce mot ci
    reason: [reason] #Permet de dire au joueur une raison pour l'interdiction de ce mot
  

Sorry for my bad english, I'm french and I want share my plugin.


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    76139
  • Created
    Mar 14, 2014
  • Last Released File
    Oct 3, 2015
  • Total Downloads
    1,382
  • License

Categories

Members

Recent Files