Skip to content

maartenpaauw/MMM-HLTV

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MMM-HLTV

MagicMirror² module which will show CS:GO matches provided by HLTV

Buy Me A Coffee

This is a module for the MagicMirror² which displays the current and upcoming Counter-Strike: Global Offensive matches.

MMM-HLTV Screenshot

Installation

To install the module, use your terminal to:

  1. Navigate to your MagicMirror's modules folder. If you are using the default installation directory, use the command: cd ~/MagicMirror/modules.
  2. Copy the module to your computer by executing the following command: git clone https://github.com/maartenpaauw/MMM-HLTV.git.
  3. Navigate to the MMM-HLTV module directory with cd MMM-HLTV.
  4. Execute yarn install to install the node dependencies.

Using the module

To use this module, add the following configuration block to the modules array in the config/config.js file:

var config = {
    modules: [
        {
            module: 'MMM-HLTV',
            header: "Counter-Strike: Global Offensive",
            config: {
                // See below for configurable options
            },
        },
    ],
}

Configuration options

Option Description
updateInterval Optional The update interval in milliseconds

Type: int
Default: 60000 (1 minute)
amount Optional The amount of matches to show

Type: int
Default: 5
stars Optional The minimum number of stars a match must have

Type: int
Default: 0
preferWhite Optional Whether the module may use colors

Type: bool
Default: false
template Optional Which template to use (only strafe is available)

Type: string
Default: strafe
showLogos Optional whether the logos of the teams may be displayed

Type: bool
Default: true

Built With

  • HLTV - HLTV API wrapper.

Authors

License

This project is licensed under the GNU General Public License v3.0 - see the LICENSE.md file for details

About

MagicMirror² module which will show CS:GO matches provided by HLTV

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

 
 
 

Contributors