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

Помогите Баланс обновляется до стартового.

Тема в разделе "Помощь", создана пользователем Overact, 25 авг 2018.

Статус темы:
Закрыта.
  1. Автор темы
    Overact

    Overact Ньюби Пользователь

    Баллы:
    1
    Привет.

    При заходе на сервер (новичек, не новичек - без разницы), всегда обновляться баланс до стартового, который задан в поле "starting-balance". Пробовал ставить нУль и другие суммы. Все аналогично.

    Как сделать так, чтобы баланс оставался у игрока тот, который был при выходе (как в принципе везде, на любом нормальном сервере)?

    Код:
    ############################################################
    # +------------------------------------------------------+ #
    # |                   EssentialsEco                      | #
    # +------------------------------------------------------+ #
    ############################################################
    
    # For more information, visit http://wiki.ess3.net/wiki/Essentials_Economy
    
    # Defines the balance with which new players begin.  Defaults to 0.
    starting-balance: 0
    
    # worth-# defines the value of an item when it is sold to the server via /sell.
    # These are now defined in worth.yml
    
    # Defines the cost to use the given commands PER USE.
    # Some commands like /repair have sub-costs, check the wiki for more information.
    command-costs:
      # /example costs $1000 PER USE
      #example: 1000
      # /kit tools costs $1500 PER USE
      #kit-tools: 1500
    
    # Set this to a currency symbol you want to use.
    currency-symbol: '$'
    
    # Set the maximum amount of money a player can have.
    # The amount is always limited to 10 trillion because of the limitations of a java double.
    max-money: 10000000000000
    
    # Set the minimum amount of money a player can have (must be above the negative of max-money).
    # Setting this to 0, will disable overdrafts/loans completely.  Users need 'essentials.eco.loan' perm to go below 0.
    min-money: -10000
    
    # Enable this to log all interactions with trade/buy/sell signs and sell command.
    economy-log-enabled: false
     
  2. cephalopoid

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

    Баллы:
    76
    Попробуй обновить Essentials.
     
  3. Автор темы
    Overact

    Overact Ньюби Пользователь

    Баллы:
    1
    Бред конечно, но помогло изменение лимита на максимальную (или минимальную) сумму. После изменения баланс стал оставаться такой, какой и был :nerd:
    Код:
    ############################################################
    # +------------------------------------------------------+ #
    # |                   EssentialsEco                      | #
    # +------------------------------------------------------+ #
    ############################################################
    
    # For more information, visit http://wiki.ess3.net/wiki/Essentials_Economy
    
    # Defines the balance with which new players begin.  Defaults to 0.
    starting-balance: 1000
    
    # worth-# defines the value of an item when it is sold to the server via /sell.
    # These are now defined in worth.yml
    
    # Defines the cost to use the given commands PER USE.
    # Some commands like /repair have sub-costs, check the wiki for more information.
    command-costs:
      # /example costs $1000 PER USE
      #example: 1000
      # /kit tools costs $1500 PER USE
      #kit-tools: 1500
    
    # Set this to a currency symbol you want to use.
    currency-symbol: '$'
    
    # Set the maximum amount of money a player can have.
    # The amount is always limited to 10 trillion because of the limitations of a java double.
    max-money: 100000
    
    # Set the minimum amount of money a player can have (must be above the negative of max-money).
    # Setting this to 0, will disable overdrafts/loans completely.  Users need 'essentials.eco.loan' perm to go below 0.
    min-money: -1000
    
    # Enable this to log all interactions with trade/buy/sell signs and sell command.
    economy-log-enabled: false
     
Статус темы:
Закрыта.

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