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
- screenshot-basic (opens in a new tab) (Not the default screenshot-basic)
- mugshot (opens in a new tab)
Installation
Put Script
Put both script into your resources folder.
Imgur
Log in or register to Imgur (opens in a new tab).
Create API
Create an Imgur API here (opens in a new tab).
Application Name
Application Name
can be whatever.
Auth
Choose OAuth 2 authorization without a callback URL
in Authorization Type
Website
Website
can be blank, fill in your the rest.
Copy the Client ID
Copy the Client ID
to your mugshot/client.js
. At the top replace yourImgurClientID
with your Client ID
of Imgur API Application.
Ensure
Ensure them in server.cfg with screenshot-basic first then mugshot