0.tcp.ap.ngrok.io Real

This commit is contained in:
ChomeNS 2022-08-21 09:25:14 +07:00
parent 13cc22a6f3
commit 8aad9897cd
2 changed files with 6 additions and 7 deletions

View file

@ -35,7 +35,7 @@ function inject(bot) {
relativePosition.z = 0; relativePosition.z = 0;
} }
const impulseMode = bot.options.host === 'mc.chomens41793.ga'; const impulseMode = bot.options.host === '0.tcp.ap.ngrok.io';
const location = { const location = {
x: core.start.x + relativePosition.x, x: core.start.x + relativePosition.x,

View file

@ -55,13 +55,12 @@ function inject(bot) {
}); });
const interval = setInterval(() => { const interval = setInterval(() => {
if (!op) { if (bot.options.host!=='0.tcp.ap.ngrok.io') {
bot.chat('/minecraft:op @s[type=player]');
return;
}
if (bot.options.host!=='mc.chomens41793.ga') {
if (!prefix) bot.chat('/extras:prefix &8[&eChomeNS Bot&8]'); if (!prefix) bot.chat('/extras:prefix &8[&eChomeNS Bot&8]');
if (!op) {
bot.chat('/minecraft:op @s[type=player]');
return;
}
} }
if (!cspy) bot.chat('/commandspy:commandspy on'); if (!cspy) bot.chat('/commandspy:commandspy on');
if (!vanish) bot.chat('/essentials:vanish enable'); if (!vanish) bot.chat('/essentials:vanish enable');