Skip to main content
An RPG or perk mod for Left 4 Dead 2 is a SourceMod plugin that gives players experience, levels, points or perks for kills and objectives. To add one, install Metamod:Source and SourceMod, upload the plugin’s .smx and its other files to addons/sourcemod/, and, if the plugin saves player progress in MySQL, create a database in the panel’s Databases page and add it to addons/sourcemod/configs/databases.cfg.

Before you start

  • Install SourceMod and, because most L4D2 plugins need it, Left4DHooks.
  • Pick an RPG or points plugin on AlliedModders and read its requirements: SourceMod version, other plugins, and whether it uses a database.
  • Make a backup in Backups.

How to install an RPG plugin

1

Upload the plugin files

In Files, upload the .smx to left4dead2/addons/sourcemod/plugins/. Put gamedata files in gamedata/, translations in translations/ and configs in configs/, as the plugin’s instructions say.
2

Restart once

Restart the server. Most plugins create their settings file in left4dead2/cfg/sourcemod/ on the first start.
3

Check it runs

Type sm plugins list in the Console. If the plugin shows an error, open the newest errors_<date>.log in addons/sourcemod/logs/.
4

Adjust the settings

Edit the plugin’s .cfg in cfg/sourcemod/ (XP rates, prices, perk limits) and restart.

How to connect the plugin to a MySQL database

Plugins that save levels between sessions need a database.
1

Create a database

Open Databases in the panel and create one. Note the host, database name, username and password it shows. See how to manage databases.
2

Edit databases.cfg

Open left4dead2/addons/sourcemod/configs/databases.cfg and add an entry inside "Databases" with the name the plugin asks for (here myrpg):
3

Restart

Restart the server and check the SourceMod error log for database errors.

Frequently asked questions

Do players need to download anything for an RPG mod?

Usually not. Most RPG plugins run on the server only. Check the plugin’s page for custom sounds or models.

Can I use SQLite instead of MySQL?

Some plugins support SQLite, which stores data in a file on the server. Use whatever the plugin documents; MySQL is easier to back up and view separately.

Why did all levels reset?

The plugin couldn’t reach its database, or it stores data in a file you deleted. Check the error log and databases.cfg, and restore from Backups if needed.

Left 4 Dead 2 server guide

Every Left 4 Dead 2 page in one place.

Install SourceMod

Metamod:Source and SourceMod.

Install Left4DHooks

Needed by most L4D2 plugins.

Manage databases

Create a MySQL database.

SourceMod admin menu

Admins and flags.

Tested by the FREAKHOSTING team on 30 October 2026 (Left 4 Dead 2 on our Game Panel). Steps may differ slightly depending on the plugin you choose.

Need Extra Help?

If you encounter any issues, our support team is ready to assist:

Save on Your Hosting

Ready to upgrade your hosting? Use code KB20 at checkout for 20% off your first order!

Last Updated: October 2026