Gates & Bollards for FiveM

Gates & Bollards for FiveM

A guide to install Gates & Bollards for FiveM


๐Ÿ“‹ Table of Contents

  1. ๐ŸŽฏ Overview
  2. ๐ŸŽฅ Video Showcase
  3. ๐Ÿ“š Installation Tutorial
  4. ๐Ÿ›’ Purchase Information
  5. โš ๏ธ Important Pre-Installation Notes
  6. ๐Ÿ”ง System Requirements & Compatibility
  7. ๐Ÿ“ฆ Installation Process
  8. โš™๏ธ Configuration Setup
  9. ๐ŸŽฎ How It Works
  10. ๐Ÿ”— Integration & Compatibility
  11. ๐Ÿ› ๏ธ Troubleshooting
  12. ๐Ÿ’ก Best Practices
  13. ๐Ÿ†˜ Support

๐ŸŽฏ Overview

Unlock another opportunity in FiveM! Easily configure gates and bollards at strategic positions, giving you total control over opening times and simultaneous operations. Choose from a variety of object models to personalize your gates and bollards. This synchronized resource ensures a uniform experience for all players. Plus, enjoy the convenience of an intuitive object placement tool. Get creative and tailor your environment to suit your vision. Itโ€™s your world โ€“ configure it your way!

Key Features

  • โœ… Configure infinite gates - Unlimited gate configurations
  • โœ… Bollard creation tool - Configure locations and distances with single command
  • โœ… Gate creation tool - Easy gate configuration with single command
  • โœ… Configurable duration - Set gate opening/closure timing
  • โœ… Inventory item usage - Framework integration for item requirements
  • โœ… Command usage configuration - Customize command access
  • โœ… Multi-Framework Support - ESX/QB/NS Discord API/Ace Perms/Standalone
  • โœ… OneSync Compatible - Works with Legacy and Infinity
  • โœ… Multi-Language Support - International server support
  • โœ… Escrow Protection - Secure resource protection

๐ŸŽฅ Video Showcase

Watch Gates & Bollards in action:

Video Showcase


๐Ÿ“š Installation Tutorial

Follow our step-by-step installation guide:

Installation Tutorial


๐Ÿ›’ Purchase Information

Get Gates & Bollards:

Purchase on Nights Software Store


โš ๏ธ Important Pre-Installation Notes

Critical Installation Order: Always follow this exact sequence to avoid parsing errors in the F8 console:

  1. Download ZIP Package from CFX Portal
  2. Unpack in a folder on your local machine
  3. Set File Transfer Protocol (FTP) type to binary
  4. Drag files from local machine to server resources folder
  5. Add to server.cfg (ensure script)
  6. Boot up the server

Support Policy: Follow this guide step by step. If youโ€™re stuck, ask for support in our Discord and provide the specific step name. Do not skip steps.


๐Ÿ”ง System Requirements & Compatibility

OneSync Compatibility

  • โœ… OneSync Legacy: Fully tested and compatible
  • โœ… OneSync Infinity: Fully tested and compatible

Framework Compatibility

  • โœ… ESX: Full compatibility with ESX framework
  • โœ… QBCore: Full compatibility with QBCore framework
  • โœ… NS Discord API: Compatible with Discord API integration
  • โœ… Ace Permissions: Compatible with ACE permission system
  • โœ… Standalone: Works without any framework

Note: Gates & Bollards works seamlessly with all major FiveM frameworks and can operate standalone.


๐Ÿ“ฆ Installation Process

Step 1: Download the Resource

  1. Access CFX Portal
    • Go to CFX Portal Assets
    • Find โ€œGates & Bollardsโ€ in your granted assets
    • Download the ZIP package

Step 2: Extract and Transfer

  1. Extract the ZIP file
    • Unpack the downloaded ZIP package to a local folder
    • Ensure all files are properly extracted
  2. Transfer to Server
    • Set your FTP client to binary transfer mode
    • Upload the night_gates folder to your serverโ€™s resources directory
    • Maintain the original folder structure

Step 3: Server Configuration

Add the following line to your server.cfg file:

