Ludwig Editor
Edit Your Server Config Files β Without Leaving The Game
Having the trouble to either grant full backend Access or not have your staff edit Files on your Server?
LUDWIG_EDITOR puts a full code editor directly inside your RedM client. Whitelisted admins can open, edit, and save files on the fly: no file transfer, no context switching.
Links
Supported Languages
-
English -
German
LanguageFile is open for you to edit it easily*
Key Features
-
In-Game Code Editor A high quality Code IDE, running inside your RedM NUI β syntax highlighting, line numbers, find (
Ctrl+F), and keyboard-native editing. -
Lua Syntax Highlighting
.luaand.jsonfiles are highlighted out of the box with full language support. -
Instant Saving Press
Ctrl+Sor click Save. The file is written instantly, changes will apply after the next Resource Start. -
Whitelist-Based Access Only IDs you explicitly trust in
serverconfig.luacan open the editor. Everyone else gets flagged and logged to your Discord. -
Per-File Whitelist You define exactly which files are editable. No file outside the whitelist can ever be opened or written, regardless of what the client sends.
-
Concurrency Lock Two admins cannot edit the same file at the same time. The second admin receives a notification and the file stays locked until released.
Open to Edits
The following are not escrowed and can be freely customized:
-
AdminCheck Function β Swap in your own admin/permission logic
-
Discord Message Function β Adjust webhook formatting, targets, or disable entirely
-
Locale Files β Translate or tweak any UI string to your liking
A README with full setup instructions is included in the resource.
Configuration
-- Steam IDs allowed to open the editor
ServerConfig.Permissions = {
["steam:your_steam_id_here"] = true,
}
-- Files available in the editor menu
-- Value: { script = "resource_name", path = "relative/path/from/resource/root.lua" }
ServerConfig.FilesToEdit = {
["Housing Config"] = { script = "bcc-housing", path = "houseconfig.lua" },
["Markets Config"] = { script = "ludwig_markets", path = "config.lua" },
}
Get Started in Seconds
Setting up Ludwig Editor is straightforward and keeps your server secure.
- Grant Access: Add
add_filesystem_permissionto yourserver.cfgfor the resources you want to edit. - Sync Authors: Ensure the
authorfield in yourfxmanifest.luamatches the editorsauthor - Go Live: Join the server, type
/editor, and start building!
Usage
- Connect as a character whose Steam ID is in
ServerConfig.Permissions - Type
/editorin chat - Select a file from the menu
- Edit in the editor
Ctrl+Sor click Save to write βEscapeor Close to discard
!This is an Escrowed Version of the Script!
Checklist
- I have reviewed the latest version of the Releases rules.
- I have included a detailed description of my work as described in the rules.
- I have included a download link or a store link.
- I have filled out the required information at the end of the topic
If youβre selling your resource, please include the following information at the end of your post:
| Code is accessible | No - see above |
| Subscription-based | No |
| Lines (approximately) | 22,034 (frontend included) |
| Requirements | none |
| Support | Yes |
