{"id":15135045,"url":"https://github.com/karrbs/firebotcollectiongame","last_synced_at":"2026-01-19T12:33:37.328Z","repository":{"id":256785828,"uuid":"836719792","full_name":"karrbs/FirebotCollectionGame","owner":"karrbs","description":"Created for the need of a simple game that would look at a folder, index it, and then allow the viewers to collected said collection via a channel rewards.","archived":false,"fork":false,"pushed_at":"2024-08-01T12:34:15.000Z","size":68,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-05T23:29:04.670Z","etag":null,"topics":["angular","electron","firebot","npm"],"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/karrbs.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":"2024-08-01T12:20:11.000Z","updated_at":"2024-08-01T12:41:32.000Z","dependencies_parsed_at":"2024-09-13T03:19:31.084Z","dependency_job_id":"3e823527-c030-4d8b-9a92-1a64b6a75c67","html_url":"https://github.com/karrbs/FirebotCollectionGame","commit_stats":null,"previous_names":["karrbs/firebotcollectiongame"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karrbs%2FFirebotCollectionGame","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karrbs%2FFirebotCollectionGame/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karrbs%2FFirebotCollectionGame/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karrbs%2FFirebotCollectionGame/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/karrbs","download_url":"https://codeload.github.com/karrbs/FirebotCollectionGame/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247415783,"owners_count":20935383,"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":["angular","electron","firebot","npm"],"created_at":"2024-09-26T05:42:17.563Z","updated_at":"2026-01-19T12:33:37.323Z","avatar_url":"https://github.com/karrbs.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Firebot Collection Game\n\nstatus: Alpha\n\n## About\n\nCreated for the need of a simple game that would look at a folder, index it, and then allow the viewers to collected said collection via a channel rewards.\n\n** Collection Game is two scripts and will be rewritten in the near future to be a custom game for. Firebot\n*** Based on the the template script that firebot provided\n\n### Features Required\n- User DB\n- Persist Custom Variables \n- Custom Scripts\n\n\n## How to use\n\n### Statup Scripts\n1. Create an `item.txt` file in a safe directory\n2. Add both JS Files `collectionGame - reward`, `collectionGame - startup` to the Scripts Folder.\n2. Add `collectionGame - startup` script in the start up scripts\n3. Collection Name: Name it what you want. I would keep this simple and that works with reward message.\n3. folder: Select a directory that will have all your image files in it\n4. dbFolderPath: Select the folder where you put the item.txt\n\n### Reward (command/channel rewards)\n1. Add effect `Custom Script`\n2. Select `collectionGame - reward`\n\n### Current Reward Message and overlay\nMessage: `metadata.username + \" has collected a \" + selectedItem.name + \" \" + collectionName + \"\\! They now have collected \" + test.totalCount + \" \" + collectionName + \"s\\.\"`\nOverlay: Shows Image, Jackinthebox ,wobble, rollout -  total time is 10 image size is 250 by 250 \n\n## TODO\n\n- [ ] merge into 1 scripts\n- [ ] validate item.txt\n- [ ] integrate reward into events\n- [ ] create build and pack script\n- [ ] output information into a variable. \n\n## Current Bugs\n- [ ] Can't replay message from action message\n\n## Using\n### Setup\n1. Create a new repo based off this template (Click \"Use this Template\" above) or simply fork it\n2. `npm install`\n\n### Building\nDev:\n1. `npm run build:dev`\n- Automatically copies the compiled .js to Firebot's scripts folder.\n\nRelease:\n1. `npm run build`\n- Copy .js from `/dist`\n\n### Note\n- Keep the script definition object (that contains the `run`, `getScriptManifest`, and `getDefaultParameters` funcs) in the `main.ts` file as it's important those function names don't get minimized.\n- Edit the `\"scriptOutputName\"` property in `package.json` to change the filename of the outputted script.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkarrbs%2Ffirebotcollectiongame","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkarrbs%2Ffirebotcollectiongame","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkarrbs%2Ffirebotcollectiongame/lists"}