We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c8e25b commit 6ccaea9Copy full SHA for 6ccaea9
index.mjs
@@ -57,6 +57,8 @@ export var versionCode = 346;
57
let powDifficulty = 7;
58
59
60
+// check if needed directories are setup
61
+checkServerDirectories()
62
63
// check if config file exists
64
checkConfigFile()
@@ -305,8 +307,6 @@ checkVersionUpdate();
305
307
}
306
308
309
-// check if needed directories are setup
-checkServerDirectories()
310
311
312
consolas(" ", );
modules/functions/io.mjs
@@ -94,6 +94,11 @@ export function checkServerDirectories(){
94
if (!fs.existsSync("./public/uploads")){
95
fs.mkdirSync("./public/uploads");
96
97
+
98
+ // User Plugins Folder
99
+ if (!fs.existsSync("./plugins")){
100
+ fs.mkdirSync("./plugins");
101
+ }
102
103
104
export function checkConfigFile(){
0 commit comments