Sueta

SpectatorAPI 1.8

1.1

The best API to Spectate Entitys/Players/Mobs

·Plugin

Simply to use:

set a Spectator:

nflug.SpectatorAPI.Main.setSpectator(Player Spectator, Entity Spectating);

Automatic checks if the Player is Spectating or not.

remove a Spectator:

nflug.SpectatorAPI.Main.removeSpectator(Player Spectator);

Automatic checks if the Player is Spectating or not.

check if Spectating:

nflug.SpectatorAPI.Main.isSpectating(Player Spectator)M

It will save the GameMode you had before Spectating and adds it after Spectating. If you log out in Spectating it will set the GameMode before Spectating too.

I hope you have fun :)!

Similar projects

Plugin →