Open LazyGon opened 4 years ago
Update to 1.16.4?
Updated dependencies. I found some repo and dependencies that is unavailable in the past. Added them in pom.xml
To use new build, get jar from following link: AutoSaveWorld.jar.zip
If you get some errors on console, update dependencies. Servers using old Towny or PresiousStones may get errors. Otherwise, you can use 1.15 version on 1.16 server, I think.
Please comment error message and stack trace if you get errors after updating dependencies.
P.S Newer maintained PresiouStones is here (download link for 1.16).
Thank you for posting a built version of your updated AutoSaveWorld plugin.
Just FYI for others, this build requires at least java 10 installed. My Windows machine only had java 8u271. So I downloaded and installed JDK 11 x64
https://www.codejava.net/java-se/download-and-install-java-11-openjdk-and-oracle-jdk
Note that Oracle JDK 11 does not update system environment variables, so you have to manually update PATH and/or JAVA_HOME after installation. Open Command Prompt window under administrator privilege and type the following command: setx -m JAVA_HOME "C:\Program Files\Java\jdk-11.0.7"
If the PATH environment variable does not contain an entry to JAVA_HOME\bin, type the following command: setx -m PATH "%JAVA_HOME%\bin;%PATH%"
Error message:
[11:20:59 ERROR]: Could not load 'plugins\AutoSaveWorld.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: autosaveworld/core/AutoSaveWorld has been compiled by a more recent version of the Java Runtime (class file version 54.0), this version of the Java Runtime only recognizes class file versions up to 52.0
Hmm ran into issue where the config file kept getting reset on load. Not sure why. Ended up switching to DriveBackup2
@jjcf89
Hmm ran into issue where the config file kept getting reset on load. Not sure why. Ended up switching to DriveBackup2
Because of this line, config files are overwritten on plugin disabling.
So if you edit config when server is running, your modification are cleared on disable. In the case, you should edit config with the server stopped.
This is upstream implementation, I did not touch anything about that.
If you are unsatisfied at DriveBackup2, try above solution.
I see thanks for looking into it
On Tue, Nov 17, 2020, 12:12 AM 怠惰 notifications@github.com wrote:
@jjcf89 https://github.com/jjcf89
Hmm ran into issue where the config file kept getting reset on load. Not sure why. Ended up switching to DriveBackup2
Because of this line https://github.com/LazyGon/AutoSaveWorld/blob/devel/src/main/java/autosaveworld/core/AutoSaveWorld.java#L159, config files are overwritten on plugin disabling.
So if you edit config when server is running, your modification are cleared on disable. In the case, you should edit config with the server stopped.
This is upstream implementation, I did not touch anything about that.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Shevchik/AutoSaveWorld/pull/73#issuecomment-728690344, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAE6IXSE6LEX6WHO2UEKYPLSQIA35ANCNFSM4MOPZGLA .
Project is changed to maven
Changed on this commit.
All other plugin dependency jars and zlibs classes are removed.
Those are written in maven pom.xml
Updated outdated api usage
Google Drive API:
Dependency plugins:
This commit.
Other
Build or download
To build, download all dependency plugins and put them in libs folder. See downloads.txt
To just use this build, get attached zip file below and rename
AutoSaveWorld.jar.zip
toAutoSaveWorld.jar
AutoSaveWorld.jar.zip THIS IS FOR VERSION 1.15. YOU CAN DOWNLOAD NEWER VERSION BELOW