搜索
查看: 15793|回复: 31

【CS:S服务器管理插件】BeetleFart Minimum Admin Mod【05年4月26日更新】

[复制链接]
发表于 2005-3-1 17:17:15 | 显示全部楼层 |阅读模式 来自 中国–北京–北京
这个插件比MAP老很多,并且功能强大,版本也较为稳定,强烈推荐。

原产地、英文详细说明:
http://www.beetlesmod.com/forums/

北京时间2005年3月28日更新

Heres the readme text from the file:
I took the basic example plugin dll from the sdk and
added the following commands in it:


@ban (admin_ban also) <targetname> <minutes> (permanant if none specified)
@banip (admin_banip also) <targetname> <minutes>(permanant if none specified)(bans steamid also)
@kick (admin_kick also) <targetname>
@say (admin_say also) Text to have server print
@map (admin_map also) mapname
@alltalk (admin_alltalk also) 1/0
@slay (admin_slay also) <targetname>
@ip (admin_showip also) <targetname> (shows ip address for target)
@timelimit (admin_timelimit also)<minutes> Sets the Timelimit to
@nextmap (or admin_nextmap) Ends the current map by setting


because unicode names are very annoying to type etc I typically dont not allow
unicode names on my server of more than 3 characters so I added a console varible
to allow the server to reject unicode names with more than 3 unicode characters in it
AllowUniNames 1/0 defaults to 1 to allow all names.
AllowPercentNames 1/0 defaults to 1 to allow all names otherwise kicks ppl with a % in there name.

The Admins are listed in admins.txt file located in the
Addons folder. There are no levels of admin. If there steamid is in
the list they are an admin.
Dont put anything in list but the steamid i.e.
steam_0:1:111111
steam_0:1:222222
192.168.1.100:27005


A maximum of 64 admins.

The intent of this admin dll is strickly to hold people over until a full Version
admin dll is available in a month or two.
Rcon commands are the pits!

I put the serverplugin_empty.dll and the serverplugin_empty.vdf and the admins.txt
file all directly in the addons folder.

in my vdf file is this:
"Plugin"
{
"file" "../cstrike/addons/serverplugin_empty"
}


