Class CommandProcessUtils

java.lang.Object
redempt.redlib.commandmanager.processing.CommandProcessUtils

public class CommandProcessUtils extends Object
  • Constructor Details

    • CommandProcessUtils

      public CommandProcessUtils()
  • Method Details

    • getCommandManagerMessages

      public static Messages getCommandManagerMessages()
    • msg

      public static String msg(String message)
    • getCallingPlugin

      public static org.bukkit.plugin.Plugin getCallingPlugin()
    • getDeepest

      public static <T, U> Result<T,U> getDeepest(List<Result<T,U>> results)
    • getCommandMap

      public static org.bukkit.command.SimpleCommandMap getCommandMap()
    • getKnownCommands

      public static Map<String,org.bukkit.command.Command> getKnownCommands(org.bukkit.command.SimpleCommandMap commandMap)
    • getBaseArgTypes

      public static List<ArgType<?>> getBaseArgTypes()
    • splitArgsForTab

      public static List<String> splitArgsForTab(String[] args)
    • combine

      public static Object[] combine(Object[] first, Object[] second)
    • getConversionFailMessage

      public static String getConversionFailMessage(CommandParameter carg, String arg)
    • convertArg

      public static Result<Object,String> convertArg(Command command, CommandParameter carg, String arg, Object[] output, int offset, org.bukkit.command.CommandSender sender)
    • splitArgs

      public static Result<String[],Boolean[]> splitArgs(String input)