
BedWars1058-SpectatorFix
Fixes Bedwars1058 spectator collision box, invisibility particles, and held item visibility while preserving spectator items (compass, etc.). Supports spectating players by clicking on them and properly resets when sneaking.
Список изменений
Version 1.3 – Automatic watchdog & tab list fix
New features
-
Automatic cleanup watchdog – runs every 30 seconds (configurable via
cleanup-interval) to scan all players, remove stuck infinite invisibility from non‑spectators, and force visibility restoration.
No more rare “invisible player” glitches. -
Tab list fix – the cleanup task now forces
showPlayer()between all online players, fixing cases where spectators (or other players) disappeared from the tab list or became permanently invisible. -
Cleanup announcements – after each automatic (or manual) cleanup, the console receives a detailed log message, and all online OPs are notified in chat.
Example:
[BedWarsSpectatorFix] Cleanup: removed 2 stuck invis, fixed 3 visibility entries, reapplied fixes to 1 spectators. -
New
/bwsfix reloadcommand – reloadsconfig.ymland restarts the cleanup watchdog with the new interval. No server restart needed.
Configuration changes
Added cleanup-interval (default: 30 seconds) to config.yml.
# How often (in seconds) to run full cleanup scan
cleanup-interval: 30
Improvements
- The cleanup watchdog also reapplies fixes to true spectators, ensuring their collision box and invisibility remain active even after edge‑case glitches.
- The plugin now exposes
isTrueSpectator()andapplySpectatorFixes()publicly – used by the watchdog to safely re‑apply fixes. - Cleanup can be triggered manually with
/bwsfix cleanup(permissionbwsfix.cleanup) – same behaviour as the automatic task.
Fixed issues
- Extremely rare cases where a normal player would keep infinite invisibility after server lag or plugin reload – resolved.
- Spectators sometimes appearing incorrectly in the tab list (missing name or blank slot) – resolved.
- On some servers, after a long uptime, spectators would start pushing mobs again – the watchdog’s reapplication fixes that as well.
Compatibility
- Fully backward compatible with v1.2 configs – new options have safe defaults.
- Still requires BedWars1058 (v24.9+) and Java 11+.
Version 1.3 is the most reliable release yet – no more invisible ghosts, no tab list oddities, just silent and collision‑free spectators.