{"id":29161320,"url":"https://github.com/codemeapixel/custom-loadouts","last_synced_at":"2025-08-30T17:05:42.401Z","repository":{"id":106961973,"uuid":"337178351","full_name":"CodeMeAPixel/Custom-Loadouts","owner":"CodeMeAPixel","description":"Simple Custom Loadouts for FiveM using EssentialMode","archived":false,"fork":false,"pushed_at":"2021-02-08T19:04:25.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-29T08:38:45.605Z","etag":null,"topics":["citizenfx","fivem","resources","scripts"],"latest_commit_sha":null,"homepage":"","language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CodeMeAPixel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2021-02-08T18:57:35.000Z","updated_at":"2021-02-08T19:04:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"2c80d140-e5ef-45f6-9d49-ef0fc183245f","html_url":"https://github.com/CodeMeAPixel/Custom-Loadouts","commit_stats":null,"previous_names":["codemeapixel/custom-loadouts"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/CodeMeAPixel/Custom-Loadouts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeMeAPixel%2FCustom-Loadouts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeMeAPixel%2FCustom-Loadouts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeMeAPixel%2FCustom-Loadouts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeMeAPixel%2FCustom-Loadouts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CodeMeAPixel","download_url":"https://codeload.github.com/CodeMeAPixel/Custom-Loadouts/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeMeAPixel%2FCustom-Loadouts/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272878320,"owners_count":25008336,"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","status":"online","status_checked_at":"2025-08-30T02:00:09.474Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["citizenfx","fivem","resources","scripts"],"created_at":"2025-07-01T03:09:54.442Z","updated_at":"2025-08-30T17:05:42.376Z","avatar_url":"https://github.com/CodeMeAPixel.png","language":"Lua","readme":"# Custom Loadouts\r\n\r\n__**Note**__ This project will not be maintained unless it is highly requested.\r\n\r\nA loadout system for the [FiveM](https://forum.fivem.net) mod for GTA-V.\r\nGive your players the ability to change their skin and weapons!\r\n\r\n\r\n## Prerequisites\r\n\r\nBefore you install this plugin, please make sure to follow the installation instructions for [EssentialMode](https://forum.fivem.net/t/release-essentialmode-base/3665).\r\n\r\n## Usage\r\n\r\nTo use the scripts, you just have to modify the \"loadouts.lua\" file to your preference.\r\nBelow you can see a rundown of how you can configure the loadouts (Note: This is only one loadout, see the default \"loadouts.lua\" file for more).\r\nThe example below will allow the players to use the command `/loadout cop`.\r\n\r\n```\r\nLOADOUTS =  {\r\n\t[\"cop\"] = { -- The argument to the /loadout command (i.e /loadout cop)\r\n\t\tname = \"Cop\", -- The name of the loadout (shown to players)\r\n\t\tpermission_level = 0, -- The essential mode permission needed to run this command\r\n\t\tweapons = { \"WEAPON_PISTOL50\", \"WEAPON_STUNGUN\", \"WEAPON_NIGHTSTICK\", \"WEAPON_PUMPSHOTGUN\", \"WEAPON_FLAREGUN\" }, -- List of weapons the player will get with this loadout\r\n\t\tskins = { \"s_m_y_swat_01\", \"s_m_y_swat_01\" } -- List of potential skins for the player (random)\r\n\t}\r\n}\r\n```\r\n\r\nThe players can also run the `/loadout help` command to get a list of loadouts they can use.\r\n\r\n#### \u003csmall\u003e**Please note: Adding a \"help\" loadout will remove this functionality :cry:**\u003c/small\u003e\r\n\r\n## Installing\r\n\r\n1. Copy the plugin into it's own folder in the `resources/` folder.\r\n    - E.g. `resources/fivem-loadouts`\r\n\r\n2. Modify your \"AutoStartResources\" to load the plugin. It should look like\r\n```\r\nAutoStartResources:\r\n    - chat\r\n    ...\r\n    - fivem-loadouts\r\n```\r\n\r\n## Contributing\r\n\r\n1. Fork it!\r\n2. Create your feature branch: `git checkout -b my-new-feature`\r\n3. Commit your changes: `git commit -am 'Add some feature'`\r\n4. Push to the branch: `git push origin my-new-feature`\r\n5. Submit a pull request :D\r\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodemeapixel%2Fcustom-loadouts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodemeapixel%2Fcustom-loadouts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodemeapixel%2Fcustom-loadouts/lists"}