Extensions Development Tutorial (with samples)
LadyCailinBot opened this issue ยท 7 comments
CMDHELPER-3067 - Reported by Hazae41
I'd like to read a tutorial on extensions, I really want to help on developing them. May you create an understandable tutorial please?
Thanks in advance.
Comment by PseudoKnight
This is a good idea, though LadyCailin has often said that she doesn't officially support them yet. For now there's several examples on GitHub. Functions are really easy to add. Events are a little weird, though.
Comment by Hazae41
I didn't understand anything on GitHub. Maybe an official tutorial could help me.
Comment by PseudoKnight
There's also this extension skeleton:
http://bit.ly/CHExtension
Comment by Hazae41
Thanks but it doesn't explain how to add events and functions
Comment by LadyCailin
The way that extensions work isn't set in stone yet. Therefore I don't want to officially support them, because there are at least a few changes that I know I'm going to have to make that will totally break all extensions. In other words, I don't want to encourage people to make extensions, unless they're already willing to go out of their way.
Once the API has been settled, I will begin officially supporting them, and I will add documentation for them. In the meantime, however, you can probably get answers from people on IRC.
https://methodscript.com/docs/3.3.4/Extension_Development.html exists (actually, it has existed since 2014) and I am ensuring to continually update it with new info, so I think this can be considered closed.