mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-22 04:29:43 +00:00
Added Kick API
This commit is contained in:
parent
fde7b5ab5d
commit
e5bed548b9
1 changed files with 4 additions and 0 deletions
|
|
@ -181,6 +181,10 @@ class BanAPI{
|
||||||
$this->commandHandler("banip", array("pardon", $ip));
|
$this->commandHandler("banip", array("pardon", $ip));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function kick($username, $reason){
|
||||||
|
$this->commandHandler("kick", array($username, $reason));
|
||||||
|
}
|
||||||
|
|
||||||
public function reload(){
|
public function reload(){
|
||||||
$this->commandHandler("ban", array("reload"));
|
$this->commandHandler("ban", array("reload"));
|
||||||
$this->commandHandler("banip", array("reload"));
|
$this->commandHandler("banip", array("reload"));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue