Installation
Prefer a video? Watch the installation tutorial on YouTube.
Don’t have a server yet? Read Hosting first. For something cheap that runs this fine, we recommend 24Racks.
This is the clean install, new world, no old database. If you are moving an existing server to another PC see Updating & database for the backup and import tools.
1. Folder layout
Section titled “1. Folder layout”Your server-data folder ends up like this:
BeyondSurvival/├── server.cfg # from server.cfg.example├── server.private.cfg # from server.private.cfg.example, NEVER share this├── resources/│ ├── [beyond]/ # the framework, all bs_* resources│ ├── [map]/ [compat]/ [prototypes]/ [third-party]/│ ├── [map]/[the_apocalypse_project]/ # installed by the recipe; manual installs add it separately│ ├── oxmysql/│ └── vMenu/ ... # optional└── tools/ # PowerShell helpers (Windows)The artifacts (FXServer.exe) live somewhere else, like C:\FXServer. Don’t put them inside the server-data folder.
If you got the release package it already looks like this. To build one yourself from a dev copy:
powershell -ExecutionPolicy Bypass -File .\tools\Prepare-PortableRelease.ps1 -Destination D:\BeyondSurvival-ReleaseIt leaves out server.private.cfg, cache/, db/, backups and logs on purpose.
2. Database
Section titled “2. Database”Install MariaDB, then create an empty database and a user for it. On Windows the helper does both:
tools\setup-database.batOr by hand:
CREATE DATABASE beyondsurvival CHARACTER SET utf8mb4;CREATE USER 'beyond'@'localhost' IDENTIFIED BY 'your-password';GRANT ALL PRIVILEGES ON beyondsurvival.* TO 'beyond'@'localhost';FLUSH PRIVILEGES;Do not import any .sql file. bs_core runs its migrations on first boot (bs_core/sql/001_core_schema.sql up to 030_user_language.sql, see Database migrations) and records each one in the bs_migrations table, so they never run twice. database/full_schema.sql is only there if you want to look at the schema outside the server.
3. Private config
Section titled “3. Private config”Copy server.private.cfg.example to server.private.cfg and fill it:
sv_licenseKey "your keymaster key"set steam_webApiKey ""server.cfg loads it on the first line with exec server.private.cfg. Keep it out of git and out of any zip you send to people.
4. server.cfg
Section titled “4. server.cfg”Copy server.cfg.example to server.cfg. Change hostname, tags, sv_maxclients, and your staff principals at the bottom (see Admin & permissions).
The ensure order matters for some of them. oxmysql first, bs_core before every other bs_*, and the zombie stuff after the things it reads. This is the order the live server runs:
ensure oxmysql
ensure bs_loadingensure bs_core # must stay first of the bs_*ensure bs_multicharensure bs_admin
ensure bs_configensure bs_assetsensure bs_uiensure bs_chat # replaces the stock chat, don't ensure bothensure bs_radialensure bs_bodilyensure bs_interactionsensure bs_inventoryensure bs_skillsensure bs_parkourensure bs_fightingensure bs_fpdebug # fighting and parkour test tools, admin onlyensure bs_economyensure bs_medicalensure bs_emotesensure bs_scenesensure bs_weaponsensure bs_vehiclesensure bs_menuensure bs_vipensure bs_buildingensure bs_craftingensure bs_recyclerensure bs_miningensure bs_stashensure bs_extractionensure bs_factionsensure bs_faction_basesensure bs_scoreboardensure bs_world
ensure nutria_crawl_anims # before bs_zombies, crawlers need the anim dictensure bs_zombiepedsensure bs_zombiesensure bs_zombiesfx
# voice and radio: bs_voice replaces pma-voicestop pma-voicesetr voice_useNativeAudio truesetr voice_useSendingRangeOnly trueensure bs_voiceensure bs_radioensure bs_missionsensure bs_atlas # after bs_zombies, it calls its callbacksensure bs_traders # reads bs_zombies safe zonesensure bs_jobsensure nodes # sector map web panel
ensure bs_boostersensure bs_gadgetsensure bs_drugsensure bs_eventsensure bs_operationsensure bs_darkzone # off until switched on in F1 > Dark Zoneensure bs_guardensure bs_pauseensure bs_bodycamensure bs_tutorialensure bs_passensure bs_survivorensure bs_survivor_link
## ensure bs_cinecam # optional, remove ## to enable## ensure bs_esx_bridge # ESX bridge, partial, remove ## to try it## ensure qbx_core # Qbox bridge, partial, remove ## to try it
## ensure [the_apocalypse_project] # enable for manual installs; txAdmin handles thisensure chadada_apocalypse_carsDon’t ensure chat while bs_chat runs, you get two chat boxes and every message twice. And don’t ensure mapmanager/spawnmanager/sessionmanager unless you actually installed cfx-server-data, bs_core and bs_multichar do spawning themselves.
5. Check before you start
Section titled “5. Check before you start”powershell -ExecutionPolicy Bypass -File .\tools\Test-Deployment.ps1Don’t start until every check passes.
6. First start
Section titled “6. First start”With txAdmin: run FXServer.exe, pick Existing Server Data and point it at your folder. Set OneSync in the txAdmin settings.
Without txAdmin:
C:\FXServer\FXServer.exe +exec "D:\BeyondSurvival-Release\server.cfg"Watch the console. You want oxmysql, bs_core (it prints the migrations it applied on the first boot), bs_factions, bs_menu and the map starting with no red errors. Then join, make a character, open the inventory (I), open the faction menu, press F1 and F10 as staff to check permissions work.
The nodes resource prints a URL with an access key to the console on its first boot. That’s the sector map panel, copy it and bookmark it.
7. Optional: install The Apocalypse Project
Section titled “7. Optional: install The Apocalypse Project”BS19 runs fine on the normal map. If you want the post-apocalyptic world, install The Apocalypse Project, the free companion map.
-
Download the zip from bs19.org/map (latest release, or the newest files from the main branch while there’s no release).
-
Extract it into
resources/[map]/, so you end up withresources/[map]/[the_apocalypse_project]/. -
Add the ensure line to
server.cfg(or remove the#if it’s already there, commented out):ensure [the_apocalypse_project] -
Restart the server.
Full steps, load order and IPL notes: Install & load order.
bs19.org · Privacy · Terms · Cookie settings
Cookies and outside content
The site only needs two essential cookies to keep you logged in and protect forms. Videos and streams from YouTube and Twitch load from their servers, which can set their own cookies, so they stay off until you say yes. Nothing is pre-ticked and you can change your mind any time with "Cookie settings" at the bottom of every page. Details.
Questions about the server, the framework or the site? A real person reads this, usually within a day.