congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
Command.getAliases
Code IndexAdd Tabnine to your IDE (free)

How to use
getAliases
method
in
net.md_5.bungee.api.plugin.Command

Best Java code snippets using net.md_5.bungee.api.plugin.Command.getAliases (Showing top 3 results out of 315)

origin: SpigotMC/BungeeCord

/**
 * Register a command so that it may be executed.
 *
 * @param plugin the plugin owning this command
 * @param command the command to register
 */
public void registerCommand(Plugin plugin, Command command)
{
  commandMap.put( command.getName().toLowerCase( Locale.ROOT ), command );
  for ( String alias : command.getAliases() )
  {
    commandMap.put( alias.toLowerCase( Locale.ROOT ), command );
  }
  commandsByPlugin.put( plugin, command );
}
origin: CodeCrafter47/BungeeTabListPlus

public void addSubCommand(Command command) {
  subCommands.put(command.getName(), command);
  for (String alias : command.getAliases()) {
    subCommands.put(alias, command);
  }
}
origin: WaterfallMC/Waterfall-Old

/**
 * Register a command so that it may be executed.
 *
 * @param plugin the plugin owning this command
 * @param command the command to register
 */
public void registerCommand(Plugin plugin, Command command)
{
  commandMap.put( command.getName().toLowerCase(), command );
  for ( String alias : command.getAliases() )
  {
    commandMap.put( alias.toLowerCase(), command );
  }
  commandsByPlugin.put( plugin, command );
}
net.md_5.bungee.api.pluginCommandgetAliases

Popular methods of Command

  • execute
    Execute this command with the specified sender and arguments.
  • getName
  • getPermission
  • hasPermission
    Check if this command can be executed by the given sender.

Popular in Java

  • Start an intent from android
  • setContentView (Activity)
  • setScale (BigDecimal)
  • runOnUiThread (Activity)
  • HttpServer (com.sun.net.httpserver)
    This class implements a simple HTTP server. A HttpServer is bound to an IP address and port number a
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • Permission (java.security)
    Legacy security code; do not use.
  • JList (javax.swing)
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
  • Top 17 Plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now