runelite-plugins icon indicating copy to clipboard operation
runelite-plugins copied to clipboard

Add config option to change server port

Open kmarius opened this issue 5 years ago • 4 comments

I wasn't sure if startUp should throw an exception if it fails. I just throw the last exception if none of the ports work.

kmarius avatar Sep 25 '20 21:09 kmarius

Any reason this is a list of ports and not just one port?

Adam- avatar Sep 25 '20 21:09 Adam-

I run several clients with the same config. This makes sure each of them gets a free port.

kmarius avatar Sep 25 '20 21:09 kmarius

Does that make sense? You wouldn't be able to tell which client got which port so why is that useful?

Adam- avatar Sep 25 '20 22:09 Adam-

I want to share the overwhelming majority of settings between my accounts, hence I only use one config. This way I can actually just switch accounts in OSRS without starting a new RL instance or logging to a different account. Right now I can only distinguish the accounts via API by their stats; I think it would make sense to expose the account name through the API.

kmarius avatar Sep 26 '20 16:09 kmarius