Examples of MatchUnloadEvent


Examples of org.mctourney.autoreferee.event.match.MatchUnloadEvent

   * the map will be unloaded, and the map folder may be deleted.
   */
  public void destroy(MatchUnloadEvent.Reason reason)
  {
    // fire match unload event
    MatchUnloadEvent event = new MatchUnloadEvent(this, reason);
    AutoReferee.callEvent(event);
    if (event.isCancelled()) return;

    // for cleanup purposes, BEFORE we eject all of the players
    this.messageReferees("world", getWorld().getName(), "destroy");

    // first, handle all the players
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.