mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Target player gets notified of op
This commit is contained in:
parent
66fe5d2a3e
commit
8a345e6582
1 changed files with 2 additions and 0 deletions
|
|
@ -103,6 +103,7 @@ class BanAPI{
|
|||
$this->ops->set($user);
|
||||
$this->ops->save();
|
||||
$output .= $user." is now op\n";
|
||||
$this->server->api->chat->sendTo(false, "You are now op.", $user);
|
||||
break;
|
||||
case "deop":
|
||||
$user = array_shift($params);
|
||||
|
|
@ -112,6 +113,7 @@ class BanAPI{
|
|||
$this->ops->remove($user);
|
||||
$this->ops->save();
|
||||
$output .= $user." is not longer op\n";
|
||||
$this->server->api->chat->sendTo(false, "You are not longer op.", $user);
|
||||
break;
|
||||
case "kick":
|
||||
if(!isset($params[0])){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue