Skip to content

NotLe0n/TeamSpectate

Repository files navigation

TeamSpectate

Team Spectate lets you view your team mates’ screen. This mod only works in Multiplayer. The Menu button is below the team selector.

If you have any problems or bugs, contact me on my discord! This mod is open source on GitHub. If you have a GitHub account, please give it a star!

Special thanks:

Mirsario for fixing unloaded chunks
pollen__ for giving me his player render code.
bafto for multiplayer testing

How it works:

If you click on a player button other than your own, you start spectating the other player. To exit the spectating mode press the player button again or press your own player.

You can NOT spectate players that are dead, in a different team than you, or don't exist. Everyone can spectate players that are in no team.

If you can't spectate a player, their player head button turns grey.

You can also cycle different players using a hotkey (you have to set it fist)

You are also able to spectate a boss by clicking its button in the same menu.

If you die you automatically spectate the closest player (can be turned off). When you respawn you automatically stop spectating (can also be turned off).

License

This mod is licensed under the GNU GPLv3 license. If you use any code from this mod you have to open source it under the same license and give credit in your mod's description.