sefodopo / FabricAutoBackup

GNU General Public License v3.0
6 stars 2 forks source link

Suggestion: add the ability to warn the players in-game shortly before, right as a backup happens, and after the backup is finished #11

Open onceuponaban opened 3 years ago

onceuponaban commented 3 years ago

When the backup script I use is called by the mod, players experience a short lag spike. This is perfectly normal, but they aren't warned of this beforehand, as the message signaling the start and completion of the backup are shown to ops only. It would be nice if there was a way to set up messages sent to all players in the configuration file. As an example, here is how I would see it:

Additionally, a timer tied to these messages might be a nice feature to have:

Any of the message settings would be disabled if empty, which would be their default value. Ideally, the messages should support Minecraft formatting codes.

griffin4cats commented 3 years ago

Alternative solution: Specify a script to run before anything else occurs. That would allow users to fully customize things like chat messages sent in game, delays, and things like that.