Do these 3 things before closing this tab:
1Fix the driver behind crashes, sound loss and screen glitches2Clear out junk files and repair common Windows errors3Scan for outdated or missing drivers - takes under a minuteTo become an admin on a Left 4 Dead 2 dedicated server, identify your SteamID with status, add that SteamID to SourceMod’s admin configuration, then restart the server or reload its admin cache. The smallest working entry is usually "STEAM_x:x:xxxxxxxx" "99:z" in left4dead2/addons/sourcemod/configs/admins_simple.ini. The z flag gives SourceMod root access, so use narrower flags whenever full control is not necessary.
Godlike.Host offers hosted Left 4 Dead 2 servers with its own game panel, SFTP access and free DDoS protection, if you would rather not host it yourself.
What you need before adding an admin
This procedure applies to a dedicated L4D2 server that you operate or are authorized to moderate. You need access to the server files or its server console, plus MetaMod and SourceMod installed in the game directory. SourceMod supplies the admin identity and permission system; MetaMod loads SourceMod and other server plugins.
As an Amazon Associate I earn from qualifying purchases.
- Server access: file-transfer access to the dedicated server, or a control panel that lets you edit configuration files.
- Console access: the in-game developer console, a dedicated-server console, or a remote console connection.
- Your SteamID: the Steam authentication string displayed by the
statuscommand. - SourceMod files: the installation must be complete enough for the
configsdirectory and base admin plugins to load. - A maintenance window: changing an admin file normally requires a server restart or an admin reload before the change is recognized.
Do not grant root or RCON access to people you would not trust with every server function. These permissions affect the entire server, not just your own client.
Step 1: Find the SteamID that SourceMod will use
Join the server with the account you want to authorize and run:
#1 Best Overall
- BLUE LIGHT BLOCKING GLASSES: Our blue light glasses for women boast UV400 protection, blocking harmful blue rays from computer screens. With these bluelight glasses women, you can enjoy gaming, reading, or watching TV with no worries of eye strain.
- EYE RELIEF: Our blue light glasses are engineered to reduce blurry vision or strain caused by prolonged screen time. These womens blue light glasses aid in better sleep by preventing blue light from disrupting your natural sleep cycle, helping you fall asleep faster and enjoy a more restful night's sleep, making them the perfect christmas present.
- COMFORTABLE: Crafted from durable material, our trendy blue light glasses for woman or blue light glasses men ensure long-lasting comfort. The high-transmittance lenses accessories, gamer gifts for men, help keep your eyes relaxed. Perfect stocking stuffers, gifts for gamers men, christmas gifts for men, halloween costumes.
- LIGHTWEIGHT: These clear blue light glasses feature a lightweight frame, meaning they’ll stay comfy for long-term wear. Perfect as blue blockers glasses for women or mens blue light glasses, these non-prescription fake glasses for men can be worn throughout the day. The blue light blocking glasses women feature polycarbonate HD lenses, which are anti-reflective and restore true color.
- WORRY-FREE PURCHASE: If you experience any issues, our support team is ready to assist you quickly. These are the perfect costume glasses for cosplay dressing up.
status
You can enter status in the game console while connected, or in the dedicated-server console. The output lists connected players and their SteamIDs. Copy the complete SteamID exactly as displayed, including the STEAM_ prefix and both numeric components. Do not substitute a display name: names can change and may not uniquely identify an account.
Check the identity before saving it
- Copy the SteamID from the line belonging to your current player.
- Keep the capitalization and punctuation unchanged.
- Make sure you are editing the configuration for the same server instance you joined; a host can have separate installations or game directories.
- If the account is shown as a bot or does not have a Steam authentication value, reconnect with the intended Steam account and run
statusagain.
Step 2: Add yourself in admins_simple.ini
The quickest SourceMod method is the simple admin file. On the server, open:
left4dead2/addons/sourcemod/configs/admins_simple.ini
Add one line using this form:
"STEAM_x:x:xxxxxxxx" "99:z"
Replace the first quoted value with the SteamID copied from status. The second quoted value contains the immunity level and permission flags. In this example, 99 is a high immunity value and z is SourceMod root access.
Example entry
"STEAM_1:0:123456789" "99:z"
Use one entry per account. Keep the quotation marks, place each account on its own line, and do not add comments or extra characters inside the SteamID. Save the file in plain text with the original filename. A common mistake is editing a similarly named file in a local game installation rather than the dedicated server’s left4dead2 directory.
Use less than root when possible
Replace z with a combination of narrower flags if the person only needs routine moderation. For example, a kick-and-ban moderator could receive the flags for those actions without access to server cvars, RCON, or cheat commands. The exact flags are listed below.
Step 3: Use admins.cfg when you need named accounts or detailed settings
SourceMod also supports a structured file at:
left4dead2/addons/sourcemod/configs/admins.cfg
This format lets you give an account a label, choose the authentication method, set individual flags, and assign immunity. A Steam-authenticated entry looks like this:
Rank #2
- WINDEX GAMING WIPES: effortlessly clean all your gaming gear and gaming electronics in one easy step with our new Windex Gaming Wipes
- AMMONIA FREE: our ammonia-free formula is safe to use on all of your favorite gaming equipment like consoles, headsets, controllers, screens, keyboards, and more
- PRE-MOISTENED WIPES: each wipe instantly removes dust, dirt, and stubborn smudges and fingerprints leaving a streak-free shine
- ANTI-STATIC: great for cleaning and wiping down your gaming gear and electronics leaving behind no visible residue
- COMPACT RESEALABLE PACKAGE: store your pack of Windex Gaming Wipes anywhere in your home for whenever a quick and easy wipedown is needed
"Admins"
{
"Server Owner"
{
"auth" "steam"
"identity" "STEAM_1:0:123456789"
"flags" "z"
"immunity" "99"
}
}
Change the label, SteamID, flags, and immunity to match the account. The auth value tells SourceMod to authenticate by SteamID; identity is the exact ID returned by status. The flags value can contain several letters, such as cdg, when one person needs kick, ban, and changemap permissions but not root access.
Choosing between the two files
| File | Best for | What you specify | Main caution |
|---|---|---|---|
admins_simple.ini |
A small list of SteamID-based admins | SteamID plus immunity/flags in one line | A malformed line can be hard to spot when many accounts are listed |
admins.cfg |
Named accounts and per-account settings | Label, auth method, identity, flags, and immunity | Braces and quoted keys must remain correctly balanced |
Do not maintain the same person with conflicting permissions in both files unless you understand how SourceMod will merge the entries. Keeping one authoritative entry per account makes later changes easier to audit.
Step 4: Apply the change
After saving either file, restart the dedicated server or reload SourceMod’s admin data. A restart is the most reliable option because it also confirms that the server is reading the expected installation. If you reload without restarting, use the admin-reload command provided by your SourceMod installation and watch the server console for parsing errors.
- Save the file on the server, not only on your local computer.
- Confirm that the path is under the active
left4dead2game directory. - Restart the server, or run the available SourceMod admin reload command from the server console.
- Reconnect to the server with the authorized Steam account.
- Run
sm_adminto verify that the SourceMod admin menu opens.
If the menu does not open, do not immediately add more flags. First verify the SteamID, file path, syntax, and reload state. Granting root to a misspelled identity does not fix authentication.
The Tool Desk
Outbyte Driver Updater FREEScan for outdated or missing drivers - takes under a minuteDriver Scan →Outbyte PC Repair FREERepair Windows errors before they cause bigger problemsFix Now →Install MetaMod and SourceMod on a dedicated server
If commands such as sm_admin are unknown, SourceMod is not loaded or its base command plugin is unavailable. A dedicated L4D2 server needs MetaMod and SourceMod installed in the game’s server directory before the admin files can work.
- Install MetaMod in the L4D2 server installation according to its package layout.
- Install SourceMod beneath the same game installation so the server has an
addons/sourcemoddirectory. - Confirm that the SourceMod configuration directory contains
admins_simple.iniand, when using the structured format,admins.cfg. - Restart the server after installation so MetaMod can load SourceMod at startup.
- Test a SourceMod command such as
sm_adminfrom an authorized account.
SourceMod’s base command set includes sm_kick, sm_map, sm_rcon, and sm_cvar. The sm_admin command opens the graphical admin menu when the account has permission and the menu plugin is loaded.
Rank #3
- Ergonomic & Adjustable Design: Fight "text neck" and improve your posture. Designed for comfort, it offers an adjustable height (7.1in-8.5in) (1.4in adjustable range) and angle (5°-85°) Please note: cell phone stand is only 9 inches tall—the length of a standard pencil
- Without blocking subtitles Perfect for office desk Tiktok Face Time Zoom video—this is the ultimate kitchen desk essential for phones! Perfect viewing experience while reducing neck back strain, A must-have for gamers streamers desk, and anyone who values both style and support!
- Sleek & Stable Design fits Otterbox Case: Say goodbye to bent cables, tangles, and tip-overs! LISEN’s stylish adjustable desk phone holder features a built-in charging hole and smart cable management, keeping your phone secure and your workspace clutter-free cool gadgets for men
- ANTI-SLIP DESIGN free hands: The under 10.00 items easy gadgets back and the bottom of this kitchen essentials for women are fully covered by anti-skid silicone, which LISEN stand up desk decor can provide maximum protection device from any scratches and slides
- Your Perfect Viewing Companion:If your product arrives damaged or breaks within 365 days, reach out to LISEN for a quick and hassle-free solution. Struggling with assembly, like tightening the screw? We’ve got your back! Your experience matters to us. (Product including: phone Holder stand*1, screw*1, hexagon screwdriver*1, specification*1)
SourceMod flags explained
SourceMod maps administrative abilities to single-letter flags. Assign only what an account needs. The z flag is special: SourceMod describes root as a “magic access flag” that grants all permissions by default.
| Flag | Capability | Typical use | Risk |
|---|---|---|---|
b |
Generic administration | Basic admin access and menu visibility | Depends on the command’s required access level |
c |
Kick players | Removing disruptive players without banning them | Can disconnect legitimate players |
d |
Ban players | Applying bans through SourceMod commands | Can deny future access to a player |
g |
Change maps | Starting a different campaign or map | Interrupts the current session for everyone |
h |
Change cvars | Adjusting server variables through admin tools | Can alter gameplay or server behavior |
m |
Use RCON | Running remote-console commands through SourceMod | Broad control over the server console |
n |
Change sv_cheats and use cheat commands |
Private testing and controlled experiments | Affects every connected client |
z |
Root access | Trusted owner or full administrator | All SourceMod permissions by default |
For example, "flags" "cd" gives kick and ban capability, while "flags" "g" gives changemap access. The right combination depends on the job; do not use z merely because it is convenient.
Core L4D2 admin commands
These commands are supplied by SourceMod’s base command plugins. Enter them in the server console or through an admin console where you have the required flag.
| Command | What it does | Required capability | Operational note |
|---|---|---|---|
sm_admin |
Opens the SourceMod admin menu | Admin access and a loaded menu plugin | Useful for discovering available actions without memorizing syntax |
sm_kick |
Kicks a selected player | c |
Use a precise player name or identifier to avoid selecting the wrong person |
sm_map |
Changes the current map | g |
Warn players before changing a public session |
sm_cvar |
Reads or changes a server cvar | h |
Record the original value before changing gameplay settings |
sm_rcon |
Runs a console command through SourceMod | m |
Reserve for trusted operators because it is broader than ordinary moderation |
Command availability can still depend on whether the corresponding SourceMod plugin is loaded. If a command is reported as unknown, check the installation and startup logs before changing permissions.
Using RCON instead of SourceMod administration
RCON is a separate administration path. It does not require creating a SourceMod admin account for every operator, but it grants console-level control rather than a carefully limited set of SourceMod commands.
Configure the dedicated server
Set a strong, unique password in the dedicated server configuration:
Quick wins for a faster PC:
Fix the driver behind crashes, sound loss and screen glitchesFind Drivers →Repair Windows errors before they cause bigger problemsFix Now →Scan for outdated or missing drivers - takes under a minuteDriver Scan →Rank #4
- Easy Installation: Our gaming lights have been designed to enhance your entertainment experience. Simply position the led light bar next to your TV or game console to create a game room environment with ease. They come with USB power and a 60 inch cord for direct mounting and mobility
- Audio Syncing & Extensive Mode: The built-in high-sensitivity music sensor allows you to sync the TV led lights to your favorite music. Lights react and move to the beat of music, film and game audio, creating an incredible immersive sound and light experience – and all without the need for an additional hub. You can choose from 64+ patterns, including strobe, illusion, jump, energy, gradient, running, chasing, fluttering mode etc. Each mode can be applied to different scenes
- 64+ Chasing IC+RGB & W Effect: The independent control design of IC+RGB and white all-in-one multifunctional rgbw led bar lights monitor backlight allows you to easily switch the led lights for desk between IC+RGB and white to enjoy a variety of lighting effects, you can choose white lighting mode with high brightness for better illumination when working, etc. Choose IC+RGB lighting mode when you need to create an entertaining atmosphere for the light show, 16 million colours of Color changing rgb light bar let you dance to the beat and create a dynamic party atmosphere
- Dynamic and Dimmable Lights: 1%-full brightness free brightness adjustment gives you the flexibility to adjust dimmable led light bar for room decorations or a variety of occasions
- USB Powered: USB light bars for room can be powered by powernank, usb charger, TV, Monitor, laptop PC mainframe, making behind TV led lighting bar easy to install in any location.TV led lights are powered by the TV usb interface / PC mainframe, can be turned on/off synchronously with TV / PC
rcon_password "replace-with-a-long-random-secret"
Apply the configuration by restarting the server or executing the configuration through your hosting control panel. Never post the password in a public chat, commit it to a shared repository, or reuse it for another service.
Connect from an RCON client
Use a Source-compatible RCON client and provide the server address, port, and the exact rcon_password. RCON lets an authorized operator issue console commands remotely, including commands that are not exposed through a limited SourceMod role.
Use SourceMod’s RCON bridge
An account with the m flag can use sm_rcon from SourceMod rather than connecting with a separate RCON client. This can be useful for an established admin team, but it still deserves the same trust level as direct RCON because the resulting control is broad.
SourceMod versus RCON: which administration method fits?
| Decision factor | SourceMod admins | RCON |
|---|---|---|
| Setup effort | Install MetaMod/SourceMod, then maintain admin files and flags | Set rcon_password and use an RCON-capable client |
| Permission granularity | Per-account flags such as kick, ban, map, cvar, RCON, or cheats | Broad console authority for anyone who has the password |
| Remote access | Available through SourceMod commands and, with the m flag, sm_rcon |
Designed for remote console control |
| Auditability | Separate accounts and flags make responsibility easier to assign; retain server logs appropriate to your setup | Everyone using the same password is harder to distinguish unless your RCON workflow records identities |
| Public-server suitability | Usually preferable for a moderator team because ordinary staff can receive limited powers | Best restricted to owners or a very small group of trusted operators |
| Cheat testing | Requires the cheats capability and careful handling of sv_cheats |
Can change the server cvar directly, but the effect remains server-wide |
Many server owners use SourceMod for routine moderation and keep RCON as an emergency or owner-only channel. That arrangement limits the damage from a compromised moderator account without removing remote recovery options.
Free tools Windows power users keep installed
One-click scans. No signup required.
Why sv_cheats keeps turning off
sv_cheats is not a private switch for one administrator. When enabled, it allows every connected client to use cheat commands. SourceMod identifies the cheats capability as the permission to change sv_cheats and use its commands, which is why that ability should not be included in ordinary moderator roles.
Server context also matters. Lobby reservation can reset the setting, and lobby-created local sessions disable cheats. For reliable testing, use a private dedicated server that you control rather than a lobby-created local game.
Best Value
- Compatible with Wide Screens - To ensure compatibility with the dual monitor mount, your each monitor must meet three conditions at the same time: First, computer screens size range: 13 to 32 inches. Second, screen weight range: 4.4 to 19.8 lbs. Third, the back of the monitor screen must have VESA mounting holes with a pitch of 75x75mm or 100x100mm.
- Regarding the compatibility with desks - Your desk must meet three conditions at the same time: First, desk material: Only wooden desks are recommended, plastic or glass desks cannot be used. Second, desk thickness range: 0.59" - 3.54". Third, the bottom of the desk should not have any cross beams or panels, as this will interfere with installation. We recommend carefully checking that your desk and monitors meets all above conditions before purchasing.
- Dual C-Clamp Hold - Worried your dual monitors might wobble or slip? Our upgraded base uses a larger platform plus a dual C-clamp structure to lock the dual monitor arm firmly to your desk. Each arm safely keeps your screens steady while you type, click and game—no shaking, no sliding, just a clean and secure setup you can trust every day. It also provides Grommet Mounting installation choice, both options ensure stable and secure fixation for your 0.59" - 3.54" desk.
- Full-Motion Adjustment For Comfortable View - Pull the screen closer when you’re deep in a spreadsheet, push it back to watch videos, or rotate to portrait for coding — moving everything smoothly with just one hand. The monitor stand offers +85°/-50° tilt, ±90° swivel and 360° rotation. Raise your monitor up to 15.75″ to support a healthy sitting posture. Whether you’re working from home, gaming through the night, or switching between video calls and documents, getting the screens to your natural line of sight helps relieve neck, shoulder and back strain so you can stay focused longer with less fatigue.
- Keep Your Desk Organized: By lifting both screens off the desktop, this dual monitor stand opens up valuable space for your keyboard, notebook, docking station or a simple, clutter-free work area. Built-in cable management guides wires along the arms, keeping cords out of sight and out of the way. Enjoy a tidy, modern workstation that looks as good as it feels to use.
A safe testing sequence
- Move testing to a private server and tell any connected players that cheat commands affect everyone.
- Give the tester the cheats capability only for the test period, or use an owner-controlled RCON connection.
- Change
sv_cheatsand run the intended command. - If it reverts, check whether a lobby reservation or server configuration is resetting it.
- Remove the cheats permission after testing and restart the normal public configuration if necessary.
Do not use cheat access as a substitute for ordinary moderation flags. A person who only needs to kick or ban should not receive permission to change server-wide cheat behavior.
Troubleshooting: admin commands do not work
The server says the command is unknown
- Confirm MetaMod and SourceMod are installed in the active dedicated-server game directory.
- Restart the server after installation or plugin changes.
- Check startup output for SourceMod loading errors.
- Verify that the base command plugin is present and loaded;
sm_admin,sm_kick,sm_map,sm_rcon, andsm_cvarcome from SourceMod’s base command set.
Your SteamID entry is ignored
- Run
statusagain and compare every character with the file. - Make sure the entry is in
left4dead2/addons/sourcemod/configs/admins_simple.inior the intendedadmins.cfg, not in a client-side folder. - Check that quotation marks, braces, and line breaks match the examples.
- Reload the admin data or restart the server after saving.
- Reconnect after the reload; an existing connection may not reflect a newly loaded identity until authentication is evaluated again.
The menu opens but an action is unavailable
The account is recognized, but its flags may not include the command’s access level. Add only the missing capability—for example, c for kick or g for changemap—instead of switching to root. If the action still does not appear, verify that the related SourceMod plugin is loaded.
Another admin can override you
SourceMod uses immunity values to help determine which admins can target others. Review the immunity values in the account entries and keep high values for the people who must be protected from lower-level actions. Do not solve an unclear hierarchy by giving every account z.
RCON refuses the connection
- Check that the client is using the server’s current address and port.
- Confirm that
rcon_passwordwas saved in the active dedicated-server configuration and applied after editing. - Enter the password exactly, including capitalization and punctuation.
- If the password was exposed, replace it and restart the server rather than continuing to use it.
Security practices for a public L4D2 server
- Use least privilege: assign kick, ban, map, cvar, RCON, and cheats flags separately according to the job.
- Protect root: reserve
zfor the owner or a very small group of fully trusted operators. - Protect RCON: use a long unique password and do not distribute it when a limited SourceMod role will do.
- Separate testing from production: test
sv_cheatson a private server because every connected client is affected. - Back up configuration: keep a known-good copy of
admins_simple.ini,admins.cfg, and the server configuration before making changes. - Review access regularly: remove SteamIDs for former staff and lower flags when an operator’s responsibilities change.
- Warn before disruptive actions: map changes, kicks, bans, and cvar changes affect other players and can end a public session.
A practical permission plan
Owner
The owner may use a structured admins.cfg entry with root access, a high immunity value, and a separate protected RCON credential. Keep this account limited to people who can safely change any server setting.
Moderator
A moderator who handles player behavior normally needs kick and ban permissions, represented by the corresponding c and d flags. Add changemap only if that person is responsible for campaign rotation.
Event or test operator
An event operator may need changemap and selected cvar access. Add the cheats capability only for a scheduled private test, then remove it when the event ends. Avoid giving this role RCON unless the operator must perform console-level recovery.
What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
Remote owner
An owner who is frequently away from the server can keep RCON for emergencies while using SourceMod flags for day-to-day moderation. This preserves a remote recovery path without handing the RCON password to the entire staff.
When managed L4D2 server hosting makes sense
If maintaining MetaMod, SourceMod, file permissions, restarts, and RCON access is more work than you want, managed L4D2 server hosting can provide a control panel and restart workflow. Before choosing a host, verify that its L4D2 package permits MetaMod and SourceMod, gives you access to admins_simple.ini or admins.cfg, and exposes the server console or an equivalent RCON configuration. A host that hides the game directory or blocks plugin loading may prevent this admin procedure even if it advertises L4D2 support.
Quick Recap
Quick verification checklist
- Run
statusand copy the correct SteamID. - Add the SteamID to
admins_simple.inior create a matchingadmins.cfgentry. - Choose the narrowest flags that cover the person’s duties.
- Save the file in the active server’s
left4dead2/addons/sourcemod/configsdirectory. - Restart the server or reload the admin data.
- Reconnect and run
sm_admin. - Test only the commands the account should have, such as
sm_kick,sm_map,sm_cvar, orsm_rcon. - Keep
sv_cheatstesting private and remove the cheats permission afterward.
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.




