{"id":162266,"date":"2024-10-11T19:42:29","date_gmt":"2024-10-11T17:42:29","guid":{"rendered":"https:\/\/hifivem.com\/?p=162266"},"modified":"2026-08-16T13:43:33","modified_gmt":"2026-08-16T11:43:33","slug":"fxmanifest-lua-fivem-kurulumu","status":"publish","type":"post","link":"https:\/\/fivemx.com\/tr\/fxmanifest-lua-fivem-kurulumu\/","title":{"rendered":"Setting Up fxmanifest.lua for FiveM (Copy-Paste Examples)"},"content":{"rendered":"<p><strong>H\u0131zl\u0131 cevap:<\/strong> every FiveM resource needs an <code data-no-translation=\"\">fxmanifest.lua<\/code> file in the resource folder. It tells FXServer which game the resource supports, which scripts to load, and which files go to clients. Below are copy-paste examples for a standard script resource, shared\/client\/server scripts, NUI resources (<code data-no-translation=\"\">ui_page<\/code> + <code data-no-translation=\"\">files<\/code>), and maps (<code data-no-translation=\"\">this_is_a_map 'yes'<\/code> with ymap streams), plus fixes for common manifest errors.<\/p>\n<p><em>Son g\u00fcncelleme: 25 Haziran 2026<\/em><\/p>\n<h2>Minimal fxmanifest.lua<\/h2>\n<pre data-no-translation=\"\"><code data-no-translation=\"\">fx_version 'cerulean'\ngame 'gta5'\n\nclient_script 'client.lua'\nserver_script 'server.lua'<\/code><\/pre>\n<p>Cfx.re'nin resmi kaynak manifesti belgeleri tan\u0131mlar <code data-no-translation=\"\">fxmanifest.lua<\/code> mevcut manifest dosyas\u0131n\u0131 ve eski notlar\u0131 <code data-no-translation=\"\">__resource.lua<\/code> manifestler kullan\u0131m d\u0131\u015f\u0131d\u0131r. Kullan\u0131n <code data-no-translation=\"\">fx_version 'cerulean'<\/code> modern FiveM kaynaklar\u0131 i\u00e7in, kaynak yazar\u0131 farkl\u0131 bir gereksinim belgelemedi\u011fi s\u00fcrece.<\/p>\n<h2>Complete example with metadata<\/h2>\n<pre data-no-translation=\"\"><code data-no-translation=\"\">fx_version 'cerulean'\ngame 'gta5'\n\nauthor 'Your Name'\ndescription 'Example FiveM resource'\nversion '1.0.0'\n\nlua54 'yes'\n\nshared_script 'config.lua'\nclient_script 'client.lua'\nserver_script 'server.lua'<\/code><\/pre>\n<p>The <code data-no-translation=\"\">author<\/code>, <code data-no-translation=\"\">description<\/code>, Ve <code data-no-translation=\"\">version<\/code> fields are metadata: they do not change how scripts run, but FXServer prints a console warning such as &#8220;version is required. please specify a version in your fxmanifest.lua.&#8221; when <code data-no-translation=\"\">version<\/code> is missing. Add a <code data-no-translation=\"\">version '1.0.0'<\/code> line to clear it. The optional <code data-no-translation=\"\">lua54 'yes'<\/code> line enables Lua 5.4 for the resource and is required by many current frameworks and libraries.<\/p>\n<h2>\u0130stemci, sunucu ve payla\u015f\u0131lan betikler<\/h2>\n<pre data-no-translation=\"\"><code data-no-translation=\"\">fx_version 'cerulean'\ngame 'gta5'\n\nshared_scripts {\n 'config.lua',\n '@ox_lib\/init.lua'\n}\n\nclient_scripts {\n 'client\/*.lua'\n}\n\nserver_scripts {\n '@oxmysql\/lib\/MySQL.lua',\n 'server\/*.lua'\n}<\/code><\/pre>\n<p>Kullanmak <code data-no-translation=\"\">shared_scripts<\/code> yaln\u0131zca her iki tarafta da g\u00fcvenli olan dosyalar i\u00e7in. Sunucu s\u0131rlar\u0131n\u0131, lisans anahtarlar\u0131n\u0131, veritaban\u0131 parolalar\u0131n\u0131 veya webhook URL'lerini payla\u015f\u0131lan dosyalara koymay\u0131n.<\/p>\n<h2>NUI kaynak \u00f6rne\u011fi<\/h2>\n<pre data-no-translation=\"\"><code data-no-translation=\"\">fx_version 'cerulean'\ngame 'gta5'\n\nui_page 'web\/index.html'\n\nfiles {\n 'web\/index.html',\n 'web\/style.css',\n 'web\/app.js'\n}\n\nclient_script 'client.lua'<\/code><\/pre>\n<p>Oyunda UI bo\u015fsa, her HTML, CSS, JavaScript, yaz\u0131 tipi ve resim dosyas\u0131n\u0131n alt\u0131nda listelendi\u011finden emin olun <code data-no-translation=\"\">files<\/code>. Eksik dosyalar, bozuk NUI ekranlar\u0131n\u0131n yayg\u0131n bir nedenidir.<\/p>\n<h2>Harita veya MLO kaynak \u00f6rne\u011fi<\/h2>\n<pre data-no-translation=\"\"><code data-no-translation=\"\">fx_version 'cerulean'\ngame 'gta5'\n\nthis_is_a_map 'yes'\n\nfiles {\n 'stream\/*.ymap',\n 'stream\/*.ytyp'\n}<\/code><\/pre>\n<p>Haritalar ve i\u00e7 mekanlar i\u00e7in, ak\u0131\u015fa al\u0131nan dosyalar\u0131 bir <code data-no-translation=\"\">stream<\/code> klas\u00f6r\u00fcn\u00fcze ekleyin ve kayna\u011f\u0131n konsol uyar\u0131lar\u0131 olmadan ba\u015flad\u0131\u011f\u0131n\u0131 do\u011frulay\u0131n. Bir harita y\u00fcklenmezse, ilgisiz kaynaklar\u0131 d\u00fczenlemeden \u00f6nce FiveM konsolunu ve txAdmin g\u00fcnl\u00fcklerini kullan\u0131n.<\/p>\n<h2>Yayg\u0131n hatalar<\/h2>\n<ul>\n<li>Kullanarak <code data-no-translation=\"\">__resource.lua<\/code> yeni bir kaynakta.<\/li>\n<li>Koyma <code data-no-translation=\"\">server.lua<\/code> alt\u0131nda <code data-no-translation=\"\">client_scripts<\/code>.<\/li>\n<li>NUI dosyalar\u0131n\u0131 alt\u0131nda unutmak <code data-no-translation=\"\">files<\/code>.<\/li>\n<li>Gizlileri i\u00e7ine koymak <code data-no-translation=\"\">shared_scripts<\/code>.<\/li>\n<li>Klas\u00f6rlerin yanl\u0131\u015f yaz\u0131lmas\u0131, \u00f6zellikle <code data-no-translation=\"\">client<\/code>, <code data-no-translation=\"\">server<\/code>, Ve <code data-no-translation=\"\">stream<\/code>.<\/li>\n<\/ul>\n<h2>Do\u011frulama kontrol listesi<\/h2>\n<ol>\n<li>Kaynak klas\u00f6r\u00fcnde <code data-no-translation=\"\">fxmanifest.lua<\/code> en \u00fcst d\u00fczeyde.<\/li>\n<li><code data-no-translation=\"\">game 'gta5'<\/code> FiveM i\u00e7in mevcuttur.<\/li>\n<li>\u0130stemci dosyalar\u0131 istemcide, sunucu dosyalar\u0131 sunucuda y\u00fcklenir.<\/li>\n<li>Her NUI\/statik dosya alt\u0131nda listelenir <code data-no-translation=\"\">files<\/code>.<\/li>\n<li><code data-no-translation=\"\">server.cfg<\/code> i\u00e7erir <code data-no-translation=\"\">ensure resource-name<\/code>.<\/li>\n<\/ol>\n<h2>\u0130lgili k\u0131lavuzlar<\/h2>\n<ul>\n<li><a href=\"https:\/\/fivemx.com\/tr\/lua-betigine-giris\/\">FiveM i\u00e7in Lua betik olu\u015fturmaya giri\u015f<\/a><\/li>\n<li><a href=\"https:\/\/fivemx.com\/tr\/write-fivem-scripts-using-ai\/\">Yapay zeka kullanarak FiveM betikleri nas\u0131l yaz\u0131l\u0131r<\/a><\/li>\n<li><a href=\"https:\/\/fivemx.com\/tr\/txadmin-gunluklerinde-hatalar-nasil-kontrol-edilir\/\">txAdmin g\u00fcnl\u00fckleri nas\u0131l kontrol edilir<\/a><\/li>\n<\/ul>\n<section data-fivemx-rework-extra=\"2026-06-25\">\n<h2>server.cfg'de ba\u011f\u0131ml\u0131l\u0131k s\u0131ras\u0131<\/h2>\n<p>Manifest, FiveM'ye hangi dosyalar\u0131n bir kayna\u011fa ait oldu\u011funu s\u00f6yler, ancak <code data-no-translation=\"\">server.cfg<\/code> hala ba\u015flatma s\u0131ras\u0131n\u0131 kontrol eder. Kullanacak kaynaklardan \u00f6nce payla\u015f\u0131lan k\u00fct\u00fcphaneleri ve \u00e7er\u00e7eve ba\u011f\u0131ml\u0131l\u0131klar\u0131n\u0131 ba\u015flat\u0131n.<\/p>\n<pre data-no-translation=\"\"><code data-no-translation=\"\">ensure oxmysql\nensure ox_lib\nensure qb-core\nensure my-script<\/code><\/pre>\n<p>Bir kaynak ba\u015flang\u0131\u00e7ta d\u0131\u015fa aktarma hatalar\u0131 veriyorsa, ba\u011f\u0131ml\u0131l\u0131\u011f\u0131n y\u00fckl\u00fc olup olmad\u0131\u011f\u0131n\u0131, do\u011fru adland\u0131r\u0131l\u0131p adland\u0131r\u0131lmad\u0131\u011f\u0131n\u0131 ve onu \u00e7a\u011f\u0131ran betikten \u00f6nce sa\u011fland\u0131\u011f\u0131ndan emin olun.<\/p>\n<h2>\u00c7er\u00e7eveye \u00f6zg\u00fc notlar<\/h2>\n<p>ESX, QBCore ve Qbox kaynaklar\u0131 genellikle framework importlar\u0131, veritaban\u0131 k\u00fct\u00fcphaneleri ve yap\u0131land\u0131rma dosyalar\u0131 gerektirir. Framework kurulumunu belgelenmi\u015f dosyalarda saklay\u0131n. \u00d6nemli kurulumlar\u0131 rastgele istemci dosyalar\u0131na gizlemeyin. Temiz bir manifest, destek ekibinin y\u00fcklenen her dosyay\u0131 g\u00f6rebilmesi nedeniyle deste\u011fi kolayla\u015ft\u0131r\u0131r.<\/p>\n<h2>Bir betik yay\u0131nlamadan \u00f6nce kontrol listesini g\u00f6zden ge\u00e7irin<\/h2>\n<ul>\n<li>Payla\u015f\u0131lan veya istemci dosyalar\u0131nda s\u0131r yok.<\/li>\n<li>Manifest'te listelenen kullan\u0131lmayan test dosyas\u0131 yok.<\/li>\n<li>Alt\u0131nda listelenen t\u00fcm NUI varl\u0131klar\u0131 <code data-no-translation=\"\">files<\/code>.<\/li>\n<li>Ba\u011f\u0131ml\u0131l\u0131klar README veya \u00fcr\u00fcn a\u00e7\u0131klamas\u0131nda belgelenmi\u015ftir.<\/li>\n<li>Tam bir sunucu yeniden ba\u015flatmas\u0131ndan sonra kaynak temiz bir \u015fekilde ba\u015flar.<\/li>\n<\/ul>\n<\/section>\n<section data-fivemx-quality-wave=\"2026-07-01:162266\">\n<h2>Ba\u011f\u0131ml\u0131l\u0131k s\u0131ras\u0131 hala \u00f6nemlidir<\/h2>\n<p>Manifest, FXServer'a hangi dosyalar\u0131n bir kayna\u011fa ait oldu\u011funu s\u00f6yler, ancak <code data-no-translation=\"\">server.cfg<\/code> yine de ba\u015flang\u0131\u00e7 s\u0131ras\u0131n\u0131 kontrol eder. \u00c7a\u011f\u0131ran betiklerden \u00f6nce payla\u015f\u0131lan kitapl\u0131klar\u0131, \u00e7er\u00e7eveleri ve veritaban\u0131 ba\u011f\u0131ml\u0131l\u0131klar\u0131n\u0131 ba\u015flat\u0131n. Bir kaynak \u00f6ny\u00fcklemede d\u0131\u015fa aktarma hatalar\u0131 verirse, beti\u011fin kendisini d\u00fczenlemeden \u00f6nce ba\u011f\u0131ml\u0131l\u0131k ad\u0131n\u0131 ve s\u0131ras\u0131n\u0131 kontrol edin.<\/p>\n<pre data-no-translation=\"\"><code data-no-translation=\"\">ensure oxmysql\nensure ox_lib\nensure qb-core\nensure my-script<\/code><\/pre>\n<h2>Bir kaynak g\u00f6ndermeden \u00f6nce g\u00f6zden ge\u00e7irin<\/h2>\n<p>\u0130stemci dosyalar\u0131n\u0131n gizli bilgiler i\u00e7ermedi\u011finden, sunucu dosyalar\u0131n\u0131n istemciye g\u00f6nderilmedi\u011finden, NUI varl\u0131klar\u0131n\u0131n alt\u0131nda listelendi\u011finden emin olun <code data-no-translation=\"\">files<\/code>, ve ba\u011f\u0131ml\u0131l\u0131klar tam olarak kurulduklar\u0131 gibi adland\u0131r\u0131l\u0131r. \u00c7al\u0131\u015fan bir manifest, kayna\u011f\u0131n ba\u015fka bir geli\u015ftirici taraf\u0131ndan her Lua dosyas\u0131n\u0131 a\u00e7madan anla\u015f\u0131l\u0131r olmas\u0131n\u0131 sa\u011flamal\u0131d\u0131r.<\/p>\n<p>Bir betik \u00e7er\u00e7eve d\u0131\u015fa aktarmalar\u0131, veritaban\u0131 kitapl\u0131klar\u0131 veya payla\u015f\u0131lan yap\u0131land\u0131rma kullan\u0131yorsa, bunu README veya \u00fcr\u00fcn notlar\u0131nda belgeleyin. Kurulum sorunlar\u0131n\u0131n \u00e7o\u011fu, bildirim s\u00f6zdiziminin kendisinden de\u011fil, eksik ba\u011f\u0131ml\u0131l\u0131klardan veya yanl\u0131\u015f ba\u015flang\u0131\u00e7 s\u0131ras\u0131ndan kaynaklan\u0131r.<\/p>\n<p>Manifesti d\u00fczenledikten sonra, tam sunucuyu bir kez yeniden ba\u015flat\u0131n. H\u0131zl\u0131 yeniden y\u00fcklemeler, yaln\u0131zca temiz bir \u00f6ny\u00fcklemede g\u00f6r\u00fcnen eksik dosyalar\u0131 veya s\u0131ra sorunlar\u0131n\u0131 gizleyebilir.<\/p>\n<p>Temiz \u00f6ny\u00fckleme ba\u015far\u0131s\u0131z olursa, son hata y\u0131\u011f\u0131n\u0131n\u0131 de\u011fil, ba\u011f\u0131ml\u0131l\u0131klar zaten bozulduktan sonra ortaya \u00e7\u0131kan ilk hatay\u0131 okuyun.<\/p>\n<\/section>\n<section data-fivemx-layout-content-perfection=\"2026-07-11\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/cdn.fivemx.com\/wp-content\/uploads\/2026\/07\/162266-fxmanifest-anatomy.webp\" alt=\"fxmanifest.lua layers for metadata, scripts, dependencies and files\" width=\"1600\" height=\"900\" title=\"\"><figcaption>A resource manifest declares metadata, executable scripts, dependencies and packaged files.<\/figcaption><\/figure>\n<h2>Read an fxmanifest in four layers<\/h2>\n<ul>\n<li><strong>Metadata:<\/strong> declare the FX version, supported game and useful author, description and version details.<\/li>\n<li><strong>Komut dosyalar\u0131:<\/strong> separate client, server and shared execution deliberately; do not expose server-only logic to clients.<\/li>\n<li><strong>Ba\u011f\u0131ml\u0131l\u0131klar:<\/strong> state resources or runtime constraints that must exist before this resource can run.<\/li>\n<li><strong>Dosyalar:<\/strong> include NUI and data assets that clients need. Cfx.re notes that a local <code data-no-translation=\"\">ui_page<\/code> and its dependencies must be referenced in <code data-no-translation=\"\">files<\/code>.<\/li>\n<\/ul>\n<p>The manifest is semi-declarative Lua executed separately from the resource scripts. Keep it explicit, remove obsolete entries, and verify every referenced path on a case-sensitive production filesystem.<\/p>\n<p><a href=\"https:\/\/docs.fivem.net\/docs\/scripting-reference\/resource-manifest\/\" rel=\"nofollow noopener\" target=\"_blank\">Cfx.re resource-manifest reference<\/a><\/p>\n<\/section>\n<p><!-- fivemx-blog-portfolio-wave2:2026-08-09:setting-up-fxmanifest-lua-fivem --><\/p>\n<h2>Editorial review and source policy<\/h2>\n<p>The manifest examples were retained because they match the current Cfx.re resource-manifest model. The official manifest reference is the authority for directives, and deprecated <code data-no-translation=\"\">__resource.lua<\/code> examples must not be introduced.<\/p>","protected":false},"excerpt":{"rendered":"<p>Fast answer: every FiveM resource needs an fxmanifest.lua file in the resource folder. It tells FXServer which game the resource supports, which scripts to load, and which files go to clients. Below are copy-paste examples for a standard script resource, shared\/client\/server scripts, NUI resources (ui_page + files), and maps (this_is_a_map &#8216;yes&#8217; with ymap streams), plus [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":162267,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2340,1899],"tags":[3001],"class_list":["post-162266","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-lua-scripting","category-tutorials","tag-fivem-script"],"_links":{"self":[{"href":"https:\/\/fivemx.com\/tr\/wp-json\/wp\/v2\/posts\/162266","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fivemx.com\/tr\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fivemx.com\/tr\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fivemx.com\/tr\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fivemx.com\/tr\/wp-json\/wp\/v2\/comments?post=162266"}],"version-history":[{"count":7,"href":"https:\/\/fivemx.com\/tr\/wp-json\/wp\/v2\/posts\/162266\/revisions"}],"predecessor-version":[{"id":217315,"href":"https:\/\/fivemx.com\/tr\/wp-json\/wp\/v2\/posts\/162266\/revisions\/217315"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/fivemx.com\/tr\/wp-json\/wp\/v2\/media\/162267"}],"wp:attachment":[{"href":"https:\/\/fivemx.com\/tr\/wp-json\/wp\/v2\/media?parent=162266"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fivemx.com\/tr\/wp-json\/wp\/v2\/categories?post=162266"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fivemx.com\/tr\/wp-json\/wp\/v2\/tags?post=162266"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}