Configuration
🆓 FREE | Download on Tebex
Complete configuration reference for nc-safezone. All settings are in config.lua.
General
Config.Locale = 'en' -- Language ('en' included)
Config.Command = 'safezone' -- Chat command to open UI
Config.AdminOnly = true -- Require 'command' ACE permission
Config.Debug = true -- Enable/disable console debug prints
SafeZone Effects
Config.DisableWeapons = true -- Remove weapons inside zone
Config.GodMode = true -- Invincibility inside zone
Config.DisablePVP = true -- Disable player combat
Config.GhostMode = true -- No collision between players
Config.PlayerAlpha = 200 -- Transparency (0 = invisible, 255 = opaque)
Wall Visualization (Defaults)
These are the default values for new zones. Each zone can override color and height individually through the UI.
Config.WallHeight = 8.0 -- Default wall height (meters)
Config.WallColor = { r = 0, g = 150, b = 255, a = 40 } -- Default RGBA
Config.WallRenderDistance = 150.0 -- Max distance to render walls
Placement Colors
Colors used during the zone placement process:
Config.PreviewColor = { r = 0, g = 150, b = 255, a = 120 } -- Preview marker
Config.PlacedColor = { r = 0, g = 255, b = 100, a = 150 } -- Confirmed placement
Config.LineColor = { r = 255, g = 255, b = 255, a = 200 } -- Connection lines
Full Config Reference
| Key | Type | Default | Description |
|---|---|---|---|
Config.Locale |
string | 'en' |
Active locale |
Config.Command |
string | 'safezone' |
Command name |
Config.AdminOnly |
boolean | true |
Require ACE permission |
Config.Debug |
boolean | true |
Debug console output |
Config.DisableWeapons |
boolean | true |
Block weapons in zone |
Config.GodMode |
boolean | true |
Invincibility |
Config.DisablePVP |
boolean | true |
Disable PVP |
Config.GhostMode |
boolean | true |
No player collision |
Config.PlayerAlpha |
number | 200 |
Player transparency |
Config.WallHeight |
number | 8.0 |
Default wall height (m) |
Config.WallColor |
table | {0,150,255,40} |
Default wall RGBA |
Config.WallRenderDistance |
number | 150.0 |
Wall render distance |
Config.PreviewColor |
table | {0,150,255,120} |
Placement preview |
Config.PlacedColor |
table | {0,255,100,150} |
Confirmed placement |
Config.LineColor |
table | {255,255,255,200} |
Connection lines |