Allright. I am trying to code a new Element, but I encounter some little errors. After I made the side plugin, created a class with "public static final Element myElement = new Element("MyElement")" I made the class "MyElementAbility".
Then after I made the first move, the element and move were not showing up. No error, nothing.
The Information class of my move was like "public class MyAbilityInformation extends MyElementAbility { ". It din't work so I tried it like: "public class MyAbilityInformation extends ElementalAbility implements AddonAbility" and I set the "getElement()" method to return MyElementClass.MyElement.
It worked like this, but only if I would have used the "/pk help MyAbility" command every time the server started. But I would have to choose MyElement and bind the move every time it restarted. I tried to copy paste the ChiAbility as MyElementAbility and only change the package and element, but it didn't work.
Then after I made the first move, the element and move were not showing up. No error, nothing.
The Information class of my move was like "public class MyAbilityInformation extends MyElementAbility { ". It din't work so I tried it like: "public class MyAbilityInformation extends ElementalAbility implements AddonAbility" and I set the "getElement()" method to return MyElementClass.MyElement.
It worked like this, but only if I would have used the "/pk help MyAbility" command every time the server started. But I would have to choose MyElement and bind the move every time it restarted. I tried to copy paste the ChiAbility as MyElementAbility and only change the package and element, but it didn't work.