Codex Documents is a fully featured in-game document system for RedM servers, designed to support immersive roleplay for law enforcement, medical staff, and other job-based roles.
Players can receive, view, carry, and show official documents directly in-game through a clean and immersive UI.
โจ Features
๐ My Documents panel for players to view all documents they own
๐๏ธ Issue Documents panel for authorized jobs and grades
๐ Show Documents to nearby players using proximity
๐ Inventory document item to open documents at any time
๐งโ๐ผ Admin Document Builder to create and manage document templates
๐ Full job & grade permission control
๐ง How it works
Documents are based on templates (for example: Police Reports, Medical Clearances, Permits).
Authorized players can issue these documents to a specific character ID.
Once issued, the document:
Is permanently stored in the database
Belongs to the target character
Can be viewed from the Documents UI or via an inventory item
Can be shown to nearby players for roleplay interactions
๐ฎ Job & Permission System
Access is fully controlled by job and grade:
Only configured jobs can issue documents
Minimum grades can be set per job
Admins can manage document templates through the UI
All permissions are handled server-side for security.
โ๏ธ Configuration
Due to the CFX Escrow system, the script is encrypted.
Customers do not have access to the source code.
You can configure:
Document inventory item
Admin permission group
Allowed jobs and job categories
Minimum job grades for issuing / managing documents
Document show distance
Player animation while using documents
All configuration is done via config.lua.
๐๏ธ Database
This script uses two database tables:
codex_documentsโ documentยcodex_docsโ issued documents
A ready-to-use SQL file is included and must be imported before use.
๐ฆ Requirements
codex_core (required)
Compatible inventory system via CodexCore
๐ญ Roleplay Examples
Police officers issuing official reports or warrants
Doctors issuing medical clearances or diagnoses
Citizens carrying permits or certificates
Players showing documents during traffic stops or inspections
โน๏ธ Important Notes
This resource is CFX escrow protected
Only configuration files are editable
Logic, UI, and scripts cannot be modified
Support is provided only for intended usage
If youโre looking for a clean, immersive, and secure document system to enhance roleplay interactions, Documents is the perfect addition to your RedM server.
Documentation Page :ย https://codexstudios.gitbook.io/codexstudios-store/codex-docs

