mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 10:53:05 +00:00
Added Kick API
This commit is contained in:
@ -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"));
|
||||||
|
Reference in New Issue
Block a user