diff --git a/.github/workflows/building.yml b/.github/workflows/building.yml index f46a1da..df59ccd 100644 --- a/.github/workflows/building.yml +++ b/.github/workflows/building.yml @@ -14,9 +14,10 @@ jobs: uses: actions/checkout@v2 - name: validate gradle wrapper uses: gradle/wrapper-validation-action@v1 - - name: setup jdk - uses: actions/setup-java@v1 + - name: setup JDK + uses: actions/setup-java@v2 with: + distribution: 'temurin' java-version: 21 - name: make gradle wrapper executable if: ${{ runner.os != 'Windows' }} diff --git a/.github/workflows/javadoc.yml b/.github/workflows/javadoc.yml index 4637e4f..43eea38 100644 --- a/.github/workflows/javadoc.yml +++ b/.github/workflows/javadoc.yml @@ -16,10 +16,12 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Set up JDK 21 - uses: actions/setup-java@v1 + - name: setup JDK + uses: actions/setup-java@v2 with: - java-version: 17 + distribution: 'temurin' + java-version: 21 + - name: Grant execute permission for gradlew run: chmod +x gradlew - name: Build with Gradle diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9840dbd..18b98d6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,11 +22,11 @@ jobs: restore-keys: | gradle- - uses: actions/checkout@v2 - - name: Set up JDK - uses: actions/setup-java@v1 + - name: Setup JDK + uses: actions/setup-java@v2 with: + distribution: 'temurin' java-version: 21 - - name: Grant execute permission for gradlew run: chmod +x gradlew diff --git a/README.md b/README.md index 9962bd3..36a0b60 100644 --- a/README.md +++ b/README.md @@ -20,14 +20,20 @@ Please see the [wiki](https://github.com/samolego/FabricTailor/wiki) :wink:. ## Permissions FabricTailor provides permission support for permission manager of your choice. Skin changing is granted by default. -/skin command + +* `/skin` command permission ``` fabrictailor.command.skin ``` -You can also disable skin clearing / setting only +* You can also disable skin clearing / setting only ``` fabrictailor.command.skin.set ``` +* Or setting by URL only +``` +fabrictailor.command.skin.set.url +``` +* In general, each command subnode has its own permission node, lowercase and separated by dots. ## Setup