{"id":16615550,"url":"https://github.com/domiii/minecraftplugins","last_synced_at":"2025-08-20T12:45:59.598Z","repository":{"id":137713214,"uuid":"113688282","full_name":"Domiii/MinecraftPlugins","owner":"Domiii","description":"This is a basic Minecraft plugin. Follow the instructions to get started with Minecraft plugin coding :)","archived":false,"fork":false,"pushed_at":"2018-04-28T17:12:45.000Z","size":967,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-26T16:48:58.371Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/Domiii.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":"2017-12-09T17:36:36.000Z","updated_at":"2018-04-28T17:12:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"4ffe9560-b8c2-4d1f-a141-9d5c0c3af8e3","html_url":"https://github.com/Domiii/MinecraftPlugins","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Domiii/MinecraftPlugins","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Domiii%2FMinecraftPlugins","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Domiii%2FMinecraftPlugins/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Domiii%2FMinecraftPlugins/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Domiii%2FMinecraftPlugins/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Domiii","download_url":"https://codeload.github.com/Domiii/MinecraftPlugins/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Domiii%2FMinecraftPlugins/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271321440,"owners_count":24739472,"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","status":"online","status_checked_at":"2025-08-20T02:00:09.606Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-10-12T02:09:47.164Z","updated_at":"2025-08-20T12:45:59.536Z","avatar_url":"https://github.com/Domiii.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n## Instructions\n\n* NOTE: This setup has been based on [this tutorial](https://www.justdave.net/dave/2015/05/04/how-to-write-a-minecraftbukkit-plugin-for-spigot-1-8/)\n\n1. Install + Prepare Eclipse\n    1. NOTE: This project has been built with Eclipse Oxygen.\n    1. Install Eclipse\n        * On MAC:\n            1. Open Terminal\n            1. install homebrew: `ruby -e \"$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)\"`\n            1. `brew cask install java` # install Java\n            1. `brew cask install eclipse-java` # install Eclipse\n        * On Windows: Download from official website\n    1. Open `Eclipse`\n    1. Install `YEdit`:\n        * Open `Help` -\u003e `Eclipse Marketplace`\n        * Look for and install `YEdit Plugin`\n1. Prepare 🚰 Spigot `BuildTools`\n    1. Download `BuildTools.jar` from [https://hub.spigotmc.org/jenkins/job/BuildTools/](https://hub.spigotmc.org/jenkins/job/BuildTools/)\n    1. Copy `BuildTools.jar` into the `buldtools` folder (within this folder)\n    1. Build Spiggot BuildTools\n        * In Terminal, `cd` to the `buldtools` folder\n        * NOTE: You need to build the version that matches your Server!\n        * Run: `java -jar BuildTools.jar --rev \u003cyour minecraft version\u003e`\n            * For example: `java -jar BuildTools.jar --rev 1.12.2`\n    1. For more information, go to: [https://www.spigotmc.org/wiki/buildtools/](https://www.spigotmc.org/wiki/buildtools/)\n1. **[Ignore this (this has already been taken care of)]** Project setup:\n    1. Create Project in `Eclipse` (e.g. `MyTestPlugin`)\n        * Choose new folder (e.g. `MyTestPlugin`)\n    1. Create Package (e.g. `mc.mytestplugin`)\n    1. Add new source folder (e.g. `mc/MyTestPlugin/src`) \n    1. Add `Main` class to `src` folder\n    1. Add `plugin.yml` file\n    1. Add `build.xml` file\n        * The `\u003cjar\u003e` -\u003e `\u003cfileset\u003e` -\u003e `dir` property must be same as the project output path (`bin`)\n        * NOTE: The project output path is configured in: `Project Properties` -\u003e `Source` -\u003e (at the bottom) `Default output folder`\n1. Add `Make JAR` builder\n    * NOTE: The `Make JAR` builder allows us to automatically create our `*.jar` file and export it into our Minecraft server's `plugin` folder.\n    * Open `Builders` -\u003e Add `Make JAR` ant script\n        * NOTE: This might already exist, in which case, you are done!\n    * Buildfile: `${workspace_loc:/MyTestPlugin/build.xml}`\n    * Arguments: `-Dtargetdir=${targetdir}`\n    * Done!\n1. Add 🚰 Spigot to your `classpath`:\n    * If you see a Spigot library that cannot be found, or has the wrong version, in that list, remove it\n    * right-click your project -\u003e `Properties` -\u003e `Java Build Path` -\u003e `Libraries` -\u003e `Add external jar`\n    * Go to path: `buildtools/Spigot/Spigot-API/target`\n    * Select the `SHADED` jar (e.g. `spigot-api-1.12-R0.1-SNAPSHOT-shaded.jar`) -\u003e `Open`\n    *  -\u003e `Apply and close`\n    * Add `Source attachment` to your 🚰 Spigot classpath\n        * `Java Build Path` -\u003e `Libraries` -\u003e Click the small \"+\" next to 🚰 `Spigot` -\u003e Source attachment -\u003e Edit\n        * Choose `External folder` and select `../buildtools/Spigot/Spigot-API/src/main/java`\n        * \u003cimg src=\"https://i.imgur.com/20eyNVc.png\" width=\"600px\" /\u003e\n1. Update `targetdir` variable\n    * Open your variables: `Eclipse` -\u003e `Preferences` (`Command ,` on MAC) -\u003e `Run/Debug` -\u003e `String Substitution`\n    * Add/edit the `targetdir` variable to match your servers' `plugins` directory\n    * \u003cimg src=\"https://i.imgur.com/7QK2Erd.png\" width=\"400px\"/\u003e\n    * In case of problems: [see screenshots + more explanation here](https://stackoverflow.com/questions/4660366/how-to-set-ant-properties-based-on-variables-in-eclipse/4989916)\n1. Go!\n    * NOTE: Every time you make changes, you need to restart the server.\n\n\n## References\n\n1. [YouTube: Pogo - Coding and More](https://www.youtube.com/watch?v=bVySbfryiMM\u0026list=PLAF3anQEEkzREsHA8yZzVhc3_GHcPnqxR)\n    * 80+ coding videos, starting from the basics and goes into tons of advanced features\n1. [More recent tutorial on setting up your first plugin](https://www.justdave.net/dave/2015/05/04/how-to-write-a-minecraftbukkit-plugin-for-spigot-1-8/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdomiii%2Fminecraftplugins","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdomiii%2Fminecraftplugins","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdomiii%2Fminecraftplugins/lists"}