Base Building System (Rust Style)

Bring true survival gameplay to your FiveM server with our modular base building system, inspired by Rust.

Whether you’re running a hardcore survival server or just want dynamic building mechanics, this script gives your players complete control to build, expand, and protect their own bases.

Features

  • Rust-style snap placement (foundations, walls, ceilings, stairs, and more)
  • Raw material cost – auto-deducted from player inventory
  • Power system – place generators and lights (requires fuel)
  • Storage props – stash items in placeable boxes
  • Access control – add friends, set permissions, lock doors
  • Password system – protect sensitive containers or doors
  • Destruction logic – unstable props collapse if support is removed
  • No overlap radius – each base has its own territory dome
  • Custom Radial Menu - Quick-access wheel to select buildables with icons and cost

Customizable & Expandable

  • Easily add your own furniture or buildable props
  • Modify build costs, structure models, permissions, and more
  • Future updates will include new building types, trap systems, and automation

Video Preview

Buy it now

Dependencies:

  • oxmysql
  • ox_lib
  • ESX, QB-Core or Qbox
Code is accessible Some
Subscription-based No
Lines (approximately) 3500
Requirements ox_lib & oxmysql
Support Yes
1 Like

Hi looks very neat, Just a few questions.

  1. Can it be set to only players can build in a certain zone for example Only Cayo Perico
  2. Can the bases be raided?

hello

  1. not by default but you can use the client function check to return true if the user is at specific location
function CanUserPlaceObject(item, coords)
    -- Return true if user is able to place it, return false if not
    -- Config.Buildables[placingType] 
    return true
end
  1. no, but it will be in a future update soon

════════════════════════════════════

:hammer: Base Building | 0.7.7 Patch Note

════════════════════════════════════

:new: New Features

  • Upgrade to Tier 2 (Stone) and Tier 3 (Concrete) for all buildables.
  • Bulletproof glass for windows (removable via config).
  • Metal door tier added.

:lady_beetle: Fixes

  • Base Control center now updates correctly when moved.
  • Moving props correctly destroys unsupported attached structures.

:gear: Custom Functions

Added 3 new functions in open_client.lua you can customize to control permissions:

:small_blue_diamond: CanUserPlaceObject(type, coords)
Allows or blocks placement of specific objects.

:white_check_mark: Return true to allow, false to deny.

:small_blue_diamond: CanUserOpenMenu()
Allows or blocks opening the build menu.

:white_check_mark: Return true to allow, false to deny.

:small_blue_diamond: CanUserUpgradeObject(currentTier)
Allows or blocks upgrading to a specific tier.

:white_check_mark: Return true to allow, false to deny.

:pushpin: Arguments:
currentTier – Current tier (1 = Wood, 2 = Stone, 3 = Concrete)

question:
are bases saved on server restarts or do they delete?

hello, they are saved on the database