Overview
Section titled “Overview”Take your server customization to the next level with MetaBuild! Whether you’re crafting a post-apocalyptic world or building a large-scale military training facility, MetaBuild gives you complete freedom to construct, edit, and manage objects effortlessly. MetaBuild even allows you to save your creations after server restarts!
Key Features
Section titled “Key Features”- Build Mode (No Clip) - Easily move and place objects without restrictions
- Synchronized - Everything you build is synchronized over all players
- Saved - Everything you build is saved, unless you configure to refresh on restarts
- Advanced Snapping Tools - Rotate and snap objects with precision
- Ground Placement Option - Ensure stable and realistic object positioning
- Demolish Mode - Quickly remove unwanted structures
- Comprehensive Object Menu - Manage objects (Build, edit, delete, customize categories)
- Built-in Door Lock System - Secure areas with key-based access
- Key Management - Give, take, or reset duplicate keys
- Object Customization - Add, edit, and delete objects with ease
- Object Pictures - A picture for almost every object in the menu
- High Performance Rendering - Supports up to 1,500 objects per 750 GTA meters
- Custom Object Lifespan - Define how long objects remain in-game
- Paid Construction Option - Monetize object placement if desired
- Flexible Permissions - Configure access for Admins, Moderators, Trusted Users
- Detailed Permission Settings - Control building zones, editing, road construction
- Powerful Management Panel - Mass delete objects/keys, track stats
- Discord Webhook Integrations - Built-in Discord notifications
- Multi-Framework Support - ESX/QBCore/Standalone compatible
- Escrow Protection - Secure resource with multi-language support
Important Pre-Installation Notes
Section titled “Important Pre-Installation Notes”System Requirements & Compatibility
Section titled “System Requirements & Compatibility”OneSync Compatibility
Section titled “OneSync Compatibility”- OneSync Legacy: Fully tested and compatible
- OneSync Infinity: Fully tested and compatible
Framework Compatibility
Section titled “Framework Compatibility”- ESX: Full compatibility with ESX framework
- QBCore: Full compatibility with QBCore framework
- Standalone: Works without any framework
Dependencies
Section titled “Dependencies”- MySQL Database - Required for data storage
- oxmysql - Required database API
- Dynamic Door Creation - Server setting required
Installation Process
Section titled “Installation Process”Step 1: Download the Resource
Section titled “Step 1: Download the Resource”- Access CFX Portal
- Go to CFX Portal Assets
- Find “MetaBuild” in your granted assets
- Download the ZIP package
Step 2: Extract and Transfer
Section titled “Step 2: Extract and Transfer”-
Extract the ZIP file
- Unpack the downloaded ZIP package to a local folder
- Ensure all files are properly extracted
-
Transfer to Server
- Set your FTP client to binary transfer mode
- Upload the
night_metabuildfolder to your server’sresourcesdirectory - Maintain the original folder structure
Step 3: Server Configuration
Section titled “Step 3: Server Configuration”Add the following line to your server.cfg file:
ensure night_metabuildDatabase Setup (Required)
Section titled “Database Setup (Required)”Step 1: Enable Dynamic Door Creation
Section titled “Step 1: Enable Dynamic Door Creation”Add this line to your server.cfg above the starting of scripts:
setr game_enableDynamicDoorCreation "true"Step 2: Database Connection String
Section titled “Step 2: Database Connection String”Add your MySQL connection string to server.cfg above the ensure/start of resources:
set mysql_connection_string "user=Your_Database_Username;password=Your_Database_Password;host=Your_Database_Host;port=3306;database=Your_Database_Name;charset=utf8mb4_general_ci"Step 3: Automatic Table Installation
Section titled “Step 3: Automatic Table Installation”When you boot up the server, MetaBuild will automatically run queries to install the required tables into your database.
oxmysql Installation (Required)
Section titled “oxmysql Installation (Required)”Step 1: Download oxmysql
Section titled “Step 1: Download oxmysql”If you don’t have oxmysql installed, download it from: Download oxmysql
Step 2: Install oxmysql
Section titled “Step 2: Install oxmysql”- Place oxmysql into your resources folder
- Add to server.cfg - Ensure it starts before MetaBuild:
ensure oxmysqlStep 3: Test Database Connection
Section titled “Step 3: Test Database Connection”Start your server and check the console for oxmysql connection messages. You should see confirmation that the database connection is working.
Configuration Setup
Section titled “Configuration Setup”Required Tools
Section titled “Required Tools”Configuration Files
Section titled “Configuration Files”| File | Purpose |
|---|---|
night_metabuild/config/config.lua |
Main configuration settings |
night_metabuild/client/c_functions.lua |
Client-side functions |
night_metabuild/server/s_functions.lua |
Server-side functions |
Configuration Process
Section titled “Configuration Process”- Open VS Code and navigate to the config files
- Read thoroughly - each line has explanatory comments
- Configure in order - work from top to bottom
- Watch for notes - important warnings are clearly marked
- Test frequently - use F8 console and server console for error checking
Discord Webhooks
Section titled “Discord Webhooks”MetaBuild can post to a Discord channel when players place or demolish objects, when objects are added to or removed from the menu, and when keys or objects are deleted in bulk. Webhooks are off by default. To turn them on, set both lines in config/config.lua:
Config.Enable_Discord_Webhooks = trueConfig.DiscordWebhookUrl = 'https://discord.com/api/webhooks/...'How It Works
Section titled “How It Works”Building System
Section titled “Building System”- Build Mode - No-clip movement and object placement
- Advanced Snapping - Precise object rotation and positioning
- Ground Placement - Stable and realistic object positioning
- High Performance - Supports up to 1,500 objects per 750 GTA meters
- Object Lifespan - Customizable object persistence
Management Features
Section titled “Management Features”- Comprehensive Menu - Build, edit, delete, and customize objects
- Door Lock System - Key-based access control
- Key Management - Give, take, or reset duplicate keys
- Mass Operations - Bulk delete objects and keys
- Statistics Tracking - Monitor object usage and performance
Object Pictures
Section titled “Object Pictures”The object menu shows a picture of each object, made by Nights Software. Each player’s game downloads them from assets.nights-software.com and keeps them, so a picture is downloaded only once. For the few objects without one, the menu uses the picture site set in Config.ApiUrl (config/default-objects-config.lua).
To use your own picture for an object, open the object’s edit menu and put a link to the image in Custom Picture URL (use an https:// link). Leave the field empty to show the default picture.
Permission System
Section titled “Permission System”- Flexible Access - Configure for Admins, Moderators, Trusted Users
- Zone Control - Define building zones and restrictions
- Road Construction - Control road building permissions
- Menu Access - Manage who can access building menus
Integration & Compatibility
Section titled “Integration & Compatibility”Framework Support
Section titled “Framework Support”- Standalone - Works independently without framework dependencies
- ESX - Full ESX framework integration
- QBCore - Full QBCore framework integration
Database Integration
Section titled “Database Integration”- MySQL Database - Persistent storage for all constructions
- oxmysql API - Reliable database connectivity
- Automatic Backups - Built-in data protection
Troubleshooting
Section titled “Troubleshooting”Common Issues
Section titled “Common Issues”Performance Optimization
Section titled “Performance Optimization”- Object Limits - Monitor object count per area
- Database Performance - Optimize MySQL queries
- Rendering Distance - Configure appropriate render distances
Best Practices
Section titled “Best Practices”Configuration Tips
Section titled “Configuration Tips”- Permission Planning - Set up appropriate access levels
- Zone Management - Define logical building zones
- Object Organization - Use categories for better management
- Backup Configurations - Keep backups of working configurations
Database Management
Section titled “Database Management”- Regular Backups - Backup your database regularly
- Performance Monitoring - Monitor database performance
- Table Maintenance - Periodically optimize database tables
Server Performance
Section titled “Server Performance”- Object Limits - Respect recommended object limits
- Render Optimization - Configure appropriate render distances
- Resource Management - Monitor resource usage with large builds
Support
Section titled “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: