{"id":19449174,"url":"https://github.com/kangoka/vyzo_giveaway","last_synced_at":"2025-06-26T23:33:16.069Z","repository":{"id":61391140,"uuid":"545893640","full_name":"kangoka/vyzo_giveaway","owner":"kangoka","description":"A script for admin to create a code for players to redeem","archived":false,"fork":false,"pushed_at":"2022-10-19T04:02:20.000Z","size":40,"stargazers_count":5,"open_issues_count":0,"forks_count":6,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-07T23:33:48.157Z","etag":null,"topics":["fivem","fivem-roleplay","fivem-script","giveaway"],"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/kangoka.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}},"created_at":"2022-10-05T06:51:12.000Z","updated_at":"2025-01-03T19:16:52.000Z","dependencies_parsed_at":"2023-01-20T04:32:04.560Z","dependency_job_id":null,"html_url":"https://github.com/kangoka/vyzo_giveaway","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kangoka%2Fvyzo_giveaway","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kangoka%2Fvyzo_giveaway/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kangoka%2Fvyzo_giveaway/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kangoka%2Fvyzo_giveaway/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kangoka","download_url":"https://codeload.github.com/kangoka/vyzo_giveaway/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240636686,"owners_count":19832924,"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","fivem-roleplay","fivem-script","giveaway"],"created_at":"2024-11-10T16:30:42.682Z","updated_at":"2025-02-25T09:18:36.022Z","avatar_url":"https://github.com/kangoka.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg width=\"300\" height=\"300\" src=\"https://i.imgur.com/meFc9Ie.gif\"\u003e\n\u003c/p\u003e\n\nThis a script to make things easier when you want to host a giveaway on your roleplay server by creating a code and can be redeemed by the players.\n\n# Dependency\n1. [oxmysql](https://github.com/overextended/oxmysql)\n2. [ox_lib](https://github.com/overextended/ox_lib)\n\n# Installation\n1. Git clone this repository or download the latest release\n2. Configure `config.lua` \n3. Open `client.lua` and change the notification to yours\n4. Import the sql `vyzo_giveaway.sql`\n5. Add `ensure vyzo_giveaway` on `server.cfg` after oxmysql and oxlib\n\n# Usage\n- /cga to create a new giveaway\n- /redeem to redeem a code\n- Format to give reward type car: car_**CARMODEL**_**PLATE**. Example: car_adder_VYZO or car_adder\n\n# Features\n- 0.00ms resmon when idle and 0.001ms for a blink of an eye when executing the command\n- Use your own code or auto generated code with flexible configuration\n- Set how many a code can be redeemed by players\n- Support logging to Discord using Discord webhook\n- Check the code format before executing any queries (check `server.lua`, default are commented)\n- Available in two languages English and Bahasa Indonesia\n- Supported reward type: `money`, `bank`, `items` (for ox_inventory users, items are not attached to database so you can give weapons too)\n\n# Note\n- Tested with ESX Legacy 1.8.5 and working fine\n- You need to have esx_vehicleshop running or at least have the sql table imported if you want to make the reward type car\n- Change the notification in `client/client.lua` to your notification\n\n# Preview\nhttps://imgur.com/a/RqLFTeU\n\n# Todo\n- [x] Add reward type: `car`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkangoka%2Fvyzo_giveaway","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkangoka%2Fvyzo_giveaway","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkangoka%2Fvyzo_giveaway/lists"}