Class SaveAllCommand

java.lang.Object
org.bukkit.command.Command
org.bukkit.command.defaults.VanillaCommand
net.glowstone.command.minecraft.GlowVanillaCommand
net.glowstone.command.minecraft.SaveAllCommand

public class SaveAllCommand extends GlowVanillaCommand
  • Constructor Details

    • SaveAllCommand

      public SaveAllCommand()
  • Method Details

    • execute

      public boolean execute(org.bukkit.command.CommandSender sender, String label, String[] args, GlowVanillaCommand.CommandMessages commandMessages)
      Description copied from class: GlowVanillaCommand
      Executes the command, returning its success.
      Specified by:
      execute in class GlowVanillaCommand
      Parameters:
      sender - Source object which is executing this command
      label - The alias of the command used
      args - All arguments passed to the command, split via ' '
      commandMessages - Object containing the title, description and permission message in the sender's locale, or set with setters
      Returns:
      true if the command was successful, otherwise false
    • tabComplete

      public List<String> tabComplete(org.bukkit.command.CommandSender sender, String alias, String[] args) throws IllegalArgumentException
      Overrides:
      tabComplete in class org.bukkit.command.Command
      Throws:
      IllegalArgumentException