Skip to content

Commit

Permalink
Include assets, replaced GH workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianMichael committed Aug 14, 2023
1 parent 9c5283b commit ebcc501
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 25 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: ViaRewind CI
on: [pull_request, push, workflow_dispatch]

jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@v1
- name: Set up JDK 8
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 8
check-latest: true
- name: Cache Dependencies
uses: actions/cache@v3
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Build with Gradle
run: ./gradlew build
- name: Upload Artifacts
uses: actions/upload-artifact@v3
with:
name: Artifacts
path: build/libs/
25 changes: 0 additions & 25 deletions .github/workflows/maven.yml

This file was deleted.

16 changes: 16 additions & 0 deletions common/src/main/resources/assets/viarewind/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#Specifies how 1.8.x clients should see the cooldown indicator
#You can choose between TITLE, ACTION_BAR, BOSS_BAR and DISABLED
#ONLY DISABLE IF YOU HAVE 1.9 COOLDOWN DISABLED ON YOUR SERVER
#1.8 PLAYERS MAY ASK WHY PVP IS NOT WORKING OTHERWISE
cooldown-indicator: 'TITLE'
#Replaces Adventure mode with Survival mode for 1.7.x clients
#Enable this option if your server is using the 'CanDestroy'
#or 'CanPlaceOn' flags on items
replace-adventure: false
#Whether 1.9 particles should be replaced by similar ones in
#1.8 and lower
replace-particles: false
#Max amount of pages for written books before a client gets kicked
max-book-pages: 100
#Max amount of characters in the json (!) string of a book page before a client gets kicked
max-book-page-length: 5000

0 comments on commit ebcc501

Please sign in to comment.