Command line arguments: Difference between revisions

From 2006Scape Wiki
Jump to navigation Jump to search
(Remove Quotes From Example World ID)
(→‎-c/-config: Added Link To Server Config File For Explaining The Config Settings)
 
Line 31: Line 31:
== Server Arguments ==
== Server Arguments ==
=== -c/-config ===
=== -c/-config ===
:Defines an external Config file to change certain Game Constants without recompiling
:Defines an external [[Server Config File|Config file]]  to change certain Game Constants without recompiling
 
=== -gui ===
=== -gui ===
:Enables the Server Control Panel
:Enables the Server Control Panel


[[Category:User interface]]
[[Category:User interface]]

Latest revision as of 04:04, 19 February 2023

There are multiple command line arguments which may be used to change the game's behavior during the start-up. These arguments can be set in the properties window of the game shortcut.

Usage

Instead of using the command line, you can execute switches directly from your 2006Scape shortcut:

  1. Right click on your 2006Scape shortcut and select 'Properties'.
  2. In the 'Target Area' field you will see the location of your 2006Scape executable file:
    "<...>\2006Scape.jar"
  3. Write the desired command line arguments after the quote marks, each beginning with a space:
    "<...>\2006Scape.jar" -qol -w 2

If you don't plan on using an argument frequently, it can be easier to use the Run command for a single invocation. To do this, click the "Start" button and select "Run", and enter the same line you would use to make a shortcut: the full path of 2006Scape.jar in quotes, followed by the arguments.

Client Arguments

-dev/-local/-offline

Sets the Server IP to "localhost" & Disables Cache CRC checking

-no-crc/-no-cache-crc

Disables Cache CRC checking

-no-nav/-disable-nav

Disables the Client's Navigation Menu

-p/-pass/-password

Sets the Password to Login to (Will Auto Login if paired with -u/-user/-username)

-qol/-fixes

Enables A Custom GameFrame Tab & Various QoL Fixes for the Client

-s/-ip/-server

Sets the IP the Client will Connect to

-u/-user/-username

Sets the Username to Login to (Will Auto Login if paired with -p/-pass/-password)

-w/-world

Sets The World the Client will to Connect to

Server Arguments

-c/-config

Defines an external Config file to change certain Game Constants without recompiling

-gui

Enables the Server Control Panel