Closed Flareninja closed 8 years ago
You can enable it in the config, see https://github.com/Ecuacion/Pokemon-Showdown-Node-Bot/blob/master/config-example.js#L302-L311
Add in config.js
something like this and replace 'tournaments' for the corresponding room id.
exports.leaderboards = {};
exports.leaderboards['tournaments'] = {
winnerPoints: 5,
finalistPoints: 3,
semiFinalistPoints: 1,
battlePoints: 0
};
Also, i'll check the bug with rby/gsc teams
Bug fixed in 912c90e3cd396985a3d2381a0259f65dc1eebd90
Thanks
I noticed that when there is a suspect the teams given before the suspect don't work, what can I do?
Do you mean teams with Gothitelle shadow tag for example? You can simply delete the teams no longer valid for the tier with team delete, [team-id]
. You can view all teams ids with teamslist
https://github.com/Ecuacion/Pokemon-Showdown-Node-Bot/tree/master/commands#battle
I mean that when there is in progress a suspect test, the tier changes name and the teams given before don't work(the bot tells that it hasn't teams in that tier) (Sorry for my english)
This behavior is intentional. That's because OU and OU (Suspect test) are different formats with maybe different rules. So you must add new teams for OU (Suspect test), because OU teams can be invalid.
Ok, thanks
Hi, how can I enable leaderboard in a room?
And how I give rby/gsc teams?It tells me "Error: Invalid team data"