22 Окт 2010, 12:35
Просмотров: 7726
Печать

mani_admin_plugin_stable_sign

 

??????, ????? ? ??? ???? ????????????? ? ?????????? ??????, ??? ???? ??????????? ????????? ??? ?????????????????. ?? ??????, ??? ?????????? Valve ????????? ????????????????? ?? ??????? ??? ????????, ??? ? ????????? ????????????????. ??? ???, ???? ?? ?????? ????????? ?????????? ??????????? ????????, ??? ????? ????????? ??????.

????? ???????? ??????????? ?????-????????? ???????? Mani Admin Plugin ? BeetleFart MinimumAdmin Mod. ? ???????? ??? ?????? ? ?????? ? ???? ????????? ??????:

- ? Mani Admin Plugin ? ?????? ??????? ??????, ? ?????? ???? ?????????? ? ??? ?????
- ????? ??? ???????, ??? Mani ???????? ????? ??????? ????????????????? ? ?????????
- Mani ???????? ????? ???????????????? ?????-???????? ? ???? (?? ?????? ?????? ????? ???????? ???? Counter-Strike: Source ???????? ???????? ??? ??????????? Mani).
- ?????? ?????????? ???????????, ???????? ??? ??????? ?????????????????
- ????? ??????? ?????????????? ? ?????? ?????????? ? ????? ???????????? ??????? ???????? ???????
- ? ???? ?? ????? ??????? ?????? ????????????? ???????

??????, ??? ??????? ? ???????? ?????????, ???? ????????, ??? ????????? ???????? ???? ???????? ??????? ????????? ????? (?????? ???????? ??????????? ?????) ?????? ?? ???????????? ???????. ?????? ? ?????? ???????? ??? ????????????? ??????, ??? ????????? ????????? ? ????? ???????????????? ????? ?? ??? ????????.

I. ?????????

?????? ????? ?????????? ??????? ????????? ?????? ???????.

????, ??????? ?? http://mani-admin-plugin.com ???????? ???? ?? ?????? ??????? ? ?????? ? ???????? ?????? ?????? ??????? ??? ????? ???? ?? ?????? ??????.
????????? ???? ?? ????????? ?????????? ? ????????????? ???. ?????????? ???????? ?????? ????????? ????? ???????, ??????? ?????????? ? ????? ???? (? ???? ????????? ??????? ?? ?????? Counter-Strike: Source, ??????? ????? ???? ????? cstrike).
??? ????????? ??????? ?? ??????, ?????? ?????????? ???????????? ????????? ? ?????, ??? ?????????? ??????.

??????: ?? ??????????? ?????? ? ????? c:\temp\mani, ? ?????? ????? ? ????? c:\server. ??? ????? ??????????? ????? c:\temp\mani\cstrike ? ????? c:\server ?????? ??? ???????????? ???.

???? ?? ??? ??????????? ?????, ?? ? ????? c:\server\cstrike\addons ? ??? ???????? ????? mani_admin_plugin.dll ? ?.?.

????????????? ??????. ??????? ? ??????? ??????? plugin_print - ?? ?????? ??????? ?????? ????????, ????? ??????? Mani Admin Plugin. ???? ?? ??????? - ????????? ????????? ?? ??????????? ?????.

2. ????????

?????? ???????? ? ???????? ????, ??? ?????? ?? ?????? ??????:

????? cstrike\addons:
mani_admin_plugin.dll - ?????????? ???? ??????? ??? Windows
mani_admin_plugin.vdf - ????, ??????????? ??????? ?????? ?????????? ?????????? ??????
mani_admin_plugin.so - ???? ??????? ??? Linux (???? ?? ?????????? ?????? ??? Windows, ???? ???? ????? ???????)

????? cstrike\addons\mani_admin_plugin\bin:
mani_admin_plugin.dll ? mani_admin_plugin.so - ??? ?????????? ??????? ??? SourceMM ??? Windows ? Linux ??????????????. ???? ?? ?? ??????, ??? ????? SourceMM ??? ?? ?????? ??? ???????????? - ?????? ?????? ??????? ??? ?????

