Creating a server in other programming languages

Started by Javed Ahmadzai, May 05, 2019, 11:08 AM

Previous topic - Next topic

Javed Ahmadzai

Is there any way to create a vcmp server in other programming languages such as Java, C/C++, currently I think the possibilities are Squirrel and Pawn, but is there any server event binding available for other languages?

DizzasTeR

#1
Yes you can, Here's a Java binding api with which you can program a server with Java, for C++ you can pretty much import the module SDK and the required headers for squirrel and once you set that up, you can pretty much make your server in C++

:edit: I also forgot to link Python plugin and ofcourse JavaScript

Javed Ahmadzai

There is no proper documentation on how to use the Plugin SDK.


I have downloaded the blank server, where can I download the Plugin SDK from, the vcmp-plugin-header repository is bunch of c++ files, can someone please guide me on how to write a hello world server with c++

ysc3839

There's only an incomplete document: https://docs.vc-mp.org
You can refer to plugins source code. Most plugins are open source.

For example:
Squirrel
Java
SqMod
Python

And fell free to ask any questions here. Or join dioscord server: https://forum.vc-mp.org/?topic=4856.0