Pocketmine init #79

Merged
Sirherobrine23 merged 10 commits from pocketMine into main 2021-04-10 03:23:21 +00:00
3 changed files with 12 additions and 13 deletions
Showing only changes of commit db868112b9 - Show all commits

19
package-lock.json generated
View File

@ -1,13 +1,12 @@
{ {
"name": "@the-bds-maneger/core", "name": "@the-bds-maneger/core",
"version": "1.8.6", "version": "1.8.5.5",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@the-bds-maneger/core", "name": "@the-bds-maneger/core",
"version": "1.8.6", "version": "1.8.5.5",
"hasInstallScript": true,
"license": "AGPL-3.0-or-later", "license": "AGPL-3.0-or-later",
"dependencies": { "dependencies": {
"adm-zip": "^0.5.1", "adm-zip": "^0.5.1",
@ -18,7 +17,7 @@
"express": "^4.17.1", "express": "^4.17.1",
"express-rate-limit": "^5.2.3", "express-rate-limit": "^5.2.3",
"get-folder-size": "^2.0.1", "get-folder-size": "^2.0.1",
"googleapis": "^70.0.0", "googleapis": "^71.0.0",
"minimist": "^1.2.5", "minimist": "^1.2.5",
"node-cron": "^3.0.0", "node-cron": "^3.0.0",
"node-fetch": "^2.6.1", "node-fetch": "^2.6.1",
@ -1347,9 +1346,9 @@
} }
}, },
"node_modules/googleapis": { "node_modules/googleapis": {
"version": "70.0.0", "version": "71.0.0",
"resolved": "https://registry.npmjs.org/googleapis/-/googleapis-70.0.0.tgz", "resolved": "https://registry.npmjs.org/googleapis/-/googleapis-71.0.0.tgz",
"integrity": "sha512-JMZ1lvYT67Aa6VJc/051JcFKWFh1sAPMb+yeSf7dsjXWornQlAL9qZZg+MghhOJWA0+n/PG7gYhaTVel/+2q5g==", "integrity": "sha512-pi3aWckvsEJbZmJ/+MeO8eIWOK2wmSKRRLvCQbgqTLrFce/jEHLusPly+H3FkpmbO3oTtYRUMJJ07Y4F3DeOgA==",
"dependencies": { "dependencies": {
"google-auth-library": "^7.0.2", "google-auth-library": "^7.0.2",
"googleapis-common": "^5.0.2" "googleapis-common": "^5.0.2"
@ -3980,9 +3979,9 @@
} }
}, },
"googleapis": { "googleapis": {
"version": "70.0.0", "version": "71.0.0",
"resolved": "https://registry.npmjs.org/googleapis/-/googleapis-70.0.0.tgz", "resolved": "https://registry.npmjs.org/googleapis/-/googleapis-71.0.0.tgz",
"integrity": "sha512-JMZ1lvYT67Aa6VJc/051JcFKWFh1sAPMb+yeSf7dsjXWornQlAL9qZZg+MghhOJWA0+n/PG7gYhaTVel/+2q5g==", "integrity": "sha512-pi3aWckvsEJbZmJ/+MeO8eIWOK2wmSKRRLvCQbgqTLrFce/jEHLusPly+H3FkpmbO3oTtYRUMJJ07Y4F3DeOgA==",
"requires": { "requires": {
"google-auth-library": "^7.0.2", "google-auth-library": "^7.0.2",
"googleapis-common": "^5.0.2" "googleapis-common": "^5.0.2"

View File

@ -52,7 +52,7 @@
"express": "^4.17.1", "express": "^4.17.1",
"express-rate-limit": "^5.2.3", "express-rate-limit": "^5.2.3",
"get-folder-size": "^2.0.1", "get-folder-size": "^2.0.1",
"googleapis": "^70.0.0", "googleapis": "^71.0.0",
"minimist": "^1.2.5", "minimist": "^1.2.5",
"node-cron": "^3.0.0", "node-cron": "^3.0.0",
"node-fetch": "^2.6.1", "node-fetch": "^2.6.1",

View File

@ -11,7 +11,7 @@ var backup_world = function () {
if (bds.platform === "bedrock") dir_zip = path.join(bds.bds_dir_bedrock, "worlds") if (bds.platform === "bedrock") dir_zip = path.join(bds.bds_dir_bedrock, "worlds")
else dir_zip = path.join(bds.bds_dir_java, java_pro(readFileSync(path.join(bds.bds_dir_java, "server.properties"), "utf8").replaceAll("-", "_")).level_name) else dir_zip = path.join(bds.bds_dir_java, java_pro(readFileSync(path.join(bds.bds_dir_java, "server.properties"), "utf8").replaceAll("-", "_")).level_name)
console.info("Please wait") console.info("Please wait")
if (bds.bds_detect()) bds.stop() if (process.env.BDS_DOCKER_IMAGE !== "true") if (bds.bds_detect()) bds.stop()
var zip = new AdmZip(); var zip = new AdmZip();
zip.addLocalFolder(dir_zip); zip.addLocalFolder(dir_zip);
zip.addZipComment("Backup Worlds, by The Bds Maneger Project©"); zip.addZipComment("Backup Worlds, by The Bds Maneger Project©");
@ -23,4 +23,4 @@ var backup_world = function () {
}; };
module.exports.World_BAckup = backup_world module.exports.World_BAckup = backup_world
module.exports.Drive_backup = backup_world module.exports.Drive_backup = backup_world