Skip to content

Installation Guide

Complete guide to installing and configuring Nights Software resources on your FiveM server.

Before installing any Nights Software resource, ensure you have:

  • FiveM Server - Running and accessible
  • Recommended Gamebuild: 3889
  • Recommended Artifacts: The latest recommended FXServer build, for Windows or Linux
  • FTP Access - File transfer protocol, in binary transfer type mode, access to your server
  • Server.cfg Access - Ability to modify server configuration
  • Basic FiveM Knowledge - Understanding of resource management
  • Discord Bot - For Discord-related resources (see Discord API)
  1. Purchase the resource from Nights Software Store
  2. Download paid resources via CFX Portal
  3. Download free resources via the received e-mail (from Tebex) containing a download link.
  1. Download the ZIP file to your local machine
  2. Extract the ZIP file to a temporary folder
  3. Verify all files are present (config, fxmanifest.lua, etc.)
  1. Open your FTP client (FileZilla, WinSCP, etc.)
  2. Set transfer mode to Binary
  3. Navigate to your server’s resources folder
  4. Upload the entire resource folder
  5. Verify file permissions (usually 644 for files, 755 for folders)
  1. Open your server.cfg file
  2. Add the ensure line:
    ensure resource_name
  3. Save the configuration file
  1. Navigate to the resource’s config folder
  2. Open config.lua in a text editor
  3. Configure according to the resource’s documentation
  4. Save the configuration file
  1. Restart your FiveM server
  2. Check the txAdmin (server) console for any errors
  3. Check F8 console for any errors
  4. Verify the resource is running properly
FTP Client Binary Mode Setting
FileZilla Transfer → Transfer Type → Binary
WinSCP Session → Preferences → Transfer → Binary

Organize your server.cfg for better maintainability:

# ========================================
# CORE RESOURCES
# ========================================
ensure oxmysql
ensure night_discordapi
# ========================================
# GAMEPLAY RESOURCES
# ========================================
ensure night_natural_disasters
ensure night_garage_system
# ========================================
# UTILITY RESOURCES
# ========================================
ensure night_easy_zones
ensure night_loading_screen

Most resources follow this or a similar structure:

resource_folder/
├── fxmanifest.lua
├── config/
│ └── config.lua
├── client/
│ └── client.lua
├── server/
│ └── server.lua
└── nui/
└── images/

Symptoms: Errors in F8 console about syntax or parsing Solution:

  • Ensure files were transferred in binary mode
  • Check for file corruption
  • Verify all files are present

Symptoms: “Resource not found” error in server console Solution:

  • Verify resource name in server.cfg matches folder name exactly
  • Check resource folder is in the correct location
  • Ensure fxmanifest.lua exists and is valid

Symptoms: “Permission denied” or access errors Solution:

  • Set file permissions to 644 (files) and 755 (folders)
  • Check server user has read access to resource folder
  • Verify ownership of files

Symptoms: “Dependency not found” or missing exports Solution:

  • Install required dependencies first
  • Check load order in server.cfg
  • Verify dependency versions are compatible
  1. Backup your current configuration
  2. Download the new version
  3. Replace files (keep your config if compatible)
  4. Test on a development server first
  5. Update production server

When updating, check for:

  • New configuration options
  • Deprecated settings
  • Breaking changes in the changelog
  • Resource loads without errors
  • All features work as expected
  • Configuration is properly set
  • Dependencies are satisfied
  • Performance is acceptable
  • No conflicts with other resources

Recommended Setup:

  • Separate development server
  • Same configuration as production
  • Regular testing of new features
  • Resource-specific guides - Check individual resource pages
  • Video tutorials - Available on YouTube
  • Discord Community - Join our Discord
  • Community Tutorials - User-created installation videos
  • Peer Support - Help from other server administrators
  • Store Support - Contact through Tebex store
  • Priority Support - Available for premium customers
  • Set appropriate file permissions
  • Don’t expose sensitive configuration
  • Use environment variables for secrets
  • Keep bot tokens secure
  • Don’t share configuration files publicly
  • Use strong passwords for database connections
  • Keep FiveM server updated
  • Use firewall rules appropriately
  • Monitor server logs regularly
  • Load only necessary resources
  • Monitor resource usage
  • Optimize configuration settings
  • Adequate server specifications
  • Proper network configuration
  • Regular maintenance schedules