Prerequisites
Before installing plugins, ensure:- CoD4 Unleashed Server is installed and running
- You have access to the server’s
plugins/directory - The plugin file is compatible with your server version
Plugin files are shared libraries with the extension
.so on Linux systems.Installation Steps
Installing a plugin is a simple 2-step process:Copy Plugin File
Copy the plugin’s Ensure the plugin file has correct permissions:
.so file to the plugins/ directory:Auto-Loading Plugins
To automatically load plugins when the server starts, add theloadPlugin command to your server configuration file:
server.cfg
Verifying Installation
Check if your plugin loaded successfully:Expected Output
Unloading Plugins
To remove a plugin from memory:Troubleshooting
Plugin Won’t Load
File not found
File not found
Error:
No such file found: plugins/myplugin.soSolutions:- Verify the file exists in the
plugins/directory - Check the filename is correct (case-sensitive)
- Ensure you’re using the filename without extension
Permission denied
Permission denied
Error: Plugin loads but immediately failsSolutions:
- Set correct file permissions:
Version mismatch
Version mismatch
Error: Solutions:
This plugin might not be compatible with this server version!Example output:- Update your server to the latest version
- Obtain a compatible version of the plugin
- Recompile the plugin for your server version
Corrupt plugin file
Corrupt plugin file
Error:
is not a plugin file or is corrupt or contains disallowed functionsSolutions:- Re-download the plugin from a trusted source
- Verify file integrity (check MD5/SHA checksums)
- If you compiled it yourself, recompile with correct flags
OnInit function failed
OnInit function failed
Error:
Error in plugin's OnInit function!Solutions:- Check server console for additional error messages from the plugin
- Review plugin configuration (cvars, required files)
- Contact the plugin developer with error details
Secure Mode
When running in secure mode, only plugins with verified checksums will load:Whitelisted plugins in secure mode:
censor.so- Content filteringantispam.so- Chat spam preventiongameranger.so- GameRanger integration
Managing Plugin Configuration
Many plugins use cvars (console variables) for configuration:server.cfg
Plugin-specific cvars are typically prefixed with the plugin name (e.g.,
antispam_*, stats_*).Finding Plugin Configuration
Check plugin documentation or use:Best Practices
Test First
Always test new plugins on a development server before deploying to production
Keep Backups
Backup your server before installing new plugins in case of conflicts
Monitor Performance
Watch server performance after loading plugins - check memory and CPU usage
Update Regularly
Keep plugins updated to benefit from bug fixes and new features
Plugin Load Order
If you have plugins that depend on each other:server.cfg
Next Steps
Development Guide
Learn how to create your own plugins
Example Plugins
Study working plugin examples