Overview
Resource description
PHAONIX BASTION — Base Building
Survival-style base building for FiveM. Build piece by piece, upgrade from wood to armored, lock it down, pay your upkeep and defend it.
Bastion brings the full survival-game building loop to your server: snap-together foundations, walls and floors, four material tiers, a tool cupboard that controls who can build, code-locked doors, upkeep and decay. It ships with 79 custom-made props and everything is validated by the server.
Highlights
79 custom props: every building piece in 4 tiers, doors, garage door, ladder hatch, tool cupboard, crates, furnace, workbenches, defense devices
Snap building: pieces snap to each other on their own, aim with a free mouse cursor while you keep walking
4 upgrade tiers: wood, stone, metal and armored, each with its own health
Tool cupboard: building privilege, authorized players, upkeep storage
Structural support: floors need something to rest on, unsupported pieces collapse
Server-authoritative and persistent: every action is checked by the server, bases are saved in MySQL
Fully configurable: open config, English and French translations
Building
A clean building menu sorted by category, with each piece's cost next to what the player owns
Green ghost = it can be placed. Red = the reason is shown (spot taken, too far, no support, someone else's cupboard...)
A ring on the ground shows the build reach, so bases are built close to the player
12 building pieces in 4 tiers: foundation, triangle foundation, wall, half wall, doorway, window, garage frame, floor, triangle floor, floor frame, stairs, ladder hatch
Hammer: upgrade, repair, rotate, and demolish within 10 minutes for a 50% refund
Every piece also exists as a kit item: craft it, trade it, store it
Floating health bars when you get close to a piece
Tool cupboard and upkeep
Only authorized players can build, upgrade or demolish around a cupboard
Anti-noclip: you can only get authorized on a locked base if it is open
Upkeep: every hour the base pays from the cupboard storage, or it decays and collapses
Doors and locks
Wooden, sheet metal and armored doors, plus a metal garage door
Code locks with a keypad on the door (4 digits, lockout after wrong codes)
Animated ladder hatch with a folding ladder and climbing animations
Deployables
Small and large storage crates
Furnace: burns wood to smelt ores, with flames and smoke
Workbenches level 1 to 3, each opening its own crafting bench
Sleeping bags and beds as respawn points (cooldown, renaming, giving)
Defense devices
Generator powering the base's devices wirelessly
Motion sensor, connected alarm and security cameras you can watch from the cupboard
Auto turret, shotgun trap, flame trap, landmine, bear trap and barbed barricade
Devices ignore the base's authorized players
Admin tools
Mouse-driven admin mode: highlight, select a piece, a whole building or a whole base, and delete it after confirmation. Requirements
OneSync
ox_lib, ox_inventory, ox_target, oxmysql
Framework: QBCore, Qbox, ESX, ox_core or standalone (auto-detected, open bridge for custom cores)
What you get
The script, protected with Cfx.re asset escrow
Open config, bridge, translations and item definitions
79 streamed props, ready to use
Install guide, SQL file, ox_inventory items and crafting benches
Support on our Discord
Phaonix Studios. Inspired by survival games, built for FiveM.