ClanMatch Server Player Manager
Plug-in checks up registration of player for playing on the server.
Registered player will be allow on a server and in a chat for all displays information about registration. For examples:
Code:
[CMSPM] Admin Dionys known as Dionys from a team Mash.
or
[CMSPM] Player Dionys known as Dionys from a team Mash.
The administrator of server will be allow in any case.
Not registered player will be kicked or banned.
CVAR:
sm_spm_version - Version of ClanMatch Server Player Manager plugin.
sm_spm_enable - 0-Disable/1-Enables ClanMatch Server Player Manager (def - 0).
sm_spm_admin - 0-Disable/1-Enables always admin allow (def - 0).
sm_spm_type - Disallow type. 0-Off/1-BanIP/2-BanID/3-Kick (def - 0).
sm_spm_btime - Ban time in min (def - 60).
sm_spm_debug - Displays in chat debugging information
Command (server console , client console or chat with !) (need flag ROOT):
sm_spm_add - ADD User to registration. Usage: sm_spm_add <IP or STEAM> <PlayerID> <ClanID>
sm_spm_del - DEL User from registration. Usage: sm_spm_del <IP or STEAM>
sm_spm_list - List of registration
sm_spm_reload - Reload registration from file
Install:
del sm_cmsv_plmanager.txt from .\addons\sourcemod\data\
del plugin.sm_cmsv_plmanager.txt from .\addons\sourcemod\translations\
del sm_cmsv_plmanager.cfg from .\cfg\sourcemod\
del sm_cmsv_plmanager.smx from .\addons\sourcemod\plugins\
del sm_spm.cfg from .\cfg\sourcemod\
copy sm_spm_reg.txt to .\addons\sourcemod\data\
copy plugin.sm_spm_lang.txt to .\addons\sourcemod\translations\
put sm_spm.smx to .\addons\sourcemod\plugins\
check plug-in settings in your cfg file
Player registration management:
your add or remove player registratation in sm_spm_reg.txt
use for registratation IP or SteamID
If user has been added manual - after sm_spm_reload or !spm_reload in chat
If user has been deleted manual - after sm_spm_reload or !spm_reload in chat
for example:
Code:
"CMSPMSettings"
{
"STEAM_0:0:000001"
{
"PlayerID" "Server"
"ClanID" "Valve"
}
}
or
Code:
"CMSPMSettings"
{
"127.0.0.1"
{
"PlayerID" "Server"
"ClanID" "Valve"
}
}
OR use admin command for add/remove user:
sm_spm_add <IP or STEAM> <PlayerID> <ClanID>
for example: sm_spm_add "STEAM_0:0:000001" "Dionys" "Mash"
sm_spm_del <IP or STEAM>
for example: sm_spm_del "STEAM_0:0:000001"
changes are automatically written down in a file in this moment
Version LOG:
1.1.2
Remove autoexec config at onplaginstart event
Reload registration file bug fixed
Registration file optimized
1.1.1
Cosmetic changes of message, for the facilitation of management in-game administrators.
Changed cvars, for the facilitation of management in-game administrators.
Remove autoexec config at onmapstart event
1.1.0 Fixed
Add command for manage of user registration
Fix some bug
1.0.5
Colorized chat message
Fix reread sm_spm_reg.txt bug
1.0.3
AutoExec sm_spm.cfg
add cvar:
sm_spm_type
sm_spm_btime
thx Fyren for help
Russian-language discussion