GKSHOP
Web StoreDiscord
  • 👋GKSHOP Documentation
  • INFORMATION
    • ⁉️FAQ
    • 💡Discord Roles
    • ⚠️FiveM Asset Escrow System
  • GKSPHONE v2
    • 📔Installation
    • ❓Documentation
    • 👷Exports
      • Client
      • Server
    • 🪛Custom App
    • Configuration
      • Unique phones
      • Custom inventory
      • Custom Wallpapers
      • Custom ringtones and notifications
      • Apps
      • Currency
    • Common Issues
    • 🚒Job Center
  • GKSPHONE v1
    • 📱ESX
      • 📔Installation
      • ❓Documentation
      • Application Usages
      • Developers
        • Server Event
        • Client Event
    • 📱QB
      • 📔Installation
      • ❓Documentation
      • Application Usages
      • Developers
        • Server Event
        • Client Event
  • Other Products
    • ⚒️GKSCRAFT
      • 📘Installation
      • Config
      • Developers
        • Server Event
    • ⛽GKS FUEL
      • 📔Installation
      • Config
      • Exports
    • 📸Media Services (GKSMEDIA)
    • 📲GKSPHONE Real App
  • OTHER
    • Policy
      • Privacy Policy
Powered by GitBook
On this page
  • Step 1: Add Sound Files
  • Step 2: Add New Sound Config.json
  • Step 3: Restart the phone
  1. GKSPHONE v2
  2. Configuration

Custom ringtones and notifications

Follow these steps to customize ringtones and notification sounds in the application.

Step 1: Add Sound Files

For Ringtones:

Place your ringtone files in the following directory: /html/sounds/ringtones/

For Notification Sounds:

Place your notification sound files in the following directory: /html/sounds/notifications/

Ensure the files are in a supported audio format (e.g., .ogg, .mp3).

Step 2: Add New Sound Config.json

Adding Ringtones:

  1. Copy the relative path of the ringtone file from /html/sounds/ringtones/.

  2. Add a new entry under the Sounds section in the config.json file.

Example: If you add a file named chime.ogg, the updated Sounds section may look like this:

"Sounds": {
  "Default": "/html/sounds/ringtones/default.ogg",
  "Classic": "/html/sounds/ringtones/classic.ogg",
  "Bell": "/html/sounds/ringtones/bell.ogg",
  "Chime": "/html/sounds/ringtones/chime.ogg"
},

Adding Notification Sounds:

  1. Copy the relative path of the notification sound file from /html/sounds/notifications/.

  2. Add a new entry under the Notifications section in the config.json file.

Example: If you add a file named alert.ogg, the updated Notifications section may look like this:

"Notifications": {
  "Arrived": "/html/sounds/notifications/arrived.ogg",
  "Crystal": "/html/sounds/notifications/crystal.ogg",
  "Ping": "/html/sounds/notifications/ping.ogg",
  "Alert": "/html/sounds/notifications/alert.ogg"
}

Step 3: Restart the phone

After adding the audio files and updating the config, you need to restart the phone for the changes to take effect.

PreviousCustom WallpapersNextApps

Last updated 4 months ago