mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
/me usage ^^
This commit is contained in:
parent
e0b005e5b6
commit
0261a176be
1 changed files with 5 additions and 0 deletions
|
|
@ -55,6 +55,11 @@ class ChatAPI{
|
|||
$this->server->api->chat->broadcast("[$sender] ".$s);
|
||||
break;
|
||||
case "me":
|
||||
$s = implode(" ", $params);
|
||||
if(trim($s) == ""){
|
||||
$output .= "Usage: /me <message>\n";
|
||||
break;
|
||||
}
|
||||
if(!($issuer instanceof Player)){
|
||||
if($issuer === "rcon"){
|
||||
$sender = "Rcon";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue