mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-28 07:20:24 +01:00
Added kick player.
By: speakeasy <mekevin1917@gmail.com>
This commit is contained in:
parent
14ed38cc63
commit
b995a38d3e
1 changed files with 7 additions and 0 deletions
|
@ -47,4 +47,11 @@ public interface Player extends HumanEntity {
|
|||
* @return the player's address
|
||||
*/
|
||||
public InetSocketAddress getAddress();
|
||||
|
||||
/**
|
||||
* Kicks player with custom kick message.
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
public void kickPlayer(String message);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue