Modified sample of script written in Java ( March 27, 2020 )

Started by Mateus, Mar 27, 2020, 07:14 PM

Previous topic - Next topic


In order to facilitate and encourage contributions and development of servers written in Java for Vice City Multiplayer, we publish this modification of Newk5's sample Java script. This modification will be updated constantly, bringing new commands and features.

To get started, follow the step-by-step below

Install Microsoft Visual C++ 2010 Redistributable Package
x64 -
x86 -

Install Microsoft Visual C++ 2010 SP1 Redistributable Package
x64 -
x86 -

Install Visual C++ Redistributable Packages for Visual Studio 2013

Install Visual C++ Redistributable for Visual Studio 2015

Java SE Development Kit 8

Install Apache NetBeans

Follow the instructions in vcmp-sample-script
Be aware that the teams and vehicles present in this modification were ported from the Warchief 2.0 script

one media team of game servers
Lauro de Freitas, Bahia, Brasil


Usage of .sleep is not recommended as it will hang up the whole server thread for 5 seconds
public void heal(Player player) throws InterruptedException{
its better to use proper timer than using .sleep as timer
public void heal(Player player) {
 timerRegistry.register(false, 5000, new Runnable() {
  public void run() {