Skip to content

Commit

Permalink
1.2.0-SNAPSHOT
Browse files Browse the repository at this point in the history
  • Loading branch information
mdxd44 committed Nov 27, 2024
1 parent 5690892 commit bd594f9
Show file tree
Hide file tree
Showing 217 changed files with 10,086 additions and 5,311 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@

<module name="LineLength">
<property name="fileExtensions" value="java"/>
<property name="max" value="155"/>
<property name="max" value="205"/>
<property name="ignorePattern" value="^package.*|^import.*|a href|href|http://|https://|ftp://"/>
</module>

Expand Down
File renamed without changes.
File renamed without changes.
11 changes: 11 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#
# https://help.github.com/articles/dealing-with-line-endings/
#
# Linux start script should use lf
/gradlew text eol=lf

# These are Windows script files and should use crlf
*.bat text eol=crlf

# Binary files should be left untouched
*.jar binary
32 changes: 0 additions & 32 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

78 changes: 78 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
# Borrowed from ViaVersion
name: Bug Report
description: Report a bug or console error
labels: [ Unconfirmed ]

body:
- type: markdown
attributes:
value: |
**Before reporting a bug, please see if using master/dev builds from https://modrinth.com/plugin/limboapi/ fixes your issue.**
Whenever you see fit, you can upload images or videos to any of the text fields.
- type: textarea
attributes:
label: "`/velocity dump` Output"
description: |
Run `/velocity dump` in the console or in the chat, then attach produced report file here or upload it to the mclo.gs.
value: |
```
Attach report file here or put the mclo.gs link or text here.
```
placeholder: Please do not remove the grave accents; simply replace the line of text in the middle.
validations:
required: true
- type: textarea
attributes:
label: Console Error
description: |
If you encounter warnings/errors in your console, **paste them with https://mclo.gs/ and put the paste link here**.
If the error is small/less than 10 lines, you may put it directly into this field.
value: |
```
Put the mclo.gs link or text here.
```
placeholder: Please do not remove the grave accents; simply replace the line of text in the middle.
validations:
required: false
- type: textarea
attributes:
label: Bug Description
description: |
Describe the unexpected behavior.
If you want to attach screenshots, use the comment field at the bottom of the page.
placeholder: |
Example: "Changed uuid causes tamed parrots and cats cannot be sat down."
validations:
required: true
- type: textarea
attributes:
label: Steps to Reproduce
description: |
List the steps on how we can reproduce the issue. Make sure we can easily understand what you mean with each step.
placeholder: |
Example:
1. Подключиться к оффлайн серверу с LimboAuth с лицензионного клиента
2. Приручить кота
3. При правом клике кота нельзя посадить
validations:
required: true
- type: textarea
attributes:
label: Expected Behavior
description: |
Describe what exactly you expected to happen.
placeholder: |
Example: "Кот должен сесть."
validations:
required: true
- type: checkboxes
attributes:
label: Checklist
description: Make sure you have followed each of the steps outlined here.
options:
- label: I have included a Velocity dump.
required: true
- label: If applicable, I have included a paste (**not a screenshot**) of the error.
required: true
- label: I have tried the latest build(s) from https://modrinth.com/plugin/limboapi/ and the issue still persists.
required: true
9 changes: 9 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Borrowed from ViaVersion
blank_issues_enabled: false
contact_links:
- name: Dev builds
url: https://modrinth.com/plugin/limboapi/
about: Before reporting a bug, please check if using master/dev builds from our modrinth page fixes your issue.
- name: Discord
url: https://discord.gg/sxVzYv2dbR
about: For smaller issues or questions, you can also join our Discord server.
16 changes: 0 additions & 16 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

36 changes: 36 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Borrowed from ViaVersion
name: Feature Request
description: Suggest a feature to be added
labels: [ Feature Request ]

body:
- type: textarea
attributes:
label: Problem Description
description: |
Describe the issue you are facing or why you need the feature to be added.
placeholder: |
I am always frustrated with...
validations:
required: true
- type: textarea
attributes:
label: Solution Description
description: |
Describe the solution you would like to see.
validations:
required: true
- type: textarea
attributes:
label: Alternatives
description: |
Describe alternatives you have considered.
validations:
required: false
- type: textarea
attributes:
label: Additional Info
description: |
Does the feature apply to any specific version or environment?
validations:
required: false
67 changes: 0 additions & 67 deletions .github/workflows/build.yml

This file was deleted.

26 changes: 26 additions & 0 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Java CI with Gradle

on: [push, pull_request]

jobs:
build:
# Only run on PRs if the source branch is on a different repo. We do not need to run everything twice. (From ViaVersion)
if: ${{ github.event_name != 'pull_request' || github.repository != github.event.pull_request.head.repo.full_name }}
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4.1.4
- name: Setup Java
uses: actions/setup-java@v4.2.1
with:
distribution: temurin
java-version: 17
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3.3.2
- name: Build with Gradle
run: ./gradlew build
- name: Upload a Build Artifact
uses: actions/upload-artifact@v4.3.3
with:
name: LimboAPI
path: "build/libs/limboapi-*.jar"
26 changes: 26 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Publish to Modrinth

on:
push:
branches:
- master

jobs:
publish:
if: github.repository_owner == 'LimboAPI'
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4.1.4
- name: Setup Java
uses: actions/setup-java@v4.2.1
with:
distribution: temurin
java-version: 17
check-latest: true
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3.3.2
- name: Publish
env:
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
run: ./gradlew build modrinth
51 changes: 0 additions & 51 deletions .github/workflows/release.yml

This file was deleted.

Loading

0 comments on commit bd594f9

Please sign in to comment.