βοΈConfiguration
βοΈ Configuration Guide
SceneKits is easy to configure through two main files located in the config/ folder.
π Configuration Files
config/kits.lua
Commands, permissions, limits, and scene kits
config/translations.lua
UI text and notifications (for localization)
π― Basic Configuration (config/kits.lua)
config/kits.lua)Commands
Change command names to fit your server:
commands = {
spawn = 'sk_spawn', -- Open scene menu
clear = 'sk_clear', -- Delete all your scenes
purge = 'sk_purge', -- Purge nearby props
stats = 'sk_stats', -- Server statistics (admin)
debug = 'sk_debug', -- Debug tools (admin)
},Permissions
Define which jobs can access scene categories:
Match your framework's job names:
ESX: Check your database
jobstableQBCore: Check
qb-core/shared/jobs.luaQBox: Check
qbx_core/shared/jobs.lua
Server Limits
Control performance and player usage:
Recommended by server size:
Small (32)
3-5
100-150
Medium (64-128)
4-6
200-300
Large (128-256)
3-5
300
π» Custom Framework -Standalone
SceneKits supports custom frameworks and standalone setups through the GetPlayerJob function.
For custom frameworks, ACE permissions, or standalone setups, edit the GetPlayerJob function in your config:
π¨ Creating Custom Scene Kits
Basic Kit Structure
Example: Simple Checkpoint
Tips:
Keep prop count under 15 for best performance
Use realistic spacing between objects
Test in-game before deploying
Find prop names using CodeWalker or online prop lists
π Localization (config/translations.lua)
config/translations.lua)Change any text displayed in the UI:
Example (Spanish):
π Admin Permissions
Admins need proper ACE permissions to access admin tools. This is configured in your server.cfg:
β
Testing Your Configuration
After making changes:
Restart the resource:
Check console for any errors
Test in-game:
Open menu with
/sk_spawn(or your command)Spawn a scene to verify permissions
Check if limits work correctly
Monitor performance:
Use
/sk_statsto view active scenesAdjust limits if needed
π Common Issues
"No permission for this kit"
Job names don't match your framework
Props not spawning
Invalid prop models for your server
Kit doesn't appear
Wrong allow category or syntax error
Command not working
Check spelling or try different command name
πΎ Backup Reminder
Always backup your config files before making major changes:
Last updated