This plugin is extremely specific to our server and probably won't help a lot of other people - I just decided to put it up here anyway.
Whenever a player generates new chunks, this plugin will limit the maximum allowed spectator-mode speed for this player - for upto 30 seconds. If they're faster than that, they will have to adjust their speed via mousewheel. The default speed after entering spectator-mode will be absolutely fine though. Also, while someone is being slowed down, they can not use their sprint key in spectator-mode.
Outside of this ~30 second window, this plugin doesn't change anything at all.
Note: the above description is in regards to v0.5.2 and above; the initial version v0.5 would slow down spectator-mode speeds for EVERY player, when any one of them just generated chunks.
On our server, spectators are intended to be allowed to generate chunks - via GameRule. But when they fly around with maximum speed to explore new terrain, just one spectator-player is enough to cause severe lags for everyone. So, ultimately, this plugin reduces the amount of chunks a spectator would generate in a given period of time. Thus, less severe lag-spikes from generating chunks.
This is a
minimalist plugin with exactly one function that is always active on the whole server and every world on it.
For years we've been using minimalist plugins on our Bungee network on a per-server basis, meaning: we use it on some servers, but not on all of them.
This is the intended use.
Development of any additional features for this plugin ONLY depends on what our Bungee network requires.
So for now I am NOT planning on adding any additional features such as commands or configuration options.
If this plugin in its current (simplistic) form is just what you need, you can safely rely on it, because
this plugin will never be abandoned.
v0.5.2 is intended for
Minecraft 1.15.x v0.6 is intended for
Minecraft 1.16.x v0.7 is intended for
Minecraft 1.17.x v0.8 is intended for
Minecraft 1.18.x v0.9 is intended for
Minecraft 1.19.x v0.10.1 is intended for
Minecraft 1.20 (mildly tested)
1.21.1-r1 is intended for
Minecraft 1.21.x