Turn off queue for everyone

Former-commit-id: 32eaee5e53d2ffab642aae56b153c9c70c860d03 [formerly 4785cb639cd6da58d0b98325aa88a2faf906376f]
Former-commit-id: d79510d534ce54664c43075ff4a4d32eac2a77fb
This commit is contained in:
Ghost_chu committed 2019-06-10 14:24:35 +08:00
1 parent e79a026f7a
commit 32092e0f68
2 files changed
+9 -1

No files matched your search

@@ -720,6 +720,14 @@ public class QuickShop extends JavaPlugin {
saveConfig();
reloadConfig();
}
if (selectedVersion == 34) {
getConfig().set("queue.enable", false); // Close it for everyone
getConfig().set("config-version", 35);
selectedVersion = 35;
saveConfig();
reloadConfig();
}
}
+1 -1
View File
@@ -1,7 +1,7 @@
#Default config: https://github.com/Ghost-chu/QuickShop-Reremake/blob/master/src/main/resources/config.yml
#Do not touch if you not clear know about this
config-version: 34
config-version: 35
#Select the language you want to use, (e.g de), use only supported language codes from the list below.
#If you use a not exist/not support language, plugin will move to use en_US to keep everything working.