diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..e026c46 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,15 @@ +name: Build package + +on: push + +permissions: + contents: write + +jobs: + build: + uses: programie/Workflows/.github/workflows/build-minecraft-plugin.yml@main + secrets: inherit + with: + curseforge_id: 406067 + modrinth_id: m78oYWqM + game_versions: '>= 1.19' \ No newline at end of file diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml deleted file mode 100644 index daaf1bf..0000000 --- a/.gitlab-ci.yml +++ /dev/null @@ -1,7 +0,0 @@ -include: - - project: "Programie/Common" - file: "bukkit-plugins/gitlab-ci.yml" - -variables: - CURSEFORGE_PROJECT_ID: 406067 - MODRINTH_PROJECT_ID: m78oYWqM \ No newline at end of file diff --git a/README.md b/README.md index df21176..459adc2 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,8 @@ A Minecraft Bukkit plugin which sends chat messages from/to [MatterBridge](https://github.com/42wim/matterbridge). -[![pipeline status](https://gitlab.com/Programie/MatterBukkit/badges/master/pipeline.svg)](https://gitlab.com/Programie/MatterBukkit/commits/master) -[![download from GitLab](https://img.shields.io/badge/download-Releases-blue?logo=gitlab)](https://gitlab.com/Programie/MatterBukkit/-/releases) +[![actions status](https://github.com/Programie/MatterBukkit/actions/workflows/build.yml/badge.svg)](https://github.com/Programie/MatterBukkit/actions/workflows/build.yml) +[![download from GitHub](https://img.shields.io/badge/download-Releases-blue?logo=github)](https://github.com/Programie/MatterBukkit/releases/latest) [![download from Modrinth](https://img.shields.io/badge/download-Modrinth-blue?logo=modrinth)](https://modrinth.com/mod/matterbukkit) [![download from CurseForge](https://img.shields.io/badge/download-CurseForge-blue?logo=curseforge)](https://www.curseforge.com/minecraft/bukkit-plugins/matterbukkit) [![view on Website](https://img.shields.io/badge/view-Website-blue)](https://selfcoders.com/projects/matterbukkit) @@ -12,9 +12,9 @@ A Minecraft Bukkit plugin which sends chat messages from/to [MatterBridge](https First, install the plugin onto your Bukkit/Spigot/Paper server, and start it to generate [`config.yml`](https://gitlab.com/Programie/MatterBukkit/-/blob/master/src/main/resources/config.yml). Then, configure it: -- Set [`url`](https://gitlab.com/Programie/MatterBukkit/-/blob/master/src/main/resources/config.yml#L3) to the URL where you're running MatterBridge, with port 4242 or whatever you'd like to use (if you're running it on the same server, you can use `http://localhost:4242`). -- Set [`gateway`](https://gitlab.com/Programie/MatterBukkit/-/blob/master/src/main/resources/config.yml#L6) to the name of your MatterBridge gateway. -- Set a [`token`](https://gitlab.com/Programie/MatterBukkit/-/blob/master/src/main/resources/config.yml#L9) to secure the API. This is optional, but heavily recommended. +- Set [`url`](src/main/resources/config.yml#L3) to the URL where you're running MatterBridge, with port 4242 or whatever you'd like to use (if you're running it on the same server, you can use `http://localhost:4242`). +- Set [`gateway`](src/main/resources/config.yml#L6) to the name of your MatterBridge gateway. +- Set a [`token`](src/main/resources/config.yml#L9) to secure the API. This is optional, but heavily recommended. - Configure all other settings to your liking. Add an API protocol and gateway to `matterbridge.toml`. Here is an example: diff --git a/pom.xml b/pom.xml index b295d3d..9e5ea50 100644 --- a/pom.xml +++ b/pom.xml @@ -15,10 +15,10 @@ MatterBukkit Send chat messages from/to MatterBridge - https://gitlab.com/Programie/MatterBukkit + https://github.com/Programie/MatterBukkit - scm:git:ssh://git@gitlab.com/Programie/MatterBukkit.git + scm:git:ssh://git@github.com/Programie/MatterBukkit.git HEAD