Skip to content

Blocklists

sfs1 edited this page Sep 26, 2025 · 3 revisions

WIP. Blocklists aren't implemented yet

Syntax/Example blocklist:

# lines starting with a hashtag ("#") are a comment and are ignored
# the next line will make following filters only apply on 2b2t.org servers
# this includes ALL 2b2t.org servers, including connect.2b2t.org, etc
# so basically, if the connected server ends with this ip, it gets included
!SERVER 2b2t.org
# any line that doesn't start with a "!" or "#" is treated as a filter
# test your filters using regex101.com, set flavor (left side) to java
blockthis\(.{2,4}\)#
*.store
discord.gg/*

# a set of filters for my local minecraft server
!SERVER 10.12.7.11
update for FastAsyncWorldEdit
Update at https
newer plugin version available

# !SERVER without a server just means any server
!SERVER 
employment
job
# scary words right

Test regex's using regex101.com

Regex Crash Course

  • . means any character
  • * means repeat the previous thing unlimited times
  • [a-z] means any letter between a-z
  • [a-zA-Z0-9_] means any letter a-z, A-Z, 0-9 and "_"
  • {x,y} means repeat the previous thing between x and y times

Clone this wiki locally