NoSoliciting/NoSoliciting/definitions.yaml

304 lines
7.7 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# This file defines the filters that NoSoliciting will use for
# built-in filters.
# The version should be incremented for each commit including changes
# to this file.
# There are three main sections: chat, party_finder, and global. The
# chat and party_finder sections are for their respective areas (the
# chat log and the Party Finder window), and the global section
# applies to both.
# Each subsection is a separate built-in filter that can be toggled on
# and off. The option shown in the UI is defined in the
# subsection. For global subsections, {} can be inserted into the
# option name to substitute either "chat" or "Party Finder" as
# appropriate.
# Subsections can have ignore_case (defaults to false) and normalise
# (defaults to true) set. ignore_case will ignore casing for matching
# against the matchers, and normalise will normalise text prior to
# matching. Text normalisation consists of turning FFXIV-specific
# unicode symbols into normal ASCII characters and running a NFKD
# unicode decomposition on the result.
# Subsections also may filter based on channels with the channels key.
# A list of channels may be specified, and the message will be ignored
# if not in one of the specified channels. For the Party Finder, the
# channel is always None. An empty list (or missing channels key) will
# ignore the channel.
# Each subsection may specify whether it is enabled by default with the
# default key. This should be used sparingly. This defaults to false.
# The real meat of the file is the matchers. There are two types of
# matchers: required and likely. Both types have categories of strings
# or regular expressions that should match. For required matchers, at
# least one string or regex should match in *all* categories. For
# likely matchers, at least one string or regex should match in the
# value of likelihood_threshold (or greater) categories.
# If both required and likely matchers are specified, they both must
# match. This means that all the categories of the required matchers
# must find a match, *and* that at least likelihood_threshold matchers
# must find a match in likely_matchers.
# Substring matchers are faster than regular expressions and are
# specified just by using a string. Regular expression matchers are
# slower but more flexible, and they are specified by using a regex
# key, as can be seen below.
version: 65
# This is the URL the plugin will POST reports to.
report_url: https://nosol.annaclemens.io/report
chat:
rmt:
option:
basic: Filter RMT from chat
advanced: Enable built-in chat RMT filter
default: true
required_matchers:
- - 4KGOLD
- We have sufficient stock
- PVPBANK.COM
- Gil for free
- www.so9.com
- Fast & Convenient
- Cheap & Safety Guarantee
- 【Code|A O A U E
- igfans
- 4KGOLD.COM
- Cheapest Gil with
- pvp and bank on google
- Selling Cheap GIL
- ff14mogstation.com
- Cheap Gil 1000k
- gilsforyou
- server 1000K =
- gils_selling
- E A S Y.C O M
- bonus code
- mins delivery guarantee
- Sell cheap
- Salegm.com
- cheap Mog
- Off Code
- FF14Mog.com
- ff14mog.com
- 使用する5
- 5分納品
- offers Fantasia
- 5GOLD.COM
- Buy Cheap gils
- regex: '【 .+ 、. = .+ 】'
- regex: 'finalfantasyxiv\.com-\w+\.\w+' # phishing
- regex: '\.com-\w+\.\w+/' # phishing
- regex: '(?i)giveaway of \d+.?m.*discord.gg/.' # phishing
party_finder:
rmt:
option:
basic: Filter RMT from Party Finder
advanced: Enable built-in Party Finder RMT filter
default: true
ignore_case: true
required_matchers:
# selling
- - sell
- s e l l
- $ell
- $ e l l
- sale
- s a l e
- price
- cheap
- gil only
# rmt groups
- minmax
- lalakuza
- legacy
- sk7
- '[helping]'
# more keywords
- deliver
- best team
- satisfaction
- coaching
- reliable
- regex: '\s#1'
- regex: '\bi\d{3}.+loot\b'
- regex: 'm\s*i\s*n\s*m\s*a\s*x'
- regex: 'pre.?order'
- regex: '\boffer'
# content
- - eden
- savage
- primal
- ultimate
- trial
- loot
- content
- ucob
- regex: '\bex\b'
- regex: e[1-9][0-2]?
global:
roleplay:
option:
basic: 'Filter RP advertisements from {}'
advanced: 'Enable built-in {} RP filter'
ignore_case: true
likelihood_threshold: 3
likely_matchers:
# mentions housing wards
- - regex: '\bward'
- regex: 'w.{0,2}\d'
# mentions housing plots
- - plot
- apartment
- apt
- regex: 'p.{0,2}\d'
- regex: '\d{1,2}[^\d]{1,2}\d{1,2}'
# has a discord or website
- - discord.gg
- carrd.co
- discord.io
- tinyurl.com
# mentions roleplaying
- - rp
- roleplay
- role play
# mentions fairly rp-only keywords
- - sfw # also catches nsfw
- '18+'
- '18 +'
- open
- event
- venue
- hosting
- hiring
# has venue type
- - venue
- cafe
- café
- bar
- lounge
- brothel
- casino
- cabaret
- restaurant
- library
- bookstore
- book store
- hostel
- club
- bath
- frat
- sorority
- bazaar
- nook
- jazz
- nightlife
- regex: '\bnight\b'
- regex: '\bden\b'
# mentions services/activities
- - entertainment
- live
- raffle
- menu
- atmosphere
- drink
- food
- eat
- dance
- dancing
- music
- karaoke
- contest
- giveaway
- gambling
- cosplay
- bounty
- bounties
- adventur # adventuring, adventure, adventurer, etc.
- courtesan
- rp night
- maid
- cowboy
- merry
- girlfriend
- wife
- sleepover
- masquerade
- costume
- bread
- performance
- regex: '\ball.inclusive'
- regex: 'serve\b'
# specific RP names
- - Lucky Sevens
free_company:
option:
basic: 'Filter FC recruitments from {}'
advanced: 'Enable built-in {} FC recruitment filter'
ignore_case: true
channels:
- none
- shout
- yell
- tellincoming
likelihood_threshold: 3
likely_matchers:
# mentions free company
- - fc
- free company
- recruiting
- regex: '[<«][\w\-]+[>»]'
# contains a call to action
- - join
- apply
- dm
- pm
- whisper
- accept
- regex: '\btell'
- regex: '[ie]nquire'
# mentions benefits
- - discord
- map
- rank
- active
- weekly
- social
- friendly
- buff
- event
- level
- raid
- hunt
- trial
- dungeon
# has common keywords
- - family
- veteran
- seasoned
- help
- player
- new player
- new member
- new people
- new face
- characters
- looking for member
- looking for people
- lonely
- active member
- regex: '\bold\b'
- regex: '\bvets?\b'
# has common keywords 2
- - welcom
- invite
- ranked