[EDITED And UPDATED]
I fixed a problem with the Banning (STEAMIDS were in quotes)(IP'S HAD PORTS)

I added the following Commands:
admin_help (@help also) displays all commands
admin_execclient (@execclient also) executes command on client
admin_chat (@chat also) send message to all admins
admin_list (@list also) list all admins
admin_psay (@psay also) send message to client
admin_showips (@showips also) lists all clients ips
admin_changeteam (@changeteam also) changes client to opposite team

admin_votemaps (@votemaps also) initates a 5 map mapvote
admin_votemap (@votemap also) <mapname> initates a single map mapvote
admin_votekick (@votekick also)<targetname> initiates a kick vote against <target>
admin_cancelvote (@cancelvote also) cancels all voting
admin_fart (@fart also) <targetname> gives player gas making them give away there position (once).
admin_relieve(@relieve also) <targetname> gives relief from gas to target.
admin_dropbomb(@dropbomb also)<targetname> makes target drop the bomb is they have it.

added Repeating till death or round_end to admin_fart.

made admin_ban,admin_banip,admin_kick,admin_execclient,admin_chat,admin_psay
console commands for server.

the existing commands were:
admin_ban (@ban also) ban steamid of client by minutes or permanant
admin_banip (@banip also)ban both steamid and ip address
admin_alltalk (@alltalk also) turn alltalk on or off 1/0
admin_slay (@slay also) kill client
admin_say (@say also) send message to all clients
admin_kick (@kick also) kick a client
admin_map (@map also) changelevel to map


I modified the findplayers to allow it to find players by ID as well as steamid and names or partialnames.


targetname can be a partial unique name, a server ID with or without # infront of it, or a steamid in quotes.



[EDITED AND UPDATED]
I have updated the serverplugin_empty.dll
by fixing a bug with admin_psay and admin_chat
sending the message to the person sending instead of the reciepients.
I have added weapons restriction capabilities via Console CVars.

Weapons restrictions

Weapons are restricted via Console Variables
To restrict a weapon for both teams restrict it with a 1.
To Restrict a weapon for T's only restrict it with a 2.
To Restrict a weapon for CT's only restrict it with a 3.
Because of the Autobuy mechanism autobuying has to be disablable also.
Set the cvar Autobuying to 0 to stop autobuys.
I have added code to have the server exec a <MapName.cfg> file from
the cfg folder and execute that so that different weapons can be restricted
on different maps.
To restrict weapons on de_dust create a de_dust.cfg and put it in the cfg folder.
There is a defaults.cfg file, put that in the cfg folder if you want it to turn all
restrictions off each map. That gets executed before the mapname.cfg file.

Restrictglock 1
RestrictUsp 1
RestrictP228 1
RestrictDeagle 1
RestrictElite 1
RestrictM3 1
Restrictxm1014 1
Restrictmac10 1
Restrictmp5navy 1
Restrictump45 1
Restrictp90 1
Restricttmp 1
Restrictgalil 1
Restrictak47 1
Restrictsg552 1
Restrictg3sg1 1
Restrictawp 1
Restrictfamis 1
Restrictaug 1
Restrictsg550 1
Restrictnightvision 1
Restricthegrenade 1
Restrictsmoke 1
Restrictflash 1
Restrictdefuser 1
Restrictvest 1
Restrictvesthelm 1
Restrictscout 1
Restrictm4a1 1
RestrictPrimAmmo 1
RestrictSecAmmo 1
Restrictm249 1
Restrictfiveseven 1
autobuying 0



If you put the included defaults.cfg file in with the server
it will turn all restrictions off.
If you want a weapon permanantly restricted either delete
defaults.cfg or change the weapon restriction in there.
It is executed every map.


以后一定补充详细说明,已经在用它的朋友,如果愿意,也可以把经验和大家说说^^

为了中国的CS:S服务器发展尽一份力.

本帖子中包含更多资源

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

×
 楼主| 发表于 2005-3-1 17:17:55 | 显示全部楼层 来自 中国–北京–北京
占领2楼....>_<
回复

使用道具 举报

发表于 2005-3-1 17:40:55 | 显示全部楼层 来自 中国–福建–福州
不觉得功能上会比mani-admin-plugin强,起码没有排名功能,虽然mani的排名功能还是比较弱。
回复

使用道具 举报

 楼主| 发表于 2005-3-1 17:53:29 | 显示全部楼层 来自 中国–北京–北京
呵呵,多元化,多元化

多接触接触,哈哈

MAP v1.0.10h你更新了吧?
回复

使用道具 举报

发表于 2005-3-1 18:01:21 | 显示全部楼层 来自 中国–福建–福州
更新了,mani的更新速度太快。
回复

使用道具 举报

发表于 2005-3-1 19:15:09 | 显示全部楼层 来自 中国–福建–龙岩
Post by BoeZombie
呵呵,多元化,多元化

多接触接触,哈哈

MAP v1.0.10h你更新了吧?

发送到交流FTP了么?:13:
回复

使用道具 举报

 楼主| 发表于 2005-3-1 19:28:39 | 显示全部楼层 来自 中国–北京–北京
就是下午先发到FTP里的。
回复

使用道具 举报

发表于 2005-3-5 13:23:05 | 显示全部楼层 来自 中国–广西–玉林–博白县
我昨天去下了H 版了。。。。晕四
回复

使用道具 举报

 楼主| 发表于 2005-3-7 10:23:02 | 显示全部楼层 来自 中国–北京–北京
BeetleFart Minimum Admin Mod 更新

[UPDATED]03/06/2005(北京时间3月7日) 1.0.1.43
Added Bot Error detection where bots just keep loading and getting an error verifying steam ticket...and kick bots when that happens to prevent server crash.
added Colors to @tsay and Advertisements use white,red,green,blue,cyan,magenta,yellow as the first word of @tsay or advertisement to use that color.
回复

使用道具 举报

发表于 2005-3-15 18:00:55 | 显示全部楼层 来自 中国–河南–焦作
好呀!一段时间没来,变化真大!!
回复

使用道具 举报

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

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