mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-31 21:37:39 +01:00
Added kick player.
By: speakeasy <mekevin1917@gmail.com>
This commit is contained in:
parent
14ed38cc63
commit
b995a38d3e
@ -47,4 +47,11 @@ public interface Player extends HumanEntity {
|
|||||||
* @return the player's address
|
* @return the player's address
|
||||||
*/
|
*/
|
||||||
public InetSocketAddress getAddress();
|
public InetSocketAddress getAddress();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Kicks player with custom kick message.
|
||||||
|
*
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
public void kickPlayer(String message);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user