Skip to main content

Mugshot Installation

This tutorial is provided for my scripts that uses mugshot to get the player's faces. Credits to jonassvensson4 and Project Error for mugshot and forked screenshot-basic.

Requirements

Installation

  1. Put both script into your resources folder.
  2. Log in or register to Imgur.
  3. Create an Imgur API here.
  4. Application Name can be whatever.
  5. Choose OAuth 2 authorization without a callback URL in Authorization Type
  6. Website can be blank, fill in your the rest.
  7. Copy the Client ID to your mugshot/client.js. At the top replace yourImgurClientID with your Client ID of Imgur API Application.
  8. Ensure them in server.cfg with screenshot-basic first then mugshot
  9. Everything should be working!