Pokémon battle simulator.
Go to file
2013-01-17 19:36:02 -08:00
config Update the default permissions for some new commands 2013-01-17 05:00:28 -08:00
data Prevent CAP abilities in Hackmons/BH 2013-01-17 22:19:04 +04:00
logs
mods Set Protect counterMax for Gen 3. 2013-01-16 03:49:39 -07:00
.gitignore
app.js Increase login server timeout, might decrease ladder strain 2013-01-02 17:10:08 -08:00
battles.js Make sure Mold Breaker nullifies Snow Cloak and Sand Veil 2013-01-14 19:23:15 -08:00
chat-commands.js Adding warning to all blocked challenges 2013-01-17 19:29:01 +01:00
doc.txt
LICENSE We are now officially MIT Licensed 2013-01-17 05:00:28 -08:00
old-doc.txt
package.json
Procfile
README.md We are now officially MIT Licensed 2013-01-17 05:00:28 -08:00
rooms.js Smogon Tournament approved timer for unrated battles 2013-01-17 19:36:02 -08:00
simulator.js Fix where the timer messages appear 2013-01-10 02:02:02 -08:00
tools.js Fix LC bug with DW moves 2013-01-15 01:51:34 +04:00
users.js Added property allowChallenges to User 2013-01-17 13:28:14 +01:00
verifier.js

Showdown

Showdown is a simulator of Pokemon battles. It currently supports singles battles in Generations 4-5 (HGSS, BW, BW2).

Installing

Showdown requires Node.js and npm (which is installed by default with Node.js since v0.6.3).

Run npm install to install all necessary dependencies.

Copy config/config-example.js into config/config.js, and edit as you please.

After this, start Node:

cd <location of PS>
node app.js

You can also specify a port:

node app.js 8000

Visit your server at http://play.pokemonshowdown.com/~~SERVER:PORT/

Replace SERVER with your server domain or IP, and PORT with the server's port. You can leave off :PORT if it is 8000 (the default).

Yes, you can test even if you are behind a NAT without port forwarding: http://play.pokemonshowdown.com/~~localhost/ will connect to your local machine. Some browser setups might prevent this sort of connection, however (NoScript, for instance). If you can't get connecting locally to work in Firefox, try Chrome.

The reason your server is visited through play.pokemonshowdown.com is to make it more difficult for servers to see a user's password in any form, by handling logins globally. I realize that you might want your own login server and client hosted outside the pokemonshowdown.com domain, and I'll look more deeply into how to facilitate that when we're closer to leaving beta.

Browser support

Showdown currently supports, in order of preference:

  • Chrome
  • Firefox
  • Safari
  • Chrome/Firefox/Safari for various mobile devices
  • Opera
  • Firefox for Android
  • IE9+

IE8 support can technically be added without too much difficulty, but it doesn't run PS fast enough to be usable.

As for older browsers (Firefox 3.6), I won't go out of my way to support them, but if there's a simple fix, you can suggest it to me and I'll implement it.

License

Pokemon Showdown's server is distributed under the terms of the MIT License.

Credits

Pokemon Showdown was created by Guangcong Luo [Zarel].

Developers

  • Guangcong Luo [Zarel]
  • Bill Meltsner [bmelts]

Contributors

  • [The Immortal]
  • [Marty-D]
  • Cody Thompson [Rising_Dusk]