Command line arguments: Difference between revisions

From 2006Scape Wiki
Jump to navigation Jump to search
m (→‎Usage: updating example to match actual args)
(→‎-c/-config: Added Link To Server Config File For Explaining The Config Settings)
 
(4 intermediate revisions by 2 users not shown)
Line 7: Line 7:
#: "<...>\2006Scape.jar"
#: "<...>\2006Scape.jar"
# Write the desired command line arguments after the quote marks, each beginning with a space:
# Write the desired command line arguments after the quote marks, each beginning with a space:
#:"<...>\2006Scape.jar" -qol -w "2"
#:"<...>\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.
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 ==
== Client Arguments ==
=== -u/-user/-username ===
=== -dev/-local/-offline ===
:Sets the Username to Login to (Will Auto Login if paired with the Arg below)
: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 ===
=== -p/-pass/-password ===
:Sets the Password to Login to (Will Auto Login if paired with the Arg above)
:Sets the Password to Login to (Will Auto Login if paired with -u/-user/-username)
=== -qol/-fixes ===
=== -qol/-fixes ===
:Enables A Custom GameFrame Tab & Various QoL Fixes for the Client
:Enables A Custom GameFrame Tab & Various QoL Fixes for the Client
=== -no-nav/-disable-nav ===
:Disables the Client's Navigation Menu
=== -dev/-local/-offline ===
:Sets the Server IP to "localhost" & Disables Cache CRC checking
=== -no-crc/-no-cache-crc ===
:Disables Cache CRC checking
=== -s/-ip/-server ===
=== -s/-ip/-server ===
:Sets the IP the Client will Connect to
: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 ===
=== -w/-world ===
:Sets The World the Client will to Connect to
:Sets The World the Client will to Connect to


== Server Arguments ==
== Server Arguments ==
=== -c/-config ===
:Defines an external [[Server Config File|Config file]]  to change certain Game Constants without recompiling
=== -gui ===
: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