Skip to content
This repository has been archived by the owner on Jan 26, 2022. It is now read-only.

Add on clan chat event #4

Closed
Eufranio opened this issue Apr 24, 2017 · 11 comments
Closed

Add on clan chat event #4

Eufranio opened this issue Apr 24, 2017 · 11 comments

Comments

@Eufranio
Copy link

No description provided.

@Tuke-Nuke
Copy link
Owner

Tuke-Nuke commented Apr 25, 2017

I don't know if were you that suggested it to me couple days ago but now I've searched about it and found that doesn't exist any event for it in SimpleClans' api. I've suggested the current author if he can do it and will say whenever he answer me.

I could just make a workaround with on command "." inside of TuSKe but it won't work neither since SimpleClans uses exactly that event to create its commands, and with that, it wouldn't be cancellable.

@Eufranio
Copy link
Author

Couldn't you use Reflection? Yes that was me, I tries what you suggested (on command) and it didn't work, so I was hoping you could add it to TuSKe :/

@Tuke-Nuke
Copy link
Owner

Not much, reflection doesn't havae that purposes. The problem is that the event on command "." from SimpleClans will register before TuSKe, this way I can't prevent it from sending a chat.

@Eufranio
Copy link
Author

What about loadbefore: [SimpleClans] in plugin.yml?

@Tuke-Nuke
Copy link
Owner

I never tried it, but I think it won't be possible to register the stuffs from SimpleClans, like event and expressions

@Eufranio
Copy link
Author

Skellett uses that to register its stuff before TuSKe and Umbaska 😛

@Tuke-Nuke
Copy link
Owner

Yeah, which is a shame, this option should be used in particular cases where you need to do something before another plugin (in this case), and not try to override it.

@Eufranio
Copy link
Author

how is it going?

@Tuke-Nuke
Copy link
Owner

Hey, I have been off for few days, I might come back to TuSKe development next days probably, and if I remember correctly, I made a base ready, it's just need to enable to Skript and then test if it is working.

@Eufranio
Copy link
Author

Great!

@Tuke-Nuke
Copy link
Owner

Added in last release.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants