Skip to content

Commit

Permalink
feat: Support Minecraft 1.21.3 on Fabric (#707)
Browse files Browse the repository at this point in the history
* feat: start database refactor

Adds database migrations

* feat: support Fabric 1.21.3

* build: target adventure_platform_mod 6.1.0

* Revert "feat: start database refactor"

This reverts commit 010a810

* docs: document server rejoining as a FAQ

* locales: improve home privacy UX consistency

* feat: fully update to Minecraft 1.21.3

---------

Co-authored-by: [email protected] <wiiiiam278>
  • Loading branch information
WiIIiam278 authored Oct 27, 2024
1 parent 1a49dd3 commit 05bcad9
Show file tree
Hide file tree
Showing 29 changed files with 79 additions and 59 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,19 +54,19 @@ jobs:
distro-names: |
paper
sponge-10
fabric-1.21.1
fabric-1.21.3
distro-groups: |
paper
sponge
fabric
distro-descriptions: |
Paper
Sponge API 10
Fabric 1.21.1
Fabric 1.21.3
files: |
target/HuskHomes-Paper-${{ env.version_name }}.jar
target/HuskHomes-Sponge-${{ env.version_name }}.jar
target/HuskHomes-Fabric-${{ env.version_name }}+mc.1.21.1.jar
target/HuskHomes-Fabric-${{ env.version_name }}+mc.1.21.3.jar
- name: 'Spigot: Publish to Modrinth & Hangar 🚰'
uses: WiIIiam278/mc-publish@hangar
with:
Expand Down Expand Up @@ -109,6 +109,8 @@ jobs:
1.20.6
1.21
1.21.1
1.21.2
1.21.3
java: 17
- name: 'Sponge: Publish to Modrinth 🧽'
uses: WiIIiam278/mc-publish@hangar
Expand Down Expand Up @@ -148,13 +150,13 @@ jobs:
plan | suggests | *
impactor | suggests | *
placeholder-api | suggests | *
files-primary: target/HuskHomes-Fabric-${{ env.version_name }}+mc.1.21.1.jar
files-primary: target/HuskHomes-Fabric-${{ env.version_name }}+mc.1.21.3.jar
name: HuskHomes (Fabric) v${{ env.version_name }}
version: ${{ env.version_name }}
version-type: alpha
changelog: ${{ github.event.head_commit.message }}
loaders: |
fabric
game-versions: |
1.21.1
1.21.3
java: 21
12 changes: 7 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,19 +43,19 @@ jobs:
distro-names: |
paper
sponge-10
fabric-1.21.1
fabric-1.21.3
distro-groups: |
paper
sponge
fabric
distro-descriptions: |
Paper
Sponge API 10
Fabric 1.21.1
Fabric 1.21.3
files: |
target/HuskHomes-Paper-${{ github.event.release.tag_name }}.jar
target/HuskHomes-Sponge-${{ github.event.release.tag_name }}.jar
target/HuskHomes-Fabric-${{ github.event.release.tag_name }}+mc.1.21.1.jar
target/HuskHomes-Fabric-${{ github.event.release.tag_name }}+mc.1.21.3.jar
- name: 'Spigot: Publish to Modrinth & Hangar 🚰'
uses: WiIIiam278/mc-publish@hangar
with:
Expand Down Expand Up @@ -97,6 +97,8 @@ jobs:
1.20.6
1.21
1.21.1
1.21.2
1.21.3
java: 17
- name: 'Sponge: Publish to Modrinth 🧽'
uses: WiIIiam278/mc-publish@hangar
Expand Down Expand Up @@ -134,13 +136,13 @@ jobs:
plan | suggests | *
impactor | suggests | *
placeholder-api | suggests | *
files-primary: target/HuskHomes-Fabric-${{ github.event.release.tag_name }}+mc.1.21.1.jar
files-primary: target/HuskHomes-Fabric-${{ github.event.release.tag_name }}+mc.1.21.3.jar
name: HuskHomes (Fabric) v${{ github.event.release.tag_name }}
version: ${{ github.event.release.tag_name }}
version-type: release
changelog: ${{ github.event.release.body }}
loaders: |
fabric
game-versions: |
1.21.1
1.21.3
java: 21
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ def versionMetadata() {

// If unclean, return the last commit hash with -indev
if (!grgit.status().clean) {
return '-' + grgit.head().abbreviatedId + '-indev'
return '-' + grgit.head().abbreviatedId + '-indev'
}

// Otherwise if this matches a tag, return nothing
Expand Down
4 changes: 2 additions & 2 deletions common/src/main/resources/locales/bg-bg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ locales:
command_list_title: '[HuskHomes](#00fb9a bold) [| Command List](#00fb9a)\n'
home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7ℹ %3% run_command=/huskhomes:edithome %2%)'
public_home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7☻ %3%\n&7ℹ %4% run_command=/huskhomes:phome %2%)'
home_is_public: '&#00fb9a&Обществен'
home_is_private: '&#239e6f&Частно'
home_is_public: '&#6fff00&☀ Обществен'
home_is_private: '&#ff9f0f&∅ Частно'
warp_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7ℹ %3% run_command=/huskhomes:warp %2%)'
command_list_item: '[/%1%](#00fb9a show_text=&7Click to suggest command suggest_command=/%1%) [%2%](gray show_text=&#00fb9a&/%1%\n&7%3%)'
list_item_divider: ' [•](gray) '
Expand Down
4 changes: 2 additions & 2 deletions common/src/main/resources/locales/de-de.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ locales:
command_list_title: '[HuskHomes](#00fb9a bold) [| Befehlsliste](#00fb9a)\n'
home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7Status: %3%\n&7ℹ %4% run_command=/huskhomes:edithome %2%)'
public_home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7☻ %3%\n&7ℹ %4% run_command=/huskhomes:phome %2%)'
home_is_public: '&#00fb9a&Öffentlich'
home_is_private: '&#239e6f&Privat'
home_is_public: '&#6fff00&☀ Öffentlich'
home_is_private: '&#ff9f0f&∅ Privat'
warp_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7ℹ %3% run_command=/huskhomes:warp %2%)'
command_list_item: '[/%1%](#00fb9a show_text=&7Klicke, um den Befehl im Chat einzufügen command suggest_command=/%1%) [%2%](gray show_text=&#00fb9a&/%1%\n&7%3%)'
list_item_divider: ' [•](gray) '
Expand Down
4 changes: 2 additions & 2 deletions common/src/main/resources/locales/en-gb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ locales:
command_list_title: '[HuskHomes](#00fb9a bold) [| Command List](#00fb9a)\n'
home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7Status: %3%\n&7ℹ %4% run_command=/huskhomes:edithome %2%)'
public_home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7☻ %3%\n&7ℹ %4% run_command=/huskhomes:phome %2%)'
home_is_public: '&#00fb9a&Public'
home_is_private: '&#239e6f&Private'
home_is_public: '&#6fff00&☀ Public'
home_is_private: '&#ff9f0f&∅ Private'
warp_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7ℹ %3% run_command=/huskhomes:warp %2%)'
command_list_item: '[/%1%](#00fb9a show_text=&7Click to suggest command suggest_command=/%1%) [%2%](gray show_text=&#00fb9a&/%1%\n&7%3%)'
list_item_divider: ' [•](gray) '
Expand Down
4 changes: 2 additions & 2 deletions common/src/main/resources/locales/es-es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ locales:
command_list_title: '[GreenShield](#green bold) [| lista de comandos](#00fb9a)\n'
home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7ℹ %3% run_command=/huskhomes:edithome %2%)'
public_home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7☻ %3%\n&7ℹ %4% run_command=/huskhomes:phome %2%)'
home_is_public: '&#00fb9a&Pública'
home_is_private: '&#239e6f&Privada'
home_is_public: '&#6fff00&☀ Pública'
home_is_private: '&#ff9f0f&∅ Privada'
warp_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7Estado: %3%\n&7ℹ %4% run_command=/huskhomes:warp %2%)'
command_list_item: '[/%1%](#00fb9a show_text=&7Clic para sugerir el comando suggest_command=/%1%) [%2%](gray show_text=&#00fb9a&/%1%\n&7%3%)'
list_item_divider: ' [•](gray) '
Expand Down
4 changes: 2 additions & 2 deletions common/src/main/resources/locales/fr-fr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ locales:
command_list_title: '[HuskHomes](#00fb9a bold) [| Liste des commandes](#00fb9a)\n'
home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7Statut: %3%\n&7ℹ %4% run_command=/huskhomes:edithome %2%)'
public_home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7☻ %3%\n&7ℹ %4% run_command=/huskhomes:phome %2%)'
home_is_public: '&#00fb9a&Publique'
home_is_private: '&#239e6f&Privée'
home_is_public: '&#6fff00&☀ Publique'
home_is_private: '&#ff9f0f&∅ Privée'
warp_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7ℹ %3% run_command=/huskhomes:warp %2%)'
command_list_item: '[/%1%](#00fb9a show_text=&7Cliquez pour suggérer la commande command suggest_command=/%1%) [%2%](gray show_text=&#00fb9a&/%1%\n&7%3%)'
list_item_divider: ' [•](gray) '
Expand Down
4 changes: 2 additions & 2 deletions common/src/main/resources/locales/it-it.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ locales:
command_list_title: '[HuskHomes](#00fb9a bold) [| Lista comandi](#00fb9a)\n'
home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7Stato: %3%\n&7ℹ %4% run_command=/huskhomes:edithome %2%)'
public_home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7☻ %3%\n&7ℹ %4% run_command=/huskhomes:phome %2%)'
home_is_public: '&#00fb9a&Pubblica'
home_is_private: '&#239e6f&Privato'
home_is_public: '&#6fff00&☀ Pubblica'
home_is_private: '&#ff9f0f&∅ Privato'
warp_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7ℹ %3% run_command=/huskhomes:warp %2%)'
command_list_item: '[/%1%](#00fb9a show_text=&7Clicca per usare il comando suggest_command=/%1%) [%2%](gray show_text=&#00fb9a&/%1%\n&7%3%)'
list_item_divider: ' [•](gray) '
Expand Down
4 changes: 2 additions & 2 deletions common/src/main/resources/locales/ja-jp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ locales:
command_list_title: '[HuskHomes](#00fb9a bold) [| コマンドリスト](#00fb9a)\n'
home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7状態: %3%\n&7ℹ %4% run_command=/huskhomes:edithome %2%)'
public_home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7☻ %3%\n&7ℹ %4% run_command=/huskhomes:phome %2%)'
home_is_public: '&#00fb9a&公共'
home_is_private: '&#239e6f&プライベート'
home_is_public: '&#6fff00&☀ 公共'
home_is_private: '&#ff9f0f&∅ プライベート'
warp_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7ℹ %3% run_command=/huskhomes:warp %2%)'
command_list_item: '[/%1%](#00fb9a show_text=&7Click to suggest command suggest_command=/%1%) [%2%](gray show_text=&#00fb9a&/%1%\n&7%3%)'
list_item_divider: ' [•](gray) '
Expand Down
4 changes: 2 additions & 2 deletions common/src/main/resources/locales/ko-kr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ locales:
command_list_title: '[HuskHomes](#00fb9a bold) [| 명령어 목록](#00fb9a)\n'
home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n\n&7상태: %3%\n&7ℹ %4% run_command=/huskhomes:edithome %2%)'
public_home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7☻ %3%\n&7ℹ %4% run_command=/huskhomes:phome %2%)'
home_is_public: '&#00fb9a&공공의'
home_is_private: '&#239e6f&사적인'
home_is_public: '&#6fff00&☀ 공공의'
home_is_private: '&#ff9f0f&∅ 사적인'
warp_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7ℹ %3% run_command=/huskhomes:warp %2%)'
command_list_item: '[/%1%](#00fb9a show_text=&7클릭하여 명령어를 입력할 수 있습니다 suggest_command=/%1%) [%2%](gray show_text=&#00fb9a&/%1%\n&7%3%)'
list_item_divider: ' [•](gray) '
Expand Down
4 changes: 2 additions & 2 deletions common/src/main/resources/locales/pl-pl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ locales:
command_list_title: '[HuskHomes](#00fb9a bold) [| Lista Komend](#00fb9a)\n'
home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7Status: %3%\n&7ℹ %4% run_command=/huskhomes:edithome %2%)'
public_home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7☻ %3%\n&7ℹ %4% run_command=/huskhomes:phome %2%)'
home_is_public: '&#00fb9a&Publiczny'
home_is_private: '&#239e6f&Prywatny'
home_is_public: '&#6fff00&☀ Publiczny'
home_is_private: '&#ff9f0f&∅ Prywatny'
warp_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7ℹ %3% run_command=/huskhomes:warp %2%)'
command_list_item: '[/%1%](#00fb9a show_text=&7Kliknij, aby sugerować komendę suggest_command=/%1%) [%2%](gray show_text=&#00fb9a&/%1%\n&7%3%)'
list_item_divider: ' [•](gray) '
Expand Down
4 changes: 2 additions & 2 deletions common/src/main/resources/locales/pt-br.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ locales:
command_list_title: '[HuskHomes](#00fb9a bold) [| Lista de Comandos](#00fb9a)\n'
home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7Status: %3%\n&7ℹ %4% run_command=/huskhomes:edithome %2%)'
public_home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7☻ %3%\n&7ℹ %4% run_command=/huskhomes:phome %2%)'
home_is_public: '&#00fb9a&Pública'
home_is_private: '&#239e6f&Privada'
home_is_public: '&#6fff00&☀ Pública'
home_is_private: '&#ff9f0f&∅ Privada'
warp_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7ℹ %3% run_command=/huskhomes:warp %2%)'
command_list_item: '[/%1%](#00fb9a show_text=&7Clique para sugerir comando suggest_command=/%1%) [%2%](gray show_text=&#00fb9a&/%1%\n&7%3%)'
list_item_divider: ' [•](gray) '
Expand Down
4 changes: 2 additions & 2 deletions common/src/main/resources/locales/ru-ru.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ locales:
command_list_title: '[HuskHomes](#00fb9a bold) [| Список команд](#00fb9a)\n'
home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7Положение дел: %3%\n&7ℹ %4% run_command=/huskhomes:edithome %2%)'
public_home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7☻ %3%\n&7ℹ %4% run_command=/huskhomes:phome %2%)'
home_is_public: '&#00fb9a&Общественный'
home_is_private: '&#239e6f&Частный'
home_is_public: '&#6fff00&☀ Общественный'
home_is_private: '&#ff9f0f&∅ Частный'
warp_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7ℹ %3% run_command=/huskhomes:warp %2%)'
command_list_item: '[/%1%](#00fb9a show_text=&7Нажмите, чтобы предложить команду suggest_command=/%1%) [%2%](gray show_text=&#00fb9a&/%1%\n&7%3%)'
list_item_divider: ' [•](gray) '
Expand Down
4 changes: 2 additions & 2 deletions common/src/main/resources/locales/tr-tr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ locales:
command_list_title: '[HuskHomes](#00fb9a bold) [| Komut Listesi](#00fb9a)\n'
home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7Durum: %3%\n&7ℹ %4% run_command=/huskhomes:edithome %2%)'
public_home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7☻ %3%\n&7ℹ %4% run_command=/huskhomes:phome %2%)'
home_is_public: '&#00fb9a&Halk'
home_is_private: '&#239e6f&Özel'
home_is_public: '&#6fff00&☀ Halk'
home_is_private: '&#ff9f0f&∅ Özel'
warp_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7ℹ %3% run_command=/huskhomes:warp %2%)'
command_list_item: '[/%1%](#00fb9a show_text=&7Komut önermek için tıklayın suggest_command=/%1%) [%2%](gray show_text=&#00fb9a&/%1%\n&7%3%)'
list_item_divider: ' [•](gray) '
Expand Down
4 changes: 2 additions & 2 deletions common/src/main/resources/locales/uk-ua.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ locales:
command_list_title: '[HuskHomes](#00fb9a bold) [| Command List](#00fb9a)\n'
home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7Статус: %3%\n&7ℹ %4% run_command=/huskhomes:edithome %2%)'
public_home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7☻ %3%\n&7ℹ %4% run_command=/huskhomes:phome %2%)'
home_is_public: '&#00fb9a&Громадський'
home_is_private: '&#239e6f&Приватний'
home_is_public: '&#6fff00&☀ Громадський'
home_is_private: '&#ff9f0f&∅ Приватний'
warp_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7ℹ %3% run_command=/huskhomes:warp %2%)'
command_list_item: '[/%1%](#00fb9a show_text=&7Click to suggest command suggest_command=/%1%) [%2%](gray show_text=&#00fb9a&/%1%\n&7%3%)'
list_item_divider: ' [•](gray) '
Expand Down
4 changes: 2 additions & 2 deletions common/src/main/resources/locales/vi-vn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ locales:
command_list_title: '[HuskHomes](#00fb9a bold) [| Danh sách Lệnh](#00fb9a)\n'
home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7Trạng thái: %3%\n&7ℹ %4% run_command=/huskhomes:edithome %2%)'
public_home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7☻ %3%\n&7ℹ %4% run_command=/huskhomes:phome %2%)'
home_is_public: '&#00fb9a&Public'
home_is_private: '&#239e6f&Private'
home_is_public: '&#6fff00&☀ Public'
home_is_private: '&#ff9f0f&∅ Private'
warp_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7ℹ %3% run_command=/huskhomes:warp %2%)'
command_list_item: '[/%1%](#00fb9a show_text=&7Bấm để gợi ý lệnh suggest_command=/%1%) [%2%](gray show_text=&#00fb9a&/%1%\n&7%3%)'
list_item_divider: ' [•](gray) '
Expand Down
4 changes: 2 additions & 2 deletions common/src/main/resources/locales/zh-cn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ locales:
command_list_title: '[HuskHomes](#00fb9a bold) [| 命令列表](#00fb9a)\n'
home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7状态: %3%\n&7ℹ %4% run_command=/huskhomes:edithome %2%)'
public_home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7☻ %3%\n&7ℹ %4% run_command=/huskhomes:phome %2%)'
home_is_public: '&#00fb9a&公共'
home_is_private: '&#239e6f&私有'
home_is_public: '&#6fff00&☀ 公共'
home_is_private: '&#ff9f0f&∅ 私有'
warp_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7ℹ %3% run_command=/huskhomes:warp %2%)'
command_list_item: '[/%1%](#00fb9a show_text=&7点击使用命令 suggest_command=/%1%) [%2%](gray show_text=&#00fb9a&/%1%\n&7%3%)'
list_item_divider: ' [•](gray) '
Expand Down
4 changes: 2 additions & 2 deletions common/src/main/resources/locales/zh-tw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ locales:
command_list_title: '[HuskHomes](#00fb9a bold) [| 指令列表](#00fb9a)\n'
home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7隱私狀態: %3%\n&7ℹ %4% run_command=/huskhomes:edithome %2%)'
public_home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7☻ %3%\n&7ℹ %4% run_command=/huskhomes:phome %2%)'
home_is_public: '&#00fb9a&公開'
home_is_private: '&#239e6f&私人的'
home_is_public: '&#6fff00&☀ 公開'
home_is_private: '&#ff9f0f&∅ 私人的'
warp_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7ℹ %3% run_command=/huskhomes:warp %2%)'
command_list_item: '[/%1%](#00fb9a show_text=&7點擊使用指令 suggest_command=/%1%) [%2%](gray show_text=&#00fb9a&/%1%\n&7%3%)'
list_item_divider: ' [•](gray) '
Expand Down
9 changes: 9 additions & 0 deletions docs/FAQs.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
This page addresses a number of frequently asked questions.

