DooK
EpicCraftingsPlus

在史诗工艺的的主界面中,想做一个返回按钮,跳转到bossshop的菜单。

M1032
categories.yml文件中

   '15':
        id: '262'
        slot: 36
        name: "&7Go Back"
        command: 'chestcommands open inventory %player%' #写入你bs打开菜单的指令

DooK
M1032 发表于 2022-12-30 17:26
categories.yml文件中

   '15':

不管用呢

M1032

你史诗工艺版本

DooK
M1032 发表于 2022-12-30 21:58
你史诗工艺版本

7.1.5-22.2.13
服务器1.16.5的

M1032
DooK 发表于 2022-12-30 22:00
7.1.5-22.2.13
服务器1.16.5的

里面有categories.yml文件吗,如果有打开看看,里面是有模板的,没有categories.yml回复我

DooK
M1032 发表于 2022-12-30 22:06
里面有categories.yml文件吗,如果有打开看看,里面是有模板的,没有categories.yml回复我 ...

感觉categories.yml文件夹是加分类的
然后还有个inventory.yml文件,是调坐标和其他的东西(看不懂了就。。。) inventory.yml (6.84 KB, 下载次数: 0) categories.yml (3.43 KB, 下载次数: 1)






M1032
DooK 发表于 2022-12-30 22:13
感觉categories.yml文件夹是加分类的
然后还有个inventory.yml文件,是调坐标和其他的东西(看不懂了就。 ...

右击史诗工艺.jar文件,用压缩软件查看的categories.yml文件

DooK
M1032 发表于 2022-12-30 22:43
右击史诗工艺.jar文件,用压缩软件查看的categories.yml文件

Categories:
  'weapons_armor':
     item:
       id: 'DIAMOND_SWORD'
       name: '&eWeapons&f/&eArmor'
       lore:
       - '&7Here you can find the &cbest'
       - '&7equipment of the server.'
       item_flags:
       - HIDE_ATTRIBUTES
  'others':
     permission: epiccraftingsplus.categories.others
     item:
       id: 'REDSTONE'
       name: '&dOther Crafts'
       lore:
       - '&7A lot of stuff you can craft,'
       - '&7like money or the &bVIP &7rank.'

DooK
M1032 发表于 2022-12-30 22:43
右击史诗工艺.jar文件,用压缩软件查看的categories.yml文件



M1032

你确定就这么点吗

DooK
M1032 发表于 2022-12-31 13:39
你确定就这么点吗

确定的

M1032
inventory.yml的打开看看

DooK
M1032 发表于 2022-12-31 18:54
inventory.yml的打开看看

Inventories:
  main:
    slots: 45
    title: "&4&lCrafting Inventory"
    21:
      type: category:weapons_armor
    23:
      type: category:others
  crafting_menu:
     slots: 45
     title: "&4&lCraft your Item"
     0-9;11;17;18;20;26;27;29;35;36-44:
       item:
         id: "BLACK_STAINED_GLASS_PANE"
         name: " "
     36:
       item:
         id: "ARROW"
         name: "&7Go Back"
       open_inventory: previous
     19:
       type: final_crafting
     18:
       type: previous_crafting
     20:
       type: next_crafting
     41:
       type: click_to_craft
     42:
       type: craft_with_money
     12-16;21-25;30-34:
       type: required_item
  category_weapons_armor:
    slots: 45
    title: "&4&lWeapons and Armor &8%current_page%/%total_pages%"
    0-9;17;18;26;27;35;36-44:
       item:
         id: "BLACK_STAINED_GLASS_PANE"
         name: " "
    36:
      item:
        id: "ARROW"
        name: "&7Back to Categories"
      open_inventory: main
      not_show_on_category_crafting_place: true
    43:
      type: previous_page
    44:
      type: next_page
    10-16;19-25;28-34:
      type: preview_crafting
  category_others:
    slots: 45
    title: "&4&lOthers &8%current_page%/%total_pages%"
    0-9;17;18;26;27;35;36-44:
       item:
         id: "BLACK_STAINED_GLASS_PANE"
         name: " "
    36:
      item:
        id: "ARROW"
        name: "&7Back to Categories"
      open_inventory: main
      not_show_on_category_crafting_place: true
    43:
      type: previous_page
    44:
      type: next_page
    10-16;19-25;28-34:
      type: preview_crafting
  bypass_cooldown_menu:
    slots: 27
    title: "&4&lBypass Cooldown"
    13:
      item:
        id: "HOPPER"
        name: "&a&lAre you sure?"
        lore:
        - "&7Are you sure you want to bypass the"
        - "&ccooldown &7of: &a%crafting_name% &7?"
        - '&7This will cost you: &2$%bypass_cost%'
    10:
      type: bypass_cooldown_yes
    16:
      type: bypass_cooldown_no
CustomItems:
  previous_page:
    item:
      id: "ARROW"
      name: "&7Previous Page"
  next_page:
    item:
      id: "ARROW"
      name: "&7Next Page"
  previous_crafting:
    item:
      id: "RED_STAINED_GLASS_PANE"
      name: "&7« Previous Crafting «"
  next_crafting:
    item:
      id: "RED_STAINED_GLASS_PANE"
      name: "&7» Next Crafting »"
  final_crafting:
    cooldown_info_lore:
    - ""
    - "&9Cooldown: &7%time%"
  preview_crafting:
    name: "&eCraft %name%"
    cooldown_info_lore:
    - ""
    - "&9Cooldown: &7%time%"
    in_cooldown_lore:
    - ""
    - "&8[&cThis craft is being created&8]"
    - "&6You need to wait: &7%time%"
    cooldown_ready_lore:
    - ""
    - "&8[&aThis craft is ready to be claimed!&8]"
    - "&6&lCLICK TO GET IT!"
    bypass_cooldown_lore:
    - ""
    - "&c&lRIGHT CLICK to bypass cooldown"
  required_item:
    status_lore:
    - ""
    - "&6You need this to craft the item"
    - "&8Status: %current_items%&8/%total_items%"
    no_items_status_color: "&c"
    some_items_status_color: "&e"
    all_items_status_color: "&a"
    not_removed_lore:
    - ""
    - "&8[&7This item will NOT be removed!&8]"
  click_to_craft:
    item:
      id: CRAFTING_TABLE
      name: "&2&lClick to Craft It!"
    success_probability_lore:
    - ""
    - "&7Probability of Success: &c%chance%%"
  craft_with_money:
    item:
      id: LIME_DYE
      name: "&6&lCraft Using Money"
      lore:
      - "&7Click to craft for &a$%cost%&7."
  bypass_cooldown_yes:
    item:
      id: GREEN_TERRACOTTA
      name: "&a&lYES"
  bypass_cooldown_no:
    item:
      id: RED_TERRACOTTA
      name: "&c&lNO"

M1032
36:
item:
id: "ARROW"
name: "&7Go Back to an external Inventory"
click_commands:
- "msg %player% &aOpening the main server menu"
- "chestcommands open %player% menu_server要执行的指令"