Sửa một số lỗi khi dùng lệnh
thêm lệnh: /sfag [add/remove] [FLAG]: thêm các flag vào vật phẩm (ẩn phù phép, unbreak,..)
permission: forge.edit
*Sửa lỗi, bug:
Sai cú pháp câu lệnh: /sgiveLưu vật phẩm đã có khi lấy ra thì thành vật phẩm khácvd: save (custom_sword) rồi lại cầm item khác vẫn lưu theo cái id cũ. Lúc give thì item khác*Data của vật phẩm vanilla:đại loại thế
hỗ trợ trong recipes.yml format: <material>-<data>:<amount> vd: LOG-3*Điều chỉnh lệnh, quyền hạn:2 --> 32 gỗ rừng
✓ /sremove: xóa bỏ vật phẩm đã lưu - forge.sremove✓ /forge reload: reload file items, materials, recipes không load lại file config.yml - forge.reload✘*Tải file mới nhất rồi extract .zip, đặt file .jar dô thư mục plugins, file gối tài nguyên vào thư mục resourcepacks/forge list:hiện danh sách - forge.list
Tôi nâng cấp plugin, và giờ nó có thể chạy từ 1.8 --> 1.17 (tôi không chắc vì bản 1.16, 1.17 quá nặng để máy tôi chạy)
Ông nào test thử xem plugin có chạy trên 1.16 với 1.17 giúp tôi đi? Thank kiu
*CUSTOM GUI STYLE: trong file mới styles.yml: (số hàng, các icon, sắp xếp)
Ví dụ:
![]()
*Điều chỉnh gói tài nguyên: trong config.yml
use_resourcepack: true/false
- true: tương tự các phiên bản trước
- false: thay thế các vật phẩm đặc biệt bằng các vật phẩm vanilla (kính,...)
![]()
*Thêm mới và nâng cấp files: styles.yml, config.yml
- config.yml: thêm use_resourcepack: <true/false>
- styles.yml: custom gui style
YAML:Styles: custom_style: max_material: 10 rows: 4 items: line: Material: STAINED_GLASS_PANE Data: 4 Display: '&7-' Hide_attributes: true fill: Material: STAINED_GLASS_PANE Data: 8 Display: 'watup bro' Hide_attributes: true bar: Material: STAINED_GLASS_PANE Data: 5 Display: '&a&lResult' Hide_attributes: true smith: #change this display in config.yml do not change this key Material: IRON_AXE Data: 0 Hide_attributes: true list: #change this display in config.yml do not change this key Material: PAPER Data: 0 Hide_attributes: true close: #change this display in config.yml do not change this key Material: STAINED_GLASS_PANE Data: 14 Hide_attributes: true slots: #decorate it in gui, require at least one material and only one result, smith key - 0:line - 1:line - 2:line - 3:line - 4:line - 5:line - 6:line - 7:line - 8:line - 9:line - 10:material - 11:material - 12:material - 13:material - 14:material - 15:material - 16:material - 17:line - 18:line - 19:material - 20:material - 21:material - 22:item - 23:smith - 24:list - 25:close - 26:line - 27:line - 28:line - 29:line - 30:line - 31:line - 32:line - 33:line - 34:line - 35:line
*Gói tài nguyên mới: TẢI VỀ
*Nhiều kiểu gui thay đổi trong recipes.yml
![]()
*Unbreakable lore: làm vật phẩm không bị vỡ bằng cách dùng lệnh /unbreakable
![]()
*Unbreakable command:
/unbreakable, /unbreak hoặc /unbreaking
Quyền: forge.edit
*Cập nhật File: recipes.yml
YAML:# Recipes Data Base # <result name>: #see it in items.yml # Type: '<type>' #inclued: vertical, horizontal, corner # Materials: # - <material 1>:<amount> #see it in materials.yml # - <material 2>:<amount> # - <material 3>:<amount> Recipes: supper_sword: Type: 'vertical' Materials: - primal_stone:3 - log_piece:1 - yummy_apple:8 - OBSIDIAN:10 - DIAMOND:30
*Dùng phím tab: Hoàn thành câu lệnh dễ dàng
![]()
*Loại bỏ một số lệnh. quyền hạn:
cmd:
permission:✗/save [item/material] [saveId]: lưu vật phẩm trên tay vào items.yml hoặc materials.yml
✗/give [item/material] [saveId]: lấy vật phẩm từ items.yml hoặc materials.yml
*Thêm câu lệnh, quyền hạn:✗save.item / save.material: use /save
✗give.item / give.material:use /give
cmd:
permission:✔ /ssave [item/material] [save id]: lưu vật phẩm trên tay
✔ /sgive [item/material] [save id] <người chơi>: trao vật phẩm cho người chơi
✔ forge.sgive:dùng lệnh /sgive
✔ forge.ssave: dùng lệnh /ssave
*Gói tài nguyên:
Không yêu cầu optifine
Download
*Unbreakable điều chỉnh: vật phẩm, nguyên liệu
format: Unbreak: <true/false>
NEW! EDIT ITEM (NAME/LORE/ENCHANT)Lệnh mới:
![]()
Quyền hạng mới:
- /sname [set/clear] : chỉnh sửa tên vật phẩm
- /slore [set/add/remove/insert/clear]: chỉnh sửa lore (mô tả) của vật phẩm
- /sench [add/clear]: chỉnh sửa phù phép của vật phẩm
Thêm thông báo: báo khi dùng các lệnh trênforge.edit: dùng các lệnh trên
Tăng giới hạn nguyên liệu 5-->10
Sửa lỗi:
Cập nhật file:
- Spam console, và ném ra ngoài các nguyên liệu vanilla
- Lỗi về số lượng vật phẩm cần trade
config.yml
YAML:#Comming soon..... logger: true #general message no_permission: '&cYou do not have permission to do that!' only_player: '&cOnly player can do that!' #save command message hand_nothing: '&cHand something, please!' save_successful: '&aSuccesful saving <id>.' #give command message give_successful: '&aSuccesful giving to me <id>' not_an_item: '&c<id> is not exists' #forge item forged_an_item: '&aCompletely Forge (&r<item>&a)' not_enough_materials: '&cDo not have enough materials!' #slore command slore: clear: '&aCleared lore of lore' remove: '&aRemoved lore in line &6:<line>' add: '&aAdded lore to item: <lore>' set: '&aSetted lore in line &6<line>&a: <lore>' insert: '&aInsertted lore in line &6<line>&a: <lore>' sname: set: '&aChanged name of item to <name>' clear: '&aClear name of item' sench: add: '&aAdded &9&l<enchant> &alevel &9&l<level>' clear: '&aCleared all enchantments of item' not_exist: '&c<enchant> is not exist' gui: list: name: '&2&lList' item: tag: '&6[Items]' description: '&aClick item to recieve &ex<a>' material: tag: '&6[Materials]' description: '&aClick material to recieve &ex<a>' recipe: tag: '&6&lAll Recipes' description: '&aClick icon above to open forge' forge: name: '&5&lMagic Forge' close: '&c[CLOSE]' process: '&a&lResult' lore: '&a&m &e(<current>/<amount>)&a&m '
*Thêm thông báo (khi rèn vật phẩm)
*Thêm lore như hình cho biết vật phẩm hiện có so với yêu cầu
![]()
![]()
*Sửa lỗi:
- Ở các phiên bản cũ, cần chính xác số lượng vật phẩm mới đổi được
vd: 32 thì cần đúng 32 vật phẩm, lớn hơn cũng ko được
*Đổi mới một số file:
config.yml
recipes.ymlYAML:#Comming soon..... logger: true #general message no_permission: '&cYou do not have permission to do that!' only_player: '&cOnly player can do that!' #save command message hand_nothing: '&cHand something, please!' save_successful: '&aSuccesful saving <id>.' #give command message give_successful: '&aSuccesful giving to me <id>' not_an_item: '&c<id> is not exists' #forge item forged_an_item: '&aCompletely Forge (&r<item>&a)' not_enough_materials: '&cDo not have enough materials!' gui: list: name: '&2&lList' item: tag: '&6[Items]' description: '&aClick item to recieve &ex<a>' material: tag: '&6[Materials]' description: '&aClick material to recieve &ex<a>' recipe: tag: '&6&lAll Recipes' description: '&aClick icon above to open forge' forge: name: '&5&lMagic Forge' close: '&c[CLOSE]' process: '&a&lResult' lore: '&a&m &e(<current>/<amount>)&a&m '
YAML:# Recipes Data Base # <result name>: #see it in items.yml # Materials: # - <material 1>:<amount> #see it in materials.yml # - <material 2>:<amount> # - <material 3>:<amount> Recipes: supper_sword: Materials: - primal_stone:3 - log_piece:1 - yummy_apple:8 - OBSIDIAN:10 - DIAMOND:30