{"id":199038,"date":"2025-09-22T12:30:47","date_gmt":"2025-09-22T10:30:47","guid":{"rendered":"https:\/\/fivemx.com\/?p=199038"},"modified":"2025-12-23T13:27:35","modified_gmt":"2025-12-23T12:27:35","slug":"so-erstellen-sie-einen-altv-server","status":"publish","type":"post","link":"https:\/\/fivemx.com\/de\/how-to-create-altv-server\/","title":{"rendered":"So erstellen Sie einen alt:V-Server (2025-Kurzanleitung)"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Want to host your own GTA V multiplayer world with <strong>alt:V<\/strong>? This guide shows you two reliable setup paths (Windows &amp; Linux), gives you a clean <code>server.toml<\/code>, a first working JavaScript resource, firewall\/ports, and optional systemd service so you can go from zero to a public, masterlisted server fast.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">What you\u2019ll need<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A legitimate copy of <strong>GTA V<\/strong> (players need this; the server does not).<\/li>\n\n\n\n<li><strong>Windows 10\/11<\/strong> or <strong>Ubuntu 22.04+<\/strong> (or any recent x64 Linux).<\/li>\n\n\n\n<li>Basic terminal\/PowerShell skills.<\/li>\n<\/ul>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">alt:V servers are standalone; you don\u2019t install GTA on the server.<\/p>\n<\/blockquote>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Folder layout (we\u2019ll create this)<\/h2>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">altv-server\/\n\u251c\u2500 altv-server.exe (Windows) or altv-server (Linux)\n\u251c\u2500 libnode.dll \/ libnode.so\n\u251c\u2500 server.toml\n\u251c\u2500 package.json  \u2190 sets ESM (type: module) for JS resources\n\u2514\u2500 resources\/\n   \u2514\u2500 example\/\n      \u251c\u2500 resource.toml\n      \u251c\u2500 server.mjs\n      \u2514\u2500 client\/\n         \u2514\u2500 client.mjs\n<\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/altv.mp\/downloads\/\" target=\"_blank\" rel=\"noopener\">Download AltV Server Files<\/a><\/div>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Option A \u2014 Quickstart (Windows &amp; Linux) with <code>altv-pkg<\/code><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">This pulls the latest official binaries for you.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Create a working directory<\/li>\n<\/ol>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">mkdir altv-server &amp;&amp; cd altv-server\n<\/pre>\n\n\n\n<ol start=\"2\" class=\"wp-block-list\">\n<li>Initialize Node (for tooling only)<\/li>\n<\/ol>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">npm init -y\nnpm i --save-dev altv-pkg\n<\/pre>\n\n\n\n<ol start=\"3\" class=\"wp-block-list\">\n<li>Download server binaries<\/li>\n<\/ol>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">npx altv-pkg release\n<\/pre>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">Re-run <code>npx altv-pkg release<\/code> any time you want to update.<\/p>\n<\/blockquote>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Option B \u2014 Manual install<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Download the <strong>Server<\/strong> build from the official alt:V downloads page (choose Windows or Linux).<\/li>\n\n\n\n<li>Extract into <code>altv-server\/<\/code>.<\/li>\n<\/ol>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Create <code>package.json<\/code> (top-level)<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">This enables <strong>ESM<\/strong> syntax (<code>import ...<\/code>) for your JS resources.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">{\n  \"name\": \"altv-server\",\n  \"private\": true,\n  \"type\": \"module\"\n}\n<\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Minimal <code>server.toml<\/code><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Create <code>server.toml<\/code> in the server root:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\"># Displayed name in the alt:V client\nname = \"My alt:V Server\"\n# Bind to all interfaces\nhost = \"0.0.0.0\"\n# Default game port (TCP &amp; UDP)\nport = 7788\n# Player slots\nplayers = 128\n# Show on masterlist? (set true for public)\nannounce = true\n# Obtain a token from the alt:V dashboard and paste here when going public\n# token = \"YOUR_MASTERLIST_TOKEN\"\n\n# Load the JS module and our example resource\nmodules = [\"js-module\"]\nresources = [\"example\"]\n\n# Helpful in development\ndebug = true\nlogStreams = [\"console\", \"file\"]\n<\/pre>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\"><strong>Tip:<\/strong> Ports when using <em>external<\/em> voice are typically 7798 (server) and 7799 (client); open them only if you run the voice server separately. The basic in-process voice needs only your game port.<\/p>\n<\/blockquote>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Your first resource (JavaScript)<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Create <code>resources\/example\/resource.toml<\/code>:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\"># Server-side language for this resource\ntype = \"js\"\n# Client-side language for this resource\nclient-type = \"js\"\n\n# Entry files\nmain = \"server.mjs\"\nclient-main = \"client\/client.mjs\"\n\n# Files the client may download\nclient-files = [\n  \"client\/*\",\n]\n<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><code>resources\/example\/server.mjs<\/code><\/h3>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">import * as alt from 'alt-server';\n\nalt.on('playerConnect', (player) => {\n  alt.log(`+ ${player.name} connected`);\n  player.emit('welcome:notify', `Welcome to ${alt.getServerConfig().name}!`);\n});\n\nalt.on('playerDisconnect', (player, reason) => {\n  alt.log(`- ${player?.name ?? 'unknown'} left (${reason})`);\n});\n<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><code>resources\/example\/client\/client.mjs<\/code><\/h3>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">import * as alt from 'alt-client';\n\nalt.onServer('welcome:notify', (msg) => {\n  alt.log(`Server says: ${msg}`);\n  \/\/ Simple on-screen help text\n  alt.everyTick(() => {\n    alt.drawText2d(msg, 0.5, 0.9, 0.5, 255, 255, 255, 255, 0, true, true, 0);\n  });\n  \/\/ Remove after ~8 seconds\n  alt.setTimeout(() => alt.clearEveryTick(), 8000);\n});\n<\/pre>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">That\u2019s a complete resource. When a player connects they receive a welcome text.<\/p>\n<\/blockquote>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Start the server<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Windows (PowerShell)<\/h3>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">cd C:\\path\\to\\altv-server\n.\/altv-server.exe\n<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Linux<\/h3>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">cd \/opt\/altv-server   # or your path\nchmod +x altv-server\n.\/altv-server\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">If startup is clean, you\u2019ll see logs and the server will be reachable at <code>your.ip:7788<\/code>. Join via the alt:V client (Direct Connect) or from the Masterlist (if <code>announce = true<\/code> and a valid <code>token<\/code> is set).<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Open the firewall<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Windows (PowerShell, run as Admin)<\/h3>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">New-NetFirewallRule -DisplayName \"altV 7788 TCP\" -Direction Inbound -Protocol TCP -LocalPort 7788 -Action Allow\nNew-NetFirewallRule -DisplayName \"altV 7788 UDP\" -Direction Inbound -Protocol UDP -LocalPort 7788 -Action Allow\n<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Linux (UFW)<\/h3>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">sudo ufw allow 7788\/tcp\nsudo ufw allow 7788\/udp\n<\/pre>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">If using an <em>external<\/em> voice server, also allow <code>7798\/udp<\/code> and <code>7799\/udp<\/code>.<\/p>\n<\/blockquote>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">(Optional) Run alt:V as a service on Linux<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Create <code>\/etc\/systemd\/system\/altv.service<\/code>:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">[Unit]\nDescription=alt:V Server\nAfter=network.target\n\n[Service]\nUser=altv\nWorkingDirectory=\/opt\/altv-server\nExecStart=\/opt\/altv-server\/altv-server --port 7788\nRestart=on-failure\n\n[Install]\nWantedBy=multi-user.target\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Enable and start:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">sudo systemctl daemon-reload\nsudo systemctl enable --now altv\njournalctl -u altv -f\n<\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Quality-of-life for development<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Debug mode:<\/strong> keep <code>debug = true<\/code> while building; toggle off for production.<\/li>\n\n\n\n<li><strong>Node inspector (server JS):<\/strong> add this to <code>resources\/example\/resource.toml<\/code> if you need server-side debugging: <code>[js-module] inspector = true<\/code> Then attach Chrome DevTools \u2192 Node target.<\/li>\n\n\n\n<li><strong>TypeScript:<\/strong> add a <code>tsconfig.json<\/code>, compile to <code>dist\/<\/code>, and point <code>main<\/code>\/<code>client-main<\/code> to compiled files. Install types: <code>npm i -D @altv\/types-server @altv\/types-client<\/code>.<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Updating &amp; backups<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Update binaries:<\/strong> rerun <code>npx altv-pkg release<\/code> (Option A) or re-download the ZIP (Option B).<\/li>\n\n\n\n<li><strong>Backups:<\/strong> zip <code>resources\/<\/code>, <code>server.toml<\/code>, and any database\/external configs. Automate with a cron or scheduled task.<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Production hardening checklist<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Set a strong <code>token<\/code> and <code>announce = true<\/code> for the masterlist.<\/li>\n\n\n\n<li>Keep <code>debug = false<\/code> in production.<\/li>\n\n\n\n<li>Use <code>logStreams = [\"file\"]<\/code> in prod and rotate logs externally if needed.<\/li>\n\n\n\n<li>Only expose needed ports (7788; 7798\/7799 if external voice).<\/li>\n\n\n\n<li>Consider <code>useCdn = true<\/code> for large downloads; generate packages with <code>--justpack<\/code> and serve via HTTPS.<\/li>\n\n\n\n<li>Monitor with a watchdog (systemd <code>Restart=on-failure<\/code>) and set up alerts.<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Troubleshooting (fast fixes)<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Can\u2019t see server on the list:<\/strong> ensure <code>announce = true<\/code>, valid <code>token<\/code>, open 7788 TCP\/UDP on host <em>and<\/em> router\/NAT; wait a few minutes for propagation.<\/li>\n\n\n\n<li><strong>Clients stuck on download:<\/strong> if you added big assets, consider <code>useCdn = true<\/code> and packaging (<code>--justpack<\/code>).<\/li>\n\n\n\n<li><strong>Ports already in use:<\/strong> pick a different <code>port<\/code> in <code>server.toml<\/code> or stop the conflicting service.<\/li>\n\n\n\n<li><strong>Nothing happens on connect:<\/strong> confirm resource names match <code>resources = [\"example\"]<\/code> and your folder lives under <code>resources\/example<\/code>.<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">FAQ &#8211; alt:V Servers<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Do I need GTA V installed on the server machine?<\/strong><br>No. Only players need a legitimate GTA V copy. The server itself runs without the game installed.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Which operating systems are supported for hosting alt:V?<\/strong><br>Windows 10\/11 and modern Linux distributions (Ubuntu 22.04+ or any recent x64 Linux) are supported.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>What ports must be open for alt:V to work?<\/strong><br>By default, TCP\/UDP port <strong>7788<\/strong> must be open. If you run an external voice server, also open <strong>7798\/UDP<\/strong> and <strong>7799\/UDP<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Why doesn\u2019t my server show up in the masterlist?<\/strong><br>Make sure you set <code>announce = true<\/code>, added a valid <strong>masterlist token<\/strong>, and allowed 7788 TCP\/UDP through your firewall and router. It may take a few minutes for the listing to propagate.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>How do I update the server binaries?<\/strong><br>If you installed via <code>altv-pkg<\/code>, simply run:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">npx altv-pkg release\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">If you installed manually, download the latest build from the <a href=\"http:\/\/altv.mp\/downloads\/\" data-type=\"link\" data-id=\"altv.mp\/downloads\/\" target=\"_blank\" rel=\"noopener\">official alt:V download page<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Can I run the server as a background service?<\/strong><br>Yes. On Linux, you can set up a <code>systemd<\/code> service (<code>altv.service<\/code>) to start automatically and restart on failure.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>How do I make my server more secure for production?<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Disable <code>debug<\/code> mode.<\/li>\n\n\n\n<li>Set <code>logStreams = [\"file\"]<\/code>.<\/li>\n\n\n\n<li>Use a strong masterlist token.<\/li>\n\n\n\n<li>Expose only required ports.<\/li>\n\n\n\n<li>Automate backups for resources and configs.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Where can I find more resources for my server?<\/strong><br>The official alt:V Hub and community GitHub repositories contain many example resources. You can also check guides on <a href=\"https:\/\/fivemx.com\/\" data-type=\"link\" data-id=\"https:\/\/fivemx.com\/\">FiveMX<\/a> for optimization and server growth.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Where to go next<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Add more resources from the community Hub and example repositories.<\/li>\n\n\n\n<li>Set up a <strong>voice server<\/strong> externally for big populations.<\/li>\n\n\n\n<li>Automate CI\/CD to push updates to your box.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Recommended reads (on FiveMX)<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Compare frameworks:<\/strong> <a href=\"https:\/\/fivemx.com\/fivem-vs-ragemp-vs-altv\">FiveM vs RAGE:MP vs alt:V \u2014 Which one should you pick?<\/a><\/li>\n\n\n\n<li><strong>Grow your community:<\/strong> <a href=\"https:\/\/fivemx.com\/how-to-advertise-your-fivem-server\">How to advertise your server (works for any GTA V MP)<\/a><\/li>\n\n\n\n<li><strong>Build your home base:<\/strong> <a href=\"https:\/\/fivemx.com\/how-to-create-a-website-for-gaming-server\">How to create a website for your gaming server<\/a><\/li>\n\n\n\n<li><strong>Tuning tips:<\/strong> <a href=\"https:\/\/fivemx.com\/performance\">Performance &amp; Optimization<\/a><\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">Copy\u2011paste snippets (quick reference)<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Windows start:<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">.\/altv-server.exe\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Linux start:<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">.\/altv-server\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Open ports (Windows):<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">New-NetFirewallRule -DisplayName \"altV 7788 TCP\" -Direction Inbound -Protocol TCP -LocalPort 7788 -Action Allow\nNew-NetFirewallRule -DisplayName \"altV 7788 UDP\" -Direction Inbound -Protocol UDP -LocalPort 7788 -Action Allow\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Open ports (Linux):<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">sudo ufw allow 7788\/tcp &amp;&amp; sudo ufw allow 7788\/udp\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">You\u2019re set. Spin it up, connect from the alt:V client, and start building resources!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Want to host your own GTA V multiplayer world with alt:V? This guide shows you two reliable setup paths (Windows &amp; Linux), gives you a clean server.toml, a first working JavaScript resource, firewall\/ports, and optional systemd service so you can go from zero to a public, masterlisted server fast. What you\u2019ll need alt:V servers are [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":199039,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1899],"tags":[],"class_list":["post-199038","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials"],"blocksy_meta":[],"_links":{"self":[{"href":"https:\/\/fivemx.com\/de\/wp-json\/wp\/v2\/posts\/199038","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fivemx.com\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fivemx.com\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fivemx.com\/de\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fivemx.com\/de\/wp-json\/wp\/v2\/comments?post=199038"}],"version-history":[{"count":0,"href":"https:\/\/fivemx.com\/de\/wp-json\/wp\/v2\/posts\/199038\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/fivemx.com\/de\/wp-json\/wp\/v2\/media\/199039"}],"wp:attachment":[{"href":"https:\/\/fivemx.com\/de\/wp-json\/wp\/v2\/media?parent=199038"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fivemx.com\/de\/wp-json\/wp\/v2\/categories?post=199038"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fivemx.com\/de\/wp-json\/wp\/v2\/tags?post=199038"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}