????? cstrike\cfg:
autoexec.cfg - ???? ???? ?? ??????????? ?????? ???????, ? ???????? ???????????????? ?????? ???????, ???????????? ??? ?????? ???????. ? ??????? ??????? 1.2 ?? ?? ???????????? (? ????????? ??????? ??????? ?? ????? ?????? ?? ??????).
mani_server.cfg - ???????? ???? ????????? ???????. ???? ?? ???? ???????? ?????? ??????, ?????? ? ??? ??? ???????? ???????? ?????? ?????.
????? cstrike\cfg\mani_admin_plugin:
actionsoundlist.txt - ? ???? ????? ????????? ????????, ??? ??????????? ??????? ???? ??????? ????????????? ???????????? ???????? ???? (???????? ???? ?? ??????, ?????? ??????????? ? ?.?.)
adverts.txt - ? ???? ????? ?? ?????? ?????????? ????????? ???????, ??????? ????? ????????????????? ?? ???????
cexeclist_all.txt - ? ???? ????? ?? ?????? ???????? ?????? ?????????? ???? ? ??????????????? ?? ???????. ??? ?????? ???? ??????? ????, ??????????????? ??????? ????? ????????? ?? ???? ????????
cexeclist_ct.txt - ? ???? ????? ?? ?????? ???????? ?????? ?????????? ???? ? ??????????????? ?? ???????. ??? ?????? ???? ??????? ????, ??????????????? ??????? ????? ????????? ?? ??????? CT
cexeclist_player.txt - ? ???? ????? ?? ?????? ???????? ?????? ?????????? ???? ? ??????????????? ?? ???????. ??? ?????? ???? ??????? ????, ??????????????? ??????? ????? ????????? ?? ????? ????????? ???? ??????
cexeclist_spec.txt - ? ???? ????? ?? ?????? ???????? ?????? ?????????? ???? ? ??????????????? ?? ???????. ??? ?????? ???? ??????? ????, ??????????????? ??????? ????? ????????? ?? ???? ???????????
cexeclist_t.txt - ? ???? ????? ?? ?????? ???????? ?????? ?????????? ???? ? ??????????????? ?? ???????. ??? ?????? ???? ??????? ????, ??????????????? ??????? ????? ????????? ?? ??????? T
chattriggers.txt - ? ???? ????? ????????????? ????????? ???????????? say ??????. ??? ??????? ??? ?????????????? ????? ??????????? ????????? ???? rank, top10 ? ?.?. ?? ?????? ?????????, ??? ??????? ????? ??????????? ????????? (?? ??????????? ? ???? ? ?? ?????????), ??????????? ?????? ? ???? (?? ??????????? ? ????, ?? ?????????, ?? ???? ?????? ??????? ????? ?? ???????/???????) ??? ??????????? ? ???? ???????????? ?????????? ??? (???????? ????? ???????????? ? ???? ?????? 10-? ???)

clients.txt - ?????? ???????, ????? ? ????????, ??????? ?????????. ?????? ????? ?????? ???? ? ???????

