[PR #506] Process client arguments, Auto login option #4741

Closed
opened 2026-05-26 12:21:44 +00:00 by Dark98 · 0 comments
Owner

Original Pull Request: https://github.com/2006-Scape/2006Scape/pull/506

State: closed
Merged: Yes


Info:

Added three possible arguments for launching client:
server, username, password.

Aliases:

  • server:
    • -s
    • -server
  • username:
    • -u
    • -user
    • -username
  • password:
    • -p
    • -pass
    • -password

Example:

Testing on local:

java -jar client.jar -server localhost -u myusername -p mypassword

NOTE:
Also fixed up the server XP rate, must have changed it by accident in one of the other PRs 😅

**Original Pull Request:** https://github.com/2006-Scape/2006Scape/pull/506 **State:** closed **Merged:** Yes --- ### Info: Added three possible arguments for launching client: `server`, `username`, `password`. ### Aliases: - server: - `-s` - `-server` - username: - `-u` - `-user` - `-username` - password: - `-p` - `-pass` - `-password` ### Example: **_Testing on local:_** ``` java -jar client.jar -server localhost -u myusername -p mypassword ``` **NOTE:** Also fixed up the server XP rate, must have changed it by accident in one of the other PRs 😅
Dark98 added the pull-request label 2026-05-26 12:21:44 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: 2006-Scape/2006Scape#4741