{"id":23785831,"url":"https://github.com/foxfirecodes/scoreboardmenu","last_synced_at":"2025-11-10T23:03:58.012Z","repository":{"id":91319728,"uuid":"135219436","full_name":"foxfirecodes/ScoreboardMenu","owner":"foxfirecodes","description":"A unique Bukkit GUI library which allows you to use Scoreboards for option selection GUIs","archived":false,"fork":false,"pushed_at":"2023-12-22T00:16:09.000Z","size":3640,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-01T14:07:15.483Z","etag":null,"topics":[],"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/foxfirecodes.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":"2018-05-28T23:51:59.000Z","updated_at":"2023-12-22T00:16:13.000Z","dependencies_parsed_at":"2023-12-22T02:52:47.422Z","dependency_job_id":"7f53e993-7916-495e-9cf8-57f67ad48133","html_url":"https://github.com/foxfirecodes/ScoreboardMenu","commit_stats":null,"previous_names":["foxfirecodes/scoreboardmenu"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foxfirecodes%2FScoreboardMenu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foxfirecodes%2FScoreboardMenu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foxfirecodes%2FScoreboardMenu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foxfirecodes%2FScoreboardMenu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/foxfirecodes","download_url":"https://codeload.github.com/foxfirecodes/ScoreboardMenu/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240002103,"owners_count":19732164,"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":"2025-01-01T14:07:18.256Z","updated_at":"2025-11-10T23:03:57.972Z","avatar_url":"https://github.com/foxfirecodes.png","language":"Java","readme":"# ScoreboardMenu\n\n\u003e A unique Bukkit GUI library which allows you to use Scoreboards for option selection GUIs.\n\n![Demo](res/demo.gif)\n\nWith **ScoreboardMenu** you can easily use Scoreboards as option selectors.\n\n- Left Click to cycle forwards in a menu.\n- Right Click to cycle backwards in a menu.\n- Shift + Left Click to select a menu option.\n\n## Usage\n\nFirst, [install the plugin](#installation). Any plugin that uses this library will require the library itself to be installed.\n\nNext, add the following to your Maven `pom.xml` file:\n\n```xml\n\u003c!-- In your repositories section --\u003e\n\u003crepository\u003e\n    \u003cid\u003erayzr-repo\u003c/id\u003e\n    \u003curl\u003ehttps://cdn.rawgit.com/Rayzr522/maven-repo/master/\u003c/url\u003e\n\u003c/repository\u003e\n\n\u003c!-- In your dependencies section --\u003e\n\u003cdependency\u003e\n    \u003cgroupId\u003eme.rayzr522\u003c/groupId\u003e\n    \u003cartifactId\u003escoreboardmenu\u003c/artifactId\u003e\n    \u003cversion\u003e1.0.0\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\nThen, in your `plugin.yml` file, add the following:\n\n```yaml\ndepend: [ScoreboardMenu]\n```\n\nNow you can easily create a ScoreboardMenu using the simple builder-style API. Example:\n\n```java\nPlayer player; // Retrieve player from somewhere.\n\nnew ScoreboardMenu\u003cMaterial\u003e()\n    .setTitle(ChatColor.BLUE + \"Choose Type\")\n    .setSelectedPrefix(ChatColor.GREEN.toString())\n    .setOtherPrefix(ChatColor.RED.toString())\n    .setRenderTransformer(type -\u003e type.toString().toLowerCase().replace(\"_\", \" \"))\n    .setCallback(type -\u003e {\n        player.getInventory().addItem(new ItemStack(type));\n        player.sendMessage(\"Gave you an item of type: \" + type);\n    });\n    .openFor(player);\n```\n\nFull documentation is available in the form of JavaDocs which are part of the Maven dependency, and should be viewable from within your IDE.\n\n## Installation\n\nJust grab the latest JAR file off of the [releases page](https://github.com/Rayzr522/ScoreboardMenu/releases) and drop it in your plugins folder.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffoxfirecodes%2Fscoreboardmenu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffoxfirecodes%2Fscoreboardmenu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffoxfirecodes%2Fscoreboardmenu/lists"}