From ce4bec2f2a8c0d7841c5d960fc373f35dfca80ad Mon Sep 17 00:00:00 2001 From: Andre Tabarra Date: Wed, 4 Nov 2020 12:34:03 -0300 Subject: [PATCH] system resources: added fxmanifest meta tags --- .../[system]/[builders]/webpack/fxmanifest.lua | 8 ++++++++ resources/[system]/[builders]/yarn/fxmanifest.lua | 8 ++++++++ resources/[system]/baseevents/__resource.lua | 2 +- resources/[system]/hardcap/fxmanifest.lua | 8 ++++++++ resources/[system]/rconlog/fxmanifest.lua | 8 ++++++++ resources/[system]/runcode/__resource.lua | 14 ++++++++++---- resources/[system]/scoreboard/fxmanifest.lua | 2 +- .../[system]/sessionmanager-rdr3/fxmanifest.lua | 8 ++++++++ resources/[system]/sessionmanager/__resource.lua | 8 ++++++++ 9 files changed, 60 insertions(+), 6 deletions(-) diff --git a/resources/[system]/[builders]/webpack/fxmanifest.lua b/resources/[system]/[builders]/webpack/fxmanifest.lua index 35a210c..2278918 100644 --- a/resources/[system]/[builders]/webpack/fxmanifest.lua +++ b/resources/[system]/[builders]/webpack/fxmanifest.lua @@ -1,3 +1,11 @@ +-- This resource is part of the default FiveM/RedM resource pack (aka cfx-server-data) +-- Modifying or rewriting this resource for local use only is strongly discouraged. + +version '1.0.0' +author 'The CitizenFX Collective' +description 'Builds resources with webpack. To know more: https://webpack.js.org' +repository 'https://github.com/citizenfx/cfx-server-data' + dependency 'yarn' server_script 'webpack_builder.js' diff --git a/resources/[system]/[builders]/yarn/fxmanifest.lua b/resources/[system]/[builders]/yarn/fxmanifest.lua index ec61b19..a0e36df 100644 --- a/resources/[system]/[builders]/yarn/fxmanifest.lua +++ b/resources/[system]/[builders]/yarn/fxmanifest.lua @@ -1,3 +1,11 @@ +-- This resource is part of the default FiveM/RedM resource pack (aka cfx-server-data) +-- Modifying or rewriting this resource for local use only is strongly discouraged. + +version '1.0.0' +author 'The CitizenFX Collective' +description 'Builds resources with yarn. To know more: https://yarnpkg.com' +repository 'https://github.com/citizenfx/cfx-server-data' + fx_version 'adamant' game 'common' diff --git a/resources/[system]/baseevents/__resource.lua b/resources/[system]/baseevents/__resource.lua index 00834a2..6390dd9 100644 --- a/resources/[system]/baseevents/__resource.lua +++ b/resources/[system]/baseevents/__resource.lua @@ -3,7 +3,7 @@ version '1.0.0' author 'The CitizenFX Collective' -description 'This resource adds basic events for developers to use in their scripts. Some third party resources may depend on this resource, if this is the case then you must start this resource before starting that third party resource.' +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' diff --git a/resources/[system]/hardcap/fxmanifest.lua b/resources/[system]/hardcap/fxmanifest.lua index 912b34a..bcca095 100644 --- a/resources/[system]/hardcap/fxmanifest.lua +++ b/resources/[system]/hardcap/fxmanifest.lua @@ -1,3 +1,11 @@ +-- This resource is part of the default FiveM/RedM resource pack (aka cfx-server-data) +-- Modifying or rewriting this resource for local use only is strongly discouraged. + +version '1.0.0' +author 'The CitizenFX Collective' +description 'Limits the number of players to the one set in sv_maxclients.' +repository 'https://github.com/citizenfx/cfx-server-data' + client_script 'client.lua' server_script 'server.lua' diff --git a/resources/[system]/rconlog/fxmanifest.lua b/resources/[system]/rconlog/fxmanifest.lua index 79df6db..43a41f1 100644 --- a/resources/[system]/rconlog/fxmanifest.lua +++ b/resources/[system]/rconlog/fxmanifest.lua @@ -1,3 +1,11 @@ +-- This resource is part of the default FiveM/RedM resource pack (aka cfx-server-data) +-- Modifying or rewriting this resource for local use only is strongly discouraged. + +version '1.0.0' +author 'The CitizenFX Collective' +description 'Currently this resource does nothing. It used to be a log accessible via HTTP.' +repository 'https://github.com/citizenfx/cfx-server-data' + client_script 'rconlog_client.lua' server_script 'rconlog_server.lua' diff --git a/resources/[system]/runcode/__resource.lua b/resources/[system]/runcode/__resource.lua index 9fbbfe2..628401f 100644 --- a/resources/[system]/runcode/__resource.lua +++ b/resources/[system]/runcode/__resource.lua @@ -1,17 +1,23 @@ +-- This resource is part of the default FiveM/RedM resource pack (aka cfx-server-data) +-- Modifying or rewriting this resource for local use only is strongly discouraged. + +version '1.0.0' +author 'The CitizenFX Collective' +description 'Allows server owners to execute arbitrary server-side or client-side NodeJS/Lua code. Consider only enabling it in 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 8e7540d..09eae34 100644 --- a/resources/[system]/scoreboard/fxmanifest.lua +++ b/resources/[system]/scoreboard/fxmanifest.lua @@ -3,7 +3,7 @@ version '1.0.0' author 'The CitizenFX Collective' -description 'Scoreboard' +description 'Basic player scoreboard.' repository 'https://github.com/citizenfx/cfx-server-data' -- temporary! diff --git a/resources/[system]/sessionmanager-rdr3/fxmanifest.lua b/resources/[system]/sessionmanager-rdr3/fxmanifest.lua index d6e7fe1..47036cd 100644 --- a/resources/[system]/sessionmanager-rdr3/fxmanifest.lua +++ b/resources/[system]/sessionmanager-rdr3/fxmanifest.lua @@ -1,3 +1,11 @@ +-- This resource is part of the default FiveM/RedM resource pack (aka cfx-server-data) +-- Modifying or rewriting this resource for local use only is strongly discouraged. + +version '1.0.0' +author 'The CitizenFX Collective' +-- description '????' +repository 'https://github.com/citizenfx/cfx-server-data' + fx_version 'adamant' game 'common' diff --git a/resources/[system]/sessionmanager/__resource.lua b/resources/[system]/sessionmanager/__resource.lua index 7b661f8..a5d708a 100644 --- a/resources/[system]/sessionmanager/__resource.lua +++ b/resources/[system]/sessionmanager/__resource.lua @@ -1,3 +1,11 @@ +-- This resource is part of the default FiveM/RedM resource pack (aka cfx-server-data) +-- Modifying or rewriting this resource for local use only is strongly discouraged. + +version '1.0.0' +author 'The CitizenFX Collective' +-- description '????' +repository 'https://github.com/citizenfx/cfx-server-data' + resource_manifest_version '77731fab-63ca-442c-a67b-abc70f28dfa5' server_script 'server/host_lock.lua'