
? xBlocker 描述
示例 #1

xBlocker 是控制并自定义 Minecraft 服务器连接体验的终极插件,专为追求专业性、灵活性和完全兼容性的管理员设计。
? 版本管理: 设置允许的最低协议版本(例如从 1.16.5 及以上),并使用清晰、自定义的消息阻止过时或不兼容的客户端。
? 自定义消息:
服务器列表(Ping)文本,用于告知玩家不支持的版本。
独特的断开连接界面,支持动态占位符,如 %server_version%。
与 i18n(多语言)完全集成:消息会根据玩家的区域设置自动适配。
? 国际化 (i18n): 支持西班牙语、英语和葡萄牙语等多种语言的多语言系统。插件会检测客户端的区域设置并显示相应的翻译内容。
? 兼容性与性能:
优化的 IP → 协议缓存。
适用于 Spigot、Paper 及其分支(针对 MOTD)。
通过 xMotd 集成支持代理(BungeeCord / Velocity)。
? 管理员额外工具:
内置 Modrinth 更新通知器。
可选的 bStats 使用统计数据。
高级调试模式,用于测试和故障排除。
✨ 使用 xBlocker,您可以全面掌控服务器在客户端列表中的显示方式以及版本不匹配的处理方式 —— 所有这些都具备专业、多语言且无忧的体验。
✨ Config.yml ✨
# _________ _____.__
# \_ ___ \ ____ _____/ ____\__| ____
# / \ \/ / _ \ / \ __\| |/ ___\
# \ \___( <_> ) | \ | | / /_/ >
# \______ /\____/|___| /__| |__\___ /
# \/ \/ /_____/
# Hecho con amor por 777 Studios - xPlugins
#
# Wiki y informacion: https//xblocker.willfry.net/
# =========================
# I18N (MULTI-LENGUAJE)
# =========================
i18n:
enabled: true # true = usar bundles /messages/*.yml
default-lang: "es_ES" # idioma por defecto
# PLAYER_LOCALE_THEN_DEFAULT: usa el locale del cliente; si no, default
# FIXED: fuerza el idioma en fixed-lang
mode: "PLAYER_LOCALE_THEN_DEFAULT"
fixed-lang: "es_ES" # usado si mode=FIXED
ping-lang: "es_ES" # idioma para PING/MOTD (no hay Player)
# Mapeos para normalizar locales reportados (ej. es -> es_ES)
locale-map:
es: "es_ES"
en: "en_US"
pt: "pt_BR"
# =========================
# Notificador de Actualizaciones (Modrinth) (No tocar)!!
# =========================
updates: # (No tocar)!!
modrinth: # (No tocar)!!
enabled: true # (No tocar)!!
project: "xblocked" # (No tocar)!!
# Comprobar cada X horas (>=1)
check-interval-hours: 1 # (No tocar)!!
notify: # (No tocar)!!
console: true
admins-on-join: true
permission: "xblocked.update"
# =========================
# bStats (No tocar)!!
# =========================
bstats:
enabled: true
plugin-id: 27316
# --- Compatibilidad de versiones ---
# Protocolo mínimo permitido (735 = MC 1.16.5; 763 = 1.20.1; 769 = 1.21.1, etc.)
min-protocol: 735
# Texto que se muestra a la DERECHA en la lista de servidores cuando
# el cliente es más antiguo que min-protocol o no coincide con el servidor.
# Se procesa con el mismo formato indicado en motd.format (auto/legacy/mini).
# NOTA: si i18n.enabled=true, se usará messages/<lang>.yml -> serverlist.incompatible.
# Este texto queda como FALLBACK si desactivas i18n.
incompatible-message: "&c ✖️ ¡Oye! 1.19.4 - 1.21x"
# --- Caché IP -> protocolo detectado (handshake) ---
cache-ttl-seconds: 45 # Tiempo de vida de la entrada
cache-soft-limit: 1000 # Límite suave de entradas (limpieza si se excede)
# Motd ( Solo para Spigot x paper ) Para velocity/bungee Usa xMotd
motd:
enabled: false # true para habilitar el MOTD personalizado
format: auto # auto | legacy | mini
center: true # centra cada línea (approx. por caracteres)
center-width: 50 # ancho usado para el centrado
# Si i18n.enabled=true y existe messages/<lang>.yml->motd.*, se prioriza ese contenido.
line1: "&cxBlocked &7| &fLobby"
line2: "&f¡Bienvenido!"
# --- Mensaje de desconexión en LOGIN (Outdated server/client) ---
disconnect:
enabled: true
# Si es true, solo reemplaza mensajes tipo “Outdated …”.
# Si es false, reemplaza cualquier kick de login por este mensaje.
only-on-version-mismatch: true
format: auto # auto | legacy | mini
# Placeholders disponibles:
# %server_version% -> versión del servidor (ej: git-Paper-196 (MC: 1.20.1))
# Si i18n.enabled=true, se usa messages/<lang>.yml->disconnect.incompatible (por jugador).
# Este texto queda como FALLBACK si desactivas i18n.
message: "<red>✖ Servidor/cliente no coinciden.</red> <gray>Usa</gray> <white>%server_version%</white>"
#### ##### #### # # #### ### #### ##### ### # #
# # # # # # # # # # # # # # # ## #
# # ##### #### # # #### ##### # # # # # # #
# # # # # # # # # # # # # # # ##
#### ##### # ### # # # # #### ##### ### # #
debug: true # logs de handshake/ping/disconnect
debug-force-incompatible: false # fuerza el estado incompatible para
✨ Messanges / ES and EN
# _____ ____ ____ ___________ |__| ____ ______
# / \_/ __ \ / \ / ___/\__ \ | |/ __ \ / ___/
# | Y Y \ ___/| | \\___ \ / __ \_ | \ ___/ \___ \
# |__|_| /\___ >___| /____ >(____ /\__| |\___ >____ >
# Hecho con amor por 777 Studios - xPlugins
# Usa colores HEX (<#RRGGBB>) o de Minecraft (&a, &b, etc.)
meta:
name: "English (US)"
version: 1
serverlist:
incompatible: "<red>✖ 您的版本不受支持。</red> <gray>请使用</gray> <white>%server_version%</white>"
disconnect:
incompatible: "<red>✖ 服务器/客户端不匹配。</red> <gray>请使用</gray> <white>%server_version%</white>"
motd:
line1: "<gradient:#00C6FF:#0072FF>GhostBlocker</gradient>"
line2: "<gray>专业的连接控制</gray>"
admin:
reloaded: "<green>配置已重新加载。</green>"
你是这个资源的作者?登录后可认领此资源。
相似资源
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
ExyliaPlugins 的库。
通过对话框或铁砧界面帮助你的 Anthme
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
用于绘制游戏内地图或在浏览器中随探索实时进行地图绘制的实时地图。
评论 0
登录后参与评分
还没有评论,来抢沙发吧