Skip to content
This repository has been archived by the owner on Jan 26, 2024. It is now read-only.
/ nightlife Public archive

GTA V AltV Fork

Notifications You must be signed in to change notification settings

Mittelblut9/nightlife

Repository files navigation

Nightlife Alt-V

Installation

1. Clone this repository

git clone https://github.com/Nightlife-AltV/nightlife.git

2. Install Alt-V Default Server

See Install Stable Version

3. Create .env file

  • Duplicate the .env.example file and rename it to .env
  • Fill in the required information

4. Install all dependencies

npm install

5. Start mysql (Docker)

npm run start:mysql

6. Start the server

npm run start:dev

7. Start coding

Get easily an error id

Just open https://playcode.io/1667549 and copy the nmber that is generated each 2 seconds

Sample server.toml
name = 'NightLife-City'
port = 7788
players = 128
# password = 'ultra-password'
announce = false
token = ''
gamemode = 'Freeroam'
website = 'example.com'
language = 'en'
description = 'NightLife-City'
modules = ['js-bytecode-module', 'js-module']
resources = ['chat', 'roleplay']
debug = true 
Install Stable Version

Installation

  1. Clone this repository git clone https://github.com/Ghoster599/nightlife.git
  2. Install Alt-V Default Server Alt-V Installation
  3. Move all folder and files from the downloaded server to the root folder of the GitHub repository
Install Development Version

Install Dev Version

  1. Delete Following Folders and Files:

    • cache
    • data
    • modules
    • AltV.Net.Host.runtimeconfig.json
    • altv-crash-handler.exe
    • server.log
  2. Install Alt-V Dev Server

    Alt-V Installation

  3. Move all folder and files from the downloaded server to the root folder of the GitHub repository (Not the Server.toml)

Minify images

Minify Images

Go To https://tinyjpg.com/ and minify all your new images