Follow our Instagram!
Curious about what we're currently doing about bots? Check out the latest updates from staff in this thread.
Welcome to Smogon! Take a moment to read the Introduction to Smogon for a run-down on everything Smogon, and make sure you take some time to read the global rules.

Ask simple questions here! [READ ORIGINAL POST before posting]

OkabeRintaro said:
1. Is it possible to embed a pokemon showdown window into a website?
2. Is it possible to have a link or a similar way to start a battle with an ai bot? (let's say, i have a showdown team and an ai bot to play against using that team, and made a website and with a button "start", on clicking that button, a window could open and a battle would start with the bot with whichever team you choose for yourself)
3.If yes, is there any api or library to do that or do I have to tweak the open sourced code to implement something like this?
Click to expand...Click to collapse...
1. no
2. We permit bots to connect to and play battles as they have no advantage or information over human players. For this to happen, you would of course need to write a bot that connects to showdown and responds to protocol messages as appropriate. Alternatively You could take the the source and build your own thing from it (server is licensed under MIT, client is not, please check that license before using anything from the client's source code). https://github.com/smogon/pokemon-showdown/
3. We don't have an API but I can recommend the PKMN package https://github.com/pkmn/ps#readme
HoeenHero said:
1. no
2. We permit bots to connect to and play battles as they have no advantage or information over human players. For this to happen, you would of course need to write a bot that connects to showdown and responds to protocol messages as appropriate. Alternatively You could take the the source and build your own thing from it (server is licensed under MIT, client is not, please check that license before using anything from the client's source code). https://github.com/smogon/pokemon-showdown/
3. We don't have an API but I can recommend the PKMN package https://github.com/pkmn/ps#readme
Click to expand...Click to collapse...
okay, thanks for the response!
Leland Tyler Wayne said:
Right but can I find out how the winrates are calculated? If the data for winning and losing team is there, wouldn't it be trivial to note which set was on the winning pokemon? Chains of Markov
Click to expand...Click to collapse...

Note that I'm not in charge of the gathering, I'm just the predominant user of the win rate stats.
That being said, they're gathered by simply iterating over the teams and incrementing a value in a small database (see here). Presumably parsing sets further would be more computationally expensive, though I don't know to what degree. I've been told server strain is a real concern for this.
Also, the distinct sets as you see them when doing /randbats <mon> are used during set generation, but are not a retained property. Backpopulating that would be algorithmically painful and occasionally impossible.
So say I created 50 custom game pokemon sets with each pokemon set being based off of a game character, and I wanted some help to see what tiers each one would end up being in (assuming that theyre an isolated pool of options and not considering anything other than the 50 I made). Where would I ask?
Last edited:
Tredecim said:
So say I created 50 custom game pokemon sets with each pokemon set being based off of a game character, and I wanted some help to see what tiers each one would end up being in (assuming that theyre an isolated pool of options and not considering anything other than the 50 I made). Where would I ask?
Click to expand...Click to collapse...
I don't know of anywhere on this site to ask about that (the solomod section of pet mods? maybe????) but honestly the best (and unfortunately hardest) option would probably be to grab some friends and play around with them yourself. Sometimes things that look strong on paper end up being mediocre and vice versa, so you won't really know for sure without first developing a metagame around them.
Hello to all!
I was trying to set a championship in the tier gen3custom game because I like to play catridge rules only (I hate all Smogon clauses)
But gen3custom game also allow more then I want to accept, as for example this tier allow pokés to have more then 510 Evs.
Someone know how to use codes to avoid this issue?

I already found the link where the codes are: https://github.com/smogon/pokemon-showdown/blob/master/config/CUSTOM-RULES.md
But I can't use it propaly :'(
Shedinja-43152 said:
Hello to all!
I was trying to set a championship in the tier gen3custom game because I like to play catridge rules only (I hate all Smogon clauses)
But gen3custom game also allow more then I want to accept, as for example this tier allow pokés to have more then 510 Evs.
Someone know how to use codes to avoid this issue?

I already found the link where the codes are: https://github.com/smogon/pokemon-showdown/blob/master/config/CUSTOM-RULES.md
But I can't use it propaly :'(
Click to expand...Click to collapse...
If you want to ban something from a custom game you created, type a Minus sign(-) in front of your challenge command and then type the name of whatever you want to ban.
Why are esthetic forms listed as different Pokemon in the teambuilder, and not in a dropdown menu such as Pokemon like Florges and Gastrodon?

Main ones would be Sinistea, Polteageist, Poltchageist, Sinistcha, Zarude, Maushold, Dudunsparce
Hey guys! I'm just running my own server and I'm trying to get it registered but the form it's asking me a permission. Is the server registration closed? Is there any way I could get it registered? I'm having problems with the SSL in some browsers since it's not registered. Thanks for the advance!
RaulProbeatz said:
Hey guys! I'm just running my own server and I'm trying to get it registered but the form it's asking me a permission. Is the server registration closed? Is there any way I could get it registered? I'm having problems with the SSL in some browsers since it's not registered. Thanks for the advance!
Click to expand...Click to collapse...
Server registration is not open at this time.
Back Top