๐Installation
Follow these easy steps to set up the Collectibles Pickup Script on your FiveM server! ๐
Step 1: Download the Script
๐ฅ Download the script files from the source (e.g., Tebex) where you purchased them.
Step 2: Install the Script and Add to server.cfg
๐ Place the
w_collectables
folder into your server'sresources
directory.โ๏ธ Open your
server.cfg
file and add the following line:ensure w_collectables
Step 3: Import the SQL File
๐๏ธ Locate the SQL file included with the script.
โ๏ธ Import it into your database using a tool like phpMyAdmin, HeidiSQL, or any database management software.
โ This step ensures all required tables are created for the script to function.
Step 4: Configure the Script
๐ง Key Configuration Files
File
Location
Purpose
config.lua
shared
folder
Adjust global settings, permissions, and framework options.
discord.lua
serverConfigs
Configure Discord-related features (optional).
Locales
locales
folder
Add or modify language files for UI localization.
๐ Adding a New Locale:
Create a
.lua
file in thelocales
folder.Add your translations to the file.
The new language will automatically appear as an option in the UI.
Step 5: Set Up Permissions
The script uses ACE permissions to control access to the admin interface.
Examples:
๐ฅ Group Permissions: Add this to give admin groups access:
add_ace group.admin "pickups.admin" allow
๐ค Individual Permissions: Replace the placeholders with the relevant identifier:
SteamID:
add_ace identifier.steam:110000112345678 "pickups.admin" allow
License Key:
add_ace identifier.license:123456789abcdef "pickups.admin" allow
Discord ID:
add_ace identifier.discord:123456789012345678 "pickups.admin" allow
IP Address:
add_ace identifier.ip:192.168.1.1 "pickups.admin" allow
๐ง Customizing Permission Name:
Open
framework.lua
in theserverConfigs
folder.Change the default permission name (
pickups.admin
) to fit your serverโs structure. For example:acePermissions = 'pickups.admin',
Step 6: Restart Your Server
๐ Apply Changes:
Save the changes in
server.cfg
.Restart your server to load the script and apply all updates.
Step 7: Ready to Use!
๐ฎ Player Experience:
Players can now explore the map, collect pickups, and earn rewards.
๐ ๏ธ Admin Tools:
Admins can manage pickups and rewards through the intuitive interface.
Quick Reference Table
Step
Description
๐ฅ Download
Get the script from Tebex or your source.
๐ Install
Place it in the resources
folder and add it to server.cfg
.
๐๏ธ Import SQL
Import the SQL file to your database.
๐ง Configure
Edit config.lua
and other files for custom settings.
๐ก๏ธ Set Permissions
Add ACE permissions for groups or individuals.
๐ Restart
Restart the server to apply changes.
๐ฎ Ready to Play
Enjoy the script and its features!
Last updated