Installation — ns-scenes
-
Copy the
ns-scenesfolder into your server'sresources. -
server.cfg, after oxmysql (and ox_lib if you use it):ensure ns-scenes add_ace group.admin ns-scenes.admin allow -
Optional Discord log: set
Config.Features.Logs = trueand add the webhook as a server convar (it never reaches clients):set ns_scenes_webhook "https://discord.com/api/webhooks/..." -
Start the server. The table
ns_scenesis created automatically (Config.Database.autoMigrate = true). WithautoMigrate = false, importsql/ns-scenes.sqlfirst.
Verify
- Console:
[ns-scenes:SV] N scenes loadedandready (framework=...). - In game:
/scene, aim at a wall, the laser turns orange and a ghost "YOUR TEXT" appears. Press E, type, Place. - Walk away: the text fades out at its view distance and comes back when you return.
Troubleshooting
| Problem | Fix |
|---|---|
| Requests answer "Scenes are still loading" | oxmysql not started or the migration failed: read the server console. |
| Laser turns red | You are farther than Config.Scenes.placeDistance from the spot, or aim at the sky. |
| "You are not allowed to place scenes" | Config.Permission.mode is ace / job; give the ACE or job. |
| Nothing is drawn | F8 console for DUI errors; check /scenehide is not on (it is remembered per player). |
| Texts look too big / small | Size slider (or Shift + wheel) in game; ranges in Config.Scenes.size. |