{"id":21410386,"url":"https://github.com/victor-0x29a/http-resource-mtasa","last_synced_at":"2026-04-05T21:03:22.547Z","repository":{"id":152105511,"uuid":"624954342","full_name":"victor-0x29a/http-resource-mtasa","owner":"victor-0x29a","description":"NodeJS integrated with a plugin of MTA:SA","archived":false,"fork":false,"pushed_at":"2024-02-02T18:02:50.000Z","size":48,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-14T22:08:56.107Z","etag":null,"topics":["http","lua","mta-dev","mtasa","mtasa-resource","nodejs","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/victor-0x29a.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}},"created_at":"2023-04-07T17:19:00.000Z","updated_at":"2024-02-02T18:00:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"fb19c880-cecd-44de-a46f-f68012cad1cf","html_url":"https://github.com/victor-0x29a/http-resource-mtasa","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/victor-0x29a/http-resource-mtasa","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victor-0x29a%2Fhttp-resource-mtasa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victor-0x29a%2Fhttp-resource-mtasa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victor-0x29a%2Fhttp-resource-mtasa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victor-0x29a%2Fhttp-resource-mtasa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/victor-0x29a","download_url":"https://codeload.github.com/victor-0x29a/http-resource-mtasa/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victor-0x29a%2Fhttp-resource-mtasa/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259890446,"owners_count":22927373,"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":["http","lua","mta-dev","mtasa","mtasa-resource","nodejs","typescript"],"created_at":"2024-11-22T17:39:47.866Z","updated_at":"2025-12-30T21:55:22.616Z","avatar_url":"https://github.com/victor-0x29a.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# http-resource-mtasa\n\n## Configuration\n- Ensure the default TCP port in `mtaserver.conf` is set to `22005`.\n- Create a user in the server's admin ACL and add their details to the `.env` file in the `Node API` folder (username in `MTASAUSER` field, password in `MTASAPASS` field).\n- In the `.env` file in the `Node API` folder, set the server's IP address in the `MTASAHOST` field and the previously configured TCP port in the `MTASAPORT` field.\n\n## Adding Commands\n- To add new commands, go to the `resource` folder and navigate to the `config` folder. There, you'll find a table containing functions.\n- Add a new function by placing a comma after the last function and adding its name within square brackets. Create a function with the referenced name inside the brackets, using the ellipsis (`...`) as the main argument to indicate it's a table.\n- Define the arguments for the new function. For example, to set the time, create a variable taking the hour as the first argument from `args`. Use `setTime(hour, 0)` and return a message.\n- After adding the function, include it in the API list by going to the `commands.ts` file in the `src/config` directory. Add a new object inside the `commands` array, specifying ID, NAME, DESCRIPTION, and ARGS.\n\n## Join the B.R.R Community\n[\u003cimg alt=\"Discord\" src=\"https://img.shields.io/badge/Discord-7289DA?style=for-the-badge\u0026logo=discord\u0026logoColor=white\" /\u003e](https://discord.gg/3XeQBzNMHz)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvictor-0x29a%2Fhttp-resource-mtasa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvictor-0x29a%2Fhttp-resource-mtasa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvictor-0x29a%2Fhttp-resource-mtasa/lists"}