ensure night_gates

Server Restart: After adding the ensure line, restart your server for the resource to load properly.


โš™๏ธ Configuration Setup

Required Tools

Visual Studio Code: We strongly recommend downloading VS Code for editing Lua files.

Configuration Files

File Purpose
night_gates/config/config.lua Main configuration settings
night_gates/client/c_functions.lua Client-side functions
night_gates/server/s_functions.lua Server-side functions

Configuration Process

  1. Open VS Code and navigate to the config files
  2. Read thoroughly - each line has explanatory comments
  3. Configure in order - work from top to bottom
  4. Watch for notes - important warnings are clearly marked
  5. Test frequently - use F8 console and server console for error checking

Time Investment: Plan adequate time for configuration. Each variable is named descriptively to help you understand its purpose.


๐ŸŽฎ How It Works

Gate Management

  • Infinite Gate Configuration - Set up unlimited gates across your map
  • Strategic Positioning - Place gates at key locations for access control
  • Synchronized Operations - Uniform experience for all players
  • Custom Object Models - Choose from various gate and bollard models

Config snippet generation: A .txt file is generated in the night_gates folder upon using this tool. It contains your config setup for the placed prefab of the gate/bollard(s).

Bollard System

  • Distance Configuration - Set spacing between bollards
  • Location Management - Configure bollard positions strategically
  • Creation Tool - Use /createbollards command for easy setup
  • Flexible Layouts - Adapt to different road and entrance configurations

Config snippet generation: A .txt file is generated in the night_gates folder upon using this tool. It contains your config setup for the placed prefab of the gate/bollard(s).

Access Control

  • Timing Control - Configure opening and closing durations
  • Command Integration - Customize command usage and permissions
  • Framework Integration - Item-based access for ESX/QBCore
  • Permission System - Role-based access control

๐Ÿ”— Integration & Compatibility

Framework Support

  • Standalone - Works independently without framework dependencies
  • ESX - Full ESX framework integration with inventory items
  • QBCore - Full QBCore framework integration with inventory items

Permission Systems

  • Discord API - Role-based permissions through Discord integration
  • ACE Permissions - Server-side permission management
  • Framework Permissions - ESX/QBCore group-based access

Inventory Integration: Configure specific items required to operate gates and bollards in framework mode.


๐Ÿ› ๏ธ Troubleshooting

Common Issues

Parsing Errors in F8 Console

  • Ensure files are transferred in binary mode via FTP
  • Follow the installation order: ZIP โ†’ Unpack โ†’ Binary FTP โ†’ Resources โ†’ server.cfg

Gates Not Appearing

  • Check server.cfg for proper resource ensure
  • Verify configuration file syntax
  • Confirm object model names are valid

Creation Tool Not Working

  • Ensure you have proper permissions to use creation commands
  • Check F8 console for error messages
  • Verify command syntax and parameters

Performance Optimization

  • Limit gate density - Avoid excessive gates in small areas
  • Optimize object models - Use appropriate models for your needs
  • Monitor server performance - Check for any performance impacts

๐Ÿ’ก Best Practices

Configuration Tips

  • Plan Your Layout - Map out gate and bollard positions before configuration
  • Use Creation Tools - Leverage the built-in creation commands for accurate positioning
  • Test Thoroughly - Verify all gates and bollards work as expected
  • Backup Configurations - Keep backups of working configurations

Security Considerations

  • Permission Management - Regularly review access permissions
  • Command Security - Restrict creation commands to authorized users
  • Escrow Protection - Keep resource escrow enabled for security

Performance Optimization

  • Efficient Positioning - Place gates strategically to minimize performance impact
  • Object Selection - Choose appropriate models for your serverโ€™s performance
  • Resource Management - Monitor resource usage with large gate systems

๐Ÿ†˜ Support

Read through the instructions again if you have not managed to install the resource. Canโ€™t get it to work still? Create a ticket through our dedicated support system in Discord:

Nights Software Discord


Back to top

Copyright © 2025 Nights Software

Page last modified: July 22, 2025 at 04:00 PM.