diff --git a/.github/ISSUE_TEMPLATE/bug_report.yaml b/.github/ISSUE_TEMPLATE/bug_report.yaml index ec8d48bc..9e8f2a45 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yaml +++ b/.github/ISSUE_TEMPLATE/bug_report.yaml @@ -1,6 +1,6 @@ name: 🐞 Bug Report description: Something isn't working, broken, not expected behavior -labels: [bug] +labels: [ bug ] body: - type: markdown attributes: diff --git a/.github/ISSUE_TEMPLATE/enhancement_request.md b/.github/ISSUE_TEMPLATE/enhancement_request.md index ba426d61..d32e8e77 100644 --- a/.github/ISSUE_TEMPLATE/enhancement_request.md +++ b/.github/ISSUE_TEMPLATE/enhancement_request.md @@ -8,18 +8,23 @@ assignees: '' --- [//]: # (Lines in this format are considered as comments and will not be displayed.) + [//]: # (Before reporting make sure you're running the **latest build** of the plugin and checked for existing issues!) [//]: # (This ticket is about suggestions for a feature or particular enhancement) ### Is your feature request related to a problem? Please describe. + [//]: # (A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]) ### Describe the solution you'd like + [//]: # (A clear and concise description of what you want to happen.) ### Describe alternatives you've considered + [//]: # (A clear and concise description of any alternative solutions or features you've considered.) ### Additional context + [//]: # (Add any other context or screenshots about the feature request here.) diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 93153a39..465f1e2a 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -1,8 +1,11 @@ [//]: # (Lines in this format are considered as comments and will not be displayed.) + [//]: # (If your work is in progress, please consider making a draft pull request.) ### Summary of your change + [//]: # (Example: motivation, enhancement) ### Related issue + [//]: # (Reference it using '#NUMBER'. Ex: Fixes/Related #...) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 736c1d75..5f75c394 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -4,63 +4,63 @@ name: "CodeQL" on: - # Scan only for push on the primary branch for now - push: - branches: [ main ] - pull_request: - branches: [ main ] + # Scan only for push on the primary branch for now + push: + branches: [ main ] + pull_request: + branches: [ main ] jobs: - # job i - analyze: + # job i + analyze: - # Display name - name: Analyze + # Display name + name: Analyze - # Environment - runs-on: ubuntu-latest + # Environment + runs-on: ubuntu-latest - permissions: - actions: read - contents: read - security-events: write + permissions: + actions: read + contents: read + security-events: write - strategy: - fail-fast: false - matrix: - # Languages to scan - language: [ 'java' ] + strategy: + fail-fast: false + matrix: + # Languages to scan + language: [ 'java' ] - steps: - - name: Checkout repository - uses: actions/checkout@v3 + steps: + - name: Checkout repository + uses: actions/checkout@v3 - # Setup Java - - name: Set up JDK - uses: actions/setup-java@v3 - with: - distribution: 'temurin' - java-version: 18 - cache: 'maven' + # Setup Java + - name: Set up JDK + uses: actions/setup-java@v3 + with: + distribution: 'temurin' + java-version: 18 + cache: 'maven' - # Initializes the CodeQL tools for scanning. - - name: Initialize CodeQL - uses: github/codeql-action/init@v2 - with: - languages: ${{ matrix.language }} + # Initializes the CodeQL tools for scanning. + - name: Initialize CodeQL + uses: github/codeql-action/init@v2 + with: + languages: ${{ matrix.language }} - # Cache build process too like in the maven config - - uses: actions/cache@v3.0.5 - with: - path: ~/.m2/repository - key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} - restore-keys: | - ${{ runner.os }}-maven- + # Cache build process too like in the maven config + - uses: actions/cache@v3.0.5 + with: + path: ~/.m2/repository + key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} + restore-keys: | + ${{ runner.os }}-maven- - # Auto build attempts to build any compiled languages (C/C++, C#, or Java). - # If this step fails, then you should remove it and run the build manually (see below) - - name: Autobuild - uses: github/codeql-action/autobuild@v2 + # Auto build attempts to build any compiled languages (C/C++, C#, or Java). + # If this step fails, then you should remove it and run the build manually (see below) + - name: Autobuild + uses: github/codeql-action/autobuild@v2 - - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v2 diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 790c641e..40f3fdae 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -7,36 +7,35 @@ name: Java CI # Build on every pull request regardless of the branch # Wiki: https://help.github.com/en/actions/reference/events-that-trigger-workflows on: - push: - branches: - - main - pull_request: - branches: - - main + push: + branches: + - main + pull_request: + branches: + - main jobs: - # job id - build_and_test: + # job id + build_and_test: - # Environment image - always use the newest OS - runs-on: ubuntu-latest + # Environment image - always use the newest OS + runs-on: ubuntu-latest - # Run steps - steps: - # Pull changes - - uses: actions/checkout@v3 + # Run steps + steps: + # Pull changes + - uses: actions/checkout@v3 - # Setup Java - - name: Set up JDK - uses: actions/setup-java@v3 - with: - distribution: 'temurin' - java-version: 18 - cache: 'maven' + # Setup Java + - name: Set up JDK + uses: actions/setup-java@v3 + with: + distribution: 'temurin' + java-version: 18 + cache: 'maven' - # Build and test (included in package) - - name: Build with Maven and test - # Run non-interactive, package (with compile+test), - # ignore snapshot updates, because they are likely to have breaking changes, enforce checksums to validate - # possible errors in dependencies - run: mvn test --batch-mode --threads 2.0C --no-snapshot-updates --strict-checksums --file pom.xml + # Build and test (included in package) + - name: Build with Maven and test + # Run non-interactive, package (with compile+test), + # ignore snapshot updates, because they are likely to have breaking changes, enforce checksums + run: mvn test --batch-mode --threads 2.0C --no-snapshot-updates --strict-checksums --file pom.xml diff --git a/bukkit/pom.xml b/bukkit/pom.xml index 0151a804..e5a7e0b2 100644 --- a/bukkit/pom.xml +++ b/bukkit/pom.xml @@ -25,7 +25,7 @@ SOFTWARE. --> - 4.0.0 @@ -86,7 +86,8 @@ - + true @@ -378,7 +379,7 @@ ${nettyVersion} provided - + io.netty netty-codec diff --git a/bungee/pom.xml b/bungee/pom.xml index 24513687..a8fe32e1 100644 --- a/bungee/pom.xml +++ b/bungee/pom.xml @@ -25,7 +25,7 @@ SOFTWARE. --> - 4.0.0 @@ -74,7 +74,8 @@ - + diff --git a/core/pom.xml b/core/pom.xml index 4d86f8f7..e4db0e4e 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -25,7 +25,7 @@ SOFTWARE. --> - 4.0.0 diff --git a/pom.xml b/pom.xml index 2c6bda3e..ef44ccac 100644 --- a/pom.xml +++ b/pom.xml @@ -25,7 +25,7 @@ SOFTWARE. --> - 4.0.0 diff --git a/velocity/pom.xml b/velocity/pom.xml index 25d81125..022c4744 100644 --- a/velocity/pom.xml +++ b/velocity/pom.xml @@ -25,7 +25,7 @@ SOFTWARE. --> - 4.0.0