Package org.spout.api.event.server

Examples of org.spout.api.event.server.PreCommandEvent


    }
  }

  @Override
  public void processCommand(String command, String... args) {
    PreCommandEvent event = VanillaPlugin.getInstance().getEngine().getEventManager().callEvent(new PreCommandEvent(this, command, args));
    if (event.isCancelled()) {
      return;
    }
    command = event.getCommand();
    CommandArguments arguments = event.getArguments();

    if (Spout.debugMode()) {
      Spout.getLogger().info("Executing: " + command + " " + arguments);
    }
View Full Code Here

TOP

Related Classes of org.spout.api.event.server.PreCommandEvent

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.