CONNECT WITH PHBOT
Redirect one official gateway address to Silkeria and use phBot without trouble.
Before you start
This adds a single line to the Windows hosts file and requires administrator rights. It only affects gwgt2.joymax.com; gwgt1.joymax.com is left untouched, so your access to the official game keeps working. You can undo it at any time.
Why edit the hosts file?
phBot only recognises official Silkroad servers. It downloads its server list from its own site on every start and refuses to connect to any address that is not on that list, so adding a server by hand is not possible.
The solution is to redirect instead of add: we point one of the two official gateway addresses to Silkeria on your computer only. phBot believes it is connecting to an official address, while the connection actually reaches the Silkeria server.
The redirect applies only to your computer and affects a single Silkroad gateway address. No other site, game or program is touched.
What you need
- Silkeria client installed
- phBot installed
- Windows administrator rights
Setup steps
Install phBot and close it
Install phBot but do not open it yet. If it is already running, close it completely. The redirect is read while phBot starts, so the order matters.
Apply the gateway redirect
Pick one of the two methods below. The script is recommended; use the other tab if you prefer editing by hand.
Automatic redirect with the script
The script backs up your hosts file, applies the redirect, flushes the DNS cache and tests whether the server is reachable. Every step is printed on screen.
⬇ DOWNLOAD SCRIPT- 1.Download the script.
- 2.Right-click the file and choose "Run with PowerShell". Windows will ask for administrator permission; approve it.
- 3.When you see the green [OK] lines and the message that the server was reached, you are done.
If Windows blocks the script: right-click the file → Properties → tick "Unblock" at the bottom → OK. Then try again.
Configure phBot
Open phBot and set the following values on the Login tab.
| Field | Value | Notes |
|---|---|---|
| Server | Artemis | Pick it from the dropdown. Silkeria is published under this name. |
| Gateway | 89.167.88.145 | After the redirect this address appears in the list. Do not pick the other one. |
| Silkroad path | Silkeria install folder | Point it at the folder where you installed the Silkeria client (the one containing Media.pk2). |
| Port | 15779 | Default value, leave it as it is. |
Log in
Sign in with your Silkeria account username and password. The first connection may take a moment while phBot reads the game data from your client.
Undoing the redirect
To go back to official Silkroad, run the script with the -Remove parameter, or delete the line you added from the hosts file and run ipconfig /flushdns. On its first run the script leaves a backup named hosts.silkeria.bak.
Common problems
The new address does not appear in the Gateway list
phBot only reads the redirect at startup. Close phBot completely and open it again. If it persists, run ipconfig /flushdns in an administrator command prompt.
I get a "Connection failed" error
It means the server address cannot be reached. Run the script with -Status to confirm the redirect is active. Your firewall or internet provider may be blocking port 15779.
The script opens and closes immediately
Right-click the file → Properties → tick "Unblock". Alternatively, in an administrator PowerShell: powershell -ExecutionPolicy Bypass -File .\silkeria-phbot-hosts.ps1
I cannot get into official Silkroad
The redirect only affects gwgt2.joymax.com; the official game keeps working over gwgt1. If you still have trouble, remove the redirect with -Remove.
Need help?
If you get stuck during setup, contact our support team or join our Discord server.