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 →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta