Left 4 Dead 2

Left 4 Dead 2

View Stats:
MadAndie Jan 5, 2018 @ 2:24pm
[L4D2]Plugin Search.Admin can join if server is full.
Hey guys.I'm trying to set up my own dedicated server for the game L4D2.I searched many forums but i don't find the plugin or cvar i need.I want the settings that will kick last connected player if admin join to full game.I have the ability to hold only 8 slots so multy slot plugin will not help me with this problem.Any ideas?If u know how to do it pls help.(Sorry for my enligsh)


< >
Showing 1-8 of 8 comments
bob Jan 5, 2018 @ 2:25pm 
Uhhh reserved slots is the name I think but not sure
MadAndie Jan 5, 2018 @ 2:30pm 
I tried this plugin but it only add admin slot.For exampe it will add ninth slot and no one except admin could take this slot.I need such plugin that will not add new slot but if server is full he kick last player.For exampe we have 8/8players on server.Admin join and server kick last connect player.
bob Jan 5, 2018 @ 2:31pm 
Also this isn't the solution to your question but an alternative:

Admins who have your server's rcon password can remote kick players. In Windows there's hlxstats program or something? Idk but in Linux there's a java program Blaquicat wrote I believe
bob Jan 5, 2018 @ 2:32pm 
I'm not sure, try searching Google with the word alliedmodders
Leo Jan 6, 2018 @ 1:18am 
Sourcemod comes equipped with what you seek. Open the sourcemod.cfg config file located in left4dead2/left4dead2/cfg/sourcemod and find the sm variable sm_reserved_slots and change the default value to however many slots you want with the ability to be taken over.

Then, provided you have yourself listed in the admin config file, all you have to do is connect to the server and it'll auto-kick the last person to join whom doesn't possess a reservation flag.

To allow another person access to a reserved slot without giving them any power; Open the admins_simple.ini file in left4dead2/left4dead2/addons/sourcemod/config and add the player's steam id with the following syntax.

"STEAMID" "a"

"a" gives the player a reservation flag allowing access to the reserved slots while giving them no actual admin authority and no immunity from admin level commands. The other admin level permission flags can be found in admin_levels.cfg of the same folder.
MadAndie Jan 6, 2018 @ 10:57am 
H-reserved doesn't work(
Leo,we did it but another player can't join.For example if we do sm_reserved_slots 1 only 7/8players can join.If u are not admin and u try to take 8slot sourcemod will kick u "reserved slot".It happen even if admin doesn't connect.For example last slot can be takken only by admin,and if he don't play only 7 simple player can play on server
Blaquicat Jan 6, 2018 @ 11:53am 
You have to manually kick someone.

You can put 9 slots on the server, but you'll have issues with that too..
< >
Showing 1-8 of 8 comments
Per page: 1530 50

Date Posted: Jan 5, 2018 @ 2:24pm
Posts: 8