All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.bukkit.event.server.RemoteServerCommandEvent Maven / Gradle / Ivy

package org.bukkit.event.server;

import org.bukkit.command.CommandSender;
import org.bukkit.event.HandlerList;

/**
 * This event is called when a command is recieved over RCON. See the javadocs
 * of {@link ServerCommandEvent} for more information.
 */
public class RemoteServerCommandEvent extends ServerCommandEvent {
  private static final HandlerList handlers = new HandlerList();

  public RemoteServerCommandEvent(final CommandSender sender, final String command) {
    super(sender, command);
  }

  public static HandlerList getHandlerList() {
    return handlers;
  }

  @Override
  public HandlerList getHandlers() {
    return handlers;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy