Vice City: Multiplayer

VC:MP Discussion => General Discussion => Topic started by: Javed Ahmadzai on May 05, 2019, 11:08 AM

Title: Creating a server in other programming languages
Post by: Javed Ahmadzai on May 05, 2019, 11:08 AM
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?
Title: Re: Creating a server in other Java
Post by: DizzasTeR on May 05, 2019, 11:20 AM
Yes you can, Here's a Java (https://forum.vc-mp.org/?topic=2574.0) binding api with which you can program a server with Java, for C++ you can pretty much import the module SDK (https://forum.vc-mp.org/?topic=13.0) 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 (https://forum.vc-mp.org/?topic=5079.0) plugin and ofcourse JavaScript (https://forum.vc-mp.org/?topic=6173.0)
Title: Re: Creating a server in other programming languages
Post by: Javed Ahmadzai on May 08, 2019, 07:05 AM
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++
Title: Re: Creating a server in other programming languages
Post by: ysc3839 on May 08, 2019, 12:48 PM
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 (https://bitbucket.org/stormeus/0.4-squirrel)
Java (https://bitbucket.org/maxorator/vcmp-java-plugin)
SqMod (https://github.com/iSLC/VCMP-SqMod)
Python (https://github.com/ysc3839/vcmp-python-plugin)

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