Bot Becoming Unresponsive


#1

If your bot is randomly disconnecting and becoming unresponsive after a period of time, please follow the step below to fix it. This issue is usually caused by your ISP (Internet Service Provider) killing connections after a period of time if it is inactive.

On Windows:

Right click the launch.bat file and click edit.

Change this line:

java -Dinteractive -Dfile.encoding=UTF-8 -jar PhantomBot.jar

To

java -Dinteractive -Dfile.encoding=UTF-8 -Dircsendpingwait=360000 -Dircpingwait=180000 -jar PhantomBot.jar

On Linux Or macOS:

Open the launch.sh script with a text editor and change this line:

java -Dinteractive -Dfile.encoding=UTF-8 -jar PhantomBot.jar

To

java -Dinteractive -Dfile.encoding=UTF-8 -Dircsendpingwait=360000 -Dircpingwait=180000 -jar PhantomBot.jar


Command setup help needed