1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Resource [Official] RuneMate Command Line Arguments list

Discussion in 'Tutorials & Resources' started by Swych, Jan 3, 2019.

  1. Swych

    Joined:
    Dec 9, 2016
    Messages:
    3,031
    Likes Received:
    1,030
    RuneMate Launch (CLI) Arguments
    RuneMate supports a number of CLI arguments when starting the client.

    You can run the jar with the --help flag for more detailed information.

    Standard Arguments

    "Argument",
    "Alt(s)" - Description
    "-u", "--username" - RuneMate username - used for automatic login (or RUNEMATE_USERNAME environment variable).
    "-p", "--password" - RuneMate password - used for automatic login (or RUNEMATE_PASSWORD environment variable).
    "-t", "--two-factor" - RuneMate 2FA token - used for automatic login (or RUNEMATE_TOKEN environment variable).
    "-w", "--world" - Default world used by the login-handler.
    "-i", " --import" - Absolute path to a CSV file containing RuneScape account credentials which are imported to the Account Manager.
    "--import-override" - Delete all RuneScape account credentials before importing from -i argument.
    "--decorated" - Launch RuneMate in a decorated window.

    Auto-start Arguments
    All of the following can be specified multiple times for starting multiple bots automatically if required.
    eg. -ac alias1 -ab botName1 -ap processId1 -ac alias2 -ab botName2 -ap processId2 etc..

    These are parsed "in pairs" so the first -ac will pair with the first -ab, the second -ac with the second -ab so on and so forth. If an -ap is not provided a new game client will be launched.


    "Argument",
    "Alt(s)" - Description
    "-ac", "--autostart-account", "--autostart-alias" - Account alias to use when auto-starting an instance.
    "-ab", "--autostart-bot-name", "--autostart-bot-id" - Name or ID of the bot to auto-start with (or internal-id for local bots).
    "-ap", "--autostart-pid" - Process ID of the game client to attach to for this auto-start.

    Developer Arguments

    "Argument",
    "Alt(s)" - Description
    "--dev", "-sdk" - Launches the client in "Developer Mode"
    "-d", "-dev-directory" - Absolute path to your local bot directory (can be specified multiple times to provide more than one)
     
    #1 Swych, Jan 3, 2019
    Last edited: Feb 2, 2022
    dahnae, CoreBot, TheRaph and 4 others like this.
  2. Superior

    Joined:
    Sep 24, 2017
    Messages:
    8
    Likes Received:
    1
    This is great! I created a batch file that runs these commands. Unfortunately you still have to update the client first (even when not using sdk mode) which kind of defeats the purpose. Anyone know a way around that?

    Is there or can there be an update and restart command line argument?
     
  3. Swych

    Joined:
    Dec 9, 2016
    Messages:
    3,031
    Likes Received:
    1,030
    Nothing in the client currently. You could make a suggestion for it if you'd like through the RuneMate issue tracker on Github.
     
  4. blahberrys

    Joined:
    Jun 28, 2016
    Messages:
    84
    Likes Received:
    41
    Or just support for updating in sdk mode would be nice.
     

Share This Page

Loading...