make commandspy selfcare silent = QUIET self care (only /prefix left)
This commit is contained in:
parent
6f0dad508c
commit
46bf78c984
1 changed files with 8 additions and 1 deletions
|
@ -96,7 +96,14 @@ public class SelfCarePlugin extends Bot.Listener {
|
|||
// chat only
|
||||
if (selfCares.op && permissionLevel < 2) bot.chat.send("/minecraft:op @s[type=player]");
|
||||
else if (selfCares.gamemode && gamemode != GameMode.CREATIVE && !bot.options.creayun) bot.chat.send("/minecraft:gamemode creative @s[type=player]");
|
||||
else if (selfCares.cspy && !cspy && kaboom) bot.chat.send("/commandspy:commandspy on");
|
||||
|
||||
// core
|
||||
else if (selfCares.cspy && !cspy && kaboom) {
|
||||
if (bot.options.useChat) bot.chat.sendCommandInstantly("/commandspy:commandspy on");
|
||||
else bot.core.run("commandspy:commandspy " + bot.username + " on");
|
||||
}
|
||||
|
||||
// back to chat only
|
||||
else if (selfCares.prefix.enabled && !prefix && kaboom && !bot.options.creayun) bot.chat.send("/extras:prefix " + bot.config.selfCare.prefix.prefix);
|
||||
else if (selfCares.username && !username && kaboom) bot.chat.send("/extras:username " + bot.username);
|
||||
|
||||
|
|
Loading…
Reference in a new issue