Don't save spectators option
YoLaw opened this issue ยท 7 comments
Hello!
I thought a feature. In config.yml, it could be good to select if specs will be save.
For exemple, I'm runing an UHC server, and if specs are saved, then players will be spectators when they'll join next game.
Thanks! :)
This would be better dealt with by UHPlugin. Imagine mid-game a spectator leaves for a minute, then rejoins. If I implemented your idea and you turned off spec saving they would no longer be a spectator in this game.
On the other hand, UHPlugin could add a 'force spec off on join' setting for players who aren't registered in a game, as it could save registrations until the end of the game, even if the player quits and rejoins.
It's already the case. Players joining before the beginning of the game are put in non-spectating mode, and after, in the right mode for them.
@YoLaw, I assume you use UHPlugin for UHC?
Before last week I used UHPlugin... But the problem is: I have a hosted Minecraft server, and when I launch UHC, many players have bugs due to map generation.
I found another plugin which generates the map when the server is launching. It works very good and my UHC is 100% debugged! But I prefered UHPlugin for its features :(
So! I think my idea can be good for servers running a plugin other than UHPlugin! :)
@YoLaw, if you want UHCr, you can use the WorldBorder plugin alongside to pre-generate the world (using /wb fill
).
I avoid features already available in others plugins :) .
/offTopic
Where would a Toggle like this belong?
onSpectatorModeChanged.saveSpectators
, or any better ideas?
(Quick config.yml link)