{"id":19975411,"url":"https://github.com/briangershon/minecraft-plugin","last_synced_at":"2025-07-15T22:10:17.296Z","repository":{"id":136995393,"uuid":"319124821","full_name":"briangershon/minecraft-plugin","owner":"briangershon","description":"An educational starter Minecraft plugin geared toward new plugin developers. Compiles on modern versions of Java but targets Java 8 to support installing plugins on older servers.","archived":false,"fork":false,"pushed_at":"2024-09-24T01:11:57.000Z","size":8,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-29T21:06:38.796Z","etag":null,"topics":["java","minecraft","minecraft-plugin","spigot","starter-template"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/briangershon.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,"zenodo":null}},"created_at":"2020-12-06T20:27:34.000Z","updated_at":"2025-03-17T10:13:58.000Z","dependencies_parsed_at":"2024-01-28T20:41:29.442Z","dependency_job_id":"b2fce265-ee08-4b87-a9a9-511af2bb2552","html_url":"https://github.com/briangershon/minecraft-plugin","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/briangershon/minecraft-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/briangershon%2Fminecraft-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/briangershon%2Fminecraft-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/briangershon%2Fminecraft-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/briangershon%2Fminecraft-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/briangershon","download_url":"https://codeload.github.com/briangershon/minecraft-plugin/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/briangershon%2Fminecraft-plugin/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265464256,"owners_count":23770316,"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","minecraft-plugin","spigot","starter-template"],"created_at":"2024-11-13T03:18:16.576Z","updated_at":"2025-07-15T22:10:17.274Z","avatar_url":"https://github.com/briangershon.png","language":"Java","readme":"# PluginDemo\n\nThis is a starter Minecraft plugin.\n\nFeatures:\n\n- Minimal Minecraft Plugin based on [Creating a blank Spigot plugin, using Maven](https://www.spigotmc.org/wiki/creating-a-plugin-with-maven-using-intellij-idea/).\n- Minimal plugin version set to 1.13 of the Spigot API and tested on `Spigot-API 1.20.1-R0.1-SNAPSHOT` version of the API. If your plugin uses newer or older Minecraft API features, you can change that in `plugin.yml`.\n- Compiles with Maven.\n- Compilation to Java 8 tested on MacOS Java 21 JDK.\n- To support older servers compiled with Java 8, target was changed to 1.8 in `pom.yml`.\n- Supports API version 1.13 or higher. Plugin tested on:\n  - Spigot 1.20.1 (compiled to Java 8 target) when testing plugin locally.\n\n## Steps for using this template for your own projects\n\n- [ ] Read about [Spigot plugin development](https://www.spigotmc.org/wiki/spigot-plugin-development/) (recommended).\n- [ ] Rename existing `demo` folder at `src/main/java/com/briangershon/demo` to be your own, then search-and-replace `com.briangershon.demo` with name of your package. `App.java` is where you'll start adding your plugin logic.\n- [ ] Update `src/main/resources/plugin.yml` and populate with the meta data for your plugin.\n- [ ] Update `pom.xml` top section to match your plugin, specifically `\u003cgroupId\u003e`, `\u003cartifactId\u003e`, and `\u003cversion\u003e`. Plus `\u003cdependency\u003e` section if you're using a different Spigot version. You can find list of spigot versions at \u003chttps://hub.spigotmc.org/nexus/content/repositories/snapshots/org/spigotmc/spigot-api/\u003e.\n- [ ] Compile and install on your local server and make sure everything is working correctly. See \"Releasing Plugin\" below for steps.\n- [ ] Clear out this README and tailor for your specific plugin\n\n## Development Environment Setup and Workflow\n\nIf you haven't create a plugin before, you'll need to setup your local development environment and understand the compile and test workflow. I've created a [Minecraft Plugin Development Guide](https://gist.github.com/briangershon/7a009cad2a1e11a7b785e8b8bf6ada1a) to cover this.\n\n## Releasing Plugin\n\nMake sure you first update the plugin version in `pom.xml` in `\u003cversion\u003e1.0.0\u003c/version\u003e`.\n\n    mvn clean package\n\nYou should now have your new plugin jar file in `target` folder.\n\n## To install on your Spigot compatable Minecraft Server\n\nCopy `target/PluginDemo-n.n.n.jar` to your server `/plugin` folder, and reload server configuration via `reload` command (or just restart server).\n\nYou should see these two messages in your server console:\n\n```\n[11:50:26] [Server thread/INFO]: [PluginDemo] Enabling PluginDemo v0.0.1\n[11:50:26] [Server thread/INFO]: [PluginDemo] Hello, SpigotMC!\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbriangershon%2Fminecraft-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbriangershon%2Fminecraft-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbriangershon%2Fminecraft-plugin/lists"}