• Chào bạn, hãy đăng ký hoặc đăng nhập để tham gia cùng bọn mình và sử dụng được đầy đủ chức năng của diễn đàn :).
nhatngo1303

Hỏi về Plugin ShopGUI+ và Mmoitems

Cho hỏi config như vậy trong phần shop.yml mà nó k nhận vậy?
Mã:
      1:
        type: item
        item:
          mmoItems:
            type: material
            id: COAL
        sellPrice: 60
        slot: 10
hình như type là cái type custom trong mmoitem
id là tên bạn lưu trong mmo, lúc save ấy
 
Mã:
 1:
        type: item
        item:
          mmoItems:
            type: chỗ save items
            id: tên save item
        sellPrice: 60
        slot: 10
 
Mã:
  dungeon:
    name: "&eKhoáng sản và Mob drops"
    size: 27
    buttons:
      goBack:
        slot: 4     
      previousPage:
        slot: 3
      nextPage:
        slot: 5   
    fillItem:
        material: STAINED_GLASS_PANE
        damage: 7
        name: ""
    items:
      1:
        type: item
        item:
          mmoItems:
            type: material
            id: COAL
        sellPrice: 60
        slot: 10
      2:
        type: item
        item:
          mmoItems:
            type: material
            id: IRON
        sellPrice: 65
        slot: 11
      3:
        type: item
        item:
          mmoItems:
            type: material
            id: GOLD
        sellPrice: 80
        slot: 12
      4:
        type: item
        item:
          mmoItems:
            type: material
            id: REDSTONE
        sellPrice: 95
        slot: 13
      5:
        type: item
        item:
          mmoItems:
            type: material
            id: LAPIS
        sellPrice: 110
        slot: 14
      6:
        type: item
        item:
          mmoItems:
            type: material
            id: DIAMOND
        sellPrice: 135
        slot: 15
 
Mã:
  dungeon:
    name: "&eKhoáng sản và Mob drops"
    size: 27
    buttons:
      goBack:
        slot: 4    
      previousPage:
        slot: 3
      nextPage:
        slot: 5  
    fillItem:
        material: STAINED_GLASS_PANE
        damage: 7
        name: ""
    items:
      1:
        type: item
        item:
          mmoItems:
            type: material
            id: COAL
        sellPrice: 60
        slot: 10
      2:
        type: item
        item:
          mmoItems:
            type: material
            id: IRON
        sellPrice: 65
        slot: 11
      3:
        type: item
        item:
          mmoItems:
            type: material
            id: GOLD
        sellPrice: 80
        slot: 12
      4:
        type: item
        item:
          mmoItems:
            type: material
            id: REDSTONE
        sellPrice: 95
        slot: 13
      5:
        type: item
        item:
          mmoItems:
            type: material
            id: LAPIS
        sellPrice: 110
        slot: 14
      6:
        type: item
        item:
          mmoItems:
            type: material
            id: DIAMOND
        sellPrice: 135
        slot: 15
tr ơi tức, cho xem file save items của mmo đi
 
file save là cái nào?
27862
 
Similar content Most view Xem thêm
Back
Top Bottom