NullSect
Systems nominal

Docs / Scenes / Configuration

Configuration — ns-scenes

Everything is in config.lua (stays editable under escrow).

General

KeyDefaultMeaning
Config.Framework'auto'qbox, qbcore, esx or standalone
Config.Locale'en'en / tr (add locales/<code>.lua for more)
Config.Debugfalsedebug log in the console

Features (Config.Features)

KeyDefaultMeaning
FreeModetrue3D text standing in the air, turned / tilted freely, readable from both sides
FloatModetruefree-standing text that turns to the viewer
Effectstruepulse / flicker (off: stored as still)
Editingtruechange text, look or position of a placed scene
LogsfalseDiscord log (webhook in the ns_scenes_webhook convar)

Who may place (Config.Permission)

KeyMeaning
modeeveryone, ace (needs ace) or job (job name = minimum grade in jobs)
acee.g. add_ace group.user ns-scenes.create allow
jobs{ police = 0, ambulance = 0 }

Admins (Config.Admin.ace, default ns-scenes.admin, or framework admin) always may and have no limit or cooldown.

Rules (Config.Scenes)

KeyDefaultMeaning
maxPerPlayer5active scenes per character
maxTotal600active scenes on the server
maxLines / maxLineLength3 / 40text limits (characters, Turkish letters count as one)
placeDistance8.0metres from the player the laser may place
createCooldown10seconds between two new scenes of one character
durations / defaultDuration{1,3,6,12,24} / 6hours offered
adminPermanenttrueadmins may choose "always"
size0.2–1.2, 0.4metres: height of the text block
viewDistance3–30, 12metres the scene is seen from

Look (Config.Style)

fonts, backgrounds, effects: remove an entry to take it out of the editor (the server refuses it too). A scene saved with a font you removed later is shown with default. palette: the colour swatches (any #rrggbb is also allowed through the custom colour picker).

Drawing (Config.Render)

KeyDefaultMeaning
maxVisible15scenes drawn at once (closest first, at most 15)
scanInterval1000ms between "what is near" checks when nothing is near
fadeShare0.25last share of the view distance used to fade out
releaseAfter30seconds without a near scene before the texture is freed

Laser (Config.Laser)

Colours (color, blocked), rotateStep (degrees per wheel step), sizeStep, floatHeight range, freeReach (3D mode: min / max / default metres in front of you, step per Alt + wheel step).

Commands (Config.Commands)

CommandWhoDoes
/sceneeveryonelaser: place, edit (E), delete (DEL twice), leave (Backspace / right mouse / ESC)
/scenehideeveryonehide / show all scenes for yourself (remembered)
/scenepurge [radius]adminremove every scene within radius (default 10 m, max 200)

Config.Keybind: default key for /scene ('' = none; players bind it under Settings > Key Bindings > FiveM).

Cart

Your cart is empty.