Skip to content

Commit 55cda38

Browse files
committed
Updated fr translations
1 parent ef018c1 commit 55cda38

3 files changed

Lines changed: 12 additions & 0 deletions

File tree

542 KB
Binary file not shown.

multichat/src/main/resources/chatcontrol.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ regex_rules:
3232
# Example rule to replace [bold] with the format code %l to make bold text
3333
- look_for: '\[bold\]'
3434
replace_with: "&l"
35+
permission: "multichat.regexrules.bold" # You can choose to specify permissions in order for the regex rules to apply
3536
# Example rule to replace [italic] with the format code %o to make italic text
3637
- look_for: '\[italic\]'
3738
replace_with: "&o"
@@ -64,6 +65,11 @@ regex_actions:
6465
command: "kick %PLAYER% You asked for it!"
6566
cancel: false
6667
spigot: true
68+
- look_for: 'thisisabadword'
69+
command: "kick %PLAYER% You are now allowed to say that here!"
70+
permission: "!multichat.chat.badwords" # If the permission starts with !, then the action will only apply to players WITHOUT that permission.
71+
cancel: true
72+
spigot: true
6773

6874
apply_actions_to:
6975
global_chat: true

multichat/src/main/resources/chatcontrol_fr.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ regex_rules:
3535
# Exemple de règle pour remplacer [bold] par le code de format %l pour faire du texte en gras
3636
- look_for: '\[bold\]'
3737
replace_with: "&l"
38+
permission: "multichat.regexrules.bold" # Permission (est facultatif)
3839
# Exemple de règle pour remplacer [italic] par le code de format %o pour faire du texte en italique
3940
- look_for: '\[italic\]'
4041
replace_with: "&o"
@@ -69,6 +70,11 @@ regex_actions:
6970
command: "kick %PLAYER% Vous l'avez demandé !"
7071
cancel: false
7172
spigot: true
73+
- look_for: 'thisisabadword'
74+
command: "kick %PLAYER% You are now allowed to say that here!"
75+
permission: "!multichat.chat.badwords" # !... --> Autorisation de contourner l'action (est facultatif)
76+
cancel: true
77+
spigot: true
7278

7379
# Dans quels types de chat les action de regex doivent t'elles être appliquées ?
7480
# Paramétrage disponible : true ou false

0 commit comments

Comments
 (0)