This plugin is no longer in development. There are still bugs, but it should work relatively well on 1.18 servers. Anyone is welcome to fork the repo on GitHub and make a reborn version
The SMP Spectator Mode plugin enables users to use all the benefits of spectator mode from getting a cinematic shot of the new build to checking on the mob farm. Unlike vanilla spectator mode, SMP Spectator:
teleports you back to the location you switched from survival to spectator to prevent using the ability to teleport to another player.
preserves all the potion effects (including wither effect) and the
preserves number of air bubbles during the game mode switch.
gives players the night vision effect is given while in spectator mode.
allows admins to prevent players from going below a certain y-level
allows admins to prevent players from moving through blocks
allows admins to blacklist worlds it can be done in
allows admins to prevent teleport with the spectator hotbar
and much more
SMP Spectator preserves almost the entire play state the player was in when they switched into spectator mode.
Usage:
[/s] to change to spectator mode or survival mode
[/s enable] to enable the plugin
[/s disable] to disable the plugin
[/s reload] to reload the config file
[/s effect] to toggle the night vision and conduit effect in spectator mode
Want everyone to have access to /s, /speed, and /seffect without a permissions plugin? Put this as your permissions.yml file
Code (YAML):
server.basics:
description: Default permission for the server
default: true
children: # /s smpspectator.use: true
# /seffect smpspectator.toggle: true
Permissions:
spectator.*: Give access to the entire permission node
smpspectator.use: Be able to use the /s command
smpspectator.enable: Be able to enable and disable spectator mode from the /s command
smpspectator.speed: Be able to change fly speed in spectator mode
smpspectator.bypass: Be able to bypass the y-level and block restrictions
smpspectator.force: Be able to force other players into and out of spectator mode
smpspectator.toggle: Be able to use the /seffect command
smpspectator.reload: Be able to reload the config