-
-
Notifications
You must be signed in to change notification settings - Fork 282
Description
Hello,
I am trying to fix this issue that is showing up in my console logs. Tried to repeat step and installation again and still the same problem.
Here is the config.json file for the npwd. I'm using ESX framework.
{
"PhoneAsItem": {
"enabled": false,
"exportResource": "my-core-resource",
"exportFunction": "myCheckerFunction"
},
"customPhoneNumber": {
"enabled": false,
"exportResource": "number-generator-resource",
"exportFunction": "generateNumber"
},
"general": {
"useResourceIntegration": false,
"toggleKey": "f1",
"toggleCommand": "phone",
"defaultLanguage": "en",
"showId": false,
"phoneNumberFormat": "/(\d{3})(\d{3})(\d{4})/"
},
"contacts": {
"frameworkPay": false,
"payResource": "my-core-resource",
"payFunction": "myCheckerFunction"
},
"database": {
"useIdentifierPrefix": false,
"playerTable": "users",
"identifierColumn": "identifier",
"identifierType": "license",
"profileQueries": true,
"phoneNumberColumn": "phone_number"
},
"images": {
"url": "https://api.fivemanage.com/api/image",
"type": "image",
"imageEncoding": "webp",
"contentType": "multipart/form-data",
"useContentType": false,
"authorizationHeader": "Authorization",
"authorizationPrefix": "",
"useAuthorization": true,
"returnedDataIndexes": ["url"]
},
"imageSafety": {
"filterUnsafeImageUrls": true,
"embedUnsafeImages": false,
"embedUrl": "https://i.example.com/embed",
"safeImageUrls": [
"i.imgur.com",
"i.file.glass",
"dropbox.com",
"c.tenor.com",
"discord.com",
"cdn.discordapp.com",
"media.discordapp.com",
"media.discordapp.net",
"upload.wikipedia.org",
"i.projecterror.dev",
"upcdn.io",
"i.fivemanage.com",
"api.fivemanage.com",
"r2.fivemanage.com"
]
},
"profanityFilter": {
"enabled": false,
"badWords": ["esx"]
},
"twitter": {
"showNotifications": true,
"generateProfileNameFromUsers": true,
"allowEditableProfileName": true,
"allowDeleteTweets": true,
"allowReportTweets": true,
"allowRetweet": true,
"characterLimit": 160,
"newLineLimit": 10,
"enableAvatars": true,
"enableEmojis": true,
"enableImages": true,
"maxImages": 1,
"resultsLimit": 25
},
"match": {
"generateProfileNameFromUsers": true,
"allowEditableProfileName": true
},
"marketplace": {
"persistListings": false
},
"browser": {
"homepageUrl": "https://docs.fivemanage.com"
},
"debug": {
"level": "error",
"enabled": true,
"sentryEnabled": true
},
"defaultContacts": [],
"disabledApps": [],
"apps": [],
"voiceMessage": {
"enabled": false,
"authorizationHeader": "Authorization",
"url": "https://api.fivemanage/api/audio",
"returnedDataIndexes": ["url"]
}
}

