{"id":19503104,"url":"https://github.com/minebench/simplelootcrates","last_synced_at":"2025-02-25T21:43:38.026Z","repository":{"id":80315804,"uuid":"197640088","full_name":"Minebench/SimpleLootCrates","owner":"Minebench","description":"Simple Paper plugin to create loot crate items that give random loot.","archived":false,"fork":false,"pushed_at":"2023-04-09T18:46:54.000Z","size":45,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-08T10:36:00.860Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://ci.minebench.de/job/SimpleLootCrates/","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Minebench.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["Phoenix616"],"custom":["https://tip.phoenix616.dev","https://minebench.de/supporter"],"issuehunt":"Minebench"}},"created_at":"2019-07-18T18:46:32.000Z","updated_at":"2023-11-09T05:48:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"9e5369c9-5783-48d4-ab46-93b4b94ad5ea","html_url":"https://github.com/Minebench/SimpleLootCrates","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Minebench%2FSimpleLootCrates","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Minebench%2FSimpleLootCrates/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Minebench%2FSimpleLootCrates/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Minebench%2FSimpleLootCrates/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Minebench","download_url":"https://codeload.github.com/Minebench/SimpleLootCrates/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240754296,"owners_count":19852186,"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":[],"created_at":"2024-11-10T22:19:37.600Z","updated_at":"2025-02-25T21:43:37.998Z","avatar_url":"https://github.com/Minebench.png","language":"Java","funding_links":["https://github.com/sponsors/Phoenix616","https://tip.phoenix616.dev","https://minebench.de/supporter","https://issuehunt.io/r/Minebench"],"categories":[],"sub_categories":[],"readme":"# SimpleLootCrates\nSimple Bukkit plugin to create loot crate items that give random loot. \n\nCrates are opened by right clicking the item and will show a small GUI with the items that the player will receive.\nPlayers can then take the items out of the opened GUI or ‒ if the don't ‒ will receive the items into their inventory automatically on closing the GUI. \n\nIncludes the ability to define different item rarities in a single crate as well as configuring everything via a GUI!\n\n## Commands and Permissions\nCommand                       | Permission                        | Description \n------------------------------|-----------------------------------|----------------\n`/simplelootcrates`           | `simplelootcrates.command`        | Main plugin command. Aliases: simplelootcrate, slc, crates, crate, lootcrate, lootcrates\n`/slc reload`                 | `simplelootcrates.command.reload` | Reload the plugin config\n`/slc gui`                    | `simplelootcrates.command.gui`    | Open a GUI to get and configure crates\n`/slc add \u003ccrate\u003e`            | `simplelootcrates.command.add`    | Add a new crate with an id\n`/slc list`                   | `simplelootcrates.command.list`   | List all configured crates\n`/slc get \u003ccrate\u003e`            | `simplelootcrates.command.get`    | Get a crate by its id\n`/slc give \u003cplayer\u003e \u003ccrate\u003e`  | `simplelootcrates.command.give`   | Give a crate to a player\n\n## Configuration\n\n### Main config.yml\nThe main config.yml file currently only contains the sound which is played when a player opens a crate. Sounds can also be changed on a per-crate basis.\n```yaml\nopen-sound: entity_player_levelup\n```\n\n### Crates configs\nCrates config files are in the `crates` folder in the plugin's data folder. Each crate will get its own config file with the naming scheme `\u003cid\u003e.yml`.\n\nThe plugin includes the following `ExampleCrate.yml`:\n```yaml\nname: \"\u00268Example Crate\"\nitem: chest\nsound: entity_player_levelup\nloot:\n- amount: 1\n  items:\n  - stone\n  - sand\n- amount: 4\n  items:\n  - 64 dirt\n  - 64 gravel\n```\nThis means that the crate will have the name `\u00268Example Crate` and look like a `chest`.\n\nIt will contain 1 item that is either stone or sand and 4 items which are either 64 dirt or 64 gravel.  \nOf course more complex items are supported including full meta/nbt data but I highly recommend configuring that via the GUI!  \nA crate can include up to 54 items (as that's the limit on the GUI) but if you really want more then how about crates in crates?\n\nAnd of course you can set the open sound per crate! The example one will just play the default `entity_player_levelup` sound on open.\n\n#### Via GUI\n\nCrate selection:  \n![](https://i.phoenix616.dev/fP51GJFY.png)\n\nCrate editor:  \n![](https://i.phoenix616.dev/fLEcilWI.png)  \n![](https://i.phoenix616.dev/fIXDpMNd.png)  \n![](https://i.phoenix616.dev/fISu6jZ6.png)\n\nEdit loot group (you can simply add or remove items here and adjust the loot group item amount):  \n![](https://i.phoenix616.dev/fMqPyqgh.png)\n\n## Downloads\nCurrently only [development builds](https://ci.minebench.de/job/SimpleLootCrates/) are available.\n\n## [License (GPLv3)](https://github.com/Minebench/SimpleLootCrates/blob/master/LICENSE)\n```\n SimpleLootCrates\n Copyright (c) 2019 Max Lee aka Phoenix616 (mail@moep.tv)\n\n This program is free software: you can redistribute it and/or modify\n it under the terms of the GNU General Public License as published by\n the Free Software Foundation, either version 3 of the License, or\n (at your option) any later version.\n\n This program is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n GNU General Public License for more details.\n\n You should have received a copy of the GNU General Public License\n along with this program.  If not, see \u003chttp://www.gnu.org/licenses/\u003e.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fminebench%2Fsimplelootcrates","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fminebench%2Fsimplelootcrates","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fminebench%2Fsimplelootcrates/lists"}