Skip to content

Basic Configuration Guide

Agustin San Roman edited this page Jul 9, 2017 · 3 revisions

Once installed, you may want to configure your bot. In order to do it, you can use the control panel available by default in the port 8080. To access it, if you are running the bot locally, go to http://localhost:8080/. If you are runing it using a VPS, go to your domain or subdomain.

The default administration account is admin with password admin. Note: It is recommended changing the password or deleting this account to avoid unauthorized accesses.

1 - Administration options

In the Admin menu option you can configure these important values:

  • Current Server Url - If you have a domain or subdomain, specify here the url. For example: www.myserver.com
  • Application Title - Is the title that appears at the top of the control panel
  • If you are running the bot through a proxy (for example openshift) mark the option Check this option if you are using a proxy for your application

Use the button Save Changes to save your configuration changes.

2 - Pokemon Showdown Server

In the menu option Bot Configuration you can choose the server you want the bot to join. There are three possible cases:

  • You might want to use Smogon Official Server (Main Server). In that case use the option Set Default Values and Save Changes
  • Maybe you want to use a Registered Server, in that case you can use the get-server tool, in the Tools menu option, to get the server, port and serverid paramenters.
  • Or, you may want to use an unregistered server, then you must edit manually the parameters.

3 - Bot account

In the menu option Bot Login you can set the bot account (A pokemon showdown account). If you specify a registered account with a wrong password, the bot will not login.

4 - Rooms and Avatar

In the menu option Bot AutoJoin or Rooms & Avatar (depending of your version) you can specify the list of rooms to join after the bot logs in.

You can also specify the bot avatar number or id.

5 - Commands Configuration

In the Command Parser menu option, Configuration suboption, you can set the following important values:

  • Command Tokens - Command tokens make the difference between a command and a regular chat message. Example: If . is a command token, .seen is a command message.
  • Groups - Pokemon Showdown groups (maybe the server you want to use has custom symbols)
  • Help Message - Message sent when an user pms the bot with a not-command message.
  • Sleeping Rooms - Rooms where is no possible using bot commands. For example to avoid interferences with other bots.

6 - Permissions Configuration

In the Command Parser menu option, Permissions suboption, you can customize the command permissions.

Important: In the Excepted Users textbox add your accounts to give them full access to all bot commands regardless of any rank.

7 - Bot Language

In the Bot Languages or Languages menu option you can change the language the bot uses into the Pokemon Showdown server, the control panel is only available in english.

8 - Restart the bot

In the Bot Configuration menu option, press the button Restart Bot or Start Bot to restart the bot and make changes effective. After that, the bot should join the server with the accout you specified and join the rooms you specified.

If the bot does not join the server you can get information about errors in the Security Log menu option.