NX Creative

Configuration

Every entry in shared/config.lua. Defaults, types, and purpose.

On this page

Customer-facing settings live in shared/config.lua. The file is in escrow_ignore, so it stays editable after install. Locale strings live in shared/locales/<lang>.lua.

Internal calibration (paper geometry, IK tuning, camera offsets, multiplayer sync timings, and the placeable definitions) is set inside the encrypted resource and is not part of this file.

Framework#

Config.Frameworkstring'auto'

Framework selection. 'auto' detects es_extended, qb-core, or qbx_core.

Locale#

Config.Localestring'en'

Active locale. Shipped values: 'en', 'fi'. Override per server with the convar setr nx_write:locale.

Features#

Config.UseInventorybooleantrue

Master switch for inventory integration. true lets nx_write talk to the inventory: stamp the saved docId onto the item slot, consume on place, restore on pickup. false skips all inventory operations (items are still added to ox_inventory/data/items.lua by you, either way).

Config.Inventorystring'auto'

Which inventory nx_write integrates with. 'auto' uses ox_inventory if it is running, otherwise 'custom'. 'ox' forces ox_inventory: item metadata stamping on save, item bridging on place and pickup. 'custom' means nx_write touches no inventory itself; you drive it from your own inventory with the client exports and the nx_write:documentSaved, nx_write:placementCreated, and nx_write:placementPickedUp server events.

Config.AllowMultiPagebooleantrue

Notepad supports multi-page documents.

Post-it stack#

Config.PostitStackSizenumber10

Default number of post-its in a stack.

Config.PostitPickupModestring'remove'

What happens when someone interacts with a placed post-it. 'remove' deletes the placement. 'pickup' deletes it and returns a post-it with its docId so the player can keep editing. 'both' shows both options and lets the player choose. Notepads always behave like 'pickup' regardless of this setting.

Server limits#

Anti-abuse and cost control. The rate limits are the minimum milliseconds between callbacks per player.

Config.Limits.maxContentBytesnumber262144

Cap on document JSON, in bytes. 256 KB by default.

Config.Limits.maxStrokePointsnumber20000

Total freehand points across all pages.

Config.Limits.maxCharsnumber8000

Character cap per page.

Config.Limits.maxPagesnumber16

Hard cap on pages per document.

Config.Limits.maxTitlenumber128

Maximum title length.

Config.Limits.saveRateLimitMsnumber1500

Minimum milliseconds between save callbacks per player.

Config.Limits.loadRateLimitMsnumber250

Minimum milliseconds between load callbacks per player.

Config.Limits.placeRateLimitMsnumber1500

Minimum milliseconds between placement-create callbacks per player.

Config.Limits.pickupRateLimitMsnumber750

Minimum milliseconds between pickup callbacks per player.

Config.Limits.listRateLimitMsnumber5000

Minimum milliseconds between placement-list callbacks per player.

Writing session keybinds#

Control IDs follow the ox_lib key list.

Config.Controls.toggleModenumber37

Swap between text and freehand. Default 37 (Tab).

Config.Controls.toggleModeAltnumber25

Alternate mode swap, always available. Default 25 (right mouse button).

Config.Controls.savePapernumber200

Save and close. Default 200 (Esc).

Config.Controls.freehandClicknumber24

Draw or dot in freehand mode. Default 24 (left mouse button).

Voice#

A writing session suppresses game controls so typed keys do not move the character. Push-to-talk is the exception, so players can keep talking while they write.

Config.Voice.enabledbooleantrue

Keep push-to-talk working during a writing session. Set false to suppress voice like every other control.

Config.Voice.controlnumber249

The game control the voice system reads. pma-voice and FiveM's built-in Mumble voice both use 249 (INPUT_PUSH_TO_TALK). It stays enabled during a session, so in freehand mode the player's own PTT binding works unchanged.

Config.Voice.typingKeysstring[]{ 'ControlLeft' }

Keys that open the mic while the player is typing. In text mode the notepad holds keyboard focus, so the real PTT binding never reaches the game; these keys are watched by the writing UI and relayed back instead. Values are KeyboardEvent.code names (ControlLeft, AltLeft, ShiftRight, F1). Use non-printing keys only: a letter here would open the mic every time the player types it.

Placement keybinds#

Used during the placement preview after right-clicking Place on a saved note.

Config.Placement.controls.commitnumber38

Commit the placement. Default 38 (E).

Config.Placement.controls.cancelnumber177

Cancel and return the item to inventory. Default 177 (Backspace).

We are not affiliated with or endorsed by Rockstar North, Take-Two Interactive or other rights holders. FiveM is a copyright and registered trademark of Take-Two Interactive Software, Inc. Our checkout process is owned & operated by Tebex Limited, who handle product fulfilment, billing support and refunds.