We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 278475b commit 60f210eCopy full SHA for 60f210e
isopornot/src/legoboy/isopornot/main.php
@@ -8,6 +8,7 @@
8
use pocketmine\command\CommandSender;
9
use pocketmine\command\Command;
10
use pocketmine\command\CommandExecutor;
11
+use pocketmine\utils\TextFormat;
12
13
class Main extends PluginBase{
14
@@ -25,7 +26,7 @@ public function onDisable(){
25
26
public function onCommand(CommandSender $sender, Command $cmd, $label, array $args) {
27
switch($cmd->getName()){
28
case "isop":
- $sender->sendMessage("You ".($sender->isOp() ? "are" : "are not")." op!");
29
+ $sender->sendMessage("[LegoCraft] " .TextFormat::GREEN . "You ".($sender->isOp() ? "are" : "are not")." op!");
30
return true;
31
}
32
0 commit comments