跳到正文

Useful Saves

作者:jibiay

Schedule backing up task to never lose anything !

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

Scheduler backing up to never lose anything !

Useful Saves, a simple, commands only, mod to create scheduled backup of your world or extras files

Not mandatory on the client, it could be only installed on the server !

 

Features

 

  • Scheduled saves
  • Instant backup
  • Delete backup
  • Cleaning backup folder
  • Crontab helper command

 

Config

 

 

Commands

Useful Saves’s command prefix are always /useful-saves

 

– Deletions commands

 

/useful-saves clear-backups-folder
Clear save files from backup folder

 

/useful-saves delete
Delete a specified save file from backup folder

 

/useful-saves confirm [yes/no]
Confirm previous deletion

 

– Scheduling commands

 

/useful-saves schedule stop/pause/resume
To stop, pause or resume the current running task

 

/useful-saves schedule cron [<expression>]
To schedule backup task, based on crontab expression

 

Optional parameters

 

/useful-saves schedule cron [<expression>] [<TimeZone>]
To schedule backup task, based on crontab expression, but by defining a time zone if the server clock/locale differ from user contry

 

/useful-saves schedule cron [<expression>] [flush]
flush backup file. (force writting data)

 

– Utilitary commands

 

/useful-saves schedule restart
Restart the scheduler system in case of any crash or shutdown

 

/useful-saves save-now
Launch an instant backup

 

/useful-saves info
Informations of the actual state of the scheduler

 

– Config commands

 

/useful-saves config backupFolder
Define a folder to store saves

 

/useful-saves config deleteOldOnMaximumReach
Delete oldest save if maximum backups reached

 

/useful-saves config enableTaskOnServerStart
Starting scheduled task on server start

 

/useful-saves config maximum-backups
Set the number of backups the server keeps

 

/useful-saves config printChatMessage
Display or not infos to all players

 

/useful-saves config saveIfServerEmpty
Enable saves if server has no players connected

 

/useful-saves config timeZone
Define a time zone if the server clock/locale differ from user contry

 

Crontab Helper command

 

Useful Saves are packaged with an human interpreter for cron expression
Thanks to cronexpressiondescriptor.azurewebsites.net

 

/cron [<expression>]
Get a human readable version of the cron expression

 

/cron [<expression>] [<locale>]
Get a human readable version of the cron expression, but in user language

 

Example: /cron "*** * * ? * ***" fr-FR
Output: Toutes les secondes

Resources packs or Mods packs maker ?

 

If you don’t want Useful Save installed on the client, but only on the server it’s possible !

But bring translations files for printted messages in tchat !

Download the translations pack of “Useful Save” !

 

Useful links

 

If you are not familiar with crontab let’s check Cron Expression Generator for Quartz !

 

Technologies used

 

 

Modpacks permission

 

Originally designed to never lose anything on huge modpacks servers !

Yeah, include it in modpacks if you want !

常见问题

Useful Saves 支持哪些 Minecraft 版本?

Useful Saves 支持 Minecraft Java 版 1.14.2–1.15.2,共 4 个版本,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。

Useful Saves 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

jibiay 的其他作品

查看全部 →