-
-
Save itsbowser/fa62be0d071f77c530eac985dcd57c5f to your computer and use it in GitHub Desktop.
DongleDingus / Badplayer0 Regex Filters for OSRS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#(?i) means case insensitive usually, but idk, I don't remember whether it is naturally baked into runelite's regex or not. | |
##### Player Spam | |
@{11,} | |
r( *e){11,} | |
(?i)Why fletch | |
(?i)(Danc|twerk)ing for (your|ur|)( |)([0-9\,\.]+( *)(k|m)|gp|gold|money) | |
(?i)(Anyone want a beer|Free beer( for the homies|))[^\w( )]* | |
(?i)(selling|giving away|free) (burnt (food|fish)) | |
banana cc for bananas | |
bananas are life | |
##### Merching spam. (the top one is kind of experimental - it will cause messages that do not fit the bottom filter to still appear in-game above heads, but not in chat) | |
(?i)[^\w( )]+( *)(bulk|)( *)(buy|sell)in(g|) | |
# Using [^\w( )]+ is a weird workaround string, because there is still a bug with runelite's colored text, which is causing this problem. | |
# If the colored chat was ever fixed, then I could just use ^( *)(bulk|)( *)(buy|sell)in(g|) | |
# might still need stuff for characters like @ . ,? | |
# that negated \w is a weird thing. With censored words, it makes it so that offending chatbox messages are left completely blank - despite the players name still being there. However, the offending messages that are above players heads still appear unscathed no matter what. | |
# "but isn't [^\w( )]+ the same as \W ?" | |
# Nope, not for me. that way it still censors the sentence "not buying" | |
(?i)(Buy|sell)(in(g|)|)( )*(all)*( )*(burn(t|) (food|fish)|feathers|handeggs|bon(d|)(s|))(| *[0-9\.\,]+ *(k|m(|il)))[^\w( )]* | |
(?i)(Taking|Accepting)( *)(all|your|)( *)(junk|trash) | |
#also that weird string at the end of the second one is for messages that end after that point... | |
#some innocent question got flagged by this - "is this the place where I buy bond?"... maybe should force that -ing, but idk. | |
#... also I can foresee a sentence like "You should just buy a month of membs, then you can start buying bonds" | |
#if ^ would just FRICKIN WORK then this would not be an issue... | |
(?i)Trading(.*for anything| up.*) | |
##### Beggar Regex ##### | |
(?i)((any|some|who)( *)((e|)one|1|body|)(.*)(have|got|has)|(give|gift me|gimme|buy me|hook (me|it) up|help me|bless me|dame|spare|donate +|loan +|lend)|(may|can|could) I (.*)(have|has|get|borrow)|(pl(ease|((i|e|)(z|s))|(o|0)x))|por( *)f[a]+)((?!(sec|moment|time|you| u |them|her|him)).)*([0-9\.\,]+( *)(k|m)|mil|gp|gold|money|cash|dinero|bon(d|)|free stuff|gear|armor|rune (gear|scimitar|s(e|)t|armo(|u)r|equipment|stuff)|new player|I (can|could) (have|borrow))((?!give).)* | |
#Having just "pl" be filtered via |( *) in case it is mis-spelled causes some other sentences to get filtered. "I don't care if ppl buy bonds" was an example. | |
#I noticed this triggered for transactionary stuff like "Ight fuck gimme 2 sec ill give u money" or "gimme a moment I gotta buy a bond", or "give unto me 20k and I shall bequeath unto thee one blowjob" | |
# Managed to fix this with some some negative lookaheads between the two strings and after the second one. Not sure if it's a perfect fix yet. | |
#triggered on "Then gimme 1m if ur that rich", idk, snarky remark, not an actual beg | |
#removed "help" as it would certainly trigger on "I like to help new players". Besides, usually when people say help, they also usually say "need" | |
#Donate and Loan intentionally have " +" so that past tenses do not trigger. | |
(?i)(need|saving|nec+es+ito).*(donat|[0-9\,\.]+( )*(k|m(il|)).*bon(d|)|bon(d|).*[0-9\,\.]+( )*(k|m(il|))) | |
#Simple begs that just say "need 100k/bond" or "In need of 100k" will still get through, because I have .*bond attached to the number string in there so that "need 100k xp" won't get filtered. | |
#Having just "pl" be filtered via |( *) in case it is mis-spelled causes some other sentences to get filtered. | |
#maybe I can have negative lookaheads for 'xp' | |
#"please20k" got through... | |
#"I need help with shield of arrav, can anyone help me please?" got filtered... probably way too aggressive... | |
##removed please string. | |
##maybe can be added back if I think of every possible permutation of items that players can ask for, lol. | |
(?i)([0-9\.\,]+( *)+(k|m)|gp|gold|money|cash|dinero|bon(d|)|rune (gear|scimitar|s(e|)t|armo(|u)r))(.*)(pl(ease|((i|e|)(z|s))|(o|0)x)|por( |)f[a]+|gimme|give *me|dame) | |
#Some asshat kept spamming "Help me with my bon please", so now bond is bon(d|)... | |
(?i)[\S](a+c+e+(pt|tp)i+n+g+|taking)( *)(all|any|your|feel free to|)( *)(donat((io|oi)ns|e)|donos|money) | |
##### Scam Spam ##### | |
(?i)(Doub|tr(i|ï)p)(l|\|)((i|ï)(n|ñ)(g|)|e)( *)((yo|)ur|all|any|)( *)(mon(e|)y|g(p|old)|cash|((every|any)thing under|up to)|(2|two) trade) | |
###Maybe I should just do .*(under|up to) for that part, idk. | |
(?i)help(.*)bon(d|)(.*)(repay|pay *(you|u|) *back) | |
(?i)[0-9\,\.\-]+(k|m|b) for\? | |
(?i)spending [0-9\,\.\-]+ *(k|m|b) | |
(?i)First to show biggest bank | |
##### Antiscam Spam ##### | |
(?i)is a lurer using glitches to scam you out of your items | |
(?i)Barbarian outpost/shanty pass | |
(?i)lurers to ignore | |
(?i)Lurers will use a fake jmod overlay on discord to gain trust with fake antiscam! | |
(?i)Of the following lurers who will try | |
(?i)Sceptre lurers (missclick trade|use a fake antiscam) | |
##### Website/cc spam by Name | |
#(?i)J(o|ö)(i|ï)n cc | |
##maybe too generic for that one. | |
(?i)S(\W*)E(\W*)L(\W*)L(\W*)R(\W*)S(\W*)0(\W*)7 | |
(?i)r(\W*)s(\W*)m(\W*)a(\W*)1(\W*)1(\W*)s | |
(?i)R(\W*)(u|ü)(\W*)(n|ñ)(\W*)(e|ë)(\W*)c(\W*)h(\W*)(a|ã)(\W*)t | |
Frost pvt | |
c.*c.*Caw Games | |
gem(-| |_|)bet(s|z) | |
((clan|cc|giveaways).*Frost 100|Frost 100.*(clan|cc|giveaways)) | |
(?i)Ubc Bets, Win More! | |
(?i)(verify|jad|giveaways).*ubc | |
(?i)(Min(e|ing)|idle|make)(.*)id(l|\|)e\.go(l|\|)d | |
(?i)Runebet.*(fair site|make gp|tax dice|available odds|popular games|billions daily|gambling casino|50\/50 duel|sports betting|Poker|Slots|Crash|Blackjack) | |
(?i)Join.*Frost Bett | |
(?i)Frost Bett.*(legit dicing|real hosts) | |
(?i)discord.*Eliteran(k|) | |
(?i)pogrs.*(c|\()(o|0)(m|\/\\\/\\) | |
(?i)infernal cape.*pogrs | |
(?i)==Frost (Club|Wow)== | |
(?i)(osrspokerleague|poker league discord) | |
(?i)strijders nl | |
coinpoint | |
buy.*sell.*plat.*\.( *)(C|\()( *)(o|0|\(\))( *)(m|\/(\\\/|V)\\) | |
##### Gambling Advert Spam | |
(?i)Roll high(|,) win (big|huge) | |
(?i)[0-9\,\.]+( *)(k|m((i|ï)l|))[\)<gt><lt>\]\}]*( *)(m(i|ï)(n|ñ)|m(n|ñ)(i|ï)) | |
Here is host legit | |
Bet more, win more | |
P(l|\|)ay & win \(x2\) | |
(?i)Legit (trip|Doub)ling | |
(?i)Legit Casino in cc | |
(?i)Casino Located (@|at) (Grand Exchange Games Room|clan hall) | |
(?i)(Available|(O|Õ)pen) dice (host|game) | |
(?i)(Dice (host|game)|bet now|bigge(st|ts) pay(o|0)ut).*[0-9\,\.]+( *)(k|m) | |
(?i)C(o|ö)m(e|ë) (A|Ä)nd W(i|ï)n | |
(?i)Over (|\()[0-9\.\, ]+(k|m|b|t|)(|\)) (Pa(id|yed)|Plays) | |
(?i)(scammer(s|)|fake(s|))(:|!).*(join clan hall|fake (host|bot|win)) | |
(?i)(abc bets|win more|clan hall|(massive|bigge(st|ts)) *(winning|pay(o|0)ut)).*(fight|jackpot|sl(o|0)t|bets|cr(a|ä|å)ps|dice war|l(o|ö)w 45|h(i|ï)gh 55).*(|\()[0-9]+(k|m)\-[0-9]+(k|m) | |
(?i)win rs gp playing poker | |
(?i)are you a shark or a fish | |
##### Gambling Interactions | |
Has Cashed In: | |
(?i)l(e|ë)ft th(e|ë) tr(a|ä|å)d(e|ë) | |
(?i)has+ declined the trade | |
(?i)(b(e|ë)(e|ë)n p(a|ä|å)(i|ï)d|tr(a|ä|å)d(e|ë)d|w(o|ö)n|l(o|ö)st)( *)(:|)( *)((|\()[0-9\.\,]+( *)(k|m|t)|.*\[[0-9:]) | |
(?i)(l(o|ö)st|w(o|ö)n) sl(o|ö|a)ts(:| \() | |
(?i)(won|lost)(.*)with(.*)Roll(s|) *of | |
(?i)(process the fight|Fight in progress).*Please wait | |
(?i)L(o|ö)st(.*)b(e|ë)(i|ï)ng(.+)(e|ë)d by | |
(?i)Trade accepted for.*amount: | |
(?i)only coins or platinum token accepted | |
(?i)m(i|ï)n(i|ï)m((u|ü)m|n) & m(a|ä)x(i|ï)m((u|ü)m|n) all(o|ö)w(e|ë)d | |
(?i)the current Jackpot number is | |
(?i)trading with.*game: (dice|craps|sl(o|0)ts) | |
(?i)your (fif|5|ten|10|fiteen|15|twentie|20)th(-| )bet bonus | |
##### Tryhard streamer/scammer YT/Twitch giveaways | |
(search|have).*(youtube|yt|twitch).*(give *away|get (paid|payed|gp)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment