This plugin is similar to the MetaMod plugin P2 (Private Players) from dJeyL but not the MySQL support
This plugin give an access for players who are register by a 3 way of identification.
If a register player will connect to your server a player with an under level will be disconnet.
Different level:
- guest: 0
- password: 1
- wonid password: 2
- wonid (P2 system): 3
Guest
That's the standard level for a player, this player will be kick if a player with a best level.
Password
It's the most simple way for give an access to the visitor of your website.
The user need only had in his the_mod/config.cfg
setinfo cvar_passfield "the_password"
for example:
setinfo _pg "password"
Wonid Password
It's a better way for give an access to the visitor of your website. You need create a page for your visitor can encode his Wonid.
If you will use this you need edit the source code for change the encode aglorythme.
The user need only had in his the_mod/config.cfg
setinfo cvar_passfield "the_password"
for example:
setinfo _pg "password"
Wonid
It's similar to dJeyL's P2 system. The Wonid of the player is stock on the server.
Players can be add in addons/amx/players.cfg
Installation
- Compil the private_gamers.sma
- Add the plugin in addons/amx/plugins/plugins.ini
- Edit addons/amx/private_gamers.cfg
- Edit addons/amx/players.cfg
That's all
If you will you can know the level of each player with the command pg_list
WARNING: I THINK THIS PLUGIN HAVE SOME PROBLEM, but i have not time for correct this.
private_gamers.cfg:
| CODE |
pg_refuse "Sorry no free slot on this server"
pg_accept "Good password"
pg_msg_kick "No free slot on this server"
pg_passfield "_pg" pg_password ""
|
players.cfg
| CODE |
pg_add 1326506 Noplay pg_add 2662235 Destroy_Dav
|
Attached File ( Number of downloads: 153 )