Вопрос Не отображается эффект зелий в DeluxeMenus!!! Что делать?

Ядро
Purpur

Jafarbek

Пользователь
Сообщения
7
Плагин
DeluxeMenus
Ядро сервера
  1. Paper
  2. Purpur
Версия сервера
  1. 1.16.5
Память сервера ОЗУ
4Gb
Ссылка
https://www.spigotmc.org/resources/deluxemenus.11734/update?update=494276
Всем здравствуйте! Я хочу сделать меню с зельями. Однако не отображается ОДИН эффект с замедление


Код:


Код:
open_command: potionshop
size: 53
menu_title: '&8Меню » &8Магазин » Предметы'
register_command: true


open_requirement:
  requirements:
    permission:
      type: has permission
      permission: menu.menu
      deny_commands:
        - '[message] &cУ вас нет доступа к этому меню!'


items:
  'back':
    material: red_dye
    slot: 49
    display_name: "  "
    lore:
      - "&4&l       НАЗАД    "
      - "           &4&m    "              
      - "&f   Нажмите, чтобы   "
      - "&f  вернуться назад   "
    left_click_commands:
      - "[openguimenu] shop_menu"
      - "[sound] BLOCK_LEVER_CLICK"
   
  'potion1':
    material: splash_potion
    potion_effects:
      - BLINDNESS;200;0
      - GLOWING;3600;0
      - HUNGER;1600;9
      - SLOWNESS;3600;2
      - WITHER;600;4
    slot: 11
    rgb: 219, 124, 0
    hide_attributes: true
    hide_effects: false
    display_name: "&6&lЗелье Отрыжки"
    lore:
     - ' '
     - ' &f► Нажмите &aЛКМ '
     - ' &fчтобы купить предмет '
    left_click_requirement:
      requirements:
        balance:
          type: has money
          amount: 90
          deny_commands:
           - '[message]'
           - '[message]&cНедостаточно средств для покупки!'
           - '[message]'
           - '[sound] BLOCK_NOTE_BLOCK_BASS'
       
    left_click_commands:
     - '[takemoney] 90'
     - '[refresh]'
     - '[message]'
     - '[message]    &fВы купили &6&lЗелье Отрыжки'
     - '[message]'
     - '[console] itb give %player_name% saved:otrijka'
     - '[sound] ENTITY_EXPERIENCE_ORB_PICKUP'



Вам необходимо зарегистрироваться для просмотра изображений-вложений
 
Последнее редактирование:
Решение
Всем здравствуйте! Я хочу сделать меню с зельями. Однако не отображается ОДИН эффект с замедление


Код:


Код:
open_command: potionshop
size: 53
menu_title: '&8Меню » &8Магазин » Предметы'
register_command: true


open_requirement:
  requirements:
    permission:
      type: has permission
      permission: menu.menu
      deny_commands:
        - '[message] &cУ вас нет доступа к этому меню!'


items:
  'back':
    material: red_dye
    slot: 49
    display_name: "  "
    lore:
      - "&4&l       НАЗАД    "
      - "           &4&m    "             
      - "&f   Нажмите, чтобы   "
      - "&f  вернуться назад   "
    left_click_commands:
      - "[openguimenu] shop_menu"
      - "[sound] BLOCK_LEVER_CLICK"
  
  'potion1':
    material: splash_potion...
Всем здравствуйте! Я хочу сделать меню с зельями. Однако не отображается ОДИН эффект с замедление


Код:


Код:
open_command: potionshop
size: 53
menu_title: '&8Меню » &8Магазин » Предметы'
register_command: true


open_requirement:
  requirements:
    permission:
      type: has permission
      permission: menu.menu
      deny_commands:
        - '[message] &cУ вас нет доступа к этому меню!'


