From ca58927ba8cbd034b7dc8e0a34b9129ec9f01b7e Mon Sep 17 00:00:00 2001 From: ReallocAll Date: Thu, 1 Oct 2026 14:21:13 +0800 Subject: [PATCH 1/6] fix: avoid empty tip packet when disabling HUD --- show_status.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/show_status.py b/show_status.py index 8b68f66..9d6e1ea 100644 --- a/show_status.py +++ b/show_status.py @@ -310,8 +310,6 @@ def _handle_tip_settings_submit(self, player: Player, data: Any) -> None: self._next_tip_send.pop(player_id, None) if interval_ticks is None: - with suppress(Exception): - player.send_tip("") player.send_message("§a状态显示已关闭。") return From db9a9c578ecdea2cc04a9164df8e2f0b7b9985f0 Mon Sep 17 00:00:00 2001 From: ReallocAll Date: Thu, 1 Oct 2026 14:21:15 +0800 Subject: [PATCH 2/6] test: forbid empty tip clears --- tests/test_metadata.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_metadata.py b/tests/test_metadata.py index 5211f5b..bb46444 100644 --- a/tests/test_metadata.py +++ b/tests/test_metadata.py @@ -27,6 +27,7 @@ def test_plugin_uses_endstone_011_api(self) -> None: self.assertIn('"showstatus": {', source) self.assertIn('"default": True', source) self.assertIn("StepSlider(", source) + self.assertNotIn('player.send_tip("")', source) if __name__ == "__main__": From ed556be7bcc9ff7f6f2d05045d35756143421466 Mon Sep 17 00:00:00 2001 From: ReallocAll Date: Thu, 1 Oct 2026 14:21:18 +0800 Subject: [PATCH 3/6] chore: bump version to 0.2.5 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 32e17e7..b352070 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "endstone-show-status" -version = "0.2.4" +version = "0.2.5" description = "Public Endstone server status page" readme = "README.md" license = "GPL-3.0-only" From abd0c266174d158bf1d8255e1a50eeec5e4a7c60 Mon Sep 17 00:00:00 2001 From: ReallocAll Date: Thu, 1 Oct 2026 14:21:21 +0800 Subject: [PATCH 4/6] docs: update wheel version --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 19b885b..fec7044 100644 --- a/README.md +++ b/README.md @@ -79,7 +79,7 @@ python -m build --wheel The wheel is written to: ```text -dist/endstone_show_status-0.2.4-py3-none-any.whl +dist/endstone_show_status-0.2.5-py3-none-any.whl ``` To build both a wheel and source distribution: From 0b884ff4ffeeda3068cdf68c0b192597794f7159 Mon Sep 17 00:00:00 2001 From: ReallocAll Date: Thu, 1 Oct 2026 14:21:24 +0800 Subject: [PATCH 5/6] docs: update wheel version in Chinese --- README_ZH.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README_ZH.md b/README_ZH.md index d87851f..1481d08 100644 --- a/README_ZH.md +++ b/README_ZH.md @@ -70,7 +70,7 @@ python -m build --wheel wheel 会写入: ```text -dist/endstone_show_status-0.2.4-py3-none-any.whl +dist/endstone_show_status-0.2.5-py3-none-any.whl ``` 同时构建 wheel 和源码分发包: From 6b64906e53e20758b29178c1167a9dbd3c192895 Mon Sep 17 00:00:00 2001 From: ReallocAll Date: Thu, 1 Oct 2026 14:21:27 +0800 Subject: [PATCH 6/6] docs: add 0.2.5 changelog --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4ea0eed..3d26702 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,12 @@ All notable changes to this project are documented here. ## [Unreleased] +## [0.2.5] - 2026-10-01 + +### Fixed + +- Stop sending an empty `send_tip("")` packet when a player disables the HUD. Disabling now only stops future status-tip delivery, avoiding the disconnect observed on Bedrock clients. + ## [0.2.4] - 2026-09-30 ### Fixed