January 29, 201312 yr Author ((EntityPlayerMP)player).playerNetServerHandler.kickPlayerFromServer("kick message here"); Just remember to do your imports. player is Entity getting kicked, if you want to kick on command (ex. in my case command sender ) do sender instaed of player. This answer is provided by We @ #Minecraftforge
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.