Installation
git clone https://github.com/Nightlife-AltV/nightlife.git
2. Install Alt-V Default Server
See Install Stable Version
- Duplicate the
.env.example
file and rename it to .env
- Fill in the required information
4. Install all dependencies
npm install
npm run start:mysql
npm run start:dev
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
- Clone this repository
git clone https://github.com/Ghoster599/nightlife.git
- Install Alt-V Default Server
- Move all folder and files from the downloaded server to the root folder of the GitHub repository
Install Development Version
-
Delete Following Folders and Files:
- cache
- data
- modules
- AltV.Net.Host.runtimeconfig.json
- altv-crash-handler.exe
- server.log
-
Install Alt-V Dev Server
-
Move all folder and files from the downloaded server to the root folder of the GitHub repository (Not the Server.toml)
Minify images
Go To https://tinyjpg.com/ and minify all your new images