CY-DevWorks Discord Support
Login
Back to CY-DevWorks
๐Ÿ”ง CY Config Editor - Professional Ingame Config Editor for RedM

Features & Details

Edit your server configs directly ingame without alt-tabbing!

## โœจ Why CY Config Editor?

Tired of constantly switching between your game and file explorer to edit configs? **CY Config Editor** lets you edit ANY resource's config files directly from ingame with a beautiful, modern UI.

Perfect for:

  • ๐ŸŽฎ **Server Owners** - Quick config changes without server restarts

  • ๐Ÿ› ๏ธ **Developers** - Test config values in real-time

  • ๐Ÿ‘ฅ **Admin Teams** - Easy access without FTP/file access needed

---

## ๐Ÿš€ Features

### ๐Ÿ’ป Professional Code Editor

- Full syntax highlighting for Lua, JSON, and more

- Line numbers with cursor position tracking

  • **Search function (Ctrl+F)** with navigation

- Auto-detects file types

- Character and line counter

### ๐ŸŽ›๏ธ Visual Editor *(Unique Feature!)*

  • **Automatically generates GUI controls** from your config values

- Sliders for numbers, toggles for booleans

- Text inputs for strings

- Vector editors for coordinates

  • **Perfect for non-technical admins!**

### ๐Ÿ—บ๏ธ Location Editor

- Get your current player coordinates instantly

- Supports Vector3, Vector4, table, and array formats

- Preview locations with map markers

- One-click copy to clipboard

### ๐Ÿ“ฆ Smart Resource Detection

- Auto-detects ALL server resources

- Shows file structure from fxmanifest.lua

- Filter by Started/Stopped status

- Search resources by name

- Customizable blacklist

### ๐Ÿ’พ Automatic Backup System

- Creates timestamped backups before every save

- Never lose your original configs

- Configurable backup settings

### ๐Ÿ”’ Security First

- ACE permission system

- Standalone permission mode

- File extension whitelist

- Restricted files blacklist

  • **Escrow files are protected**

---

## ๐Ÿ“„ Supported File Types

โœ… `.lua` - Lua scripts & configs

โœ… `.json` - JSON configuration files

โœ… `.cfg` / `.ini` - Server configs

โœ… `.txt` - Text files

โœ… `.html` / `.css` / `.js` - NUI files

โœ… `.xml` / `.yml` / `.yaml` - Data files

โœ… `.md` - Markdown files

---

## ๐Ÿ–ฅ๏ธ How It Works

  1. **Select a resource** from the sidebar

  2. **Choose a file** to edit

  3. **Make your changes** in the code or visual editor

  4. **Save** - Changes are applied automatically!

  5. **Reload the resource** with one click

### โš ๏ธ Important Note About Saving

Due to RedM/FiveM platform security, scripts cannot directly write to other resource folders. This is a **security feature**, not a limitation of this script.

**Our Solution:**

- Run `auto_apply_configs.bat` (Windows) or `auto_apply_configs.sh` (Linux) in the background

- The watcher automatically copies your saved files to the correct locations

- Seamless experience - just keep the watcher running while you edit!

*This is the cleanest solution possible within FiveM/RedM's security model.*

---

## ๐Ÿ“ฆ What's Included

```

CY-configeditor/

โ”œโ”€โ”€ client/main.lua

โ”œโ”€โ”€ server/main.lua

โ”œโ”€โ”€ shared/framework.lua

โ”œโ”€โ”€ html/

โ”‚ ย  โ”œโ”€โ”€ index.html

โ”‚ ย  โ”œโ”€โ”€ style.css

โ”‚ ย  โ””โ”€โ”€ script.js

โ”œโ”€โ”€ config.lua

โ”œโ”€โ”€ fxmanifest.lua

โ”œโ”€โ”€ auto_apply_configs.bat ย  ย โ† Windows auto-watcher

โ”œโ”€โ”€ auto_apply_configs.sh ย  ย  โ† Linux auto-watcher

โ””โ”€โ”€ README.md ย  ย  ย  ย  ย  ย  ย  ย  โ† Full documentation

```

---

## โš™๏ธ Easy Configuration

