Installation
If you aren't familiar with programming or just you don't know how to set up the script, we present our installation guide which is as comprehensive as possible so you don't have any difficulties.
Download
Download mst_fpscanner from Portal.
Database
Add the images from the
inventory_imagesfolder insidemst_fpscannerto your inventory system’s image directory.
DELETE FROM items WHERE name = 'mobilescanner';
DELETE FROM items WHERE name = 'staticscanner';
INSERT INTO `items` (`name`, `label`, `weight`) VALUES
('mobilescanner', 'Mobile Fingerprint Scanner', 1),
('staticscanner', 'Static Fingerprint Scanner', 1)
;mobilescanner = { name = 'mobilescanner', label = 'Mobile Fingerprint Scanner', weight = 1, type = 'item', image = 'mobilescanner.png', unique = true, useable = true, shouldClose = true, description = 'A portable device used to scan fingerprints on the go' },
staticscanner = { name = 'staticscanner', label = 'Static Fingerprint Scanner', weight = 1, type = 'item', image = 'staticscanner.png', unique = true, useable = true, shouldClose = true, description = 'A stationary fingerprint scanner that can be placed in a location' },['mobilescanner'] = {
label = 'Mobile Fingerprint Scanner',
weight = 1000,
stack = false,
close = true,
description = 'A portable device used to scan fingerprints on the go',
client = {
image = 'mobilescanner.png'
}
},
['staticscanner'] = {
label = 'Static Fingerprint Scanner',
weight = 2000,
stack = false,
close = true,
description = 'A stationary fingerprint scanner that can be placed in a location',
client = {
image = 'staticscanner.png'
}
}Storage Setup
Open Fivemanage
Create an account
Go to "Tokens" in the sidebar and then "Create Token"
Choose a name and "Images only" type from the dropdown
Finish with "Create Token"
Add setr FIVEMANAGE_MEDIA_API_KEY yourToken in server.cfg below
mysql_connection_stringfor exampleCopy the token you made and put it in place of
yourTokenGo to
mst_fpscanner/configand setstorage = "fivemanage".Save & Restart the server
Open Imgbb
Sign Up
Generate an API Key
Add
set IMGBB_API_KEY "your_key"in server.cfg belowmysql_connection_stringfor exampleCopy the generated key and paste it between ""
Go to
mst_fpscanner/configand setstorage = "imgbb".Save & Restart the server
Not working?
We hope you won’t need this step, but if you do, feel free to join our Discord and open a support ticket. :)
Last updated