mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Updated console texts and help
This commit is contained in:
parent
82d49b0343
commit
d157299c7a
11 changed files with 62 additions and 78 deletions
|
|
@ -32,8 +32,8 @@ class ChatAPI{
|
|||
}
|
||||
|
||||
public function init(){
|
||||
$this->server->api->console->register("tell", "Sends a private message to a player", array($this, "commandHandler"));
|
||||
$this->server->api->console->register("me", "Broadcast an action", array($this, "commandHandler"));
|
||||
$this->server->api->console->register("tell", "<player> <private message ...>", array($this, "commandHandler"));
|
||||
$this->server->api->console->register("me", "<action ...>", array($this, "commandHandler"));
|
||||
$this->server->api->ban->cmdWhitelist("tell");
|
||||
$this->server->api->ban->cmdWhitelist("me");
|
||||
}
|
||||
|
|
@ -85,7 +85,7 @@ class ChatAPI{
|
|||
|
||||
public function broadcast($message){
|
||||
$this->send(false, $message);
|
||||
console("[CHAT] ".$message);
|
||||
console($message);
|
||||
}
|
||||
|
||||
public function sendTo($owner, $text, $player){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue