Installation Guide
Step 1: Download cLib
Download the latest version of cLib from your distribution source.
Step 2: Install
1. Extract the clib_1.3 folder
2. Copy to garrysmod/addons/
3. Ensure the structure is correct:
garrysmod/
└── addons/
└── clib_1.3/
├── lua/
│ ├── autorun/
│ │ └── sh_clib_loader.lua
│ └── clib/
│ ├── cl/
│ ├── sh/
│ └── sv/
├── materials/
└── resource/Step 3: Verify Installation
Start your server and check the console for:
[cLib] Loading files...
- sh_colors.lua loaded!
- sh_debug.lua loaded!
- sh_lang.lua loaded!
...
[cLib] Files loaded successfully!Step 4: MySQL Setup (Optional)
If you need database features:
1. Download MySQLOO 9.8 Beta
2. Extract the correct binary for your OS:
- Windows: gmsv_mysqloo_win64.dll
- Linux: gmsv_mysqloo_linux64.dll
3. Place in garrysmod/lua/bin/ (create folder if needed)
Troubleshooting
cLib not loading?
1. Check folder structure matches above
2. Verify no Lua errors in console
3. Ensure sh_clib_loader.lua is in autorun/
MySQL not working?
1. Verify MySQLOO binary is correct for your OS
2. Check database credentials
3. Ensure MySQL server is running and accessible