TRiBot can be launched with a variety of command line arguments.
The client must be launched from the TRiBot*.jar located inside the dependencies folder of the install that happens the first time you run TRiBot. Therefore, you must run TRiBot atleast once before you can use CLI.
TRiBot is meant to be launched in the following format:
java -jar TRiBot*.jar <arguments>
the * after TRiBot is a wildcard match for the version number.
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 username you use to login to your TRiBot account. If you have 2FA enabled you will get a prompt in your terminal.
TRiBot Password (Required) Specifies the password to login to your TRiBot account. If you have 2FA enabled you will get a prompt in your terminal.
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. This is not tab specific and 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.
Disable Firewall Use this argument if you want to disable the TRiBot firewall.
Enable Firewall Use this argument if you want to enable the TRiBot firewall.
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"
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!
java -jar TRiBot-10.19.6.jar --username "Fluffee" --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" --disablefwall --mem 386 --breakprofile "TRiBot Best Breaks"