Host your Minecraft server on BisectHosting - get 25% off your first month with code MODRINTH.

SpectatorPlus

SpectatorPlus is a Minecraft mod designed to enhance the spectator mode experience by providing additional information about the player being spectated. With SpectatorPlus, you can gain insights into the spectated player's held item, health, hotbar contents, food level, and experience points. Additionally, it fixes a few longstanding Minecraft bugs with spectator mode.

Features

  • Show the held item and health of the spectated player
  • Show the hotbar, health, food, and experience of the spectated player (Server-side required)
  • Show the currently open screen of the spectated player, such as when opening a chest or crafting table (Server-side required)
    • If the spectated player has the client-side mod installed as well, it can also show when they open their inventory
    • Additionally, when pressing the normal inventory keybind, the spectated player's inventory will be opened
    • Currently this feature is only supported on servers running Paper
  • Allow continuing to spectate even when the player teleports far away or between worlds (Server-side required)
    • This is a fix for MC-107113
    • Even works for clients without the mod installed!

In order for all of the mod's features to be enabled, the mod needs to be installed on the server side as well. This is because Minecraft normally does not send some needed data to clients. Fabric and Paper are supported for the server-side.

Permissions

SpectatorPlus has permissions included that you can use to control which players receive extra information about the player they are spectating. By default, all players have access to all information and no setup is required. If you would like to change this, you can use a permissions plugin/mod such as LuckPerms. On Fabric, SpectatorPlus uses fabric-permissions-api to check permissions.

Permission Description
spectatorplus.sync.experience Allows the player to receive the experience value of the spectated target
spectatorplus.sync.food Allows the player to receive the food value of the spectated target
spectatorplus.sync.hotbar Allows the player to receive the hotbar items and selected slot of the spectated target
spectatorplus.sync.inventory Allows the player to receive the full inventory of the spectated target when a screen is open
spectatorplus.sync.screen Allows the player to receive the open screen of the spectated target (e.g. a chest)

External resources



Project members

hpfxd

Member


Technical information

License
GPL-3.0-or-later
Project ID