Support

Support

Getting Help

Discord Support

Join our Discord server for:

  • Real-time support

  • Community discussions

  • Feature requests

  • Bug reports

  • Development updates

GitHub Issues

Visit our GitHub Issues page to:

  • Report bugs

  • Request features

  • View known issues

  • Track development progress

FAQ

Common Questions

Q: How do I change the notification style?

A: In your config.lua, set the Style option to either 'minimal' or 'advanced':

Config.Style = 'minimal' -- or 'advanced'

Q: Can I customize the notification duration?

A: Yes, set either globally in config:

Config.DefaultDuration = 5000 -- in milliseconds

Or per notification:

exports['b2-sleeknotify']:CreateNotification({
    message = 'Custom duration',
    duration = 3000
})

Q: How do I disable sound effects?

A: Remove or comment out the sound entries in your config.lua.

Q: Why aren't my notifications showing up?

A: Check:

  1. Resource is started (ensure b2-sleeknotify)

  2. No console errors

  3. Correct export usage

  4. UI files are properly built

Troubleshooting

Installation Issues

Resource Not Starting

  1. Check your server console for errors

  2. Verify ensure b2-sleeknotify is in your server.cfg

  3. Confirm all files are in the correct locations

  4. Verify the resource name matches your folder name

UI Not Loading

  1. Check the ui/dist folder exists

  2. Verify all files listed in fxmanifest.lua exist

  3. Rebuild the UI if necessary:

cd ui
npm install
npm run build

Common Errors

"Export Not Found"

-- Incorrect
exports.b2-sleeknotify:CreateNotification()

-- Correct
exports['b2-sleeknotify']:CreateNotification()

"Type Not Supported"

Ensure you're using one of the supported types:

  • success

  • error

  • info

  • warning

"Position Not Valid"

Verify you're using a supported position:

-- Supported positions
'TOP_LEFT', 'TOP_CENTER', 'TOP_RIGHT'
'MIDDLE_LEFT', 'MIDDLE_CENTER', 'MIDDLE_RIGHT'
'BOTTOM_LEFT', 'BOTTOM_CENTER', 'BOTTOM_RIGHT'

Performance Issues

Notifications Lagging

  1. Check notification duration

  2. Reduce maximum concurrent notifications

  3. Verify server performance

  4. Check client FPS impact

Memory Usage

  1. Clear old notifications

  2. Don't spam notifications

  3. Use appropriate duration times

Reporting Issues

Before Reporting

  1. Check existing GitHub issues

  2. Search Discord for similar problems

  3. Try basic troubleshooting

  4. Update to latest version

How to Report a Bug

Include:

  1. Resource version

  2. FiveM server version

  3. Error messages

  4. Steps to reproduce

  5. Expected vs actual behavior

  6. Screenshots/videos if relevant

Contact Information

Contributing

We welcome contributions! Please:

  1. Fork the repository

  2. Create a feature branch

  3. Submit a pull request

  4. Follow code style guidelines

  5. Include tests if applicable

Remember to join our Discord for the fastest support and to stay updated on new releases and features!

Last updated