Вопрос В списке серверов показывает неподдерживаемую версию

Ядро
Velocity

RHVHV

Пользователь
Сообщения
113
Решения
1
Игроки в списке сервера видят то, что у них якобы неподдерживаемая версия, хотя зайти они всё равно могут. Использую связку Paper + Velocity, пробовал отключать в velocity.toml параметр version, но не помогло. Использую VelocityTools, пробовал его отключать тоже самое. Кто-то знает как решить эту проблему? Заранее спасибо.


Вам необходимо зарегистрироваться для просмотра изображений-вложений
 
Стоят ли у вас дополнительные плагины? Отправьте список плагинов, а также логи.
Да.
Код:
[16:16:19 INFO]: Плагины: velocity, connection-guard, easycommandblocker, fastmotd, limboapi, limboauth, limboauth-social-addon, limbofilter, luckperms, plasmovoice, velocity-tools
В логах ничего нет, также пробовал вообще отключить плагин FastMOTD и VelocityTools, но вместо "1.21.11-26.3" писало "Velocity 1.7.2-26.3" и также с крестиком.
Вот информация о Velocity:
Код:
>....[16:17:55 INFO]: Velocity 4.2.0
[16:17:55 INFO]: Copyright 2018-2023 Velocity Contributors. Velocity лицензирована на условиях GNU General Public License v3.
[16:17:55 INFO]: PaperMC - GitHub
Объединено

Вы используете какой либо плагин на motd? может нужно данный плагин обновить?
Всё в последних версиях, билды уже ставил, информация по плагинам выше. Пробовал в ноль отключать всё, такая же ерунда, просто пишет "Velocity 1.7.2-26.3"
Объединено

Проблема массовая, сначала думал что у меня что-то.
 
Последнее редактирование:
fastmotd - плагин, отвечающий за MOTD. В нём есть опция, которая отвечает за отображение мотд на определённых версиях.

Удалите или отредактируйте плагин.
Объединено

Если что-то не понятно, то отправьте конфигурацию этого плагина.
 
fastmotd - плагин, отвечающий за MOTD. В нём есть опция, которая отвечает за отображение мотд на определённых версиях.

Удалите или отредактируйте плагин.
Пробовал его вообще отключить и VelocityTools вместе с ним просто пишет "Velocity 1.7.2-26.3" вместо "1.21.11-26.3"
 
fastmotd - плагин, отвечающий за MOTD. В нём есть опция, которая отвечает за отображение мотд на определённых версиях.

Удалите или отредактируйте плагин.
Объединено

Если что-то не понятно, то отправьте конфигурацию этого плагина.
YAML:
version: "1.0.10"
#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: MINIMESSAGE
main:
  enable-updates: true
  version-name: "1.21.11-26.3"
  descriptions:
    - "<gold><bold>Name</bold></gold> <white>- текст</white>{NL}<bold><white><underlined>example.com</underlined></white></bold> <gray>1.21.11 - 26.3</gray>"
  favicons:
    - "server-icon.png"
  information:
    - "<gold><bold>Name</bold></gold> <white>- текст</white>"
    - ""
    - "<yellow>▸</yellow> <white>Строка 1</white>"
    - "<yellow>▸</yellow> <white>Строка 2</white>"
    - "<yellow>▸</yellow> <white>Строка 3</white>"
    - "<yellow>▸</yellow> <white>Строка 4</white>"
    - ""
    - "<gray>IP:</gray> <gold>example.com</gold>"
    - "<gray>Сайт:</gray> <gold>example.com</gold>"
    - "<gray>Новости:</gray> <gold>example.com</gold>"
    - "<gray>Discord:</gray> <gold>example.com</gold>"
  #How frequently online player count will be updated (in ms)
  update-rate: 3000
  #VARIABLE - from max-count parameter
  #ADD_SOME - will add up the number from max-count parameter to current online players amount
  max-count-type: VARIABLE
  max-count: 70
  fake-online-add-single: 0
  fake-online-add-percent: 0
  #Accepted values: from 0.0 to 1.0.
  #Keep this value as low as possible
  #Set -1 to disable PNG recompression
  png-quality: 0.0
  #Write packets outside of Netty pipeline to avoid plugins that modify packets (e.g. PacketEvents)
  direct-write: true
  log-pings: false
  log-improper-pings: false
  #Enabling this will allow non-vanilla ping packets sequence,
  #but will open your server to nullping attacks
  allow-improper-pings: true
  #Separate MOTDs/favicons/information for different protocol versions
  #See https://wiki.vg/Protocol_version_numbers
  versions:
    #{} = disabled
    descriptions: {}
    #{} = disabled
    favicons: {}
    #{} = disabled
    information: {}
  domains: {}
maintenance:
  maintenance-enabled: false
  show-version: true
  should-kick-on-join: true
  kick-whitelist:
    - "127.0.0.1"
  kick-message: "<red>Проводятся технические работы. Попробуйте зайти на сервер позже.</red>"
  version-name: "<red>Тех. работы</red>"
  descriptions:
    - "<red><bold>На сервере проводятся тех. работы</bold></red>{NL}<white>Следите за новостями <gold>example.com</gold></white>"
  favicons:
    - "server-icon.png"
  information:
    - "<red><bold>На сервере проводятся тех. работы</bold></red>"
    - "<white>Следите за новостями <gold>example.com/gold></white>"
  #-1 = disabled
  override-online: -1
  #-1 = disabled
  override-max-online: -1
  #Separate MOTDs/favicons/information for different protocol versions
  #See https://wiki.vg/Protocol_version_numbers
  versions:
    #{} = disabled
    descriptions: {}
    #{} = disabled
    favicons: {}
    #{} = disabled
    information: {}
  domains: {}
  command:
    usage: "FastMOTD <gold>>></gold> Использование: <gold>/maintenance <off|on|toggle></gold>"
shutdown-scheduler:
  #Server will stop accepting new connections
  shutdown-scheduler-enabled: false
  #Server will shut down after everyone has left the server
  shutdown-on-zero-players: false
  whitelist:
    - "127.0.0.1"
Объединено

Так и должно быть без плагинов на мотд.
Но ведь у игрока версия поддерживается, а ему в списке серверов показывает, что якобы нет, хотя если он зайдёт, то всё ок
 
Последнее редактирование:
Отправьте, пожалуйста, ещё конфигурации этих плагинов: velocity, velocity-tools.
YAML:
bind = "0.0.0.0:25626"
online-mode = false
player-info-forwarding-mode = "bungeeguard"
forwarding-secret-file = "forwarding.secret"
config-version = "2.9"
show-max-players = 70
force-key-authentication = false
motd = """
<red><bold>Строка 1
<gray>Строка 2 <gold>example.com</gold></gray></red>"""


[servers]
    main = "localhost:25730"
    lobby = "localhost:25730"
    factions = "localhost:25730"
    minigames = "localhost:25730"
    try = ["main"]


[advanced]
    accepts-transfers = false
    connection-timeout = 10000
    read-timeout = 60000
    haproxy-protocol = true


[packet-limiter]
    #Size of the moving time window in seconds used to calculate average rates.
    #A larger window tolerates short bursts while still enforcing the configured limits over time.
    interval = 7
    #Maximum average number of packets per second a client may send. -1 disables this check.
    packets-per-second = -1
    #Maximum average number of compressed (on-wire) bytes per second a client may send. -1 disables this check.
    bytes-per-second = -1
    decompressed-bytes-per-second = 5242880


[ping-passthrough]
    # Should Velocity pass the version number from the backend server when responding to server list ping requests?
    version = false
    # Should Velocity pass the player count from the backend server when responding to server list ping requests?
    players = false
    # Should Velocity pass the description from the backend server when responding to server list ping requests?
    description = false
    # Should Velocity pass the favicon (also known as the server icon) from the backend server when responding to server list ping requests?
    favicon = false
    # Should Velocity pass the mod list from the backend server when responding to server list ping requests?
    modinfo = false


YAML:
version: "1.2.4"
#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
main:
  #Should this plugin check for new updates?
  check-for-updates: false
  #VelocityTools will consume more RAM if this option is enabled, but compatibility with other plugins will be better
  #Enable it if you have a plugin installed that bypasses compression (e.g. Geyser)
  save-uncompressed-packets: true
#Don't use {NL}, use \n for new line. Ampersand (&) color codes are supported too.


#
#Permissions:
#  │
#  └── Commands:
#      │
#      ├── /velocitytools reload
#      │   └── velocitytools.admin.reload
#      ├── /alert
#      │   └── velocitytools.command.alert
#      ├── /find
#      │   └── velocitytools.command.find
#      ├── /send
#      │   └── velocitytools.command.send
#      └── /hub
#          ├── velocitytools.command.hub
#          └── velocitytools.command.hub.bypass.<servername> (disabled-servers bypass permission)
#
commands:
  alert:
    enabled: false
    prefix: "&8[&4Оповещение&8] &r{0}"
    message-needed: "&cВы должны указать сообщение."
    empty-proxy: "&cНа этом прокси никого нет!"
  find:
    enabled: false
    username-needed: "&cВы должны указать имя игрока."
    player-online-at: "&6{0} &fиграет на &6{1}"
    player-not-online: "&6{0} &fне в сети."
  send:
    #Velocity already has /send command, so this one is disabled by default to not replace it.
    enabled: false
    console: "КОНСОЛЬ"
    not-enough-arguments: "&fНедостаточно аргументов. Использование: &6/send <сервер|игрок|all|current> <цель>"
    #Set to "" to disable.
    you-got-summoned: "&fВы были перемещены на &6{0} &fигроком &6{1}"
    player-not-online: "&6{0} &fне в сети."
    callback: "&aПопытка отправить {0} игроков на {1}"
    not-on-server: "&cОшибка: Вы не на сервере."
  hub:
    enabled: false
    servers:
      - "hub-1"
      - "hub-2"
    #Set to "" to disable.
    you-got-moved: "&aВы перемещены на хаб!"
    disabled-server: "&cВы не можете использовать эту команду здесь."
    disabled-servers:
      - "foo"
      - "bar"
    aliases:
      - "hub"
      - "lobby"
  ratelimited: "&cПожалуйста, подождите перед следующим использованием!"
  #Ratelimit delay in milliseconds
  ratelimit-delay: 1000
tools:
  #Hides the Legacy Ping message.
  disable-legacy-ping: false
  #Hides the "... provided invalid protocol ..." message. Helps with some types of attacks. (https://media.discordapp.net/attachments/868930650537857024/921383075454259300/unknown.png)
  disable-invalid-protocol: false
  protocol-blocker:
    block-join: false
    block-ping: false
    #If true, all protocols except those listed below will be blocked.
    whitelist: false
    #You can set either a protocol number here (e.g. '340' for 1.12.2) or a Minecraft version below (e.g. '1.12.2')
    #You can find a list of protocols here: https://wiki.vg/Protocol_version_numbers
    protocols:
      - 9999
      - 9998
    #List of versions:
    #1.7.2, 1.7.6, 1.8, 1.9, 1.9.1, 1.9.2, 1.9.4, 1.10, 1.11, 1.11.1, 1.12, 1.12.1, 1.12.2,
    #1.13, 1.13.1, 1.13.2, 1.14, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.15, 1.15.1, 1.15.2,
    #1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.17, 1.17.1, 1.18, 1.18.2, 1.19, 1.19.1, 1.19.3, 1.19.4,
    #1.20, 1.20.2, 1.20.3, 1.20.5, 1.21, 1.21.2, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.9, 1.21.11, LATEST
    versions:
      - "1.21.11"
    minimum-version: "1.21.11"
    maximum-version: "LATEST"
    #For "block-ping" option.
    brand: "Версия не поддерживается!"
    #For "block-ping", set to "" to disable.
    motd: "&cВерсия не поддерживается!\n&eПожалуйста, заходите с Minecraft 1.21.11 или новее."
    #For "block-joining" option.
    kick-reason: "&cВаша версия не поддерживается!"
  brand-changer:
    rewrite-in-ping: false
    rewrite-in-game: true
    ping-brand: "1.21.11-26.3"
    #For ping.
    show-always: false
    #{0} - Original server brand (e.g. Paper).
    in-game-brand: "Example"
  #Doesn't work with srv records.
  hostnames-manager:
    block-join: false
    block-ping: false
    #Connections IP logging.
    debug: false
    #For "debug" option.
    show-blocked-only: false
    #For "block-joining" option, set to "" to show the default reason.
    kick-reason: "&cПожалуйста, не подключайтесь к прямому IP!\nИспользуйте mc.example.com"
    whitelist: false
    #IP Addresses starting with "127." or equal to "localhost" will be blocked.
    block-local-addresses: false
    #DoMaIn.net will be similar to domain.net.
    ignore-case: true
    hostnames: []
    #List of IP addresses that will bypass this check.
    ignored-ips: []
Объединено

Код:
bind = "0.0.0.0:25626"
online-mode = false
player-info-forwarding-mode = "bungeeguard"
forwarding-secret-file = "forwarding.secret"
config-version = "2.9"
show-max-players = 70
force-key-authentication = false
motd = """
<red><bold>Строка 1
<gray>Строка 2 <gold>example.com</gold></gray></red>"""


[servers]
    main = "localhost:25730"
    lobby = "localhost:25730"
    factions = "localhost:25730"
    minigames = "localhost:25730"
    try = ["main"]


[advanced]
    accepts-transfers = false
    connection-timeout = 10000
    read-timeout = 60000
    haproxy-protocol = true


[packet-limiter]
    #Size of the moving time window in seconds used to calculate average rates.
    #A larger window tolerates short bursts while still enforcing the configured limits over time.
    interval = 7
    #Maximum average number of packets per second a client may send. -1 disables this check.
    packets-per-second = -1
    #Maximum average number of compressed (on-wire) bytes per second a client may send. -1 disables this check.
    bytes-per-second = -1
    decompressed-bytes-per-second = 5242880


[ping-passthrough]
    # Should Velocity pass the version number from the backend server when responding to server list ping requests?
    version = false
    # Should Velocity pass the player count from the backend server when responding to server list ping requests?
    players = false
    # Should Velocity pass the description from the backend server when responding to server list ping requests?
    description = false
    # Should Velocity pass the favicon (also known as the server icon) from the backend server when responding to server list ping requests?
    favicon = false
    # Should Velocity pass the mod list from the backend server when responding to server list ping requests?
    modinfo = false


YAML:
version: "1.2.4"
#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
main:
  #Should this plugin check for new updates?
  check-for-updates: false
  #VelocityTools will consume more RAM if this option is enabled, but compatibility with other plugins will be better
  #Enable it if you have a plugin installed that bypasses compression (e.g. Geyser)
  save-uncompressed-packets: true
#Don't use {NL}, use \n for new line. Ampersand (&) color codes are supported too.


#
#Permissions:
#  │
#  └── Commands:
#      │
#      ├── /velocitytools reload
#      │   └── velocitytools.admin.reload
#      ├── /alert
#      │   └── velocitytools.command.alert
#      ├── /find
#      │   └── velocitytools.command.find
#      ├── /send
#      │   └── velocitytools.command.send
#      └── /hub
#          ├── velocitytools.command.hub
#          └── velocitytools.command.hub.bypass.<servername> (disabled-servers bypass permission)
#
commands:
  alert:
    enabled: false
    prefix: "&8[&4Оповещение&8] &r{0}"
    message-needed: "&cВы должны указать сообщение."
    empty-proxy: "&cНа этом прокси никого нет!"
  find:
    enabled: false
    username-needed: "&cВы должны указать имя игрока."
    player-online-at: "&6{0} &fиграет на &6{1}"
    player-not-online: "&6{0} &fне в сети."
  send:
    #Velocity already has /send command, so this one is disabled by default to not replace it.
    enabled: false
    console: "КОНСОЛЬ"
    not-enough-arguments: "&fНедостаточно аргументов. Использование: &6/send <сервер|игрок|all|current> <цель>"
    #Set to "" to disable.
    you-got-summoned: "&fВы были перемещены на &6{0} &fигроком &6{1}"
    player-not-online: "&6{0} &fне в сети."
    callback: "&aПопытка отправить {0} игроков на {1}"
    not-on-server: "&cОшибка: Вы не на сервере."
  hub:
    enabled: false
    servers:
      - "hub-1"
      - "hub-2"
    #Set to "" to disable.
    you-got-moved: "&aВы перемещены на хаб!"
    disabled-server: "&cВы не можете использовать эту команду здесь."
    disabled-servers:
      - "foo"
      - "bar"
    aliases:
      - "hub"
      - "lobby"
  ratelimited: "&cПожалуйста, подождите перед следующим использованием!"
  #Ratelimit delay in milliseconds
  ratelimit-delay: 1000
