From 536a3095468199ff6215086f90f1be01e5cf576d Mon Sep 17 00:00:00 2001 From: glowredman Date: Mon, 1 Jan 2024 17:33:24 +0100 Subject: [PATCH 1/3] Add wiki-sync action --- .github/workflows/sync-wiki.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/sync-wiki.yml diff --git a/.github/workflows/sync-wiki.yml b/.github/workflows/sync-wiki.yml new file mode 100644 index 000000000..6d95b62ee --- /dev/null +++ b/.github/workflows/sync-wiki.yml @@ -0,0 +1,20 @@ +on: + push: + branches: + - master + pull_request: + branches: + - master +name: Wiki Sync +jobs: + update-wiki: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + - name: Sync Wiki + uses: joeizzard/action-wiki-sync@master + with: + username: ${{ github.event.pusher.name }} + access_token: ${{ secrets.GITHUB_TOKEN }} + commit_username: ${{ github.event.pusher.name }} + commit_email: ${{ github.event.pusher.email }} From 8b5d5bdaf991b4ba9a1c2d45edc85ba741d8ad9f Mon Sep 17 00:00:00 2001 From: glowredman Date: Mon, 1 Jan 2024 17:33:41 +0100 Subject: [PATCH 2/3] Add test pages --- wiki/Home.md | 1 + wiki/Quick-Install.md | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 wiki/Home.md create mode 100644 wiki/Quick-Install.md diff --git a/wiki/Home.md b/wiki/Home.md new file mode 100644 index 000000000..f752120c0 --- /dev/null +++ b/wiki/Home.md @@ -0,0 +1 @@ +Welcome to the ServerUtilities wiki! diff --git a/wiki/Quick-Install.md b/wiki/Quick-Install.md new file mode 100644 index 000000000..09e156839 --- /dev/null +++ b/wiki/Quick-Install.md @@ -0,0 +1,11 @@ +Download the latest JAR from [releases](https://github.com/GTNewHorizons/ServerUtilities/releases) - you want the one named ServerUtilities-number.jar, not the `dev` or `sources`. Place it in the `/mods` folder on your server AND client (if single player, on client only). + +Once loaded, you will find new UI options in your inventory screen: + +![ServerUtilities GUI](claimed_chunks.png) + +For single player, loading chunks is the most important, and you can click that icon and then shift-click (and drag) to designate chunks to load. Right click to unload and unclaim. + +The ServerUtilities configuration files are found in `.minecraft/serverutilities` and it will migrate from FTBU for you. The most likely thing you want to change is found in `.minecraft/serverutilties/server/ranks.txt` where you can control how many chunks can be loaded. `.minecraft/serverutilities/serverutlities.cfg` is where you can disable backups if you have another backup solution. + +For server admins, there is much more that ServerUtilities can do, refer to the FTBU documentation for now. From 4ec30ba36e5f8a09eb71bbb8aba1814ffaa696e3 Mon Sep 17 00:00:00 2001 From: glowredman Date: Mon, 1 Jan 2024 21:22:06 +0100 Subject: [PATCH 3/3] Configure workflow --- .github/workflows/sync-wiki.yml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/sync-wiki.yml b/.github/workflows/sync-wiki.yml index 6d95b62ee..3dd44277c 100644 --- a/.github/workflows/sync-wiki.yml +++ b/.github/workflows/sync-wiki.yml @@ -2,19 +2,18 @@ on: push: branches: - master - pull_request: - branches: - - master name: Wiki Sync jobs: update-wiki: runs-on: ubuntu-latest steps: - - uses: actions/checkout@master + - uses: actions/checkout@v4 - name: Sync Wiki - uses: joeizzard/action-wiki-sync@master + uses: GTNewHorizons/ghaction-wiki-sync@master with: - username: ${{ github.event.pusher.name }} + username: "GitHub-GTNH-Actions" access_token: ${{ secrets.GITHUB_TOKEN }} - commit_username: ${{ github.event.pusher.name }} - commit_email: ${{ github.event.pusher.email }} + ignore_safe_warnings: true + commit_username: "GitHub GTNH Actions" + commit_email: "<>" + commit_message: "automatic wiki sync: ${{ github.event.commits[0].message }}"