Starting your first server

From Vice City Multiplayer
Jump to: navigation, search

Logo.png


Languages: "Magyar"


Windows Server

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


  • 1. Download the blank server.
  • 2. Download and 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_v22_linux64.zip
    • (FOR 32-bit USERS) Download the x86 server by pasting this in the terminal
      wget http://v04.maxorator.com/server/VCMP04_server_v22_linux32.zip
  • 4. Unzip the server by typing (If this doesn't work install unzip using: sudo apt-get install unzip):
    • For 64 bit:
       unzip VCMP04_server_v22_linux64.zip
    • For 32 bit:
       unzip VCMP04_server_v22_linux32.zip
  • 4. Make a new directory for the plugins using:
     mkdir plugins 
  • 5.
    • (FOR 64-bit USERS) Download the plugins pack:
      wget http://files.thijn.ovh/download/e28b0ee6d2fe39afd019245258507290/vcmp_04rel004_lin64-plug_170220.zip
    • (FOR 32-bit USERS) Download the plugins pack:
      wget  http://files.thijn.ovh/download/504c5023ed34f9d655039d2003ca4fa2/vcmp_04rel004_lin32-plug_170220.zip
  • 6. Extract the plugins:
    unzip vcmp_04rel004_lin64-plug_170220.zip OR unzip vcmp_04rel004_lin32-plug_170220.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
    • For 64 bit:
       chmod +x ./mpsvrrel64
    • For 32 bit:
      chmod +x ./mpsvrrel32
  • 7. Run the server using
    • For 64 bit:
      ./mpsvrrel64
    • For 32bit:
      ./mpsvrrel32

To keep the server running after closing the terminal we'll use screen

  • For 64 bit:
    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)