Skip to content

PandaDriver156/ServerStats-Services

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 

Repository files navigation

ServerStats-Services

  • List of tracked services for the Discord Bot ServerStats ✓
  • Works by receiving data from statuspage.io and official service status servers

Line

How to contribute?

  • You can contribute by making a fork and writing new lines to the services.json file and making Pull Request
  • Please check if the service you want to add already exists / was added before creating fork
  • Copy the template below and edit by your own choice
  • For Detailed Information Make Sure to Check The wiki

Explaining the JSON format

    "cloudflare": {
        "domain": "yh6f0r4529hb.statuspage.io",
        "elements": [
            "Cloudflare Sites and Services",
            "Africa",
            "Asia",
            "Europe",
            "Latin America & the Caribbean",
            "Middle East",
            "North America",
            "Oceania"
        ],
        "thumbnail": "https://cdn.discordapp.com/attachments/699617640099872848/699984616408350821/CloudflareLogo.png",
        "replace": true,
        "capitalization": "CloudFlare",
        "aliases": [
            "CF"
        ],
    },

1st line

  • First line is the name of the service, for example "cloudflare"
  • The Name is required to identify the service

2nd line

Markdown Monster icon


3rd line

  • Third line are elements. If elements aren't specified, all elements will be displayed, so in our case: Markdown Monster icon
    "elements": [
        "Cloudflare Sites and Services",
        "Africa",
        "Asia",
        "Europe",
        "Latin America & the Caribbean",
        "Middle East",
        "North America",
        "Oceania"
    ] 
  • We have to select all elements to exclude other elements like "past incidents" and more, example above.
  • The elements are Optional

4rd line


5th line

  • Replace, determines whether the service name should be replaced (with an empty string) in the component name. For example, Cloudflare has a property called "Cloudflare Sites and Services", but since replace is true, ServerStats only writes "Sites and Services", without Cloudflare
  • Replace is Optional, Replace does return false by default

6th Line

  • Capitalization, capitalization is optional (by default, only the first letter will be written with big letter)

7th Line

  • Aliases, example: We have service called epic games, you can add alias epic to make it more easier for the users to find the service, Aliases Should Be LowerCase !!
  • Aliases are optional

Line

About

List of tracked services for the Discord bot ServerStats

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •