# FX Server Setup

## Fivem Server Documentation

Toggle Dark Mode:

**PLEASE NOTE: ONLY START YOUR SERVER WITH THE SHORTCUT OR THE SERVER WILL NOT START CORRECTLY**

### Introduction

### Getting Started

Follow these steps to set up your brand new FiveM Server:

1. Launch Remote Desktop
2. Enter your server credentials (All information will be on the website).
3. [Get Git](https://git-scm.com/download/win)
4. [Get VSCODE](https://vscode.download.prss.microsoft.com/dbazure/download/stable/31c37ee8f63491495ac49e43b8544550fbae4533/VSCodeUserSetup-x64-1.86.1.exe)
5. [Get 7Zip or WinRAR](https://www.7-zip.org/a/7z2301-x64.exe)

Download and install FiveM Server: [Download FiveM Server](https://runtime.fivem.net/artifacts/fivem/build_server_windows/master/)

Make sure to have WinRAR or 7-Zip installed to open the files, then export them into a folder called FX Server or whatever you like. Then follow the steps below:

* Normally, we give you a notepad on the desktop or documents with a list of ports you may use.
* TX Admin Setup: Go to FX start and make FXServer.exe - Shortcut
* Please note that the port code below is an example. Do not use it!!

Then enter your server path: `Add your path here\FXServer.exe +set txAdminPort 40125`

<figure><img src="https://4134063495-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwRrqNWceDjlqNq2iqcVW%2Fuploads%2FtP3uXqNSzxIQ2Fcg3gsz%2FScreenshot%202024-02-29%20093609.png?alt=media&#x26;token=f5e1df10-bbd4-4961-9dc9-14162bbd3eec" alt=""><figcaption></figcaption></figure>

Change A port to your server port you were given.

### TX Admin Database Setup

Go to Database Setup

{% content-ref url="database-setup-for-wales-uk-server" %}
[database-setup-for-wales-uk-server](https://swift-peak-hosting-dev.gitbook.io/swift-peak-hosting-docs/database-setup-for-wales-uk-server)
{% endcontent-ref %}

For non-TX Admin Setup: [Download FiveM Server](https://runtime.fivem.net/artifacts/fivem/build_server_windows/master/)

### For non-TX Admin Setup, go here:

* Download server data: [Download server data](https://github.com/citizenfx/cfx-server-data)
* Then follow this documentation to set up the rest of your Vanilla Server Installation: [then follow this docs](https://docs.fivem.net/docs/server-manual/setting-up-a-server-vanilla/)

### How Do I Join My Server?

You can do this in two ways that we suggest, either via your server key that gives you a link in CMD, or through the Cloudflare route where you set up a DNS A Record and then an SRV Record.

Please make sure the name is the same as the new A Record you made.

© 2023 SwiftPeakHosting. All rights reserved.
