Add custom gamemode when exiting and Java 17 for LTS
Config value spectator-ticks. -1 for none
If you use mobs config value this is a big bug fix, all with one character. Thanks to
rgronberg
on GitHub. Also please let me know if the jar works as I had to use GitHub actions to build it.
Bug fix: NPE when calculating distance in other dimension
Add optional config for "wait time". (Set amount of ticks player has to stand still after command is given to be put into spectator mode)
Add y-level check when entering spectator
Made it so force-gamemode works in paper (doesn't work in spigot because they don't fire the event)
Update update checker, and fix bug with reload
Apparently people dont like java 16
Changes the command framework to ACF so no more minecraft namespace (yay), now loads postworld so all worlds (including those loaded outside of vanilla and multiverse) will work now, removes /s speed, adds config value so when the gamemode changes while a player is in /s the effects are removed, native java version now java 16 (cause 1.17), and other things
Made some changes. Added mob value in config
Placeholder removed
Revamped commands
Other things
Fix for entities disappearing
Removed placeholder mob and added save-mob config
Added alias for /s (/smps) and fixed bug with placeholder mob
BREAKING CHANGES: smpspecator.use is now DISABED by default. Please update your permission files to follow suit.
Added ability to block movement through specific blocks
The context name is "smp spectator"
New config value of detach-leads has been added. It is enabled by default.
Added ability for admins to change how close a hostile mob can be to a player to switch to spectator
Fixed a bug with bad commands
Added minimum health and fixed permissions bug
Added placeholder mob and other various improvements
IF YOU USE PERMISSIONS FOR THIS PLUGIN YOU WILL NEED TO REDO THEM
In this update, a new permission system was introduced thanks to 811Alex on GitHub. In addition a bug was patched that caused some mobs to not despawn after players using /s.
For all these mobs that will not despawn, the players or admins will have to manually get rid of them for them to go away, as the plugin will not do this for the old mobs
Made disallow blocks better among other things
Added ability to remove messages from showing to players
Made teleport back make gamemode survival
Removed speed tabcomplete and added last message to the config
Removed aliases and some "backend stuff"
Added the ability to blacklist commands while players are in spectator mode.
Other changes:
- Made the config file auto update
Added ability to toggle effects while in spectator mode and added the conduit effect
Added more changeable messages
Fixed issue with permissions
1.16 Support tested and fixed speed messages along with adding support to disable the speed command
Added option to not allow teleport menu
Fixed some clipping when disallow blocks is disabled
Thanks to
THEXIK for helping out with this version
Fixed potential reload problem
This update was mostly due to be being frustrated on how I previously wrote it so I fixed most of that.
An issue has been fixed that was reported by a user.
Added ability to force a player into spectator mode and added the option to disallow players from going through any blocks except air
Fixed not updating version
Added the ability to ignore the world
Added the ability to make players be in the original position on login if in spectator mode.
You must enable in config.yml under:
Code (YAML):
teleport-back
Enforce distance now allows admins to disallow players from moving from a location farther than a distance from the beginning location.
you can now do /sp for /speed
Spectator-bypass allows ops (by default) to bypass the disallow-non-transparent-blocks.
disallow-non-transparent-blocks is not enabled by default.
Another one of those bug fixes
Fixed bug with data file not saving
The null reported by Ghost_chu has been fixed. This fix relies on the game rule "spectators load chunks" to be true.
You may now change the player receives in the config.yml file
Fixed players receiving debugging messages.
Admins have the option to:
-Disable players from going through non-solid blocks
-Disable players from going below a certain y-level
-Disable players from using the command in certain worlds
You can now change your flying speed in spectator mode with the command /speed [number]. In the config.yml, admins can change what the max speed is (default 5).
Enjoy!
A bug was fixed and the plugin is now stable from all my testing
Config.yml has been added with options to enable/disable the plugin and night vision in spectator mode
The permissions that were added were:
Spectator-use:
default: anyone
Spectator-enable:
default: op
In 1.0.1 the plugin would not run. Now it will.