Studios
Spawn Objectsspawn-2.jpg

Installation

FreeSpawn ObjectsStandalone
PAGE 02 OF 06  ·  OVERVIEW → INSTALLATION → CONFIGURATIONdocs.glitchstudios.dev
Browse docs

Glitch Spawn Objects is a lightweight and efficient FiveM resource designed to spawn, synchronise, and persist world objects seamlessly across all players on the server.

Requirements#

Requires ox_lib and oxmysql, a configured MySQL connection, and a database account that can create/update the synced_objects table. Start oxmysql and ox_lib before glitch-spawnobjects.

Installation steps#

  1. Download glitch-spawnobjects and extract the complete resource, including its UI files.
  2. Name the folder glitch-spawnobjects (remove the -main suffix) and place it in your server's resources directory. Resource names are case sensitive on Linux.
  3. Start any providers listed above first, then add this to server.cfg:
ensure glitch-spawnobjects
  1. Review Configuration, restart the server or resource, and follow Examples to verify the installation.

Permissions and persistence#

The resource creates and verifies synced_objects at startup; no separate SQL import is required for a fresh installation. Back up an existing database before updating.

The default permission system is ACE, with Config.acePermission = "command.spawnobject". Grant that permission to your admin group in server.cfg:

add_ace group.admin command.spawnobject allow

Ensure your administrator belongs to that group. Discord mode requires your own role-check integration. Configure optional logging in the server-only shared/apiKeys.lua.

Verify that the manifest paths match the files in your installed package, especially on case-sensitive servers.