tools:
  #Hides the Legacy Ping message.
  disable-legacy-ping: false
  #Hides the "... provided invalid protocol ..." message. Helps with some types of attacks. (https://media.discordapp.net/attachments/868930650537857024/921383075454259300/unknown.png)
  disable-invalid-protocol: false
  protocol-blocker:
    block-join: false
    block-ping: false
    #If true, all protocols except those listed below will be blocked.
    whitelist: false
    #You can set either a protocol number here (e.g. '340' for 1.12.2) or a Minecraft version below (e.g. '1.12.2')
    #You can find a list of protocols here: https://wiki.vg/Protocol_version_numbers
    protocols:
      - 9999
      - 9998
    #List of versions:
    #1.7.2, 1.7.6, 1.8, 1.9, 1.9.1, 1.9.2, 1.9.4, 1.10, 1.11, 1.11.1, 1.12, 1.12.1, 1.12.2,
    #1.13, 1.13.1, 1.13.2, 1.14, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.15, 1.15.1, 1.15.2,
    #1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.17, 1.17.1, 1.18, 1.18.2, 1.19, 1.19.1, 1.19.3, 1.19.4,
    #1.20, 1.20.2, 1.20.3, 1.20.5, 1.21, 1.21.2, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.9, 1.21.11, LATEST
    versions:
      - "1.21.11"
    minimum-version: "1.21.11"
    maximum-version: "LATEST"
    #For "block-ping" option.
    brand: "Версия не поддерживается!"
    #For "block-ping", set to "" to disable.
    motd: "&cВерсия не поддерживается!\n&eПожалуйста, заходите с Minecraft 1.21.11 или новее."
    #For "block-joining" option.
    kick-reason: "&cВаша версия не поддерживается!"
  brand-changer:
    rewrite-in-ping: false
    rewrite-in-game: true
    ping-brand: "1.21.11-26.3"
    #For ping.
    show-always: false
    #{0} - Original server brand (e.g. Paper).
    in-game-brand: "Example"
  #Doesn't work with srv records.
  hostnames-manager:
    block-join: false
    block-ping: false
    #Connections IP logging.
    debug: false
    #For "debug" option.
    show-blocked-only: false
    #For "block-joining" option, set to "" to show the default reason.
    kick-reason: "&cПожалуйста, не подключайтесь к прямому IP!\nИспользуйте mc.example.com"
    whitelist: false
    #IP Addresses starting with "127." or equal to "localhost" will be blocked.
    block-local-addresses: false
    #DoMaIn.net will be similar to domain.net.
    ignore-case: true
    hostnames: []
    #List of IP addresses that will bypass this check.
    ignored-ips: []
 
versions: - "1.21.11" minimum-version: "1.21.11" maximum-version: "LATEST"
А как именно вы отключаете плагины?
Изначально в конфигурации стоят такие значения:
public List<String> VERSIONS = List.of("1.7.2");
public String MINIMUM_VERSION = "1.7.2";
public String MAXIMUM_VERSION = "LATEST";
Попробуйте изменить в Velocity-tools на эти:
YAML:
    versions:
      - "1.7.2"
    minimum-version: "1.7.2"
    maximum-version: "LATEST"
 
А как именно вы отключаете плагины?
Изначально в конфигурации стоят такие значения:
public List<String> VERSIONS = List.of("1.7.2");
public String MINIMUM_VERSION = "1.7.2";
public String MAXIMUM_VERSION = "LATEST";
Попробуйте изменить в Velocity-tools на эти:
YAML:
    versions:
      - "1.7.2"
    minimum-version: "1.7.2"
    maximum-version: "LATEST"
Файл переименовал с nameplugin.jar на nameplugins.jar.disabled и рестартал весь сервер
 
Почему вы просто его не удалили? И можно логи рестартов?
Что значит логи рестарта, в latest.log? Плагин я пробовал вообще удалить просто вместо "1.21.11-26.3" писалось "Velocity 1.7.2-26.3"
Объединено

Ещё заметил, что иногда вместо крестика и "1.21.11-26.3" пишет реальный онлайн и всё ок, стоит пару раз обновить страницу и всё ломается, чиниться также
 
Последнее редактирование:
Ещё заметил, что иногда вместо крестика и "1.21.11-26.3" пишет реальный онлайн и всё ок, стоит пару раз обновить страницу и всё ломается, чиниться также
Попробуйте запустить без плагинов, если всё отлично, то виноваты плагины. Поставьте их обратно и постепенно удаляйте каждый.
 
Назад
Сверху Снизу