MafiaHub / Framework

Advanced modding framework for multiplayer modifications
https://mafiahub.dev
Other
37 stars 7 forks source link

Strong Node.js / V8 scripting engine #108

Open Deewarz opened 4 months ago

Deewarz commented 4 months ago

Summary

This issue is based on the current implementation made in the Framework and MafiaMP.

Currently, scripting DX is quite unpleasant:

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)

Deewarz commented 4 months ago

I can help with JavaScript / TypeScript and simple C++.

But the main thing requires advanced skills in C++, V8 and Node.js.


I have already made the basis for type definitions but it requires:

zpl-zak commented 4 months ago

Track all related issues in https://github.com/orgs/MafiaHub/projects/5