🇩🇪 DE 🇬🇧 EN
NexoraHost / Docs home
Popular searches:Minecraft won't startCreate Minecraft serverFiveM txAdminInstall WordPressSet up subdomainVPS GermanySSL errorOpen port 25565Discord bot hostingDNS troubleshooting

Garry's Mod – Common Errors and How to Fix Them

Quick answer: This guide solves a specific server problem step by step – not just theory. For connection, startup or performance issues see troubleshooting below and related guides.

This guide shows you the most common problems on Garry's Mod servers and how to fix them step by step. From Lua errors to connection problems to crashing addons – you'll find the solution here.

1. Lua Errors – The Most Common Error of All

Lua errors occur when an addon contains faulty code or collides with other addons. They appear as red error messages in the server console or on the client.

Recognizing Errors

[ERROR] addons/my_addon/lua/autorun/server/sv_my_script.lua:23: attempt to index a nil value
[ERROR] addons/my_addon/lua/weapons/my_weapon/shared.lua:156: 'end' expected (to close 'function' at line 12) near '<eof>'

Causes and Solutions

Finding the Error Source

  1. Disable all non-essential addons
  2. Start the server and check if the error is still there
  3. Reactivate addons one by one until the error occurs
  4. The last activated addon is the culprit

2. Server Not Showing in the Server List

The most common reason why players can't find your server.

Causes and Solutions

3. "Connection failed after 4 retries"

This error appears for players trying to join your server.

Causes and Solutions

4. "Failed to download addon"

Players see this message when the server cannot transfer custom files.

Causes and Solutions

5. Server Crashes on Startup or After a Short Time

Causes and Solutions

6. "Steam Auth Timeout" or "No Steam Logon"

Causes and Solutions

7. Players Get Randomly Kicked ("Timed out")

Causes and Solutions

8. "VAC banned from secure server"

Causes and Solutions

9. Map Won't Change or Loads Forever

Causes and Solutions

10. General Debugging Tips

# Start server with detailed logging
-condebug +log on

# Check log file
cat garrysmod/console.log | grep -i error

# Show current addon errors
cat garrysmod/console.log | grep "addons/" | grep -i error

# Watch server console live (Linux)
tail -f garrysmod/console.log

Quick Checklist for Problems

  1. Check server console for red ERROR messages
  2. Disable all addons for testing and start server without addons
  3. Check firewall and port forwarding (UDP 27015, 27005, 27016)
  4. Check sv_lan 0 in server.cfg
  5. Sufficient RAM and CPU available? (htop)
  6. All required libraries installed? (Linux)
  7. FastDL URL reachable and correct?
  8. Restart server – many temporary problems disappear afterwards

NexoraHost

Order your game server

Minecraft, ARK, FiveM & 24+ games – 1-click install, mods allowed, from €4.99/mo.

nexorahost.com · Maincubes FRA01 · 1 Tbit/s DDoS · 99,9 % Uptime