- }
- if($this->c->exists($pp)){
- $msg_succes = str_replace(["{name}", "{clan}", "{ping}", "{hp}", "{os}", "{device}", "{gm}", "{item}", "{msg}"], [$n, $cl, $ping, $hp, $os, $d, $gm, $item, $m], $this->c->get($pp)["chat"]);
- }else{
- $msg_succes = $n . " > " . $msg;
- }
- return $msg_succes;
- }
-
-
- public function delCol($msg){
- $msg = str_replace(TextFormat::BLACK, TextFormat::RESET, $msg);
- $msg = str_replace(TextFormat::DARK_BLUE, TextFormat::RESET, $msg);
- $msg = str_replace(TextFormat::DARK_GREEN, TextFormat::RESET, $msg);
- $msg = str_replace(TextFormat::DARK_AQUA, TextFormat::RESET, $msg);
- $msg = str_replace(TextFormat::DARK_RED, TextFormat::RESET, $msg);
- $msg = str_replace(TextFormat::DARK_PURPLE, TextFormat::RESET, $msg);
- $msg = str_replace(TextFormat::GOLD, TextFormat::RESET, $msg);
- $msg = str_replace(TextFormat::GRAY, TextFormat::RESET, $msg);
- $msg = str_replace(TextFormat::DARK_GRAY, TextFormat::RESET, $msg);
- $msg = str_replace(TextFormat::BLUE, TextFormat::RESET, $msg);