## How do I make it so players always rejoin the last server they left from?
In other words, you'd like it so that when players disconnect from your proxy network, that when they reconnect they are put on the same server as the one they were on when they disconnected, rather than your lobby/fallback server. This feature isn't controlled by HuskHomes, but rather on your proxy.

* On Velocity proxies: Install and configure [Yunfaremember](https://modrinth.com/plugin/yunfaremember).
* On BungeeCord proxies: Ensure `force_default_server` is disabled, and that your server is able to write the necessary player server cache file(s) to disk.

If this isn't working, make sure you've not configured priority servers which can override this.
1 change: 1 addition & 0 deletions docs/Home.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Welcome to the plugin documentation for HuskHomes v4.x+, the powerful & intuitiv
*[[Managing Access]]
* 🖥️ [[Commands]]
* 📜 [[Command Conflicts]]
*[[FAQs]]

## Documentation
* 📁 [[Database]]
Expand Down
1 change: 1 addition & 0 deletions docs/_Sidebar.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
*[[Managing Access]]
* 🖥️ [[Commands]]
* 📜 [[Command Conflicts]]
*[[FAQs]]

## Documentation
* 📁 [[Database]]
Expand Down
7 changes: 6 additions & 1 deletion fabric/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ apply plugin: 'fabric-loom'
loom.serverOnlyMinecraftJar()

repositories {
maven {
url 'https://s01.oss.sonatype.org/content/repositories/snapshots/'
mavenContent { snapshotsOnly() }
}

maven { url 'https://maven.impactdev.net/repository/development/' }
maven { url 'https://maven.nucleoid.xyz/' }
}
Expand Down Expand Up @@ -33,7 +38,7 @@ dependencies {

annotationProcessor 'org.projectlombok:lombok:1.18.34'

shadow project(path: ":common")
implementation project(path: ":common")
}

shadowJar {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
import net.fabricmc.loader.api.FabricLoader;
import net.fabricmc.loader.api.ModContainer;
import net.kyori.adventure.audience.Audience;
import net.kyori.adventure.platform.fabric.FabricServerAudiences;
import net.kyori.adventure.platform.modcommon.MinecraftServerAudiences;
import net.minecraft.entity.Entity;
import net.minecraft.registry.RegistryKey;
import net.minecraft.registry.RegistryKeys;
Expand Down Expand Up @@ -123,7 +123,7 @@ public class FabricHuskHomes implements DedicatedServerModInitializer, HuskHomes
private Server server;
@Nullable
private Broker broker;
private FabricServerAudiences audiences;
private MinecraftServerAudiences audiences;

@Override
public void onInitializeServer() {
Expand All @@ -145,7 +145,7 @@ public void onInitializeServer() {

private void onEnable() {
// Create adventure audience
this.audiences = FabricServerAudiences.of(minecraftServer);
this.audiences = MinecraftServerAudiences.of(minecraftServer);

// Initialize the database
final Database.Type type = getSettings().getDatabase().getType();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ public void sendPluginMessage(byte[] message) {

@Override
public boolean isMoving() {
return player.isTouchingWater() || player.isFallFlying() || player.isSprinting() || player.isSneaking();
return player.isTouchingWater() || player.isGliding() || player.isSprinting() || player.isSneaking();
}

@Override
Expand Down
Loading

0 comments on commit 05bcad9

Please sign in to comment.