Skip to content

10% off shop orders, applied at checkoutBlack Friday: 30% off until Dec 1Server templatesServer templates

RPScripts

Krs Notepad for FiveM: Setup and Server-Side Validation

By Luke

Krs Notepad

Krs Notepad uses ESX, ox_lib and ox_inventory to create and read saved notes. The creator source at commit e8e17c5a5dd4 identifies version 1.0.0 and exposes the notepad and notepad_saved item exports. Its server-side creation checks need work before public use.

Creator repository and item definitions

Prepare the inventory integration

Back up your inventory definitions. Add the two documented items and supplied images without replacing existing keys; the examples use consume = 0 and weight = 1. Start ox_lib, ESX and ox_inventory before krs_notepad. Test creating, reading and transferring a saved note between two ordinary players, including reconnects. Review the repository license and preserve its notices.

Enforce note creation on the server

At the inspected e8e17c5a5dd4 revision, the client input has a 25-character limit, but the createNoteItem server handler does not enforce that limit or verify ownership of a blank notepad. It adds a saved-note item from the supplied text without a server-side cooldown. Testing only through the normal UI will not reveal this.

Before live use, have the server validate text type and length, enforce the intended blank-note requirement and rate limit, and check whether AddItem succeeded before reporting success. Test repeated requests, a full inventory and a player without a blank note. These are required integration checks; this article does not supply a patched resource.

  • Advanced Loading Script for FiveM

    Advanced Loading Script for FiveM

    NC-LoadingScreenV4 by NaorNC is a standalone FiveM loading screen configured in html/js/config.js. Before launch, replace its random info-tab statistics and confirm that another resource closes the screen.

  • Randolio Skydiving for FiveM

    Randolio Skydiving for FiveM

    Randolio Skydiving is a solo skydiving activity, not a group jump system. The current README documents ESX, QB and ND bridges, requires ox_lib, and supports qb/ox target or the linked interact resource. Jump locations and prices belong to the server configuration.