diff --git a/resources/[gamemodes]/[maps]/fivem-map-hipster/fxmanifest.lua b/resources/[gamemodes]/[maps]/fivem-map-hipster/fxmanifest.lua index a656eb5..aec55b6 100644 --- a/resources/[gamemodes]/[maps]/fivem-map-hipster/fxmanifest.lua +++ b/resources/[gamemodes]/[maps]/fivem-map-hipster/fxmanifest.lua @@ -1,6 +1,14 @@ +-- This resource is part of the default Cfx.re asset pack (cfx-server-data) +-- Altering or recreating for local use only is strongly discouraged. + +version '1.0.0' +author 'Cfx.re ' +description 'Example spawn points for FiveM with a "hipster" model.' +repository 'https://github.com/citizenfx/cfx-server-data' + resource_type 'map' { gameTypes = { ['basic-gamemode'] = true } } map 'map.lua' fx_version 'adamant' -game 'gta5' \ No newline at end of file +game 'gta5' diff --git a/resources/[gamemodes]/[maps]/fivem-map-skater/fxmanifest.lua b/resources/[gamemodes]/[maps]/fivem-map-skater/fxmanifest.lua index a656eb5..5075a0c 100644 --- a/resources/[gamemodes]/[maps]/fivem-map-skater/fxmanifest.lua +++ b/resources/[gamemodes]/[maps]/fivem-map-skater/fxmanifest.lua @@ -1,6 +1,14 @@ +-- This resource is part of the default Cfx.re asset pack (cfx-server-data) +-- Altering or recreating for local use only is strongly discouraged. + +version '1.0.0' +author 'Cfx.re ' +description 'Example spawn points for FiveM with a "skater" model.' +repository 'https://github.com/citizenfx/cfx-server-data' + resource_type 'map' { gameTypes = { ['basic-gamemode'] = true } } map 'map.lua' fx_version 'adamant' -game 'gta5' \ No newline at end of file +game 'gta5' diff --git a/resources/[gamemodes]/[maps]/redm-map-one/fxmanifest.lua b/resources/[gamemodes]/[maps]/redm-map-one/fxmanifest.lua index 0ec5657..a5b1f49 100644 --- a/resources/[gamemodes]/[maps]/redm-map-one/fxmanifest.lua +++ b/resources/[gamemodes]/[maps]/redm-map-one/fxmanifest.lua @@ -1,3 +1,11 @@ +-- This resource is part of the default Cfx.re asset pack (cfx-server-data) +-- Altering or recreating for local use only is strongly discouraged. + +version '1.0.0' +author 'Cfx.re ' +description 'Example spawn points for RedM.' +repository 'https://github.com/citizenfx/cfx-server-data' + resource_type 'map' { gameTypes = { ['basic-gamemode'] = true } } map 'map.lua' @@ -5,4 +13,4 @@ map 'map.lua' fx_version 'adamant' game 'rdr3' -rdr3_warning 'I acknowledge that this is a prerelease build of RedM, and I am aware my resources *will* become incompatible once RedM ships.' \ No newline at end of file +rdr3_warning 'I acknowledge that this is a prerelease build of RedM, and I am aware my resources *will* become incompatible once RedM ships.' diff --git a/resources/[gamemodes]/basic-gamemode/fxmanifest.lua b/resources/[gamemodes]/basic-gamemode/fxmanifest.lua index e7446a0..74911e9 100644 --- a/resources/[gamemodes]/basic-gamemode/fxmanifest.lua +++ b/resources/[gamemodes]/basic-gamemode/fxmanifest.lua @@ -1,6 +1,14 @@ +-- This resource is part of the default Cfx.re asset pack (cfx-server-data) +-- Altering or recreating for local use only is strongly discouraged. + +version '1.0.0' +author 'Cfx.re ' +description 'A basic freeroam gametype that uses the default spawn logic from spawnmanager.' +repository 'https://github.com/citizenfx/cfx-server-data' + resource_type 'gametype' { name = 'Freeroam' } client_script 'basic_client.lua' game 'common' -fx_version 'adamant' \ No newline at end of file +fx_version 'adamant' diff --git a/resources/[gameplay]/[examples]/money-fountain-example-map/fxmanifest.lua b/resources/[gameplay]/[examples]/money-fountain-example-map/fxmanifest.lua index 412880b..a1365ca 100644 --- a/resources/[gameplay]/[examples]/money-fountain-example-map/fxmanifest.lua +++ b/resources/[gameplay]/[examples]/money-fountain-example-map/fxmanifest.lua @@ -1,6 +1,14 @@ +-- This resource is part of the default Cfx.re asset pack (cfx-server-data) +-- Altering or recreating for local use only is strongly discouraged. + +version '1.0.0' +description 'An example money system fountain spawn point.' +repository 'https://github.com/citizenfx/cfx-server-data' +author 'Cfx.re ' + fx_version 'cerulean' game 'gta5' map 'map.lua' -dependency 'money-fountain' \ No newline at end of file +dependency 'money-fountain' diff --git a/resources/[gameplay]/[examples]/money-fountain/fxmanifest.lua b/resources/[gameplay]/[examples]/money-fountain/fxmanifest.lua index 159b453..0218c4d 100644 --- a/resources/[gameplay]/[examples]/money-fountain/fxmanifest.lua +++ b/resources/[gameplay]/[examples]/money-fountain/fxmanifest.lua @@ -1,6 +1,10 @@ +-- This resource is part of the default Cfx.re asset pack (cfx-server-data) +-- Altering or recreating for local use only is strongly discouraged. + version '1.0.0' description 'An example money system client containing a money fountain.' -author 'Cfx.re ' +repository 'https://github.com/citizenfx/cfx-server-data' +author 'Cfx.re ' fx_version 'bodacious' game 'gta5' @@ -15,4 +19,4 @@ dependencies { 'money' } -lua54 'yes' \ No newline at end of file +lua54 'yes' diff --git a/resources/[gameplay]/[examples]/money/fxmanifest.lua b/resources/[gameplay]/[examples]/money/fxmanifest.lua index 8dd5ed7..7abd12c 100644 --- a/resources/[gameplay]/[examples]/money/fxmanifest.lua +++ b/resources/[gameplay]/[examples]/money/fxmanifest.lua @@ -1,6 +1,10 @@ +-- This resource is part of the default Cfx.re asset pack (cfx-server-data) +-- Altering or recreating for local use only is strongly discouraged. + version '1.0.0' description 'An example money system using KVS.' -author 'Cfx.re ' +repository 'https://github.com/citizenfx/cfx-server-data' +author 'Cfx.re ' fx_version 'bodacious' game 'gta5' @@ -9,4 +13,4 @@ client_script 'client.lua' server_script 'server.lua' --dependency 'cfx.re/playerData.v1alpha1' -lua54 'yes' \ No newline at end of file +lua54 'yes' diff --git a/resources/[gameplay]/[examples]/ped-money-drops/fxmanifest.lua b/resources/[gameplay]/[examples]/ped-money-drops/fxmanifest.lua index f338973..1e6b7b2 100644 --- a/resources/[gameplay]/[examples]/ped-money-drops/fxmanifest.lua +++ b/resources/[gameplay]/[examples]/ped-money-drops/fxmanifest.lua @@ -1,6 +1,10 @@ +-- This resource is part of the default Cfx.re asset pack (cfx-server-data) +-- Altering or recreating for local use only is strongly discouraged. + version '1.0.0' description 'An example money system client.' -author 'Cfx.re ' +author 'Cfx.re ' +repository 'https://github.com/citizenfx/cfx-server-data' fx_version 'bodacious' game 'gta5' diff --git a/resources/[gameplay]/chat-theme-gtao/fxmanifest.lua b/resources/[gameplay]/chat-theme-gtao/fxmanifest.lua index 0b42a97..08bdf27 100644 --- a/resources/[gameplay]/chat-theme-gtao/fxmanifest.lua +++ b/resources/[gameplay]/chat-theme-gtao/fxmanifest.lua @@ -1,3 +1,11 @@ +-- This resource is part of the default Cfx.re asset pack (cfx-server-data) +-- Altering or recreating for local use only is strongly discouraged. + +version '1.0.0' +author 'Cfx.re ' +description 'A GTA Online-styled theme for the chat resource.' +repository 'https://github.com/citizenfx/cfx-server-data' + file 'style.css' file 'shadow.js' @@ -10,4 +18,4 @@ chat_theme 'gtao' { } game 'common' -fx_version 'adamant' \ No newline at end of file +fx_version 'adamant' diff --git a/resources/[gameplay]/chat/fxmanifest.lua b/resources/[gameplay]/chat/fxmanifest.lua index a2d58dd..af382df 100644 --- a/resources/[gameplay]/chat/fxmanifest.lua +++ b/resources/[gameplay]/chat/fxmanifest.lua @@ -1,4 +1,10 @@ -description 'chat management stuff' +-- This resource is part of the default Cfx.re asset pack (cfx-server-data) +-- Altering or recreating for local use only is strongly discouraged. + +version '1.0.0' +author 'Cfx.re ' +description 'Provides baseline chat functionality using a NUI-based interface.' +repository 'https://github.com/citizenfx/cfx-server-data' ui_page 'dist/ui.html' @@ -21,4 +27,4 @@ dependencies { 'webpack' } -webpack_config 'webpack.config.js' \ No newline at end of file +webpack_config 'webpack.config.js' diff --git a/resources/[gameplay]/player-data/fxmanifest.lua b/resources/[gameplay]/player-data/fxmanifest.lua index 3b6b89b..1188255 100644 --- a/resources/[gameplay]/player-data/fxmanifest.lua +++ b/resources/[gameplay]/player-data/fxmanifest.lua @@ -1,6 +1,10 @@ +-- This resource is part of the default Cfx.re asset pack (cfx-server-data) +-- Altering or recreating for local use only is strongly discouraged. + version '1.0.0' description 'A basic resource for storing player identifiers.' -author 'Cfx.re ' +author 'Cfx.re ' +repository 'https://github.com/citizenfx/cfx-server-data' fx_version 'bodacious' game 'common' @@ -9,4 +13,4 @@ server_script 'server.lua' provides { 'cfx.re/playerData.v1alpha1' -} \ No newline at end of file +} diff --git a/resources/[gameplay]/playernames/fxmanifest.lua b/resources/[gameplay]/playernames/fxmanifest.lua index 5efabe2..547afc1 100644 --- a/resources/[gameplay]/playernames/fxmanifest.lua +++ b/resources/[gameplay]/playernames/fxmanifest.lua @@ -1,3 +1,11 @@ +-- This resource is part of the default Cfx.re asset pack (cfx-server-data) +-- Altering or recreating for local use only is strongly discouraged. + +version '1.0.0' +author 'Cfx.re ' +description 'A basic resource for displaying player names.' +repository 'https://github.com/citizenfx/cfx-server-data' + -- add scripts client_script 'playernames_api.lua' server_script 'playernames_api.lua' @@ -25,4 +33,4 @@ files { -- support the latest resource manifest fx_version 'adamant' -game 'gta5' \ No newline at end of file +game 'gta5' diff --git a/resources/[managers]/mapmanager/fxmanifest.lua b/resources/[managers]/mapmanager/fxmanifest.lua index 8b45592..9e89921 100644 --- a/resources/[managers]/mapmanager/fxmanifest.lua +++ b/resources/[managers]/mapmanager/fxmanifest.lua @@ -1,3 +1,11 @@ +-- This resource is part of the default Cfx.re asset pack (cfx-server-data) +-- Altering or recreating for local use only is strongly discouraged. + +version '1.0.0' +author 'Cfx.re ' +description 'A flexible handler for game type/map association.' +repository 'https://github.com/citizenfx/cfx-server-data' + client_scripts { "mapmanager_shared.lua", "mapmanager_client.lua" @@ -19,4 +27,4 @@ server_export "doesMapSupportGameType" server_export "getMaps" server_export "roundEnded" -rdr3_warning 'I acknowledge that this is a prerelease build of RedM, and I am aware my resources *will* become incompatible once RedM ships.' \ No newline at end of file +rdr3_warning 'I acknowledge that this is a prerelease build of RedM, and I am aware my resources *will* become incompatible once RedM ships.' diff --git a/resources/[managers]/spawnmanager/fxmanifest.lua b/resources/[managers]/spawnmanager/fxmanifest.lua index 45acf56..13eb96b 100644 --- a/resources/[managers]/spawnmanager/fxmanifest.lua +++ b/resources/[managers]/spawnmanager/fxmanifest.lua @@ -1,6 +1,14 @@ +-- This resource is part of the default Cfx.re asset pack (cfx-server-data) +-- Altering or recreating for local use only is strongly discouraged. + +version '1.0.0' +author 'Cfx.re ' +description 'Handles spawning a player in a unified fashion to prevent resources from having to implement custom spawn logic.' +repository 'https://github.com/citizenfx/cfx-server-data' + client_script 'spawnmanager.lua' fx_version 'adamant' games { 'rdr3', 'gta5' } -rdr3_warning 'I acknowledge that this is a prerelease build of RedM, and I am aware my resources *will* become incompatible once RedM ships.' \ No newline at end of file +rdr3_warning 'I acknowledge that this is a prerelease build of RedM, and I am aware my resources *will* become incompatible once RedM ships.' diff --git a/resources/[system]/[builders]/webpack/fxmanifest.lua b/resources/[system]/[builders]/webpack/fxmanifest.lua index 35a210c..b8b8a4b 100644 --- a/resources/[system]/[builders]/webpack/fxmanifest.lua +++ b/resources/[system]/[builders]/webpack/fxmanifest.lua @@ -1,5 +1,13 @@ +-- This resource is part of the default Cfx.re asset pack (cfx-server-data) +-- Altering or recreating for local use only is strongly discouraged. + +version '1.0.0' +author 'Cfx.re ' +description 'Builds resources with webpack. To learn more: https://webpack.js.org' +repository 'https://github.com/citizenfx/cfx-server-data' + dependency 'yarn' server_script 'webpack_builder.js' fx_version 'adamant' -game 'common' \ No newline at end of file +game 'common' diff --git a/resources/[system]/[builders]/yarn/fxmanifest.lua b/resources/[system]/[builders]/yarn/fxmanifest.lua index ec61b19..24aeba8 100644 --- a/resources/[system]/[builders]/yarn/fxmanifest.lua +++ b/resources/[system]/[builders]/yarn/fxmanifest.lua @@ -1,4 +1,12 @@ +-- This resource is part of the default Cfx.re asset pack (cfx-server-data) +-- Altering or recreating for local use only is strongly discouraged. + +version '1.0.0' +author 'Cfx.re ' +description 'Builds resources with yarn. To learn more: https://classic.yarnpkg.com' +repository 'https://github.com/citizenfx/cfx-server-data' + fx_version 'adamant' game 'common' -server_script 'yarn_builder.js' \ No newline at end of file +server_script 'yarn_builder.js' diff --git a/resources/[system]/baseevents/__resource.lua b/resources/[system]/baseevents/__resource.lua index ddf1403..f3caa36 100644 --- a/resources/[system]/baseevents/__resource.lua +++ b/resources/[system]/baseevents/__resource.lua @@ -1,3 +1,11 @@ +-- This resource is part of the default Cfx.re asset pack (cfx-server-data) +-- Altering or recreating for local use only is strongly discouraged. + +version '1.0.0' +author 'Cfx.re ' +description 'Adds basic events for developers to use in their scripts. Some third party resources may depend on this resource.' +repository 'https://github.com/citizenfx/cfx-server-data' + client_script 'deathevents.lua' client_script 'vehiclechecker.lua' -server_script 'server.lua' \ No newline at end of file +server_script 'server.lua' diff --git a/resources/[system]/hardcap/fxmanifest.lua b/resources/[system]/hardcap/fxmanifest.lua index 912b34a..404ba06 100644 --- a/resources/[system]/hardcap/fxmanifest.lua +++ b/resources/[system]/hardcap/fxmanifest.lua @@ -1,6 +1,14 @@ +-- This resource is part of the default Cfx.re asset pack (cfx-server-data) +-- Altering or recreating for local use only is strongly discouraged. + +version '1.0.0' +author 'Cfx.re ' +description 'Limits the number of players to the amount set by sv_maxclients in your server.cfg.' +repository 'https://github.com/citizenfx/cfx-server-data' + client_script 'client.lua' server_script 'server.lua' fx_version 'adamant' games { 'gta5', 'rdr3' } -rdr3_warning 'I acknowledge that this is a prerelease build of RedM, and I am aware my resources *will* become incompatible once RedM ships.' \ No newline at end of file +rdr3_warning 'I acknowledge that this is a prerelease build of RedM, and I am aware my resources *will* become incompatible once RedM ships.' diff --git a/resources/[system]/rconlog/fxmanifest.lua b/resources/[system]/rconlog/fxmanifest.lua index 79df6db..96bc589 100644 --- a/resources/[system]/rconlog/fxmanifest.lua +++ b/resources/[system]/rconlog/fxmanifest.lua @@ -1,3 +1,11 @@ +-- This resource is part of the default Cfx.re asset pack (cfx-server-data) +-- Altering or recreating for local use only is strongly discouraged. + +version '1.0.0' +author 'Cfx.re ' +description 'Handles old-style server player management commands.' +repository 'https://github.com/citizenfx/cfx-server-data' + client_script 'rconlog_client.lua' server_script 'rconlog_server.lua' diff --git a/resources/[system]/rconlog/rconlog_server.lua b/resources/[system]/rconlog/rconlog_server.lua index 178a9fc..b8f1130 100644 --- a/resources/[system]/rconlog/rconlog_server.lua +++ b/resources/[system]/rconlog/rconlog_server.lua @@ -51,6 +51,8 @@ AddEventHandler('chatMessage', function(netID, name, message) RconLog({ msgType = 'chatMessage', netID = netID, name = name, message = message, guid = GetPlayerIdentifiers(netID)[1] }) end) +-- NOTE: DO NOT USE THIS METHOD FOR HANDLING COMMANDS +-- This resource has not been updated to use newer methods such as RegisterCommand. AddEventHandler('rconCommand', function(commandName, args) if commandName == 'status' then for netid, data in pairs(names) do diff --git a/resources/[system]/runcode/__resource.lua b/resources/[system]/runcode/__resource.lua index 9fbbfe2..21de949 100644 --- a/resources/[system]/runcode/__resource.lua +++ b/resources/[system]/runcode/__resource.lua @@ -1,17 +1,23 @@ +-- This resource is part of the default Cfx.re asset pack (cfx-server-data) +-- Altering or recreating for local use only is strongly discouraged. + +version '1.0.0' +author 'Cfx.re ' +description 'Allows server owners to execute arbitrary server-side or client-side JavaScript/Lua code. *Consider only using this on development servers.' +repository 'https://github.com/citizenfx/cfx-server-data' + +resource_manifest_version '44febabe-d386-4d18-afbe-5e627f4af937' + client_script 'runcode_cl.lua' server_script 'runcode_sv.lua' server_script 'runcode_web.lua' shared_script 'runcode_shared.lua' - shared_script 'runcode.js' -resource_manifest_version '44febabe-d386-4d18-afbe-5e627f4af937' - client_script 'runcode_ui.lua' ui_page 'web/nui.html' - files { 'web/nui.html' -} \ No newline at end of file +} diff --git a/resources/[system]/scoreboard/fxmanifest.lua b/resources/[system]/scoreboard/fxmanifest.lua index aca4ad9..f2657fa 100644 --- a/resources/[system]/scoreboard/fxmanifest.lua +++ b/resources/[system]/scoreboard/fxmanifest.lua @@ -1,4 +1,10 @@ -description 'Scoreboard' +-- This resource is part of the default Cfx.re asset pack (cfx-server-data) +-- Altering or recreating for local use only is strongly discouraged. + +version '1.0.0' +author 'Cfx.re ' +description 'Basic player scoreboard.' +repository 'https://github.com/citizenfx/cfx-server-data' -- temporary! ui_page 'html/scoreboard.html' @@ -18,4 +24,4 @@ files { } fx_version 'adamant' -game 'gta5' \ No newline at end of file +game 'gta5' diff --git a/resources/[system]/sessionmanager-rdr3/fxmanifest.lua b/resources/[system]/sessionmanager-rdr3/fxmanifest.lua index d6e7fe1..5e44544 100644 --- a/resources/[system]/sessionmanager-rdr3/fxmanifest.lua +++ b/resources/[system]/sessionmanager-rdr3/fxmanifest.lua @@ -1,8 +1,17 @@ +-- This resource is part of the default Cfx.re asset pack (cfx-server-data) +-- Altering or recreating for local use only is strongly discouraged. + +version '1.0.0' +author 'Cfx.re ' +description 'Handles Social Club conductor session API for RedM. Do not disable.' +repository 'https://github.com/citizenfx/cfx-server-data' + fx_version 'adamant' -game 'common' +game 'rdr3' +rdr3_warning 'I acknowledge that this is a prerelease build of RedM, and I am aware my resources *will* become incompatible once RedM ships.' dependencies { 'yarn' } -server_script 'sm_server.js' \ No newline at end of file +server_script 'sm_server.js' diff --git a/resources/[system]/sessionmanager/__resource.lua b/resources/[system]/sessionmanager/__resource.lua index 7b661f8..a9f34f3 100644 --- a/resources/[system]/sessionmanager/__resource.lua +++ b/resources/[system]/sessionmanager/__resource.lua @@ -1,3 +1,11 @@ +-- This resource is part of the default Cfx.re asset pack (cfx-server-data) +-- Altering or recreating for local use only is strongly discouraged. + +version '1.0.0' +author 'Cfx.re ' +description 'Handles the "host lock" for non-OneSync servers. Do not disable.' +repository 'https://github.com/citizenfx/cfx-server-data' + resource_manifest_version '77731fab-63ca-442c-a67b-abc70f28dfa5' server_script 'server/host_lock.lua' diff --git a/resources/[test]/example-loadscreen/__resource.lua b/resources/[test]/example-loadscreen/__resource.lua index 4a87fbe..5f9db34 100644 --- a/resources/[test]/example-loadscreen/__resource.lua +++ b/resources/[test]/example-loadscreen/__resource.lua @@ -1,3 +1,11 @@ +-- This resource is part of the default Cfx.re asset pack (cfx-server-data) +-- Altering or recreating for local use only is strongly discouraged. + +version '1.0.0' +author 'Cfx.re ' +description 'Example loading screen.' +repository 'https://github.com/citizenfx/cfx-server-data' + files { 'index.html', 'keks.css', @@ -7,4 +15,4 @@ files { loadscreen 'index.html' -resource_manifest_version '77731fab-63ca-442c-a67b-abc70f28dfa5' \ No newline at end of file +resource_manifest_version '77731fab-63ca-442c-a67b-abc70f28dfa5' diff --git a/resources/[test]/fivem/fxmanifest.lua b/resources/[test]/fivem/fxmanifest.lua index 19ddcc7..74201da 100644 --- a/resources/[test]/fivem/fxmanifest.lua +++ b/resources/[test]/fivem/fxmanifest.lua @@ -1,5 +1,13 @@ +-- This resource is part of the default Cfx.re asset pack (cfx-server-data) +-- Altering or recreating for local use only is strongly discouraged. + +version '1.0.0' +author 'Cfx.re ' +description 'A compatibility resource to load basic-gamemode.' +repository 'https://github.com/citizenfx/cfx-server-data' + -- compatibility wrapper fx_version 'adamant' game 'common' -dependency 'basic-gamemode' \ No newline at end of file +dependency 'basic-gamemode'