added dynamic database & everything is now v2.0.0

Changed everything from v1.4.0 to v2.0.0 & added the dynamic database system
This commit is contained in:
DJj123dj
2022-05-05 17:52:42 +02:00
parent 046cef0088
commit 8c9eddd4a1
13 changed files with 82 additions and 39 deletions
+15
View File
@@ -1,3 +1,18 @@
//Do not change this without knowing what you are doing!!
const databaseFile = "local"
//Do not change this without knowing what you are doing!!
try {
var db = require("./dynamicfiles/local")
}catch{
console.log("I couldn't find the database file! (location: ./core/dynamicdatabase/storage.js:2)")
process.exit(1)
}
module.exports = db
/** =============================
** NOT READY YET
** must be dynamic