PortableCFX provides a suite of batch files to streamline the setup of a local dev server. This is a "portable" server, as in nothing is installed not even the database and you can just delete the folder this lives in, this is not intended for hosting a live game server or really for usage outside of spinning up a machine on your dev computer and then connecting locally. If you use this for live servers to play on and stuff doesnt work i cant really help you, It may or may not work for that purpose.
It can be made "really" portable by install this on a thumb drive and making sure to maintain the drive letter since file paths are hard coded in a lot of assets outside of my control
Download the project and run 0.Install.cmd
to set everything up.
When using a custom recipe make sure to use the raw path.
example: https://raw.githubusercontent.com/Qbox-project/txAdminRecipe/main/qbox.yaml
- run once, delete all folders to perform a "clean" reinstall of everything if something messes up and you cant figure out how to fix it.
- Run to start the MariaDB database.
- Run to start the FiveM server after starting the database.
- Opens the txAdmin web interface for server management.
- Launches your FiveM Client and attempts to connect to the local FiveM server.
- Safely shuts down the database server.
- Opens a connection to the database using HeidiSQL.
- These scripts clear your client or server cache.
- These all download the required tools and server files, also use to update fivem server files with
9.DownloadUpdateServerFiles
.
- This Repo is for DEVELOPERS and not intended for server owners, no support for setting up a live enviroment.
- Make sure to start your database before starting fivem when returning to your development server.
- When using a custom recipe from github, always use the raw path.
- Submit a issue if the problem is related to the scripts or reach out on discord.
- open up and forward port
30120
to30120
on your computer if you have someone else connect from outside of your network. - make sure you have a firewall rule for
30120
which you should have accepted during setup. - same goes for port
3306
for your local database server, DO NOT FORWARD THIS PORT FROM YOUR FIREWALL