Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SCRIPT ERROR - Help Needed.. #1192

Open
lCollinsl opened this issue Jan 16, 2025 · 0 comments
Open

SCRIPT ERROR - Help Needed.. #1192

lCollinsl opened this issue Jan 16, 2025 · 0 comments

Comments

@lCollinsl
Copy link

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.

Image
Image

{
"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"]
}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant