• 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 :).
Minioh

Hỏi về server Tìm cách dùng skill SkillAPI cho MMOCore

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.
 
không không ý e là MMOCore 1.8.2
còn server là 1.16.5
 
â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
 
thử thay
Mã:
Cung Xuyên Phá
thành
Mã:
Cung_Xuyên_Phá
 
[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ó :((
 
Similar content Most view Xem thêm
Back
Top Bottom