items:
  'back':
    material: red_dye
    slot: 49
    display_name: "  "
    lore:
      - "&4&l       НАЗАД    "
      - "           &4&m    "             
      - "&f   Нажмите, чтобы   "
      - "&f  вернуться назад   "
    left_click_commands:
      - "[openguimenu] shop_menu"
      - "[sound] BLOCK_LEVER_CLICK"
  
  'potion1':
    material: splash_potion
    potion_effects:
      - BLINDNESS;200;0
      - GLOWING;3600;0
      - HUNGER;1600;9
      - SLOWNESS;3600;2
      - WITHER;600;4
    slot: 11
    rgb: 219, 124, 0
    hide_attributes: true
    hide_effects: false
    display_name: "&6&lЗелье Отрыжки"
    lore:
     - ' '
     - ' &f► Нажмите &aЛКМ '
     - ' &fчтобы купить предмет '
    left_click_requirement:
      requirements:
        balance:
          type: has money
          amount: 90
          deny_commands:
           - '[message]'
           - '[message]&cНедостаточно средств для покупки!'
           - '[message]'
           - '[sound] BLOCK_NOTE_BLOCK_BASS'
      
    left_click_commands:
     - '[takemoney] 90'
     - '[refresh]'
     - '[message]'
     - '[message]    &fВы купили &6&lЗелье Отрыжки'
     - '[message]'
     - '[console] itb give %player_name% saved:otrijka'
     - '[sound] ENTITY_EXPERIENCE_ORB_PICKUP'



Вам необходимо зарегистрироваться для просмотра изображений-вложений
Тебе будет легче сделать так: (Покажу 1 предмет, остальное сам)

YAML:
  'potion1':
    material: splash_potion
    slot: 11
    rgb: 219, 124, 0
    hide_attributes: true
    hide_effects: true
    display_name: "&6&lЗелье Отрыжки"
    lore:
     - ' '
     - ' ТВОЙ ЭФФЕКТ'
     - ' ТВОЙ ЭФФЕКТ'
     - ' ТВОЙ ЭФФЕКТ'
     - ' ТВОЙ ЭФФЕКТ'
     - ' '
     - ' &f► Нажмите &aЛКМ '
     - ' &fчтобы купить предмет '
    left_click_requirement:
      requirements:
        balance:
          type: has money
          amount: 90
          deny_commands:
           - '[message] '
           - '[message]&cНедостаточно средств для покупки!'
           - '[message] '
           - '[sound] BLOCK_NOTE_BLOCK_BASS'
      
    left_click_commands:
     - '[takemoney] 90'
     - '[refresh]'
     - '[message]'
     - '[message]    &fВы купили &6&lЗелье Отрыжки'
     - '[message]'
     - '[console] itb give %player_name% saved:otrijka'
     - '[sound] ENTITY_EXPERIENCE_ORB_PICKUP'

И ТД.

Легче понять так, чем разбираться)
Объединено

Тебе будет легче сделать так: (Покажу 1 предмет, остальное сам)

YAML:
  'potion1':
    material: splash_potion
    slot: 11
    rgb: 219, 124, 0
    hide_attributes: true
    hide_effects: true
    display_name: "&6&lЗелье Отрыжки"
    lore:
     - ' '
     - ' ТВОЙ ЭФФЕКТ'
     - ' ТВОЙ ЭФФЕКТ'
     - ' ТВОЙ ЭФФЕКТ'
     - ' ТВОЙ ЭФФЕКТ'
     - ' '
     - ' &f► Нажмите &aЛКМ '
     - ' &fчтобы купить предмет '
    left_click_requirement:
      requirements:
        balance:
          type: has money
          amount: 90
          deny_commands:
           - '[message] '
           - '[message]&cНедостаточно средств для покупки!'
           - '[message] '
           - '[sound] BLOCK_NOTE_BLOCK_BASS'
     
    left_click_commands:
     - '[takemoney] 90'
     - '[refresh]'
     - '[message]'
     - '[message]    &fВы купили &6&lЗелье Отрыжки'
     - '[message]'
     - '[console] itb give %player_name% saved:otrijka'
     - '[sound] ENTITY_EXPERIENCE_ORB_PICKUP'

И ТД.

Легче понять так, чем разбираться)
offtop Если помог сделай это решением
 
Последнее редактирование:
Назад
Сверху Снизу