CommandHelper

CommandHelper

46.5k Downloads

Extensions Development Tutorial (with samples)

LadyCailinBot opened this issue ยท 7 comments

commented

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.

commented

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.

commented

Comment by Hazae41

I didn't understand anything on GitHub. Maybe an official tutorial could help me.

commented

Comment by PseudoKnight

There's also this extension skeleton:
http://bit.ly/CHExtension

commented

Comment by Hazae41

Thanks but it doesn't explain how to add events and functions

commented

Comment by PseudoKnight

I never said it did.

commented

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.

commented

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.