Class SaveProfilesCommand

java.lang.Object
pro.gravit.utils.command.Command
pro.gravit.launchserver.command.Command
pro.gravit.launchserver.command.hash.SaveProfilesCommand

public class SaveProfilesCommand extends Command
  • Constructor Details

    • SaveProfilesCommand

      public SaveProfilesCommand(LaunchServer server)
  • Method Details

    • saveProfile

      public static void saveProfile(pro.gravit.launcher.profiles.ClientProfile profile, Path path) throws IOException
      Throws:
      IOException
    • getArgsDescription

      public String getArgsDescription()
      Specified by:
      getArgsDescription in class pro.gravit.utils.command.Command
    • getUsageDescription

      public String getUsageDescription()
      Specified by:
      getUsageDescription in class pro.gravit.utils.command.Command
    • invoke

      public void invoke(String... args) throws Exception
      Specified by:
      invoke in class pro.gravit.utils.command.Command
      Throws:
      Exception