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

Решено Как отключить оповещение об обновлении

Тема в разделе "Помощь", создана пользователем che_lo_veck, 1 май 2022.

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

    che_lo_veck Участник

    Баллы:
    31
    Вообщем нужно отключить оповещение о том что появилась новая версия,версия плагина стоит новее этой,но почему-то все равно вылазит,в конфиге нет строчки check for updates или что-то типо такого
    Снимок экрана 2022-05-01 221439.png
     
  2. cactus888

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

    Баллы:
    76
    О у меня была такая проблема. Найди в конфиге плагина версию (я так понимаю у тебя она 1.7.0) и поменяй на 1.6.9
     
  3. Dymeth

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

    Баллы:
    98
    Имя в Minecraft:
    Dymeth
    В этом плагине нет возможности отключить обновления. То, что предложил человек выше, должно сработать.
    Если не поможет - забери у игроков и админов право:
    animlib.seeUpdate
    Но в консоль в таком случае всё равно продолжит писать
     
  4. Автор темы
    che_lo_veck

    che_lo_veck Участник

    Баллы:
    31
    В конфиге не нашел,это походу нужно в джар файле рыться
    Auto-Download-Placeholders: false
    #Here you can combine multiple number placeholders into one!
    #Operator precedence is taken into account, so these are the same:
    #5 + (3 * %player_health%)
    #5 + 3 * %player_health%
    #And multiplication operators can usually be left out:
    #5 + 3%player_health%
    Formulas:
    #Shows what you can do, though it's completely pointless:
    #square(x) is a shortcut for (x * x)
    #mod is modulus. 128 mod 100 = 28, 7 mod 4 = 3
    overkill: '101(((4(5 + 3%player_food_level%) / square(2)) - 5) / 3) mod 100'
    useless:
    #sqrt(x) is the square root of x, so sqrt(4) gives 2 and sqrt(16) gives 4
    value: 'sqrt(%player_health% * %player_health%)'
    #You can specify format per-formula, or (see the bottom) use the global format
    #A documentation on this:
    #https://docs.oracle.com/javase/tutorial/i18n/format/decimalFormat.html
    format: '#.##' #Number rounded to 2 decimals
    reversed-food: '-%player_food_level% + 20'
    server-sum: '%bungeecord_server1% + %bungeecord_server2%'
    #Use MVdWPlaceholderAPI for placeholders instead of clip's PlaceholderAPI
    Use-MVdWPlaceholderAPI: false
    #Here you can declare your SQL databases
    #Databases:
    # testdb:
    # # Should start with jdbc:mysql:// for mysql databases
    # url: 'jdbc:mysql://localhost/test'
    # user: 'host'
    # password: ''
    #Sql-Queries:
    # #5 second refresh delay (default value)
    # Refresh-Delay: 5
    # #How to use:
    # #Use %animlib_sql_test% to retrieve the last stored value
    # #Use %animlib_sqlrefresh_test% to retrieve the last value, and request it to be refreshed for the player
    # test:
    # #The database name, as specified under Databases
    # Database: testdb
    # #The SQL query, very important ;3
    # Query: "SELECT `Name` FROM `test` WHERE `UUID`='%player_uuid%'"
    # Default: '%player_name%'
    # #The amount of times the value can be used before forgetting it.
    # #When 0 (the default value), it will not expire until the player leaves
    # Lifespan: 1
    # #Should this be requested when a player joins?
    # Request-On-Join: true
    # #Should it automatically be refreshed as specified by Refresh-Delay?
    # Auto-Refresh: true
    # #The processor of the received data. You get a variable called 'sql' which is a ResultSet
    # #See http://docs.oracle.com/javase/7/docs/api/java/sql/ResultSet.html
    # Script:
    # - "sql.next();" #Go to the first result
    # - "sql.getString('Name');" #The last line specifies what to return, in this case the Name field
    #The formula locale to use (default, even when not specified, is english)
    #This can make, for example:
    #100,000.123 in english
    #100.000,123 in german
    #100 000,123 in french
    #Formula-Locale: en_EN
     
  5. cactus888

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

    Баллы:
    76
    возможно надо открыть jar файл через архиватор и отредактировать файл plugin.yml
     
  6. NuaN

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

    Баллы:
    96
    Имя в Minecraft:
    NuaN
    Ну или же ковырять код плагина и выпилить проверку обновления.
     
  7. cactus888

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

    Баллы:
    76
    а еще лучше сообщить разработчику о том что он забыл поменять номер последней версии
     
  8. Dymeth

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

    Баллы:
    98
    Имя в Minecraft:
    Dymeth
    Разработчик не появлялся в сети больше двух лет
     
  9. Автор темы
    che_lo_veck

    che_lo_veck Участник

    Баллы:
    31
    Я решил эту проблему открыв animationlib.jar через вин рар,и там отредактировал файл bungee.yml и plugin.yml,поменяв версию там с 1.7.0 на 1.6.9
    Тема закрыта,спасибо что помогли
     

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