You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This implementation follows [RFC] Scripting API and covers most of the points above.
It is perhaps a little too advanced for our current needs but can serve as a good basis for our implementation.
Summary
Currently, scripting DX is quite unpleasant:
setTimeout
,setInterval
...)import * as sdk from "@mafiamp/server"
) (see: [RFC] Scripting API)sdk.on('tick', () => {}
)Inspiration
A very good implementation is done here:
This implementation follows [RFC] Scripting API and covers most of the points above.
It is perhaps a little too advanced for our current needs but can serve as a good basis for our implementation.
Todo (by priority order)
sdk.on('tick', () => {}
)The text was updated successfully, but these errors were encountered: