• Trong thời gian này, bạn không thể tạo bài mới, đăng comment, hay tạo tài nguyên mới để diễn đàn dọn dẹp nội dung.
    Diễn đàn sẽ sớm mở trở lại, chi tiết hãy theo dõi tại Discord
Minioh

Hỏi đáp Tìm cách dùng skill SkillAPI cho MMOCore

  • Người tạo chủ đề Người tạo chủ đề Minioh
  • Ngày gửi Ngày gửi
Có mà bạn:


The /skills folder houses all of the skills that come with the plugin. Most skills are hardcoded into the plugin jar. If you do not want to use a skill, simply do not assign it to a class. Each skill has its own YML file where you can edit the lore and how it looks in the /skills menu. It is best to only edit the plain words, and not try and mess with the value placeholders.


At this current time, there is no "create your own skill" system, but we have decided the coolest thing to do is to allow MythicMobs/SkillAPI skills to become MMOCore skills. You will be able to utilize the default skills that we have and continue to add, while creating hundreds of your own skills through MythicMobs syntax.


More information below.
 
ây da có vẻ không đc rồi :((
e đã copy nguyên cái phần đó, thay tên skill vào nhưng nó ko nhận:

[15:07:51 WARN]: [MythicLib] Could not initialize skill 'skillapi-skill-id' from 'Cung Xuyên Phá.yml': Cannot invoke "org.bukkit.configuration.ConfigurationSection.getName()" because "config" is null

E sợ config sai nên xóa luôn phần modifier nhưng vẫn vậy ;-;
 
thử ném config skill, config mythiclib, đường dẫn để file mythiclib lên pastebin coi
 
ây da có vẻ không đc rồi :((
e đã copy nguyên cái phần đó, thay tên skill vào nhưng nó ko nhận:

[15:07:51 WARN]: [MythicLib] Could not initialize skill 'skillapi-skill-id' from 'Cung Xuyên Phá.yml': Cannot invoke "org.bukkit.configuration.ConfigurationSection.getName()" because "config" is null

E sợ config sai nên xóa luôn phần modifier nhưng vẫn vậy ;-;
Ném qua paste pin luôn mình xem cho
 
[12:23:31 WARN]: [MythicLib] Could not initialize skill 'skillapi-skill-id' from 'Cung Xuyên Phá.yml': Cannot invoke "org.bukkit.configuration.ConfigurationSection.getName()" because "config" is null
[12:23:31 WARN]: [MythicLib] Could not initialize skill 'modifiers' from 'Cung Xuyên Phá.yml': Cannot invoke "org.bukkit.configuration.ConfigurationSection.getName()" because "config" is null


Chịu chết :)) , có lẽ phải dùng mythicmob r . Mặc dù SkillAPI có mấy cái value flag mà mythicmob lại ko có :((
 
Nội dung tương tự Xem nhiều nhất Xem thêm

Thống kê nội dung

Tạo
Minioh,
Trả lời lần cuối từ
Minioh,
Trả lời
16
Lượt xem
1,767
Quay lại
Trên cùng