1. Вы находитесь в сообществе Rubukkit. Мы - администраторы серверов Minecraft, разрабатываем собственные плагины и переводим на различные языки плагины наших коллег из других стран.
    Скрыть объявление
Скрыть объявление
В преддверии глобального обновления, мы проводим исследования, которые помогут нам сделать опыт пользования форумом ещё удобнее. Помогите нам, примите участие!

Помогите Авто подключение из сервера auth на grief

Тема в разделе "Помощь", создана пользователем KuyManYT, 27 авг 2021.

  1. Автор темы
    KuyManYT

    KuyManYT Новичок Пользователь

    Баллы:
    11
    Мне нужно сделать, что бы при недоступности основного кидало на резервное и при возобновлении работы основного, всех кто находится в резервном и заходящих игроков кидало на основное. Как это можно реализовать?
     
    Последнее редактирование: 27 авг 2021
  2. Sneyzi

    Sneyzi Активный участник Пользователь

    Баллы:
    76
  3. Автор темы
    KuyManYT

    KuyManYT Новичок Пользователь

    Баллы:
    11
    Его же на банжи корд закидыватЬ? если да то у меня не работает
    Конфиг:
    Код:
    # Reconnect --- config file
    # In this file, you can setup some basic settings for the plugin.
    
    # The current version of this configuration. Do NOT change this value!
    # If the plugin uses a more recent config version, this config gets replaced by it
    # while a backup of the old config will be kept as "config.old.yml".
    version: 2
    
    # The text that should be displayed, when the plugin is trying to reconnect a player.
    # Leave empty if you don't wish any title or action bar message to be displayed.
    reconnecting-text:
      # You can add animated dots to the reconnecting texts by using the {%dots%} variable.
    
      title: "&aПереподключение {%dots%}"
      actionbar: "&a&lПожалуйста не выходите! Вы переподключитись{%dots%}"
    
    # The text that should be displayed, when the plugin managed to establish a connection to
    # the previous server and now connects the player to it.
    # Leave empty if you don't wish any title or action bar message to be displayed.
    connecting-text:
      title: "&aПодключение..."
      actionbar: "&7Подключение к серверу"
    
    # The text that should be displayed, when the plugin didn't manage to etablish
    # a connection to the previous server and connected the player to the fallback server.
    # Leave empty if you don't wish any title or action bar message to be displayed.
    failed-text:
      title: "&cПереподключение провалилось"
      actionbar: "&eВы были отправлены на запaсной сервер"
    
    
    # The maximum amount of reconnect tries the plugin should make, before either connecting the player
    # to your fallback-server or disconnecting him. This value cannot be less than 1.
    max-reconnect-tries: 60
    
    # The amount of milliseconds the plugin should wait before making a new reconnect try. This value
    # cannot be less than zero.
    reconnect-time: 5
    
    # The amount of milliseconds the plugin should wait for a reply from the previous server, until it
    # decides to abort that reconnect try. This value cannot be less than 1000.
    reconnect-timeout: 5
    
    # A List containing all servers that don't allow automatic reconnecting.
    ignored-servers: [dummy, dummy2]
    
    # This block is necessary for the plugin to differentiate whether a kick happened because of a shutdown or not.
    shutdown:
      # When regex is set to false, the kick message must be equal to the following text if the player should be reconnected to that server. (Formatting codes will be ignored though.)
      # When regex is set to true, the regex must match the kick message if the player should be reconnected to that server.
      # Leaving the text empty will lead the plugin to always reconnect the players, no matter what the actual kick-reason was.
    
      # You can still use the "ServerReconnectEvent" as a plugin developer to decide on your own whether the user should be reconnected automatically
      # or not.
    
      text: "Сервер выключен"
      regex: false
      
     
    Последнее редактирование: 30 авг 2021
  4. MiMima

    MiMima Активный участник Пользователь Заблокирован

    Баллы:
    66
    Запосной?
     
  5. Автор темы
    KuyManYT

    KuyManYT Новичок Пользователь

    Баллы:
    11
  6. Overwrite

    Overwrite Активный участник Пользователь

    Баллы:
    98
    Имя в Minecraft:
    artcart
    MoveMeNow плагин способен закинуть при отключении 1 в другой
     
    Последнее редактирование: 30 авг 2021
  7. Автор темы
    KuyManYT

    KuyManYT Новичок Пользователь

    Баллы:
    11
    Ты не так понял, к примеру у меня выключается гриф, игроков перекидывает в аутх, и каждые секунд 10 их должно автоматически подключать к грифу, мне вот это надо
     
  8. Overwrite

    Overwrite Активный участник Пользователь

    Баллы:
    98
    Имя в Minecraft:
    artcart
    хмм... samopis.jar
     
  9. Автор темы
    KuyManYT

    KuyManYT Новичок Пользователь

    Баллы:
    11
    понял
     

Поделиться этой страницей