{"id":177945,"date":"2025-01-15T13:04:53","date_gmt":"2025-01-15T12:04:53","guid":{"rendered":"https:\/\/fivemx.com\/?p=177945"},"modified":"2026-07-18T12:11:41","modified_gmt":"2026-07-18T10:11:41","slug":"einrichten-der-fivem-servervorlage","status":"publish","type":"post","link":"https:\/\/rpcrate.com\/de\/setting-up-fivem-server-template\/","title":{"rendered":"Wie du ein FiveM-Server-Template installierst und \u00fcberpr\u00fcfst"},"content":{"rendered":"<p>Install a FiveM server template into an isolated server-data directory and a new database, following the documentation for that exact package. Confirm the core player flow before importing existing player data or opening the server publicly.<\/p>\n<h2 id=\"collect-the-required-files\">Collect the required files<\/h2>\n<p>Download the authorized package from your order\u2019s download location and keep the original archive and installation notes. Record the framework version, required database engine, artifact requirements, dependencies and account-bound licenses.<\/p>\n<p>For a RPCrate purchase, use <a href=\"https:\/\/rpcrate.com\/my-account\/\">your account downloads<\/a>. The package\u2019s own instructions determine its archive layout and update procedure. If those are missing, request them before guessing at SQL or startup settings.<\/p>\n<h2 id=\"prepare-the-environment\">Prepare the environment<\/h2>\n<ol>\n<li>Set up FXServer using the <a href=\"https:\/\/docs.fivem.net\/docs\/server-manual\/setting-up-a-server\/\">official operating-system-specific procedure<\/a>. Keep server binaries, server-data and txAdmin profile data distinct.<\/li>\n<li>Install the database engine and version supported by the template. Create a fresh database and a dedicated account limited to it. Do not point the template at your existing live database.<\/li>\n<li>Back up the current server if replacing one. Extract the template into the location its deployment procedure expects; the resources folder and server.cfg must not be hidden beneath an accidental extra archive folder.<\/li>\n<li>Review the supplied SQL before importing it into the new database. Check its selected database, schema changes and sample accounts. Stop on errors rather than rerunning a destructive import blindly.<\/li>\n<\/ol>\n<h2 id=\"worked-example-review-a-named-database-reset\">Worked example: review a named database reset<\/h2>\n<p>For the first import, use an isolated database instance when a package&#8217;s SQL contains a fixed database name or destructive statements. Check <code data-no-translation=\"\">DROP DATABASE<\/code>, <code data-no-translation=\"\">CREATE DATABASE<\/code> and <code data-no-translation=\"\">USE<\/code> statements before execution. Selecting a new database in a graphical client is not sufficient when the file itself selects or recreates another schema.<\/p>\n<p>The current <a href=\"https:\/\/rpcrate.com\/shop\/qbcore-v5\/\">QBCore V5 setup notes<\/a> identify <code data-no-translation=\"\">QBV5\/[sql]\/fivemstore.sql<\/code> and warn that it drops and recreates <code data-no-translation=\"\">fivemstorev5<\/code>. Keep existing databases outside the test instance, inspect the statement, import there, then check the actual <code data-no-translation=\"\">fivemstorev5<\/code> schema and import log. Configure the package against the database you verified using an appropriately limited account.<\/p>\n<p>The separate September 8 package audit checked archive integrity and an isolated SQL import. It did not verify a live FXServer start. Treat those as separate stages: continue with the runtime and player-session checks below rather than assuming a successful import proves the server works.<\/p>\n<p>If package instructions or dependencies are unclear, send the exact product URL, environment and first error to <a href=\"https:\/\/rpcrate.com\/support\/\">RPCrate support<\/a>, with credentials removed. This example establishes the behavior of that V5 file; it does not establish that other packages use the same database name or import procedure.<\/p>\n<h2 id=\"configure-only-the-documented-settings\">Configure only the documented settings<\/h2>\n<p>Set the database connection in the server-side location used by the actual adapter. Do not invent Config.MySQLConnection or put passwords in shared Lua files. Preserve the template\u2019s dependency order until its documentation explains a change.<\/p>\n<p>Use the owner\u2019s current Cfx.re Portal server key in sv_licenseKey. Keep it private. Set the actual TCP\/UDP endpoints, supported slot limit and public description using the <a href=\"https:\/\/docs.fivem.net\/docs\/server-manual\/server-commands\/\">server-command reference<\/a>. Steam API keys, if required by a resource, are secrets and must not be published with sets.<\/p>\n<h2 id=\"start-with-the-correct-launch-context\">Start with the correct launch context<\/h2>\n<p>Use the txAdmin profile or documented launcher that points to this server-data configuration. A relative +exec server.cfg resolves in the launch context; starting from the wrong directory can load no configuration or the wrong one.<\/p>\n<p>Read the first startup error. Check missing resources, database authentication, version requirements and entitlements before adding more resources. Restrict administration ports separately from the public game endpoint.<\/p>\n<h2 id=\"verify-a-complete-session\">Verify a complete session<\/h2>\n<ol>\n<li>Join with the intended game endpoint. Use 127.0.0.1 only when client and server run on the same machine.<\/li>\n<li>Create a test character and exercise inventory, money, jobs, voice and any essential interaction. Compare an ordinary account with an administrator.<\/li>\n<li>Reconnect and restart the server, then check that expected data persists exactly once.<\/li>\n<li>Restore a backup into a separate test environment. Record every file and dependency needed for recovery.<\/li>\n<li>Schedule the public cutover only after these checks pass. Keep the previous server and matching database available until acceptance.<\/li>\n<\/ol>\n<h2 id=\"when-an-installation-fails\">When an installation fails<\/h2>\n<p>Share the package version, environment, first complete error and steps already tried with the package\u2019s support contact. Remove credentials and personal data from logs. A nil value alone does not prove that a SQL table is missing.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Installiere ein FiveM-Server-Template isoliert. Pr\u00fcfe SQL und Abh\u00e4ngigkeiten sowie Spielabl\u00e4ufe, gespeicherte Daten und Wiederherstellung vor dem Start.<\/p>","protected":false},"author":1,"featured_media":177947,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2877,1899],"tags":[],"class_list":["post-177945","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-free-fivem-job-scripts","category-tutorials"],"_links":{"self":[{"href":"https:\/\/rpcrate.com\/de\/wp-json\/wp\/v2\/posts\/177945","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rpcrate.com\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rpcrate.com\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rpcrate.com\/de\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rpcrate.com\/de\/wp-json\/wp\/v2\/comments?post=177945"}],"version-history":[{"count":1,"href":"https:\/\/rpcrate.com\/de\/wp-json\/wp\/v2\/posts\/177945\/revisions"}],"predecessor-version":[{"id":213693,"href":"https:\/\/rpcrate.com\/de\/wp-json\/wp\/v2\/posts\/177945\/revisions\/213693"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/rpcrate.com\/de\/wp-json\/wp\/v2\/media\/177947"}],"wp:attachment":[{"href":"https:\/\/rpcrate.com\/de\/wp-json\/wp\/v2\/media?parent=177945"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rpcrate.com\/de\/wp-json\/wp\/v2\/categories?post=177945"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rpcrate.com\/de\/wp-json\/wp\/v2\/tags?post=177945"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}