Skip to content

Instantly share code, notes, and snippets.

@deHasher
Created January 17, 2024 11:54
Show Gist options
  • Save deHasher/7462f1723478958ee5e9ee1c196dd1cf to your computer and use it in GitHub Desktop.
Save deHasher/7462f1723478958ee5e9ee1c196dd1cf to your computer and use it in GitHub Desktop.
version: "1.1.14"
# Available serializers:
# LEGACY_AMPERSAND - "&c&lExample &c&9Text".
# LEGACY_SECTION - "§c§lExample §c§9Text".
# MINIMESSAGE - "<bold><red>Example</red> <blue>Text</blue></bold>". (https://webui.adventure.kyori.net/)
# GSON - "[{"text":"Example","bold":true,"color":"red"},{"text":" ","bold":true},{"text":"Text","bold":true,"color":"blue"}]". (https://minecraft.tools/en/json_text.php/)
# GSON_COLOR_DOWNSAMPLING - Same as GSON, but uses downsampling.
serializer: LEGACY_AMPERSAND
prefix: "&8(&bE&dW&8) &f"
# Don't use \n, use {NL} for new line, and {PRFX} for prefix.
main:
# Check if player's Minecraft client sends the network packet with the settings.
check-client-settings: true
# Check if player's Minecraft client has a brand.
check-client-brand: true
# If player's Minecraft client brand (e.g. fabric or forge) is set here, then this player will be kicked.
blocked-client-brands: []
# Time in milliseconds, how frequently will the cache list with verified players be reset. Before that time, verified players can join the server without passing antibot checks.
purge-cache-millis: 86400000
# Max attempts, which a player has to solve the captcha.
captcha-attempts: 3
# Duration of Falling Check in Minecraft ticks (1 tick = 0.05 second, 20 ticks = 1 second).
falling-check-ticks: 128
# Maximum time to check the player in milliseconds. If the player stays on the filter limbo for longer than this time, then the check will fail.
time-out: 30000
# Same, but for Geyser users.
geyser-time-out: 45000
# The timeout for Netty. Max ping while being on the filter limbo. Used to remove useless buffers from RAM.
max-ping: 3500
# Change the parameters below only if you know what they mean.
non-valid-position-xz-attempts: 10
non-valid-position-y-attempts: 10
max-valid-position-difference: 0.01
# Parameter for developers and contributors.
falling-check-debug: false
# Should captcha be displayed in the left hand. May cause problems with entering captcha for users with 4:3 monitors. Version: 1.9+
captcha-left-hand: false
# Available states: ONLY_POSITION, ONLY_CAPTCHA, CAPTCHA_POSITION, CAPTCHA_ON_POSITION_FAILED
# Meaning:
# ONLY_POSITION -> Only falling check (Player will be spawned in the void, server will check player's coordinates, speed, acceleration).
# ONLY_CAPTCHA -> Only captcha (Map items with a captcha image will be given to the players, players need to solve captcha, and send the answer in the chat).
# CAPTCHA_POSITION -> Falling and Captcha checking concurrently (Player will be kicked, if he fails either falling check or captcha checking).
# CAPTCHA_ON_POSITION_FAILED -> Initially, the falling check will be started, but if the player fails that check, the captcha checking will be started.
check-state: CAPTCHA_POSITION
# See "filter-auto-toggle.check-state-toggle".
check-state-non-toggled: CAPTCHA_POSITION
# See "filter-auto-toggle.check-state-toggle".
geyser-check-state: CAPTCHA_POSITION
# See "filter-auto-toggle.check-state-toggle".
geyser-check-state-non-toggled: CAPTCHA_POSITION
load-world: false
# World file type:
# SCHEMATIC (MCEdit .schematic, 1.12.2 and lower, not recommended)
# STRUCTURE (structure block .nbt, any Minecraft version is supported, but the latest one is recommended).
# WORLDEDIT_SCHEM (WorldEdit .schem, any Minecraft version is supported, but the latest one is recommended).
world-file-type: STRUCTURE
world-file-path: "world.nbt"
# World time in ticks (24000 ticks == 1 in-game day)
world-ticks: 6000
# World light level (from 0 to 15)
world-light-level: 15
# Should we override block light level (to light up the nether and the end)
world-override-block-light-level: true
# Available: ADVENTURE, CREATIVE, SURVIVAL, SPECTATOR
game-mode: ADVENTURE
# Unit of time in seconds for the Auto Toggles the Statistics.
unit-of-time-cps: 300
# Unit of time in seconds for the Auto Toggles and the Statistics.
unit-of-time-pps: 5
# Time in milliseconds how much we should wait before re-enabling logs after attacks
log-enabler-check-refresh-rate: 1000
# Duration (in seconds) between regeneration of captchas
captcha-regenerate-rate: 3600
# Coordinates for the falling check
falling-coords:
x: 0
y: 512
z: 0
teleport-id: 44
# A "USERNAME - IP" list containing information about players who should join the server without verification.
whitelisted-players:
- username: "z"
ip: "127.0.0.1"
# Minimum/maximum total connections amount per the unit of time to toggle anti-bot checks.
# -1 to disable the check.
# 0 to enable on any connections per the unit of time.
filter-auto-toggle:
# All players will bypass all anti-bot checks
all-bypass: 0
# Online mode players will bypass all anti-bot checks.
# Doesn't work with online-mode-verify: -1
online-mode-bypass: -1
# Verify Online Mode connection before AntiBot.
# If connections per unit of time amount is bigger than the limit: online mode players will need to reconnect.
# Else: Some attacks can consume more cpu and network, and can lead to long-lasting Mojang rate-limiting.
# Only works if you have an auth plugin installed. In other cases you should configure need-to-reconnect parameter
online-mode-verify: -1
# Toggles check-state/check-state-non-toggled.
# It is not recommended to enable it, if you want to protect your server from spam-bots.
# If connections per unit of time amount is bigger than the limit: check-state will be used.
# Else: check-state-non-toggled will be used.
check-state-toggle: -1
# The player will need to reconnect after passing AntiBot check.
need-to-reconnect: -1
# Picture in the MOTD Server Ping packet will be disabled.
disable-motd-picture: -1
# All the log messages from all plugins will be disabled.
disable-log: -1
world-coords:
x: 0
y: 0
z: 0
captcha-generator:
# Prepares Captcha packets, consumes x8 more RAM, but improves CPU performance during bot attacks. It's recommended to disable it, if you have less than 2GB of RAM.
prepare-captcha-packets: true
# List of paths to the background image to draw on captcha. Any format, 128x128 128x128 px (will be automatically resized and stretched to the correct size). [] if empty.
backplate-paths:
- "bg1.png"
- "bg2.png"
- "bg3.png"
# Path to the font files to draw on captcha (ttf), can be empty.
fonts-path: []
# Use standard fonts(SANS_SERIF/SERIF/MONOSPACED), use false only if you provide fonts path
use-standard-fonts: true
letter-offset-x: 12
letter-offset-y: 0
font-letter-spacing-x: -14
font-letter-spacing-y: 0
render-font-size: 78.0
font-letter-width: 44
font-letter-height: 128
font-outline: true
font-rotate: true
font-ripple: true
font-ripple-amplitude-width: 100.0
font-ripple-amplitude-height: 10.0
font-outline-rate: 1.25
font-outline-offset-x: -4
font-outline-offset-y: 4
font-outline-override-radius: 1
# Set 0 to disable
curve-size: 3
# Set 0 to disable
curves-amount: 3
# RGB colors without #
curves-colors:
- "000000"
- "FF0000"
- "00FF00"
- "0000FF"
- "FFFF00"
- "FF00FF"
- "00FFFF"
strikethrough: false
underline: true
pattern: "abcdefgkpqrstuvwxyz123456789"
# If enabled, both lowercase and uppercase captcha answers entered by players will be correct
ignore-case: true
length: 3
images-count: 1000
number-spelling: false
# Set to true if you want to verify the number spelling configuration.
# The results will be saved to the number_spelling.txt file.
save-number-spelling-output: false
each-word-on-separate-line: true
# If the number ends with any key specified here, the corresponding value will be used.
# For example: if exception 11 is specified with value 'eleven', the number 411 will be spelt as 'four hundred eleven'.
number-spelling-exceptions:
"11": "eleven"
"12": "twelve"
"13": "thirteen"
"14": "fourteen"
"15": "fifteen"
"16": "sixteen"
"17": "seventeen"
"18": "eighteen"
"19": "nineteen"
# null or "" means that the digit should be skipped.
# Note: all the characters used here (including the space) must be listed in pattern.
number-spelling-words:
- - ""
- "one"
- "two"
- "three"
- "four"
- "five"
- "six"
- "seven"
- "eight"
- "nine"
- - ""
- "ten"
- "twenty"
- "thirty"
- "forty"
- "fifty"
- "sixty"
- "seventy"
- "eighty"
- "ninety"
- - ""
- "one hundred"
- "two hundred"
- "three hundred"
- "four hundred"
- "five hundred"
- "six hundred"
- "seven hundred"
- "eight hundred"
- "nine hundred"
rgb-color-list:
- "000000"
- "FF0000"
- "00FF00"
- "0000FF"
- "FFFF00"
- "FF00FF"
- "00FFFF"
gradient:
gradient-enabled: true
gradients-count: 32
start-x: 0.0
start-y: 40.0
end-x: 128.0
end-y: 80.0
start-x-randomness: 0.0
start-y-randomness: 2.0
end-x-randomness: 0.0
end-y-randomness: 2.0
# Numbers ranging from 0.0 to 1.0 specifying the distribution of colors along the gradient. Can be empty.
fractions: []
framed-captcha:
framed-captcha-enabled: true
width: 2
height: 2
frame-rotation-chance: 0.0
autoscale-font: true
coords:
x: -3
y: 101
z: 2
offset-1-7:
x: -3
y: 101
z: 2
# Available dimensions: OVERWORLD, NETHER, THE_END
botfilter-dimension: OVERWORLD
coords:
captcha-x: -2.0
# If your server supports Minecraft 1.7, don't set captcha-y to 0. https://media.discordapp.net/attachments/878241549857738793/915165038464098314/unknown.png
captcha-y: 100.25
captcha-z: 0.25
captcha-yaw: 0.0
captcha-pitch: 0.0
falling-check-yaw: 90.0
falling-check-pitch: 0.0
tcp-listener:
# Experimental proxy check feature
# Checks the proxy via comparing L4 (TCP PSH+ACK -> TCP ACK) and L7 (Minecraft KeepAlive) ping
# Works better with falling check enabled (150+ falling-check-ticks)
# Needs libpcap (libpcap-dev) on Linux; WinPcap/npcap on Windows
# Needs CAP_NET_RAW (or super-user) on Linux
# Doesn't work if Velocity is behind reverse-proxy (haproxy, protection services, etc)
proxy-detector-enabled: false
# Difference between TCP (L4) and Minecraft (L7) ping in milliseconds to detect proxies.
proxy-detector-difference: 5
interface-name: "any"
# How many bytes we should take from the each frame to analyse. 120 is enough for any TCP+IP header analysing
snaplen: 120
# How many milliseconds should the delay be between frame analysis.
listen-delay: 50
# Time in millis for capturing frames
timeout: 10
# Log L4 and L7 ping
debug-on-fail: false
debug-on-success: false
# Available values: FALSE, TRUE, PERMISSION
# FALSE - the command will be disallowed
# TRUE - the command will be allowed if player has false permission state
# PERMISSION - the command will be allowed if player has true permission state
command-permission-state:
# Permission: limbofilter.admin.sendfilter
send-filter: PERMISSION
# Permission: limbofilter.admin.reload
reload: PERMISSION
# Permission: limbofilter.admin.stats
stats: FALSE
# Permission: limbofilter.admin.help
help: FALSE
# Leave title fields empty to disable.
strings:
reload: "{PRFX}Плагин перезагружен!"
client-settings-kick: "&cВаш клиент не отправляет пакеты настроек."
client-brand-kick: "&cТебе тут не рады :P &7(brand)"
proxy-check-kick: "&cВаше подключение подозрительное..."
checking-chat: "{PRFX}Началась проверка!{NL}{PRFX}Пожалуйста подождите и не двигайтесь..."
checking-title: "&b&lEnvy&d&lWorld"
checking-subtitle: "&fПроверка..."
checking-captcha-chat: "{PRFX}Пожалуйста, введите код с картинки в чат.{NL}{PRFX}Количество попыток: &a{0}&f.{NL}{PRFX}&7(чтобы открыть чат нажми английскую клавишу T)"
checking-wrong-captcha-chat: "{PRFX}Код введён неправильно.{NL}{PRFX}Количество попыток: &a{0}&f."
checking-captcha-title: "&r"
checking-captcha-subtitle: "&fВведите &bкод &fс &aкартинки &fв чат..."
successful-cracked: "{PRFX}Проверка &aуспешно &fпройдена!"
successful-premium-kick: "&aПроверка успешно пройдена!{NL}{NL}&fПожалуйста, перезайдите на сервер."
captcha-failed-kick: "&cВы ввели неправильный код слишком много раз!{NL}{NL}&fПожалуйста, перезайдите на сервер."
falling-check-failed-kick: "&cНе удалось пройти проверку на падение!{NL}{NL}&fПожалуйста, перезайдите на сервер."
times-up: "&cВы превысили максимальное время проверки!{NL}{NL}&fПожалуйста, перезайдите на сервер."
stats-format: "&fВсего заблокировано: &a{0} &c| &fПодключения: &a{1}/сек. &c| Пинги: &a{2}/сек. &c| Всего подключений: &a{3} &c| Пинг: &a{4}"
stats-enabled: "{PRFX}Вы &aвключили &fстатистику."
stats-disabled: "{PRFX}Вы &cвыключили &fстатистику."
send-player-successful: "{PRFX}Успешно отправлено &a{0} &fигроков на проверку."
send-server-successful: "{PRFX}Успешно отправлено &a{0} &fигроков из &a{1} &fна проверку."
send-failed: "{PRFX}Нет зарегистрированных серверов или подключенных игроков с именем &a{0}&f."
captcha-not-ready-yet: "{PRFX}Генерация проверочных кодов ещё не завершена. Повторите попытку через несколько секунд."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment