From b995a38d3ed2f042d9d764c2b61ee5568fffcd84 Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Sat, 15 Jan 2011 09:20:29 +0800 Subject: [PATCH] Added kick player. By: speakeasy --- paper-api/src/main/java/org/bukkit/Player.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/paper-api/src/main/java/org/bukkit/Player.java b/paper-api/src/main/java/org/bukkit/Player.java index 3d3f4d3abe..eb6cc73aca 100644 --- a/paper-api/src/main/java/org/bukkit/Player.java +++ b/paper-api/src/main/java/org/bukkit/Player.java @@ -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); }