Package com.massivecraft.mcore.event

Examples of com.massivecraft.mcore.event.MCorePlayerLeaveEvent


  // -------------------------------------------- //
 
  @EventHandler(priority = EventPriority.MONITOR, ignoreCancelled = true)
  public void leaveEventKickCall(PlayerKickEvent event)
  {
    new MCorePlayerLeaveEvent(event.getPlayer(), true, "kick", event.getReason()).run();
  }
View Full Code Here


  }
 
  @EventHandler(priority = EventPriority.MONITOR)
  public void leaveEventQuitCall(PlayerQuitEvent event)
  {
    new MCorePlayerLeaveEvent(event.getPlayer(), false, "quit", null).run();
  }
View Full Code Here

TOP

Related Classes of com.massivecraft.mcore.event.MCorePlayerLeaveEvent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.