搜索
查看: 1206|回复: 4

AMX Mod Plugin-Private Gamers (private_gamers)

[复制链接]
发表于 2005-5-31 22:14:07 | 显示全部楼层 |阅读模式 来自 天津滨海新区
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

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注个册吧

×
 楼主| 发表于 2005-6-1 13:38:28 | 显示全部楼层 来自 天津
Post by BoeZombie
又不是原创的,从别的地方转来的插件也收钱!!??

这么多收费帖子,不想法赚点怎么办? :D
回复 1 0

使用道具 举报

发表于 2005-6-1 01:06:00 | 显示全部楼层 来自 浙江杭州
赚钱不容易..大家体谅下吧....HOHO
回复 1 0

使用道具 举报

发表于 2005-6-1 00:50:36 | 显示全部楼层 来自 北京海淀
又不是原创的,从别的地方转来的插件也收钱!!??
回复 1 0

使用道具 举报

发表于 2005-5-31 23:46:50 | 显示全部楼层 来自 江苏无锡
不知道干什么的
回复 1 0

使用道具 举报

游客
回复
您需要登录后才可以回帖 登录 | 注个册吧

快速回复 返回顶部 返回列表