TRiBot can be launched with a variety of command line arguments.
The client must be launched from the tribot-gradle-launcher folder located inside the directory where TRiBot was installed.
TRiBot is meant to be launched in the following format:
gradlew.bat runDetached <arguments>
Note: On Linux or Mac OS replace gradlew.bat with ./gradlew
- Example data has been provided to give you a better idea of how to use the arguments.
- Please replace the example data with your own data.
TRiBot Username (Required): Specifies the email address you use to login to your TRiBot account.
TRiBot Password (Required): Specifies the password to login to your TRiBot account.
Character Username (Required): Specifies the username or email address you use to login to the account you want to bot on. This account does not have to be in the TRiBot account manager. If it isn't, it will be automatically added.
Character Password (Required): Specifies the password of the account you want to bot on. If this password is different than the password of that same account in the TRiBot account manager, then the account manager will be updated to this password.
Pin: Specifies the bank pin of the account you are botting on. If this pin is different than the pin of the same account in the TRiBot account manager, then the account manager will be updated to this pin. This argument is only required if you account has a bank pin. If your account doesn't have a bank pin please leave out this argument.
Character World: Specifies the world you wish to bot on. This can be left out and the client will select a world for you.
Script (Required): Specifies the name of the script you want the client to run when it launches.
--script "Delta Woodcutter"
Script Arguments: Specifies the argument(s) (or options) you want the script to use when it starts. Note: These must be supported by the script and not every script will support these. Please ask the script author or check the script's thread.
Proxy Host: Specifies the IP address of the proxy to use for the entire client. The proxy does not have to be in TRiBot's proxy manager. This argument is required to use a proxy.
Proxy Port: Specifies the port to use to connect to the proxy. This argument is required to use a proxy
Proxy Username: Specifies the username of the proxy to use. This is only required if you're using an authenticated proxy.
Proxy Password: Specifies the password of the proxy to use. This is only required if you're using an authenticated proxy.
Mem: Specifies the heap size the client will use. This can be left out, and the client will default to your previously selected heap size.
SID: Specifies the SID of the TRiBot account you want to bot on. This can be left out, and the client will use the SID from the last account to log in to TRiBot on your computer.
Break Profile: Specifies the name of the break profile you would like your bot to use. The break profile must be created in TRiBot before you can use the argument.
--breakprofile "Test Break Profile"
LG Path: The full file path to the client you want to use with Looking Glass. In most cases this will be the path to the OpenOSRS.jar. If you're not using Looking Glass do not include this argument
LG Delay: The number of seconds to wait after launching your external client before launching TRiBot. That way if the external client has a longer load time you can ensure the client is loaded before TRiBot tries to find it.
LG Args: A list of arguments to pass to your external client. This list is strictly optional, but some clients do require extra arguments in order to launch correctly
- Does the order of the arguments matter?
No, you can write the arguments in any order you choose. As long as the arguments are written in the proper format, the client will handle them.
- Do I need to supply all the arguments?
No, most arguments can be left out! You only need to supply the arguments specified with the required tag.
- Is there a full example I can look at of what it might look like with all the arguments?
There sure is!
gradlew.bat runDetached --username "Tutorial" --password "my_password_123" --charusername "email@example.com" --charpassword "botting_password" --charpin "1234" --charworld "393" --script "Delta Woodcutter" --scriptargs "location:rimmington,tree:willows" --proxyhost "127.0.0.1" --proxyport "1080" --proxyusername "Proxy Username" --proxypassword "secretProxyPassword7" --mem 386 --breakprofile "TRiBot Best Breaks" --lgpath "C:\Users\Tutorial\Downloads\OpenOSRS.jar" --lgdelay 10 --lgargs "\-\-stable"