commandlist.txt - ? ???? ????? ?? ?????? ????????? ??????????? say ???????. ???????? ???????, ????? "say @rr" ????????? ??????? "mp_restartgame 1"
crontablist.txt - ??????? ??????????? ????????. ?? ?????? ????????? ?????? ??????????????? ?????????? ???????????? ?????? ?? ???????
database.txt - ????? ???????? ????????? ??????? ? ???? ??????
decallist.txt - ????? ????????? ?????? ????????????? ???????, ??????? ????? ???????????? ???????? ? ?????????????? ??? ?????? ma_effects ??? ??????????? ??????? ? ????
default_weapon_restrictions.txt - ? ???? ????? ???????? ??????? ?? ??????, ??????? ????? ??????????? ?? ???? ?????? ?? ???????
downloads.txt - ? ???? ???? ????????? ????? ?????, ??????? ?? ?????? ???????? ?? ????????
flaglist.txt - ?????? ????????? ??????. ???? ?????? ????????????? ??? ?????????? ? ???????????????? ?? ?????
gametypes.txt - ????????? ???? ???????, ???????????? ?????????????? ??????????? ??? ?????? ??? ? ?????.
gimpphrase.txt - ? ???? ????? ???????? ?????, ?? ??????? ????? ?????????? ????? ??? ????????? "?????????" ?????? (????????????? ??????? ma_gimp)
mapadverts.txt - ? ???? ????? ???????? ????????? ????????? ? ??????? ??? ??????????? ??????? ?? ??????
pingimmunity.txt - ? ???? ????? ???????? STEAMID ??? ip ?????? ????????, ??????? ????????? ? ???????????? ?? ?????
rconlist.txt - ? ???? ????? ?? ?????? ????????? ?????? ?????????? ???? ? ??????????????? ?? rcon ???????. ??? ?????? ???? ??????? ????, ?? ??????? ?????????? ??????????????? rcon ???????
reserveslots.txt - ? ???? ????? ???????? STEAMID ??? ip ?????? ????????, ?????????? ?????????? ??????? ?? ??????? (?????? ???????? ??? ?? ????????? ? ? ???? ?????? ?? ??????? ?? ????)
restricted_weapons.txt - ?????? ??????, ??????? ?????? ????? ????????? ????? ????
soundlist.txt - ?????? ??????? ? ??????????????? ?? ???????? ??????, ??????? ????? ????????? ?? ????????
spawnpoints.txt - ?????? ?????????????? ????? ???????? ?? ??????. ??????? ??? ????????, ?? ??????? ?????????? ?????? ????, ??? ?????????? ??????????? ????? ???????? ?? ???????????? ??????
texturelist.txt - ?????? ???????, ??????????? ??? ????????????? ???????? ????? ma_effect.
votequestionlist.txt - ?????? ??????? ???? ? ??????????????? ?? ???????? ??? ???????????. ??? ?????? ?????? ???? ????? ???????? ??????????? ? ??????????????? ????????
voterconlist.txt - ?????? ??????? ???? ? ??????????????? ?? rcon ??????. ??? ?????? ?????? ???? ????? ???????? ??????????? ?? ?????????? ??????????????? rcon ???????.
votemaplist.txt - ?????? ????, ?? ??????? ????? ?????????? ?????? ??? ??????????????? ????????? ? mani_server.cfg. ???? ???????????? ????????????? ??? ?????? ??????? ???????, ? ??????????????? ?????? ??? ???.
webshortcutlist.txt - ?????? ??????? ? ??????????????? ?? URL ???????. ??? ?????????? ?????? ????? say ? ??????? ????????? ??????????????? ????? ?? ?????????? ? ???? ????????
wordfilter.txt - ?????? ??????????? ????, ??????? ????? ????????????? ? ????

????? cstrike/cfg/mani_admin_plugin/language:
english.cfg - ???? ???? ???????? ?????, ??????? ????? ???? ????????? ?? ?????? ?????. ???? ???? ????????? ??? ?????? ??????? ? ?????? ??? ???????? ?? ?????????????
language.cfg - ? ???? ????? ??????????? ????, ?? ??????? ????????? ??????. ???? ? ??? ??????? ??? ????, ???????? ?? english, ? ???? ?? ????? ?????? ???? ??????????????? cfg ????. ????????, ???? ? language.cfg ??????? russian, ?? ? ???? ?? ????? ?????? ?????????? ???? russian.cfg.

????? cstrike/cfg/mani_admin_plugin/mani_logs:
? ???? ????? ???????? ???? Mani ???????, ???? ??????????????? ????????? ??????? ? mani_server.cfg

