Code Monkey home page Code Monkey logo

projectessentials-backup's Introduction

projectessentials-backup's People

Contributors

kuronoseihai avatar mairwunnx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

kuronoseihai

projectessentials-backup's Issues

Need commands for controlling backup configuration

The commands in the table below will allow you to change the backup settings directly in Minecraft. Need to implement all these commands with permissions as in the table below.

Syntax: [delay:Int]: [] - mandatory argument | delay - argument name | Int - argument type.

Command Permission Description
/backup delay [delay:Int] ess.backup.configuration.delay Changes backup making delay to new value.
/backup compression [level:Int] ess.backup.configuration.compression Changes compression level for backup out file. (Value mast be in range 1 - 9)
/backup directory [path:String] ess.backup.configuration.directory Changes directory path for backup files.
/backup maxfiles [max:Int] ess.backup.configuration.maxfiles Changes backup max files value.
/backup rolling [value:Boolean] ess.backup.configuration.rolling If value true then backup files rolling will be enabled. If false then disabled.

Project Essentials Backup 1.15.2-1.0.1 not compatible with recommended Forge: 31.2.0

I was filing an issue report for another mod and I saw the following on the latest.log file and I thought you would want to see it.

[02Jun2020 23:00:24.078] [modloading-worker-7/WARN] [com.mairwunnx.projectessentials.core.EssBase/]:
**** Forge version may be incompatible with Project Essentials Backup 1.15.2-1.0.1! ****
- update or downgrade forge version.
- update or downgrade mod version.
- or just create issue on github.

And

[02Jun2020 23:00:26.340] [modloading-worker-1/WARN] [com.mairwunnx.projectessentials.core.EssBase/]:
**** Forge version may be incompatible with Project Essentials Core 1.15.2-1.1.0! ****
- update or downgrade forge version.
- update or downgrade mod version.
- or just create issue on github.

  • Minecraft Version: 1.15.2
  • Operating System: Linux (amd64) version 4.15.0-99-generic
  • Java Version: 1.8.0_251, Oracle Corporation
  • Forge: 31.2.0
  • Mod: project_essentials_backup 1.15.2-1.0.1
  • Mod Id: project_essentials_core 1.15.2-1.1.0

latest.log

Backups are happening about every 2.5 minutes

Describe the bug

Not sure if this is a bug or if I have done something wrong. Backups are happening about every 2.5 minutes. I'm developing a modpack for 1.15.2 and am testing in a singleplayer world and will be moving to my server very soon. However, according to convertworld.com the 15000000 ms specified in my config is equal to 4.17 hour, but the backups are happening every 2.5 minutes (see screenshot below)

Here is the contents of my backup.json:

{
"backupEnabled": true,
"firstLaunchDelay": true,
"backupCreationDelay": 15000000,
"backupCompressionLevel": 3,
"backupDirectoryPath": "backup",
"backupDateFormat": "yyyy-MM-dd_HH.mm.ss",
"maxBackupFiles": 10,
"rollingBackupFilesEnabled": true,
"removeExtraFiles": true
}

Expected behavior

I would like the backups to occur every three hours, which would be 10800000 ms

Screenshots of backups performed

Selection_019

Environment information

  • Project Essentials Backup-1.15.2-1.0.1
  • Project Essentials Core-MOD-1.15.2-1.1.0
  • Java 1.8.0_212
  • Minecraft / Forge version: 1.15.2 / 31.1.46
  • OS Linux Mint 19.3

Log files. (latest.log and debug.log file in attachment)

Thank you and I look forward to hearing from you.
CM

Controlling backup loop via commands

Just need controlling backup loop via command.

The task implies that you need to implement the team and the permission to them according to the table below.

Command Permission Description
/backup-off ess.backup.off Just stops backup loop.
/backup-on ess.backup.on Launch backup loop.
/backup ess.backup Make backup now.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    馃枛 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 馃搳馃搱馃帀

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google 鉂わ笍 Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.