{"id":27341596,"url":"https://github.com/hsgamer/mcserverupdater","last_synced_at":"2025-04-12T16:12:53.137Z","repository":{"id":39858889,"uuid":"433077831","full_name":"HSGamer/MCServerUpdater","owner":"HSGamer","description":"A program to update Minecraft server jar","archived":false,"fork":false,"pushed_at":"2025-03-16T03:14:19.000Z","size":263,"stargazers_count":11,"open_issues_count":4,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-16T03:23:18.687Z","etag":null,"topics":["airplane","bukkit","bungeecord","fabric","fabricmc","minecraft","minecraft-server","paper","papermc","purpur","spigot","spigot-api","sponge","spongeforge","spongepowered","travertine","velocity","waterfall"],"latest_commit_sha":null,"homepage":"https://www.spigotmc.org/resources/mcserverupdater.98003/","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/HSGamer.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":"HSGamer","patreon":"hsgamer","open_collective":null,"ko_fi":"hsgamer_mc","tidelift":null,"community_bridge":null,"liberapay":"HSGamer","issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":["https://paypal.me/HSGamer1234"]}},"created_at":"2021-11-29T14:37:33.000Z","updated_at":"2025-03-16T03:14:22.000Z","dependencies_parsed_at":"2024-06-01T03:37:48.887Z","dependency_job_id":"4dbe1d09-b06a-480b-8d24-599699058d1a","html_url":"https://github.com/HSGamer/MCServerUpdater","commit_stats":null,"previous_names":[],"tags_count":43,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HSGamer%2FMCServerUpdater","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HSGamer%2FMCServerUpdater/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HSGamer%2FMCServerUpdater/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HSGamer%2FMCServerUpdater/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HSGamer","download_url":"https://codeload.github.com/HSGamer/MCServerUpdater/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248594136,"owners_count":21130313,"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":["airplane","bukkit","bungeecord","fabric","fabricmc","minecraft","minecraft-server","paper","papermc","purpur","spigot","spigot-api","sponge","spongeforge","spongepowered","travertine","velocity","waterfall"],"created_at":"2025-04-12T16:12:52.683Z","updated_at":"2025-04-12T16:12:53.126Z","avatar_url":"https://github.com/HSGamer.png","language":"Java","funding_links":["https://github.com/sponsors/HSGamer","https://patreon.com/hsgamer","https://ko-fi.com/hsgamer_mc","https://liberapay.com/HSGamer","https://paypal.me/HSGamer1234"],"categories":[],"sub_categories":[],"readme":"# MCServerUpdater\n\n\u003e This is a simple program that will check for updates to Minecraft server jar and download them if they are available.\n\n## Download\n\nDownload the latest version of MCServerUpdater\nfrom [here](https://github.com/HSGamer/MCServerUpdater/releases)\n\n## Arguments\n\n```\nOption                           Description\n------                           -----------\n--help                           Get the list of arguments\n--projects                       Get the list of projects\n--output \u003cString\u003e                The output file path (default: server.jar)\n--project \u003cString\u003e               The project to download (default: paper)\n--version \u003cString\u003e               The project version (default: default)\n```\n\n## Examples\n\n* List all available projects\n    * `java -jar MCServerUpdater.jar --projects`\n* Download the latest build of Paper\n    * `java -jar MCServerUpdater.jar`\n    * `java -jar MCServerUpdater.jar --project paper`\n* Download the latest build of Paper and save it to the file `server.jar`\n    * `java -jar MCServerUpdater.jar --output server.jar`\n    * `java -jar MCServerUpdater.jar --project paper --output server.jar`\n* Download the latest build of Paper 1.17.1\n    * `java -jar MCServerUpdater.jar --project paper --version 1.17.1`\n\n## Use this in your projects\n\n1. Add this as a dependency\n\n* Maven\n\n```xml\n\n\u003crepositories\u003e\n    \u003crepository\u003e\n        \u003cid\u003ecodemc-repo\u003c/id\u003e\n        \u003curl\u003ehttps://repo.codemc.io/repository/maven-public/\u003c/url\u003e\n    \u003c/repository\u003e\n\u003c/repositories\u003e\n```\n\n```xml\n\n\u003cdependencies\u003e\n    \u003cdependency\u003e\n        \u003cgroupId\u003eme.hsgamer\u003c/groupId\u003e\n        \u003cartifactId\u003emc-server-updater-lib\u003c/artifactId\u003e\n        \u003cversion\u003eVERSION\u003c/version\u003e\n    \u003c/dependency\u003e\n\u003c/dependencies\u003e\n```\n\n* Gradle\n\n```groovy\nrepositories {\n    maven { url = \"https://repo.codemc.io/repository/maven-public/\" }\n}\n\ndependencies {\n    compileOnly(group: 'me.hsgamer', name: 'mc-server-updater-lib', version: 'VERSION')\n}\n```\n\n2. Use the `UpdateBuilder` to create, execute the update process and get the result as `UpdateStatus`\n\n```java\nimport java.util.concurrent.CompletableFuture;\n\nclass Main {\n  public static void main(String[] args) {\n    UpdateBuilder builder = UpdateBuilder.updateProject(\"paper\")\n            .version(\"1.17.1\")\n            .outputFile(\"server.jar\");\n\n    // Execute the update process asynchronously\n    CompletableFuture\u003cUpdateStatus\u003e future = builder.executeAsync();\n    \n    // Execute the update process synchronously\n    UpdateStatus status = builder.execute();\n  }\n}\n```\n\n3. Do whatever you want with the `UpdateStatus`\n\n## Additional System Properties\n\n| Name                             | Description                                                          | Default |\n|----------------------------------|----------------------------------------------------------------------|---------|\n| `MCServerUpdater.javaExecutable` | The Java executable to run external processes (Spigot Updater, etc.) | `java`  |","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhsgamer%2Fmcserverupdater","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhsgamer%2Fmcserverupdater","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhsgamer%2Fmcserverupdater/lists"}