{"id":16375708,"url":"https://github.com/igabytm/mastercooldowns","last_synced_at":"2025-09-02T21:34:58.138Z","repository":{"id":106801456,"uuid":"215900755","full_name":"iGabyTM/mastercooldowns","owner":"iGabyTM","description":"The easiest and most advanced way to add cooldowns to commands","archived":false,"fork":false,"pushed_at":"2023-02-20T14:11:02.000Z","size":93,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-09T23:15:29.349Z","etag":null,"topics":["java","minecraft-plugin","spigot-plugin"],"latest_commit_sha":null,"homepage":null,"language":"Java","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/iGabyTM.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":"2019-10-17T23:08:16.000Z","updated_at":"2022-09-28T15:24:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"83ece44a-4c28-4448-afd7-de22223ffbc7","html_url":"https://github.com/iGabyTM/mastercooldowns","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/iGabyTM%2Fmastercooldowns","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iGabyTM%2Fmastercooldowns/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iGabyTM%2Fmastercooldowns/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iGabyTM%2Fmastercooldowns/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iGabyTM","download_url":"https://codeload.github.com/iGabyTM/mastercooldowns/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247183792,"owners_count":20897657,"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":["java","minecraft-plugin","spigot-plugin"],"created_at":"2024-10-11T03:21:52.878Z","updated_at":"2025-04-04T13:25:59.652Z","avatar_url":"https://github.com/iGabyTM.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Master Cooldowns\n\n## Download\n- [Mc-Market](https://www.mc-market.org/resources/12592/)\n- [SpigotMC](https://www.spigotmc.org/resources/72145/)\n\n## Commands\n| Name                                                 | Usage                               | Description                                                                                                                                                                                                                                                                                        |\n|------------------------------------------------------|-------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `mcd add [player┃*┃**] [id] [duration] \u003caccumulate\u003e` | `mcd add GabyTM daily_reward 86400` | Add a new cooldown, if the id is already in use the cooldown will be overridden. The duration is in seconds. By passing `true` as value for 'accumulate', if the player has an active cooldown with the same id, the 'duration' will be added to the existing cooldown (remaining time + duration) |\n| `mcd remove [player┃*┃**] [id┃all]`                  | `mcd remove GabyTM daily_reward`    | Use `*` as player argument to remove cooldowns from all online players, `**` for offline players and `all` as id to remove all cooldowns                                                                                                                                                           |\n| `mcd check [player] [id]`                            | `mcd check GabyTM daily_reward`     | Check the time left of a cooldown                                                                                                                                                                                                                                                                  |\n| `mcd list [player]`                                  | `mcd list GabyTM`                   | A list of the available cooldowns                                                                                                                                                                                                                                                                  |\n| `mcd reload`                                         | `mcd reload`                        | Reload the config                                                                                                                                                                                                                                                                                  |\n| `mcd help`                                           | `mcd help`                          | Display the commands list                                                                                                                                                                                                                                                                          |\n\n\u003e ```\n\u003e Note: To use the commands you need the 'mastercooldowns.access' permission.\n\u003e Aliases: cd, mcd, mcooldowns, mcooldown.\n\u003e ```\n \n## Placeholders\nThe plugin add the following placeholders to [PlaceholderAPI](https://www.spigotmc.org/resources/6245/).    \n\n| Placeholder                             | Usage                                        | Output | Description                                                         |\n|-----------------------------------------|----------------------------------------------|--------|---------------------------------------------------------------------|\n| `%mcd_left_\u003ccooldown\u003e%`                 | `%mcd_left_daily_reward%`                    | 86400  | Return the time left of a cooldown as an integer                    |\n| `%mcd_left_formatted_\u003ccooldown\u003e%`       | `%mcd_left_formatted_daily_reward%`          | 24h    | Same as above but formatted using PlaceholderAPI simple date format |\n| `%mcd_active_\u003cspace separated list\u003e%`   | `%mcd_active_daily_reward monthly_reward%`   | 2      | Return how many of the provided cooldowns are active                |\n| `%mcd_inactive_\u003cspace separated list\u003e%` | `%mcd_inactive_daily_reward monthly_reward%` | 2      | Return how many of the provided cooldowns are inactive              |\n| `%mcd_isactive_\u003ccooldown\u003e%`             | `%mcd_isactive_daily_reward%`                | Yes    | Whether a cooldown is active                                        |\n| `%mcd_isinactive_\u003ccooldown\u003e%`           | `%mcd_isinactive_daily_reward%`              | No     | Whether a cooldown is inactive                                      |\n\n## Config\nThe default config can be found [here](iGabyTM/MasterCooldowns/tree/master/src/main/resources/config.yml).\n\n## Examples\n\u003cdetails\u003e\n  \u003csummary\u003eDeluxeMenus Rewards GUI\u003c/summary\u003e\n  \n```yaml\n  menu_title: '\u0026rDaily Rewards'\n  inventory_type: HOPPER\n  open_command: rewards\n  update_interval: 1\n  items:\n    glass:\n      material: STAINED_GLASS_PANE\n      data: 7\n      slots:\n        - 0\n        - 1\n        - 3\n        - 4\n      display_name: ' '\n    available:\n      material: STORAGE_MINECART\n      slot: 2\n      priority: 1\n      view_requirement:\n        requirements:\n          cooldown:\n            type: '=='\n            input: '%mcd_left_daily_reward%'\n            output: '0'\n      display_name: '\u0026aDaily Reward'\n      lore:\n        - ''\n        - '\u0026aRight Click \u00267to claim!'\n      click_commands:\n        - '[console] mcd add %player_name% daily_reward 86400'\n        - '[console] eco give %player_name% 10000'\n        - '[close]'\n        - '[message] \u00262\u0026l[!] \u0026aYou have claimed your daily reward, come back tomorrow for more!'\n    on_cooldown:\n      material: MINECART\n      slot: 2\n      priority: 2\n      update: true\n      display_name: '\u0026cDaily Reward'\n      lore:\n        - ''\n        - '\u00267Available on \u0026c%mcd_left_formatted_daily_reward%'\n```\n\u003c/details\u003e\n \n## Statistics\n[![BStats](https://bstats.org/signatures/bukkit/MasterCooldowns.svg)](https://bstats.org/plugin/bukkit/MasterCooldowns)\n  \n[![Discord](https://i.imgur.com/O1vSizn.png)](https://gabytm.me)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Figabytm%2Fmastercooldowns","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Figabytm%2Fmastercooldowns","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Figabytm%2Fmastercooldowns/lists"}