Paste #125562: rank

Date: 2024/08/13 19:29:17 UTC-07:00
Type: YAML

View Raw Paste Download This Paste
Copy Link


menu_title: 'Nâng Cấp Rank'
open_command: rank
register_command: true
size: 9
items:
  emperor:
    material: COAL_ORE  
    slot: 1
    priority: 2
    display_name: '&eRank &eEmperor'
    lore:
      - ""
      - "&eQuyền Lợi Khi Mua:"
      - ""
      - "&b• Số lượng kho đồ 54 &a[/PV]"
      - "&b• Sở hữu 3 kho đồ &a[/PV]"
      - "&b• Bật/Tắt tự động chế tạo"
      - "   &3+ Gỗ - &a[/woodcrafttoggle]"
      - "   &3+ Than - &a[/coalcrafttoggle]"
      - "   &3+ Sắt - &a[/ironcrafttoggle]"
      - "   &3+ Kim Cương - &a[/diamondcrafttoggle]"
      - "   &3+ Lục Bảo - &a[/emeraldcrafttoggle]"
      - ""
      - "&a⭐ Nhấn để mua cấp bậc này"
    enchantments:
      - unbreaking;1
    item_flags: 
      - HIDE_ATTRIBUTES
      - HIDE_ENCHANTS
      - HIDE_UNBREAKABLE
    unbreakable: true
    view_requirement:
      requirements:
        points:
          type: javascript
          expression: '%playerpoints_points% >= 50'
    click_requirement:
      requirements:
        has_point:
          type: '>='
          input: '%playerpoints_points%'
          output: 50
          deny_commands:
            - "[close]"
            - "[message] &c❌ - Bạn không đủ điều kiện để mua"
            - "[message] "
            - "[message] &8▎&f Yêu cầu:&c 50 Coins"
            - "[message] &8▎&f Bạn hiện có:&a %playerpoints_points% Coins"
            - "[message] "
            - "[message] &cHãy thử lại khi đủ!"
            - "[close]"
    click_commands:
      - "[console] lp user %player_name% parent add emperor"
      - "[console] lp user %player_name% permission set rank.emperor"
      - "[console] p take %player_name% 50"
      - "[message] &a⭐ Bạn đã mua cấp bậc thành công"
      - "[close]"
  emperor_damua:
    material: COAL_BLOCK
    slot: 1
    priority: 1
    display_name: '&eRank &eEmperor'
    lore:
      - ""
      - "&eQuyền Lợi Khi Mua:"
      - ""
      - "&b• Số lượng kho đồ 54 &a[/PV]"
      - "&b• Sở hữu 3 kho đồ &a[/PV]"
      - "&b• Bật/Tắt tự động chế tạo"
      - "   &3+ Gỗ - &a[/woodcrafttoggle]"
      - "   &3+ Than - &a[/coalcrafttoggle]"
      - "   &3+ Sắt - &a[/ironcrafttoggle]"
      - "   &3+ Kim Cương - &a[/diamondcrafttoggle]"
      - "   &3+ Lục Bảo - &a[/emeraldcrafttoggle]"
      - ""
      - "&6⭐ Bạn đã mua cấp bậc này"
    enchantments:
      - unbreaking;1
    item_flags: 
      - HIDE_ATTRIBUTES
      - HIDE_ENCHANTS
      - HIDE_UNBREAKABLE
    unbreakable: true
    view_requirement:
      requirements:
        perm:
          type: has permission
          permission: rank.emperor
    click_commands:
      - "[message] &6⭐ Bạn đã mua cấp bậc này"
      - "[close]"

Highlighting for 'Other' types handled by Highlight.JS, which was released under the BSD 3-Clause License.