Starting your first server

From Vice City Multiplayer
Jump to: navigation, search

Logo.png

Windows Server

Learn how to start a Windows server following these simple steps.


  • 1. Download the blank server: http://forum.vc-mp.org/?topic=33.0
  • 2. Update the plugins
  • 3. Open the server.cfg file and change your server name.
  • 4. Run server.exe
  • 5. The server can't be accesed from the Internet , you will need to open the server's port
Linux Server

Learn how to start a Linux server following these simple steps.

  • 1. Open terminal (You can use PuTTy).
  • 2. Create a new user for the server (You can skip this but it is highly recommended that you do).
    sudo useradd -d /home/vcmpserver -m vcmp
  • 2. Now disconnect and login with the new user account and make sure you're on this directory
     /home/vcmpserver/
  • 3. (FOR 64-bit USERS) Download the server by pasting this in the terminal:
    wget http://v04.maxorator.com/server/VCMP04_server_v15_linux64.zip
(FOR 32-bit USERS) Download the x86 server by pasting this in the terminal
wget http://v04.maxorator.com/server/VCMP04_server_v15_linux32.zip
  • 4. Unzip the server by typing (If this doesn't work install unzip using: sudo apt-get install unzip):
     unzip VCMP04_server_v15_linux64.zip
    For 32 bit:
     unzip VCMP04_server_v15_linux32.zip
  • 4. Make a new directory for the plugins using:
     mkdir plugins 
  • 5. (FOR 64-bit USERS) Download the plugins pack:
     wget http://v04.maxorator.com/files/plugins/mp04rc2_plugins64_linux.zip 
(FOR 32-bit USERS) Download the plugins pack:
 wget http://v04.maxorator.com/files/plugins/mp04rc2_plugins32_linux.zip 
  • 6. Extract the plugins:
     unzip mp04rc2_plugins64_linux.zip OR unzip mp04rc2_plugins32_linux.zip 
  • 7. Now go back to the server directory using:
     cd /home/vcmpserver 
  • 5. Open the server.cfg file and change the server name and the rest of the stuff using nano (Press CTRL+X than Y to save and close it when done):
     nano server.cfg
  • 6. Set permissions using
     chmod +x ./mpsvrrel64
    For 32 bit:
    chmod +x ./mpsvrrel32
  • 7. Run the server using
    ./mpsvrrel64
    For 32bit:
    ./mpsvrrel32
To keep the server running after closing the terminal we'll use screen:
screen ./mpsvrrel64
For 32-bit:
screen ./mpsvrrel32
To view the server console after you've closed the terminal once use:
screen -r
To close the server press while viewing the console:
CTRL+C

(IN CASE YOU'RE USING THE ROOT USER MAKE A NEW DIRECTORY FOR THE SERVER USING: mkdir vcmpserver)