Added metadata to all manifest files (#136)

* ton of stuf

* more

* system resources: added fxmanifest meta tags

* manager resources: added fxmanifest meta tags

* gameplay resources: added fxmanifest meta tags

* gamemode resources: added fxmanifest meta tags

* gameplay example resources: reverted descriptions

* test resources: added fxmanifest meta tags

* smol fixes

* added author email + minor changes

* fixed manifest file trailing line inconsistencies

* Update fxmanifest.lua

* Update fxmanifest.lua

* Update fxmanifest.lua

* Update fxmanifest.lua

* Update fxmanifest.lua

* Update fxmanifest.lua

* Update fxmanifest.lua

* Update fxmanifest.lua

* Update __resource.lua

* additional phrasing/branding changes

Co-authored-by: PLOKMJNB <PLOKMJNB@users.noreply.github.com>
Co-authored-by: Danish Khan <61810778+PLOKMJNB@users.noreply.github.com>
Co-authored-by: Technetium <65681715+technetium-cfx@users.noreply.github.com>
Co-authored-by: blattersturm <peachypies@protonmail.ch>
This commit is contained in:
tabarra
2020-11-22 12:49:22 -03:00
committed by GitHub
parent 76dd66bd0f
commit ab4eccec83
26 changed files with 214 additions and 33 deletions

View File

@@ -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 <root@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'

View File

@@ -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 <root@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'

View File

@@ -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 <root@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'

View File

@@ -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 <root@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'

View File

@@ -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'
description 'An example money system fountain spawn point.'
repository 'https://github.com/citizenfx/cfx-server-data'
author 'Cfx.re <root@cfx.re>'
fx_version 'cerulean'
game 'gta5'

View File

@@ -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 <pr@fivem.net>'
repository 'https://github.com/citizenfx/cfx-server-data'
author 'Cfx.re <root@cfx.re>'
fx_version 'bodacious'
game 'gta5'

View File

@@ -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 <pr@fivem.net>'
repository 'https://github.com/citizenfx/cfx-server-data'
author 'Cfx.re <root@cfx.re>'
fx_version 'bodacious'
game 'gta5'

View File

@@ -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 <pr@fivem.net>'
author 'Cfx.re <root@cfx.re>'
repository 'https://github.com/citizenfx/cfx-server-data'
fx_version 'bodacious'
game 'gta5'

View File

@@ -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 <root@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'

View File

@@ -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 <root@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'

View File

@@ -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 <pr@fivem.net>'
author 'Cfx.re <root@cfx.re>'
repository 'https://github.com/citizenfx/cfx-server-data'
fx_version 'bodacious'
game 'common'

View File

@@ -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 <root@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'

View File

@@ -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 <root@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"

View File

@@ -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 <root@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'

View File

@@ -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 <root@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'

View File

@@ -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 <root@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'

View File

@@ -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 <root@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'

View File

@@ -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 <root@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'

View File

@@ -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 <root@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'

View File

@@ -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

View File

@@ -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 <root@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'
}

View File

@@ -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 <root@cfx.re>'
description 'Basic player scoreboard.'
repository 'https://github.com/citizenfx/cfx-server-data'
-- temporary!
ui_page 'html/scoreboard.html'

View File

@@ -1,5 +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 <root@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'

View File

@@ -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 <root@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'

View File

@@ -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 <root@cfx.re>'
description 'Example loading screen.'
repository 'https://github.com/citizenfx/cfx-server-data'
files {
'index.html',
'keks.css',

View File

@@ -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 <root@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'