diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml
new file mode 100644
index 0000000..3f4e9b0
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/bug_report.yml
@@ -0,0 +1,64 @@
+name: Bug Report
+description: File a bug report
+body:
+ - type: markdown
+ attributes:
+ value: |
+ Before reporting a crash here, please make sure you are on the latest version of DivineMC.
+ - type: textarea
+ attributes:
+ label: Expected behavior
+ description: What you expected to see.
+ validations:
+ required: true
+ - type: textarea
+ attributes:
+ label: Observed/Actual behavior
+ description: What you actually saw.
+ validations:
+ required: true
+ - type: textarea
+ attributes:
+ label: Steps/models to reproduce
+ description: This may include a build schematic, a video, or detailed instructions to help reconstruct the issue.
+ validations:
+ required: true
+ - type: textarea
+ attributes:
+ label: DivineMC version
+ description: |
+ Run `/version` on your server and **paste** the full, unmodified output here.
+ "latest" is *not* a version; we require the output of `/version` so we can adequately track down the issue.
+ Additionally, do NOT provide a screenshot, you MUST paste the entire output.
+
+ Example
+
+ ```
+ > version
+ [17:22:05] [Thread-6/INFO]: Checking version, please wait...
+ [17:22:07] [Thread-6/INFO]: This server is running DivineMC version git-DivineMC-"98074bc" (MC: 1.19.2) (Implementing API version Unknown-Version) (Git: 98074bc on ver/1.19.2)
+ [17:22:07] [Thread-6/INFO]: You are running 2 versions beyond. Please update your server when possible to maintain stability, security, and receive the latest optimizations.
+ ```
+
+
+ validations:
+ required: true
+ - type: checkboxes
+ attributes:
+ label: Agreements
+ description: Please agree to the following.
+ options:
+ - label: I am running the latest version of DivineMC from [here](https://github.com/DivineMC/DivineMC/releases).
+ required: true
+ - label: I have searched for and ensured there isn't already an open issue regarding this.
+ required: true
+ - label: My version of Minecraft is supported by DivineMC.
+ required: true
+ - type: textarea
+ attributes:
+ label: Other
+ description: |
+ Please include other helpful information below.
+ The more information we receive, the quicker and more effective we can be at finding the solution to the issue.
+ validations:
+ required: false
\ No newline at end of file
diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml
new file mode 100644
index 0000000..87bebdf
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/config.yml
@@ -0,0 +1,8 @@
+blank_issues_enabled: false
+contact_links:
+ - name: DivineMC Discord
+ url: https://discord.gg/PrKTKfR579
+ about: If you are having issues, come ask us on our Discord server!
+ - name: DivineMC Docs
+ url: https://divinemc.bxteam.gq/docs
+ about: You can find some Q&A at our DivineMC docs
\ No newline at end of file
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index d79f186..39f50fa 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -1,5 +1,11 @@
-name: Build
+name: Build DivineMC
on: push
+
+env:
+ version: 1.19.2
+ branch: ver/1.19.2
+ debug: 'false'
+
jobs:
build:
runs-on: ubuntu-latest
@@ -7,23 +13,50 @@ jobs:
steps:
- uses: actions/checkout@v2
- uses: gradle/wrapper-validation-action@v1
- - uses: actions/setup-java@v2
+ - name:
+ uses: actions/setup-java@v2
with:
distribution: temurin
java-version: 17
+
- name: Configure Git
run: |
git config --global user.email "no-reply@github.com"
git config --global user.name "Github Actions"
chmod +x gradlew
+
- name: Patch
- run: |
- ./gradlew applyPatches --stacktrace
+ run: ./gradlew applyPatches --stacktrace
+
- name: Build
- run: |
- ./gradlew createReobfPaperclipJar --stacktrace
- - name: Archive Paperclip
- uses: actions/upload-artifact@v3.1.0
+ run: ./gradlew build --stacktrace
+
+ - name: Create Reobf Jar
+ run: ./gradlew createReobfPaperclipJar --stacktrace
+
+ - name: Upload Artifacts
+ if: env.debug == 'true' || github.ref_name != env.branch
+ uses: actions/upload-artifact@main
with:
- name: DivineMC-1.19.2
- path: build/libs/DivineMC-paperclip-1.19.2-R0.1-SNAPSHOT-reobf.jar
\ No newline at end of file
+ name: Artifacts
+ path: build/libs
+
+ - name: Release Artifacts
+ if: github.ref_name == env.branch
+ uses: marvinpinto/action-automatic-releases@latest
+ with:
+ title: "Release #${{ env.workflow }}"
+ automatic_release_tag: release-${{ env.workflow }}
+ repo_token: "${{ secrets.REPO_TOKEN }}"
+ files: build/libs/*.jar
+ prerelease: false
+
+ - name: Release Artifacts (Latest)
+ if: github.ref_name == env.branch
+ uses: marvinpinto/action-automatic-releases@latest
+ with:
+ title: "Release #${{ env.workflow }}"
+ automatic_release_tag: latest-${{ env.version }}
+ repo_token: "${{ secrets.REPO_TOKEN }}"
+ files: build/libs/*.jar
+ prerelease: false
\ No newline at end of file
diff --git a/README.md b/README.md
index 1afdb84..9db1965 100644
--- a/README.md
+++ b/README.md
@@ -5,7 +5,7 @@
DivineMC is ❗ under heavy development ❗ and contributions are welcome!
- 
+ 
[](https://discord.gg/PrKTKfR579)