xiaobao.li 发表于 2005-5-31 22:14:07

AMX Mod Plugin-Private Gamers (private_gamers)

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 theprivate_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

xiaobao.li 发表于 2005-6-1 13:38:28

Post by BoeZombie
又不是原创的,从别的地方转来的插件也收钱!!??
这么多收费帖子,不想法赚点怎么办? :D

baiqiqpl 发表于 2005-6-1 01:06:00

赚钱不容易..大家体谅下吧....HOHO

BoeZombie 发表于 2005-6-1 00:50:36

又不是原创的,从别的地方转来的插件也收钱!!??

King2004 发表于 2005-5-31 23:46:50

不知道干什么的
页: [1]
查看完整版本: AMX Mod Plugin-Private Gamers (private_gamers)