-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem using it in function #11
Comments
Does the line work outside of a function? |
hello, yes work perfectly PS: sorry if my english isn't perfect i'm french and i don't speak english every day u.u |
Try using skript-mirror instead of using functions. Skript functions don't really play nicely with asynchronous effects. |
skript-mirror?? |
Yes, the documentation for custom effects is here. Try using that instead of using a function. |
hmm ok it seems a litle bit hard to learn this but i try :s |
Hey. Is there an update on this? |
This is simply not possible since Skript does not support this. Your only option is to use something that does support async effects, like custom effects. |
Skript does not support what? If you could make it an config option, some people could have lots of time saved. Not everyone can change hundreds of functions to custom effects |
Functions are not allowed to contain waits. SQL effects behave as waits so that they do not freeze your server while the request is being executed. If this is a feature that you need, a fix has to be made on Skript's side, not skript-db's. |
hello, i cannot use skript-db in function in deed when i try this
Without sql line work perfectly but with it skript do nothing , literaly nothing, i don't have any error in console or when i reload thanks for reading me
The text was updated successfully, but these errors were encountered: