GTA6 Tuto

Docs / Alojar y proteger

Secure your server

The basic protections: access, ports, secrets, backups and scripts.

Actualizado 19 de noviembre de 2026

Por ahora esta documentación solo está en inglés y en francés.

The machine

  • Only open the ports you need: 30120 TCP/UDP for players. Restrict access to txAdmin (40120) to your IP, or go through a VPN or an SSH tunnel.
  • SSH login with a key, not a password, and disable direct root login.
  • Regular updates of the system and the FiveM artifacts.

Access

  • In txAdmin, give each staff member their own account with only the permissions they need.
  • Remove access as soon as someone leaves the team.
  • Never share the founder account.

Secrets

License key, database password, Discord webhooks, API tokens: never in a public repository, never in a screenshot. If one leaks, change it immediately.

Scripts

  • Only install resources from known sources. A trapped script can give access to your server or wipe your database.
  • Read the code of free resources before running them, especially the server files.
  • Check everything server-side: money amounts, items given, distances, permissions. A cheater can call any event.

Backups

  • Database: every day.
  • Server folder: after every big change.
  • Store them somewhere other than the server machine, and check from time to time that you can restore them.

What about GTA 6?

These rules (limited access, protected secrets, backups, scripts from known sources) apply whatever the game.