{"id":15289258,"url":"https://github.com/adrianrguez96/dcore-fivem-roleplay-framework","last_synced_at":"2025-03-24T06:42:21.701Z","repository":{"id":254605220,"uuid":"847025348","full_name":"Adrianrguez96/DCore-FiveM-Roleplay-Framework","owner":"Adrianrguez96","description":"Custom-built FiveM roleplay framework with unique features and optimized performance","archived":false,"fork":false,"pushed_at":"2024-08-24T16:51:01.000Z","size":3093,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-29T12:23:03.662Z","etag":null,"topics":["fivem","framework","gta5","lua","roleplay"],"latest_commit_sha":null,"homepage":"","language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Adrianrguez96.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-24T16:26:07.000Z","updated_at":"2024-08-24T16:51:05.000Z","dependencies_parsed_at":"2024-08-24T18:29:57.635Z","dependency_job_id":null,"html_url":"https://github.com/Adrianrguez96/DCore-FiveM-Roleplay-Framework","commit_stats":null,"previous_names":["adrianrguez96/dcore-fivem-roleplay-framework"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Adrianrguez96%2FDCore-FiveM-Roleplay-Framework","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Adrianrguez96%2FDCore-FiveM-Roleplay-Framework/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Adrianrguez96%2FDCore-FiveM-Roleplay-Framework/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Adrianrguez96%2FDCore-FiveM-Roleplay-Framework/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Adrianrguez96","download_url":"https://codeload.github.com/Adrianrguez96/DCore-FiveM-Roleplay-Framework/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245223907,"owners_count":20580361,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["fivem","framework","gta5","lua","roleplay"],"created_at":"2024-09-30T16:00:06.404Z","updated_at":"2025-03-24T06:42:21.682Z","avatar_url":"https://github.com/Adrianrguez96.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\u003cimg src=\"https://i.ibb.co/Fxgq0QH/logo.png\" alt=\"D-Core logo\"\u003e\u003c/div\u003e\n\n# D-Core Framework\nD-Core Framework is a foundational core designed to help you create and manage your own roleplay server on FiveM. Built with an object-oriented programming (OOP) approach in Lua, D-Core utilizes modern web technologies such as HTML5, CSS3, jQuery, and ES6 JavaScript for its NUI (New User Interface).\n\n## Features\n- Object-Oriented Programming: D-Core leverages Lua's OOP capabilities, allowing for clean, modular, and maintainable code.\n- Modern Web Technologies: The NUI components are built using HTML5, CSS3, jQuery, and JavaScript (ES6), ensuring a responsive and dynamic user interface.\n- Flexible Integration: Easily integrate D-Core with other resources or modify existing scripts like ESX or Qbus to work seamlessly with D-Core.\n\n# Using Core Functions in Other Resources\nD-Core's core functions can be integrated into other resources or modified scripts to enhance your server's capabilities. Below are the basic declarations needed to start using D-Core in your client and server scripts.\n\n## Client-Side Declaration\nTo use D-Core functions on the client side, add the following code at the beginning of your script. It's recommended to create a separate file, core.lua, where you can manage this part of your script logic.\n\n ```\nCore = Core or {}\n\nCitizen.CreateThread(function()\n    while true do\n        TriggerEvent(\"core:client:GetFramework\", function(core) Core = core end)\n        if Core.Status then \n            -- Here the controllers are started and the main functions of each of them are called\n            break   \n        end\n        Wait(0)\n    end\nend)\n ```\n ## Server-Side Declaration\nSimilarly, to use D-Core functions on the server side, include the following code:\n\n```\nCore = Core or {}\n\nCitizen.CreateThread(function()\n    while true do\n        TriggerEvent(\"core:server:GetFramework\", function(core) Core = core end)\n        if Core.Status then \n            -- Here the controllers are started and the main functions of each of them are called\n            break   \n        end\n        Wait(0)\n    end\n```\n\n# Important Note\n\nThis is an alpha version of the framework, which means it may contain bugs or incomplete features. Your feedback and contributions are welcome as the framework continues to evolve.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadrianrguez96%2Fdcore-fivem-roleplay-framework","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadrianrguez96%2Fdcore-fivem-roleplay-framework","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadrianrguez96%2Fdcore-fivem-roleplay-framework/lists"}