How to get player at VehicleCreateEvent

Discussion in 'Plugin Development' started by feaq16, Apr 11, 2013.

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


    How to get player on this event?
    so, If i have (example) onBlockPlace, get player by
    2. Player p = (Player) e.getPlayer();

    and, How to do it on this event?
  2. Offline


    Is it even possible? ^^ It's Vehicle Event not Player.

    Maybe somebody else know how but i'm not sure.
  3. Offline


    so, What send message to player on minecart place?


    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: Jun 1, 2016
  4. a vechiclecreateevent isn't always created by a player, sometimes its created by block (dispenser), so there isn;t a good way to acces the creator
Thread Status:
Not open for further replies.

Share This Page