aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-06-26 15:01:47 +0800
committerSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-06-26 15:01:47 +0800
commit8cad8ddb2cd23fc36ebd108dc9040a5483dcbf2a (patch)
tree334c67bd54c244c7b54dacc9e30f3d526b301d5b
parent0e56cf18d4b5879d151e235251b64c43f5ef07e8 (diff)
downloadSoopyV2-8cad8ddb2cd23fc36ebd108dc9040a5483dcbf2a.tar.gz
SoopyV2-8cad8ddb2cd23fc36ebd108dc9040a5483dcbf2a.tar.bz2
SoopyV2-8cad8ddb2cd23fc36ebd108dc9040a5483dcbf2a.zip
+ removed /lobbyusers as i just realised it can leak nicks
-rw-r--r--features/globalSettings/index.js10
1 files changed, 0 insertions, 10 deletions
diff --git a/features/globalSettings/index.js b/features/globalSettings/index.js
index bf918f1..2f9d3bc 100644
--- a/features/globalSettings/index.js
+++ b/features/globalSettings/index.js
@@ -114,16 +114,6 @@ class GlobalSettings extends Feature {
this.registerCommand("lobbyday", () => {
ChatLib.chat(this.FeatureManager.messagePrefix + "Current lobby is day " + (World.getTime() / 20 / 60 / 20).toFixed(2))
})
- this.registerCommand("lobbyusers", () => {
- fetch("http://soopymc.my.to/api/soopyv2/lobbyusers/" + this.FeatureManager.features["dataLoader"].class.stats.Server).json(data => {
- ChatLib.chat("&c" + ChatLib.getChatBreak("-"))
- ChatLib.chat(this.FeatureManager.messagePrefix + "&7(" + data.data.length + ")&r Lobby soopyv2 users:")
- data.data.forEach(name => {
- ChatLib.chat("&7 - &r" + name)
- })
- ChatLib.chat("&c" + ChatLib.getChatBreak("-"))
- })
- })
this.lastCookies = 0