1
0
mirror of https://github.com/citizenfx/cfx-server-data.git synced 2025-01-08 22:22:57 +08:00

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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
26 changed files with 214 additions and 33 deletions

View File

@ -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 <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'
fx_version 'adamant'
game 'gta5'
game 'gta5'

View File

@ -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 <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'
fx_version 'adamant'
game 'gta5'
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 '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.'
rdr3_warning 'I acknowledge that this is a prerelease build of RedM, and I am aware my resources *will* become incompatible once RedM ships.'

View File

@ -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 <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'
game 'common'
fx_version 'adamant'
fx_version 'adamant'

View File

@ -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 <root@cfx.re>'
fx_version 'cerulean'
game 'gta5'
map 'map.lua'
dependency 'money-fountain'
dependency 'money-fountain'

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'
@ -15,4 +19,4 @@ dependencies {
'money'
}
lua54 'yes'
lua54 'yes'

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'
@ -9,4 +13,4 @@ client_script 'client.lua'
server_script 'server.lua'
--dependency 'cfx.re/playerData.v1alpha1'
lua54 'yes'
lua54 'yes'

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'
@ -10,4 +18,4 @@ chat_theme 'gtao' {
}
game 'common'
fx_version 'adamant'
fx_version 'adamant'

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'
@ -21,4 +27,4 @@ dependencies {
'webpack'
}
webpack_config 'webpack.config.js'
webpack_config 'webpack.config.js'

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'
@ -9,4 +13,4 @@ server_script 'server.lua'
provides {
'cfx.re/playerData.v1alpha1'
}
}

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'
@ -25,4 +33,4 @@ files {
-- support the latest resource manifest
fx_version 'adamant'
game 'gta5'
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 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.'
rdr3_warning 'I acknowledge that this is a prerelease build of RedM, and I am aware my resources *will* become incompatible once RedM ships.'

View File

@ -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 <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'
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.'
rdr3_warning 'I acknowledge that this is a prerelease build of RedM, and I am aware my resources *will* become incompatible once RedM ships.'

View File

@ -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 <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'
fx_version 'adamant'
game 'common'
game 'common'

View File

@ -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 <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'
server_script 'yarn_builder.js'
server_script 'yarn_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 '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'
server_script 'server.lua'

View File

@ -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 <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'
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.'
rdr3_warning 'I acknowledge that this is a prerelease build of RedM, and I am aware my resources *will* become incompatible once RedM ships.'

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'
@ -18,4 +24,4 @@ files {
}
fx_version 'adamant'
game 'gta5'
game 'gta5'

View File

@ -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 <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'
}
server_script 'sm_server.js'
server_script 'sm_server.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 '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',
@ -7,4 +15,4 @@ files {
loadscreen 'index.html'
resource_manifest_version '77731fab-63ca-442c-a67b-abc70f28dfa5'
resource_manifest_version '77731fab-63ca-442c-a67b-abc70f28dfa5'

View File

@ -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 <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'
dependency 'basic-gamemode'
dependency 'basic-gamemode'