ChatFilter - Block Players Or Strings, Without Editing Luas

Eorzea Time
 
 
 
言語: JP EN FR DE
日本語版のFFXIVPRO利用したい場合は、上記の"JP"を設定して、又はjp.ffxivpro.comを直接に利用してもいいです
users online
フォーラム » Windower » General » ChatFilter - Block players or strings, without editing luas
ChatFilter - Block players or strings, without editing luas
Offline
Posts: 512
By Zubis 2021-08-28 08:29:49  
ChatFilter

A simple way to block players or strings, without editing luas on a daily basis.

Features

  • Can block players

  • Can block words or strings

  • Auto-translate support

  • Blocks ★ and ☆ characters by default

  • Blocks Skill Up Books by default


Installation

  1. Download the most recent release.

  2. Unzip and place the chatfilter folder in the Windower\addons folder.

  3. Run "//lua l chatfilter" in game to load the addon, or use the plugin_manager addon to load it automatically at startup.


Configuration

By default the addon won't block much, you will have to decide what you want to block and add players or strings to enforce this.

//cf help
Will show a help menu.


//cf list
Will list currently blocked players or strings.

//cf show | hide
Will show or hide filtered messages.


//cf add p player_to_block
Add a player to the blocklist.
Example: //cf add p Bob

//cf remove player_to_unblock
Remove a player from the blocklist.
Example: //cf remove p Bob

//cf add s string_to_block
Add a string to the blocklist. Note you can add multiple words as part of a string, but you must surround it with quotes.
Example: //cf add s "Lady Lilith"

//cf remove s string_to_block
Remove a string from the blocklist.
Example: //cf remove s "Lady Lilith"

Advanced

Special Characters
By default only two special characters are blocked, ★ and ☆.
If you wish to add more, you may add them in the default_filters.lua file.
Please suggest what you're adding instead on GitHub or FFXIAH, as it could be valuable to other players and could be made a default.

Skill Up Books/Other
Similar to the above, Skill Up Books are blocked. This can be also edited in the default_filters.lua file.

Use Specific Strings
Be specific with the strings you are adding or you may end up blocking too much. For example adding a generic "Job Points" string will block any reference to Job Points, including anyone who /tells you a question about Job Points. Be more specific, ie "Dho Gates Job Points"

Use the //cf show command to check for mistakes
Just in case you blocked a single vowel and the zone got really quiet...



Credits/Disclaimer
  • English client is supported only

  • This is based on Chiala's script previously discussed here. At some point in the future if this Chiala's script turns into a full Addon I am more than happy to retire this.


Releases
v0.0.3 - Made commands more user friendly.
v0.0.2 - Fixed pattern matching for hyphens in messages, for example "50-99" is now supported as a filter and will be blocked.
[+]
 Asura.Eiryl
Online
サーバ: Asura
Game: FFXI
user: Eiryl
By Asura.Eiryl 2021-08-28 08:53:52  
A third addon to block yells(technically 4th), someone might think there was a problem with chat.

A note for the stars, if you block those and you do a mission with KoH the game crashes.
[+]
Offline
Posts: 512
By Zubis 2021-08-28 09:03:25  
Asura.Eiryl said: »
someone might think there was a problem with chat.

Just a bit.



Thanks for the tip on the stars and crashing regarding King of Hearts if you're doing a mission. I'll add a toggle for using the default filters in the next release.
necroskull Necro Bump Detected! [36 days between previous and next post]
Offline
Posts: 8
By Answald 2021-10-02 22:16:08  
I tried to block someone using Silt Pouch
I added 6391 in default_filters.lua, as below
-----------------------------------------------------
'6183',
'6184',
'6185',
'6391',
}

return default_filters
---------------------------------------------------------

but it didn't work
can't we add any new filters for default??
Offline
Posts: 512
By Zubis 2021-10-03 10:53:20  
Did you reload the lua after editing the file?
//lua r chatfilter

If that doesn't work I'll take a look.
Offline
Posts: 8
By Answald 2021-10-03 19:10:51  
thx Zubis,for the reply

sure,I reloaded the lua
but it didn't shut out the annoying silt pouches


btw,how can we block japanese words?
Offline
Posts: 512
By Zubis 2021-10-04 13:28:40  
Regarding the blocking of Silt Pouches. I can confirm it's not working, but you have the right package ID. I guess it needs to be filtered differently.

No idea how to block Japanese words.