This is a module for the MagicMirror². It will display the aoe2.net leadder stats for players id's.
- Clone this repo into
~/MagicMirror/modules
directory. - Go to
~/MagicMirror/modules/MMM-AOE2-STATS
directory and donpm install
To use this module, add the following configuration block to the modules array in the config/config.js
file:
var config = {
{
module: "MMM-AOE2-STATS",
position: "bottom_right",
config: {
players: ['912329'],
updateInterval: 20,
showTeamStats: true,
showGameWins: false,
showGameLosses: false,
showTotalGames: true,
showWinPercentage: true
}
}
}
Option | Description |
---|---|
players |
Required Player ID to display. |
updateInterval |
Optional Update time Type: int (minute) Default 20 (= 20 minute). |
showTeamStats |
Optional If true module will display the RM-Team stats otherwise the 1v1 stats if available. |
showGameWins |
Optional If true module shows how many games player has won. |
showGameLosses |
Optional If true module shows how many games player has loose. |
showTotalGames |
Optional If true module shows how many games player has played. |
showWinPercentage |
Optional If true module shows the percentage of won games. |