Class Set


  • public class Set
    extends IConsoleCommand
    command that allows manipulation of the client's runtime properties. - when called without any parameters, it lists all of the available runtime properties. - when called with 1 parameter, it shows the current value of that parameter - when called with 2 or 3 parameters, it assigns a specified value to the specified parameter name. (the third parameter forces the property to be set to a particular type, otherwise we try and guess the type by the current value)
    • Constructor Detail

      • Set

        public Set()
    • Method Detail

      • getCommandDescriptions

        public java.lang.String getCommandDescriptions()
        Description copied from class: IConsoleCommand
        return high-level help about the commands supported by this object.
        Specified by:
        getCommandDescriptions in class IConsoleCommand
        Returns:
      • printHelpExtra

        public void printHelpExtra​(java.io.PrintStream out,
                                   java.util.List args)
        Overrides:
        printHelpExtra in class IConsoleCommand
      • execute

        public void execute​(java.lang.String commandName,
                            ConsoleInput ci,
                            java.util.List args)
        Description copied from class: IConsoleCommand
        execute the command with the specified name using the specified arguments
        Specified by:
        execute in class IConsoleCommand
      • displayOptions

        private void displayOptions​(java.io.PrintStream out,
                                    StringPattern sp,
                                    boolean non_defaults)
      • quoteIfNeeded

        protected static java.lang.String quoteIfNeeded​(java.lang.String str)