{"id":17333192,"url":"https://github.com/brenoepics/mysterybox-plugin","last_synced_at":"2025-04-14T18:13:37.495Z","repository":{"id":111985699,"uuid":"577058298","full_name":"brenoepics/MysteryBox-Plugin","owner":"brenoepics","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-24T12:41:21.000Z","size":109,"stargazers_count":4,"open_issues_count":1,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-04-14T18:13:32.103Z","etag":null,"topics":["arcturus","morningstar"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/brenoepics.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":"2022-12-11T20:54:23.000Z","updated_at":"2025-03-26T15:27:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"771d739d-7c06-4b28-bd34-994c62b5ec18","html_url":"https://github.com/brenoepics/MysteryBox-Plugin","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brenoepics%2FMysteryBox-Plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brenoepics%2FMysteryBox-Plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brenoepics%2FMysteryBox-Plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brenoepics%2FMysteryBox-Plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brenoepics","download_url":"https://codeload.github.com/brenoepics/MysteryBox-Plugin/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248933340,"owners_count":21185460,"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":["arcturus","morningstar"],"created_at":"2024-10-15T15:00:10.068Z","updated_at":"2025-04-14T18:13:37.471Z","avatar_url":"https://github.com/brenoepics.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Xmas Mystery Box Plugin\n\nThis plugin adds the Xmas Mystery Box feature to Arcturus Morningstar 3.5.x.\n\n\u003e [!TIP]\n\u003e Portuguese version [here](README.pt.md)\n\n- [How to install](#how-to-install)\n- [FAQ](#faq)\n  * [General](#general)\n  * [Mystery Box item](#mystery-box-item)\n  * [Mystery Box keys](#mystery-box-keys)\n  * [Mystery Box rewards](#mystery-box-rewards)\n- [Support](#support)\n\n\n## Demo\n\n![preview.png](preview.png)\n\n## How to install\n\n1. Download the latest release from the [release page](https://github.com/brenoepics/MysteryBox-Plugin/releases)\n2. Run the sql file in your database\n3. Add the interaction type `mysterybox` to the `items_base` table.\n4. Paste the MysteryBoxPlugin.jar file into your emulator's plugins folder and start/restart the emulator.\n\n## FAQ\n\n### General\n\n- `mysterybox.challenge.enabled` - Is the xmas challenge enabled? Default: true\n\n### Mystery Box item\n\n- Interaction type: `mysterybox`\n\nIf you do not have the `items_base` to Mystery Box furniture (maybe sprite_id 4797), here is an example.\n\n```sql\nINSERT INTO `items_base` (`sprite_id`, `public_name`, `item_name`, `type`, `width`, `length`, `stack_height`,\n                          `allow_stack`, `allow_sit`, `allow_lay`, `allow_walk`, `allow_gift`, `allow_trade`,\n                          `allow_recycle`, `allow_marketplace_sell`, `allow_inventory_stack`, `interaction_type`,\n                          `interaction_modes_count`, `vending_ids`, `multiheight`, `customparams`, `effect_id_male`,\n                          `effect_id_female`, `clothing_on_walk`)\nVALUES (4797, 'Xmas Mystery Box', 'mystery_box', 's', 1, 1, 1.00, 1, 0, 0, 0, 1, 1, 0, 0, 1, 'mysterybox', 2, '0', '',\n        '', 0, 0, '');\n```\n\nthen, add to `catalog_items` using the generated id from the previous query or make a reward wired, achievement...\nto distribute to users.\n\n### Mystery Box keys\n\n- `mysterybox.key.generate.time` - Time in seconds to generate a new key for the user. Default: 86400 (24h)\n- `mysterybox.key.onlogin` - If true, the user will receive a new key on login.\n  Default: true\n\nThe keys are auto generated on user login every 24h (`mysterybox.key.generate.time`)\n\n### Mystery Box rewards\n\n- You can update the rewards with the command `:mysterybox_update` (permission `cmd_mystery_update`)\n- Available reward types:\n  - WALL = i\n  - FLOOR = s\n  - EFFECT = e\n  - HABBO_CLUB h ,\n\n#### `mystery_rewards` Example\n\n| id | type | reward |\n|----|------|--------|\n| 1  | s    | 100    |\n| 2  | i    | 101    |\n| 3  | e    | 102    |\n| 4  | h    | 1      |\n\n\n## Support\n\nIf you need help, open an issue [here](https://github.com/brenoepics/MysteryBox-Plugin/issues/new)\n\nif you find this plugin useful, a ⭐ is appreciated.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrenoepics%2Fmysterybox-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrenoepics%2Fmysterybox-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrenoepics%2Fmysterybox-plugin/lists"}