```lua

Config = {}

-- Debug Mode (shows detailed logs with rate-limiting)

Config.Debug = false

-- Framework Detection

Config.Framework = 'standalone' -- 'auto', 'standalone'

-- Permission System

Config.UseAcePermissions = true

Config.AcePermission = 'configeditor.admin'

-- Alternative: Framework-Based Permissions

Config.AllowedGroups = {

ย  ย  ['admin'] = true,

ย  ย  ['owner'] = true,

ย  ย  ['developer'] = true

}

-- Security

Config.RestrictedFiles = {

ย  ย  'server.cfg',

ย  ย  'password',

ย  ย  'key',

ย  ย  'license',

ย  ย  'token',

ย  ย  'secret',

ย  ย  'credentials',

ย  ย  '.env'

}

-- ERWEITERT: Alle editierbaren Dateitypen

Config.AllowedExtensions = {

ย  ย  -- Lua

ย  ย  '.lua',

ย  ย 

ย  ย  -- Web/NUI

ย  ย  '.html',

ย  ย  '.htm',

ย  ย  '.css',

ย  ย  '.js',

ย  ย  '.jsx',

ย  ย  '.ts',

ย  ย  '.tsx',

ย  ย  '.vue',

ย  ย 

ย  ย  -- Data/Config

ย  ย  '.json',

ย  ย  '.xml',

ย  ย  '.yml',

ย  ย  '.yaml',

ย  ย  '.ini',

ย  ย  '.cfg',

ย  ย  '.conf',

ย  ย  '.config',

ย  ย  '.toml',

ย  ย 

ย  ย  -- Text

ย  ย  '.txt',

ย  ย  '.md',

ย  ย  '.log',

ย  ย 

ย  ย  -- SQL

ย  ย  '.sql',

ย  ย 

ย  ย  -- Sonstige

ย  ย  '.csv',

ย  ย  '.properties'

}

-- Auto-Detect Mode

Config.AutoDetectResources = true -- If true, all resources are automatically detected

-- Optional: Manual Whitelist (only if AutoDetect = false)

Config.EditableResources = {

ย  ย  'your_job_script',

ย  ย  'your_shop_script',

ย  ย  -- Only relevant if AutoDetect = false

}

-- Blacklist for sensitive Resources (will ALWAYS be excluded)

Config.BlacklistedResources = {

ย  ย  -- Database

ย  ย  'mysql-async',

ย  ย  'oxmysql',

ย  ย  'ghmattimysql',

ย  ย 

ย  ย  -- System/Core

ย  ย  'screenshot-basic',

ย  ย  'sessionmanager',

ย  ย  'hardcap',

ย  ย  'rconlog',

ย  ย  'monitor',

ย  ย  'mapmanager',

ย  ย  'spawnmanager',

ย  ย  'fivem',

ย  ย  'yarn',

ย  ย  'webpack',

ย  ย  'chat',

ย  ย  'baseevents',

ย  ย  'basic-gamemode',

ย  ย  'cron',

ย  ย  'money',

ย  ย 

ย  ย  -- Chat/Theme

ย  ย  'chat-theme-gtao',

ย  ย 

ย  ย  -- FiveM Maps

ย  ย  'fivem-map-hipster',

ย  ย  'fivem-map-skater',

ย  ย 

ย  ย  -- Common Libraries

ย  ย  'bob74_ipl',

ย  ย  'PolyZone',

ย  ย  'progressbar',

ย  ย  'menuapi',

ย  ย  'warmenu',

ย  ย  'mythic_progbar',

ย  ย  'mythic_notify',

ย  ย  'pNotify',

ย  ย 

ย  ย  -- FiveM Default

ย  ย  'webadmin',

ย  ย  'scoreboard',

ย  ย  'playernames'

}

-- Automatically exclude System Resources

Config.IgnoreSystemResources = true -- [fivem], [system], etc.

-- Additionally: Ignore resources with specific prefixes

Config.IgnoreResourcePrefixes = {

ย  ย  -- 'qb-', ย  ย  ย -- Uncomment if you don't want QB-Core standard resources

ย  ย  -- 'esx_', ย  ย  -- Uncomment if you don't want ESX standard resources

}

-- Only show Resources with specific files

Config.RequiredFiles = {

ย  ย  'config.lua',

ย  ย  'settings.lua',

ย  ย  'config.json',

ย  ย  'settings.json',

ย  ย  'shared.lua',

}

Config.ShowAllResources = true -- If true, ALL resources are shown (even without config files)

-- Backup System

Config.AutoBackup = true

Config.BackupInterval = 3600 -- Seconds (1 hour)

Config.MaxBackups = 10

Config.BackupPath = 'backups/'

-- Logging

Config.LogChanges = true

Config.LogPath = 'logs/config_changes.log'

Config.DiscordWebhook = '' -- Optional: Discord Webhook for change logs

-- UI Settings

Config.UIPosition = 'center' -- 'center', 'right', 'left'

Config.DefaultTheme = 'dark' -- 'dark', 'light'

Config.ShowTutorial = true

-- Editor Features

Config.EnableSyntaxCheck = true

Config.EnableAutoSave = false

Config.AutoSaveInterval = 300 -- 5 minutes

Config.EnableVersioning = true

Config.MaxVersionHistory = 50

-- Location Editor

Config.ShowMarkerPreview = true

Config.MarkerType = 1 -- GTA V Marker Type (1 = Cylinder)

Config.PreviewRadius = 100.0

-- Commands

Config.OpenCommand = 'configeditor'

Config.ReloadCommand = 'reloadconfig'

-- Keybind

Config.OpenKey = 166 -- F5 Key (GTA V Native)

-- Multi-Language Support

Config.Locale = 'de' -- 'en', 'de', 'fr', 'es'

Config.Locales = {

ย  ย  ['de'] = {

ย  ย  ย  ย  ['open_editor'] = 'Config Editor รถffnen',

ย  ย  ย  ย  ['save_success'] = 'Konfiguration erfolgreich gespeichert',

ย  ย  ย  ย  ['save_error'] = 'Fehler beim Speichern',

ย  ย  ย  ย  ['backup_created'] = 'Backup erstellt',

ย  ย  ย  ย  ['no_permission'] = 'Keine Berechtigung',

ย  ย  ย  ย  ['file_not_found'] = 'Datei nicht gefunden',

ย  ย  ย  ย  ['invalid_syntax'] = 'Ungรผltige Syntax erkannt',

ย  ย  ย  ย  ['confirm_changes'] = 'ร„nderungen bestรคtigen?',

ย  ย  ย  ย  ['restart_required'] = 'Server-Neustart erforderlich',

ย  ย  },

ย  ย  ['en'] = {

ย  ย  ย  ย  ['open_editor'] = 'Open Config Editor',

ย  ย  ย  ย  ['save_success'] = 'Configuration saved successfully',

ย  ย  ย  ย  ['save_error'] = 'Error saving configuration',

ย  ย  ย  ย  ['backup_created'] = 'Backup created',

ย  ย  ย  ย  ['no_permission'] = 'No permission',

ย  ย  ย  ย  ['file_not_found'] = 'File not found',

ย  ย  ย  ย  ['invalid_syntax'] = 'Invalid syntax detected',

ย  ย  ย  ย  ['confirm_changes'] = 'Confirm changes?',

ย  ย  ย  ย  ['restart_required'] = 'Server restart required',

ย  ย  }

}

---

## ๐Ÿ“‹ Requirements

- โœ… RedM Server (Latest Artifact)

- โœ… OneSync (Recommended)

- โœ… Works standalone or with VORP Framework

---

## ๐ŸŽฏ Perfect For

| Use Case | Benefit |

|----------|---------|

| Quick config tweaks | No more alt-tabbing to file explorer |

| Testing spawn locations | Use the Location Editor to get coords |

| Training new admins | Visual Editor is beginner-friendly |

| Remote management | Edit configs without FTP access |

| Live debugging | Change values and see results instantly |

---

## ๐Ÿ’ฌ Support

  • ๐Ÿ“– **Full Documentation** included (README.md)

  • ๐Ÿ’ฌ **Discord Support:** [CY DevWorks]()

  • ๐Ÿ› **Bug Reports:** Via Discord ticket system

  • ๐Ÿ”„ **Free Updates:** Lifetime updates included

---

## ๐Ÿ“ Changelog

**v1.2.0** - Auto-Watcher Update

- NEW: `auto_apply_configs.bat` for Windows

- NEW: `auto_apply_configs.sh` for Linux

- Automatic file copying in real-time

- Improved pending file system

**v1.1.0** - RedM Update

- Full RedM/VORP compatibility

- Improved backup system

- Better error handling

**v1.0.0** - Initial Release

- Code Editor with syntax highlighting

- Visual Editor with auto-generated controls

- Location Editor

- Backup system

---

## โš–๏ธ License Terms

โœ… Use on multiple servers you own

โœ… Customize configuration

โŒ Resell or redistribute

โŒ Share with others

โŒ Decompile or reverse engineer

---

## ๐Ÿ›’ Purchase Includes

- โœ… Lifetime updates

- โœ… Discord support

- โœ… Detailed documentation

- โœ… Windows & Linux support

---

**Made with โค๏ธ by CY DevWorks**

*Stop alt-tabbing. Start editing ingame.*

Copied