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

org.bukkit.command.CommandSender Maven / Gradle / Ivy

The newest version!
package org.bukkit.command;

import org.bukkit.Server;
import org.bukkit.permissions.Permissible;

public interface CommandSender extends Permissible {

  /**
   * Sends this sender a message
   *
   * @param message Message to be displayed
   */
  void sendMessage(String message);

  /**
   * Sends this sender multiple messages
   *
   * @param messages An array of messages to be displayed
   */
  void sendMessage(String[] messages);

  /**
   * Returns the server instance that this command is running on
   *
   * @return Server instance
   */
  Server getServer();

  /**
   * Gets the name of this command sender
   *
   * @return Name of the sender
   */
  String getName();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy