D-SERV Digital Marketplace is now open. Download free and paid products for your game server or community.
← All products
Web Projects / Version 1.0.0 / NEW

Lawless Coast — FiveM Roleplay Website Template with Real-Time 3D City

By Niko

Cinematic FiveM roleplay website template with a real-time 3D sunset city, live server status from one config file, and full desktop and mobile support.

Product Video

Product Information

Overview+

LAWLESS COAST is a website template for FiveM city roleplay communities. Behind the hero runs a real-time 3D coastal city at golden hour: glass towers reflecting the sunset, a moving ocean, a palm-lined promenade and an elevated freeway with live traffic and light trails. The camera glides slowly along the shore, and the sun glare follows the visitor's pointer.

Below the hero, the site gives your players everything they need: a live server panel that pulls player count, server build and the online player list straight from your FiveM server; feature cards; job poster cards for police, EMS, mechanics, businesses, crews and civilians; a screenshot gallery with lightbox and trailer slot; a four-step "how to join" guide; a rules preview; your staff team; and an FAQ. Separate pages hold the full rulebook and the staff list.

Live status is set up in one place. Put your Cfx.re join code and/or your server's ip:port into config.js — the included status.php reads it from there, asks your server directly and falls back to the Cfx.re server list. Visitors see a clear state at all times: Online with player count and capacity bar, Offline when the server does not answer, or Standby before setup.

The design uses warm sunset gradients, bold condensed type, frosted-glass panels and diagonal section cuts, with light and dark mode. Headlines rise in letter by letter, sections fade in softly, cards tilt under the pointer. Everything respects "reduce motion" settings, and the 3D city adapts its quality to the device or falls back to a still image.

The template is plain HTML, CSS and JavaScript: no framework, no build step, no database. Upload it, edit config.js, replace the sample texts and images, and your site is live.

Features+

Real-time 3D coastal city in the hero and page headers: sunset sky, glass towers reflecting the light, moving ocean, palm promenade, freeway with live traffic and light trails, hills with house lights
Four times of day: sunset, dusk (blue hour), night and day — set in config.js
Slow helicopter-style camera along the coast, reacting to the pointer and to scrolling
Adaptive 3D quality on slower devices; still image when WebGL is missing, Data Saver is on or "reduce motion" is set; can be switched to "low" or "off"
Live FiveM server status set up from config.js only: join code and/or ip:port
status.php asks your server directly, then the Cfx.re server list; 15-second cache; the address cannot be changed by visitors
Clear status states: Online (player count, capacity bar, server name), Offline, Standby
Live server panel: players, server build, resource count, hostname, join address, last sync and the online player list (player names safely escaped)
Connect button (cfx.re/join link) and one-click copy of the join address
Feature cards, job poster cards with hover details, gallery with keyboard lightbox, trailer slot (YouTube loads only after a click), four-step guide, rules preview, staff cards, FAQ accordion, call to action
Full rulebook page with section menu, and a staff page
Light and dark mode, remembered per visitor
Effects: letter-by-letter headlines, soft cinematic reveals, sunset tickers, card tilt, pointer sun glare, frosted header on scroll, odometer counter
Full-screen mobile menu
Respects "reduce motion"; tilt and glare are off on touch devices
All colours, fonts and sizes in CSS variables; one config file for server, links, store, email, video and 3D settings
Store link hidden automatically until you add a store URL
No tracking, no analytics, no ads, no licence checks, no intro screen, no sound
Original logo, icons, 3D city and images (rendered from the 3D city)

Requirements & Dependencies+

Any web host that serves static files (Apache, Nginx, LiteSpeed, Caddy). HTTPS recommended.
For live status through status.php: PHP 7.4 or newer (tested on PHP 8.3) with the cURL extension or allow_url_fopen, and outgoing connections from your host to your FiveM server port (default 30120) and/or to servers-frontend.fivem.net. Without PHP, the page can read the Cfx.re server list directly when a join code is set.
Visitors: a current browser (Chrome, Edge, Firefox, Safari). The 3D city needs WebGL; without it a still image is shown.
No database, no Node.js, no cron jobs, no accounts.

Product details:

Version: 1.0.0 (24 November 2026)
Type: website template for FiveM roleplay servers
Pages: Home, Rules, Staff
Built with: HTML5, CSS, vanilla JavaScript; three.js 0.187.0 (MIT) bundled for the 3D city; optional PHP proxy
Responsive: desktop, tablet and mobile (tested from 360 px to 2560 px wide)
Language of the site: English (all texts editable)
Light and dark mode
3D city script: about 610 KB (about 160 KB compressed), loaded after the page is shown
Package size: about 3.8 MB (ZIP)
Fonts: Anton, Manrope, JetBrains Mono — self-hosted, SIL Open Font License

What Files Do I Get?+

index.html — home page
rules.html — full rulebook page (sample rules)
staff.html — staff page (sample team)
config.js — server, links, store, email, video and 3D settings
status.php — live-status proxy (reads config.js)
assets/css/style.css — all styles, with colour, font and size variables at the top
assets/js/main.js — effects, live status, menu, lightbox
assets/js/metropolis.js — the 3D city (minified, includes three.js)
assets/js/src/metropolis.src.js — readable source of the 3D city, for editing
assets/fonts/ — 7 self-hosted web font files
assets/img/ — hero, page and call-to-action images, feature image, 6 gallery images, 6 job images, 8 staff avatars, share image and favicon (all labelled or placeholder where needed)
licenses/ — licences for three.js and the three fonts
README.md — setup guide with a list of every file
LICENSE.txt — Single Site licence
CHANGELOG.md — version history

49 files in total; README.md lists every file by name.

How To Install?+

Unzip the package and upload the contents of the lawlesscoast-v1.0.0 folder to your web root (or a sub-folder).
Open config.js and set serverName, discordInvite and supportEmail.
In the same file, set your server: cfxJoinCode (the code from your cfx.re/join link — the full link also works) and/or connectAddress (your server's ip:port, for example 203.0.113.5:30120). Setting both is best.
Open your site. The hero card and the Live server section should show Online with your player count. If it shows Standby, the server is not set up in config.js yet; if it shows Offline, check the address and that status.php runs on your host.
Replace the sample texts marked with [...], the rules, the staff and the images in assets/img/ (same file names), then remove the "Sample text" tags.

You do not need to edit status.php, run an installer or create a database. An Nginx example is in README.md.

Documentation+

README.md in the package covers:

the full file list
requirements and step-by-step installation
live status setup, the three status sources ("auto", "proxy", "cfx") and what to check if it shows Offline
a ready Nginx configuration for status.php
changing the name, logo, favicon, texts, images (with sizes), colours, fonts, links, store, trailer video and player list
3D city settings (quality and time of day) and how to rebuild the 3D scene if you edit its source
which effects exist and how to turn them off
the footer credit and how to remove it
security and privacy notes
what was tested and what you should check after installing
third-party components and their licences

Sample texts on the site are marked with [...] and "Sample text" tags.

License Information+

Single Site

Important Details

This is a website template, not a FiveM resource or script. It does not change anything on your game server.
Live status needs a real, reachable FiveM server. Before setup, or when the site is opened from your computer, the status shows Standby; no player numbers are ever invented.
Tested in Chrome with software 3D rendering, at sizes from 360 px to 2560 px, in light and dark mode, and with status.php on PHP 8.3 against a test server. It was not tested with a real Cfx.re join code or on real graphics cards and phones — please check after installing. On slow devices the 3D city lowers its own quality; you can set it to "low" or "off" in config.js.
The gallery and job images are renders of the template's own 3D city, labelled "SAMPLE IMAGE". Replace them with your own in-game screenshots. Do not use official game art, logos or screenshots you do not have the rights to.
Third-party parts keep their own licences (three.js — MIT; Anton, Manrope, JetBrains Mono — SIL Open Font License), included in the licenses/ folder.
The footer contains a small template credit; you may remove it (see README.md).
Not affiliated with or endorsed by Rockstar Games, Take-Two Interactive or Cfx.re. FiveM is a trademark of its respective owner.