How do I properly kick someone?

Discussion in 'Plugin Development' started by GeekPlaya, Jun 21, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    GeekPlaya

    When I kick a player "onPlayerJoin", it leaves them on the Minecraft built-in player list.

    Is there a way to fix this?
     
  2. Offline

    Xemos

    If you trying to kick them when they join... Why not just ban them?
     
  3. Offline

    GeekPlaya

    I was looking more for a solution than a work-around.

    It's temporary, that's why.
     
  4. Offline

    makskay

    Take a look at the PlayerLoginEvent. It's thrown before the player is actually added to the list of logged-in players and can be set to deny the login.
     
Thread Status:
Not open for further replies.

Share This Page