This Map Images API is designed to display preview images of individual maps for the CS2 Discord Utilities plugin.

This API is community-driven, allowing anyone to contribute preview images for maps.


Display maps

How to Add Your Own Map Images

1. On our Discord Server

  1. Join our Discord server ( Discord Invite )
  2. In any channel (e.g. #general or #suggestions), post the image and the name of the map.

2. Or create a pull request

  1. Fork the repository by clicking the "Fork" button on the top right of the repository page.
  2. Clone your forked repository to your local machine using the command:
    git clone -b api-pages https://github.com/YOUR_NAME/CS2-Discord-Utilities.git
  3. Navigate to the cloned repository directory:
    cd CS2-Discord-Utilities
  4. Add your map image in the appropriate directory. The image should be in PNG format and named appropriately, e.g., `map_name.png`.
  5. Edit the `map_images.json` file to include your new map image entry. Add a new object to the JSON array with the name of your map image.
  6. Commit your changes:
    git add .
    git commit -m "Added map_name"
  7. Push the changes to your forked repository:
    git push origin api-pages
  8. Create a pull request to the original repository. Go to your forked repository on GitHub and click the "New pull request" button.

Map Images