????? cstrike/cfg/mani_admin_plugin/map_config:
? ???? ????? ???????? ??????? ? ??????????? Mani, ???????????? ??? ???????????? ?????. ??????? ?????? ?????????? ???_?????.cfg. ????????: de_dust2.cfg

????? cstrike/cfg/mani_admin_plugin/restrict:
? ???? ????? ???????? ??????? ??????????? ??????, ????????????? ??? ?????????? ????. ???? ?????? ?????????? ???_?????_restrict.txt

????? cstrike/cfg/mani_admin_plugin/skins:
? ???? ????? ???????? ????????????? ????? ? ????? ???????? ? ???

????? cstrike/cfg/mani_admin_plugin/data:
??? - ????????? ?????.

????? cstrike/materials/decals/custom/mani_admin_plugin:
? ???? ????? ???????? ????????, ??????? ?? ?????? ???????????? ??? ??????????? ??????? ?? ??????? ??? ?????? ?????.

????? cstrike/sound/admin_plugin:
? ???? ????? ???????? ?????, ??????? ???????????? Mani ????????.

3. ?????????

???????????? ? ???, ????? ???? ?? ??? ????????, ????? ??????? ? ????????? ???????.
?????? ????? ??? ?????????? ????????? ??????? ???? mani_server.cfg ? ???????????? ? ????????? ???????????.
??? ????, ????? ????????? ?????????????, ?????????? ???????? ? ????? ????? server.cfg ?????? "exec mani_server.cfg"

????? ?????????? ????????? ???????. ??? ?????? ?????????? ?? ?????????? ????? clients.txt (????? ? ????????????? ?????, ?? ???????? ??? ? ???? ????? ?? ????????):
??? ????????? ????????? ??????? ???? ???????????. ?? ????? ?????? ??? ?????? ???????.
????????? ?????? ????? ??? ?????????? ??????? ???????, ??? ??????, ?? ? ?????????? - ???????.
?????? ????? ???? ? ????? ????? ? ??????? ? ?????? "admingroups". ??? ????????? ?????? ???????. ??? ??????? ???????, ??? ????????? ??? ????? ?? ??????? ??????.
? ??????? ?? ?????? 1.1.? ?? ????????? ??? ?????????, ? ???????? ????? (?????) ?? ???????? ?????, ? ????. ?????? ??????? ?????? (????? ?????????? ????????? ????? ??????):
"???_??????" "? ? ? ? ? ? ? ? ? ? ? ?"
???? admin ????????? ??? ????????? ????????? ????. ??? ???? ??????? ? ????????????????? ?? ????? ?????????? ?? ?????? ??????.
???? client ???? ?????? ? ?????????? ??????? ???????
???? pban ???? ?????? ? ???????????? ?????
???? spray ???? ?????? ? ???????????? ?????? ???????
???? grav ???? ?????? ? ????????? ??????????
?????? ?????? ?????? ?????? ? ????? flags.txt
???????????? ? ???????? ????????? ? ???????:
??? ?????? ????????????? ? ?????? "players".
?????? ???? - ID, ??????????? ?????? ?????? ?? ???????. ?? ????? ???? ???????????????? ?????, ??? ??? ??????? ??? ???????? (??????: admin1 - ???????, ???????????, Vasya Pupkin - ???????).
?????? ???? ?????????:
"name" - ???????? ??? ? ?????? ??? ??????
"steam" - SteamID ??????
"admingroups" - ?????? ??????
"immunityflags" - ????????? ??????????
"adminflags" - ????????? ??????? ? ????????? ???????? (?????????? ????, ??? ?? ?????? ? ???????)
"ip" - ip ????? ?????? ???? ?? ?????? ????????? ??????? ?? ???????
"nick" - ??? ??????, ???? ?? ?????? ????????? ??????? ?? ?????
"password" - ?????? ?????? (???????????? ?????? ??? ?????????? ?? ?????)
????? ?? ??????????, ????? ??????, ????? ????????? ????????? ????????.
?????? ?????????? ?????????? ???????:
?????? 1: ??????????
??? ???????? ?? ?????????? ???????, ????? ?????? ????? ?? ???? ??? ? ??????? ??????? ? ??????? ??????? ma_client ? ma_clientgroup.
????????? ??? ??? ?????????? ??? ??????? ???, ?.?. ?????????? ????? ???? (?????? 2) ???????? ??????, ???? ???????? ???? ?? ???? ?????.
????????? ? ???????? ????, ??? ??? ?????? ?????? ??????? ?????????????????? ??????, ??????? ??????? ?????? ? ?????? ????????, ?????? ??????, ????????????? ??? SteamID, ???????? ??? ? ?????? ? ???? ?????? ????????? (+# ??? ?????????? ?????? ???????? "??? ?????", ?????????????? ????? ??????????? ?? ?????? "+a +b +c":
ma_clientgroup addagroup "Full Access" "+#"
ma_client addclient "Nickname"
ma_client addsteam "Nickname" "STEAM_0:0:10065043"
ma_client setaflag "Nickname" "+admin +client"
ma_client addagroup "Nickname" "Full Access"
ma_client setiflag "Nickname" "+#"

?????? 2: ????? ????
??? ??? ???????????. ???????? ???? ???????, ???????? ?? ??????, ????????? ????????? ???? (??????? admin) ? ?????????? ??????? ?????? ??????????? ? ????.

?????? 3: ???? ? ??? ???? ????? ?????? ?????? ??????? (1.1.?):

????????? ??????  ? ????????? ??????. ????? ?????? ??????? ????????? ????? adminlist.txt, admingroups.txt, immunitylist.txt ? immunitygroups.txt ????????????? ???????? clients.txt (? ??????? ?????? ???????? ?????? ?? ???????) ? ??????? ? ?????????? ?????? ?????? .old. ???

?????: ?????? ?????? ?? ????, ?????? ?????? ??? ???
??????: ???????? ?????? ???? ???. ?????? ?? ????, ????? ??????? ??????? ????????? ? adminlist.txt, ??????? clients.txt, ????????????? ?????? ? ????????? ??????? ???????? clients.txt ?????? ??? ?????? ?????????? ??????... ?? ???????????, ??? ??????.

C????? 4: ??????? clients.txt ?? ???????:

"clients.txt"
{
"version" "1"

// This key group lists all your client players
"players"
{
// This must be a unique client name
"Admin1"
{
// Client real name
"name" "nick"
// Steam ID for client
"steam" "STEAM_0:1:1"
"groups"
{
"Admin" "Serveradmin"
"Immunity" "Serveradmin"
}
}
}

// These are global groups of flags that can be assigned to clients
"groups"
{
"Immunity"
{
"Serveradmin" "a b c d e f g h i j k l m n o p q r s t u v x y afk ping autojoin grav Immunity"
"Clanmember" "a b c k n p ping grav autojoin Immunity"
"Teamadmin" "b k n ping Immunity"
"No Kick Ban" "b k Immunity"
"NoFun" "d f g i j l t Immunity"
}
"Admin"
{
"Serveradmin" "A B C D E F G H I J K L M N O P Q R S T U V W X Y Z a b c d e"
"Serveradmin" "f g i k l m o p q q2 q3 r s t v w x y z admin client grav pban spray"
"Clanmember" "B D F H I K M N O Q R S T U V W X Y Z a b c d f g i j k l m o p s t v w y admin pban"
"Teamadmin" "I O V a b k l o p v w admin"
"Level 2 Access" "A B C D E F G H I J K L M N O P Q R S T U V W X Y Z a c d e"
"Level 2 Access" "f g i j k l m o p q r s t v w z admin spray grav pban client"
"No Rcon Or Sound" "A B C D E F G H I J K L M N O P Q R S T U V W X Y Z a b c d"
"No Rcon Or Sound" "e f g i j k l m o q s t v w x y z admin spray grav pban"
"No Rcon Or Sound" "client"
}
}
}
 michaeltasche