Разбираем Mani Admin Plugin
-
- Нович0к
- Сообщения: 16
- Зарегистрирован: 31.08.2008
Ребята создайте пожалуйста отдельные темы: "ПРИМЕР" плагины для мани и переведенных тоже. А то для метамода есть хД
diablo-dead
а для МАНИ нету плагинов!
а для МАНИ нету плагинов!
→
- [»Twilight«]
- Капитан
- Сообщения: 277
- Зарегистрирован: 22.05.2007
- Откуда: "Heaven's Night" Club, 2121 Carroll Street, Silent Hill, ME [Ukraine]
- Контактная информация:
Кстати, кто еще не в курсе Мани собирается зарелизить свой админ плагин open source, и сейчас требуется хорошая команда разработчиков для продолжения разработки плагина. Так что MAP'у, как самому популярному плагину администрирования светит еще долгая жизнь :)
update:
http://code.google.com/p/maniadminplugin
update:
http://code.google.com/p/maniadminplugin
If you are the Receiver of Wisdom, you will understand my words...
- Linkinsonic
- Нович0к
- Сообщения: 21
- Зарегистрирован: 11.06.2009
- Откуда: KZ
- [»Twilight«]
- Капитан
- Сообщения: 277
- Зарегистрирован: 22.05.2007
- Откуда: "Heaven's Night" Club, 2121 Carroll Street, Silent Hill, ME [Ukraine]
- Контактная информация:
Убедись, что Mani загружается или через VDF, или через metaplugins.ini. Если и там и там, то или удали .vdf-файл, или удали строчку пути к Мани в metaplugins.ini.
Тоже самое с Metamod:Source. MM должен быть подключен только или .vdf-файлом, или в gameinfo.txt
Тоже самое с Metamod:Source. MM должен быть подключен только или .vdf-файлом, или в gameinfo.txt
If you are the Receiver of Wisdom, you will understand my words...
Прошу помогите! У меня не появляется меню наказания при убийстве своего члена команды.
команда плагина mani_tk_forgive 1 не помогает((((((. я и 0 пробовал.
что случилось? как можно исправить?
команда плагина mani_tk_forgive 1 не помогает((((((. я и 0 пробовал.
что случилось? как можно исправить?
- [»Twilight«]
- Капитан
- Сообщения: 277
- Зарегистрирован: 22.05.2007
- Откуда: "Heaven's Night" Club, 2121 Carroll Street, Silent Hill, ME [Ukraine]
- Контактная информация:
Напиши свою ОС, версию сервера, версию Мани и выложи конфиг всей секции Module : Team Kill/Wound Protection
Остальные модули работают нормально?
Остальные модули работают нормально?
If you are the Receiver of Wisdom, you will understand my words...
- [»Twilight«]
- Капитан
- Сообщения: 277
- Зарегистрирован: 22.05.2007
- Откуда: "Heaven's Night" Club, 2121 Carroll Street, Silent Hill, ME [Ukraine]
- Контактная информация:
Во-первых, большие куски конфигов/логов надо прятать в спойлер.
[spoiler=""конфиг""]// Module : Team Kill/Wound Protection
//
// Desc : The stats module is a very simple ranking system based on 3 methods of
// calculation (defined in mani_stats_calculate).
// *****************************************************************************
// Enable TK Protection 1 = on, 0 = off
mani_tk_protection 0
// Enable TK Punishment menu 1 = on, 0 = off
mani_tk_forgive 1
// Time allowed after freezetime where spawn protection is enabled
mani_tk_spawn_time 5
// Defines whether bots can run tk punish options on other player (1 = on)
mani_tk_allow_bots_to_punish 1
// Defines whether when tk'ing a bot adds to a players tk violation count
// 0 = off, 1 = on
mani_tk_allow_bots_to_add_violations 0
// Number of tk violations before player is banned
mani_tk_offences_for_ban 20
// Time in minutes for a tk ban, 0 = permanent
mani_tk_ban_time 5
// When set to 1 a player will be slapped and have their view moved when
// team wounding.
mani_tk_slap_on_team_wound 0
// Sets the amount of damage a team wound inflicts on the attacker
mani_tk_slap_on_team_wound_damage 0
// If set to 1 shows opposition team wounds in chat and all team wounds if
// you are spectator, 0 = normal css style
mani_tk_show_opposite_team_wound 1
// Defines whether a players tk violation count is incremented even if
// forgiven (0 = off, 1 = on)
mani_tk_add_violation_without_forgive 0
// Turn on forgive option for tk punishments
mani_tk_allow_forgive_option 1
// Defines whether the blind option can be used on players (1 = on)
mani_tk_allow_blind_option 1
// Amount of blindness for 'blind' punishment (255 = completely blind)
mani_tk_blind_amount 253
// Turn on slap option for tk punishments
mani_tk_allow_slap_option 1
// Turn on tk cash option for tk punishments
mani_tk_allow_cash_option 1
// Amount of health that a player will slapped to
mani_tk_slap_to_damage 30
// Amount of cash to take from a team killer
mani_tk_cash_percent 30
// Turn on freeze option for tk punishments
mani_tk_allow_freeze_option 1
// When set to 1 the Drug option is allowed in the TK Menu
mani_tk_allow_drugged_option 1
// Turn on burn option for tk punishments
mani_tk_allow_burn_option 1
// This defines how long the burn time should be for in seconds for a
// tk punishment
mani_tk_burn_time 100
// Turn on slay option for tk punishments
// 1 = on, 0 = off
mani_tk_allow_slay_option 1
// Main option to turn on damage reflection
// 1 = on, 0 = off
mani_tk_team_wound_reflect 0
// Set the number of team wounds required by a player during the course
// of a map before the reflective damage kicks in
mani_tk_team_wound_reflect_threshold 5
// This value is a damage multiplier that inflicts whatever damage
// (armor loss + health loss) was given to the victim back to the attacker.
// When set to 1.0 the damage is perfectly reflected, set at 2.0
// the damage inflicted back on the attacker will be twice the damage etc.
mani_tk_team_wound_reflect_ratio 1.0
// An addition cvar here increases the reflection ratio each time the player
// teamwounds another player. This is to deter persistent team wounders
mani_tk_team_wound_reflect_ratio_increase 0.1
// This defines whether the tk time bomb option can be used or not
mani_tk_allow_time_bomb_option 1
// This defines the time before the bomb goes off
mani_tk_time_bomb_seconds 10
// This defines the bomb blast radius
mani_tk_time_bomb_blast_radius 1000
// 0 = no beams, 1 = beams on
mani_tk_time_bomb_show_beams 1
// 0 = player only, 1 = players on same team, 2 = all players
mani_tk_time_bomb_blast_mode 2
// This defines whether the tk fire bomb option can be used or not
mani_tk_allow_fire_bomb_option 1
// This defines the time before the bomb goes off
mani_tk_fire_bomb_seconds 10
// This defines the bomb blast radius
mani_tk_fire_bomb_blast_radius 1000
// 0 = no beams, 1 = beams on
mani_tk_fire_bomb_show_beams 1
// 0 = player only, 1 = players on same team, 2 = all players
mani_tk_fire_bomb_blast_mode 2
// Time in seconds that players will burn for
mani_tk_fire_bomb_burn_time 100
// This defines whether the tk freeze bomb option can be used or not
mani_tk_allow_freeze_bomb_option 1
// This defines the time before the bomb goes off
mani_tk_freeze_bomb_seconds 10
// This defines the bomb blast radius
mani_tk_freeze_bomb_blast_radius 1000
// 0 = no beams, 1 = beams on
mani_tk_freeze_bomb_show_beams 1
// 0 = player only, 1 = players on same team, 2 = all players
mani_tk_freeze_bomb_blast_mode 2
// Radius of beep circle, 0 = radius measures the same as the bomb blast,
// default is 256
mani_tk_time_bomb_beep_radius 0
// Radius of beep circle, 0 = radius measures the same as the bomb blast,
// default is 256
mani_tk_fire_bomb_beep_radius 0
// Radius of beep circle, 0 = radius measures the same as the bomb blast,
// default is 256
mani_tk_freeze_bomb_beep_radius 0
// Allow TK Beacon circle tk option
mani_tk_allow_beacon_option 1
// Radius of beacon circle
mani_tk_beacon_radius 384[/spoiler]
Во-вторых, сам не знаешь, что на сервер ставил? Команды version и ma_version .
Ну и главное, конечно меню наказаний не будет показываться, ты же защиту от тимкиллов не включал.
[spoiler=""конфиг""]// Module : Team Kill/Wound Protection
//
// Desc : The stats module is a very simple ranking system based on 3 methods of
// calculation (defined in mani_stats_calculate).
// *****************************************************************************
// Enable TK Protection 1 = on, 0 = off
mani_tk_protection 0
// Enable TK Punishment menu 1 = on, 0 = off
mani_tk_forgive 1
// Time allowed after freezetime where spawn protection is enabled
mani_tk_spawn_time 5
// Defines whether bots can run tk punish options on other player (1 = on)
mani_tk_allow_bots_to_punish 1
// Defines whether when tk'ing a bot adds to a players tk violation count
// 0 = off, 1 = on
mani_tk_allow_bots_to_add_violations 0
// Number of tk violations before player is banned
mani_tk_offences_for_ban 20
// Time in minutes for a tk ban, 0 = permanent
mani_tk_ban_time 5
// When set to 1 a player will be slapped and have their view moved when
// team wounding.
mani_tk_slap_on_team_wound 0
// Sets the amount of damage a team wound inflicts on the attacker
mani_tk_slap_on_team_wound_damage 0
// If set to 1 shows opposition team wounds in chat and all team wounds if
// you are spectator, 0 = normal css style
mani_tk_show_opposite_team_wound 1
// Defines whether a players tk violation count is incremented even if
// forgiven (0 = off, 1 = on)
mani_tk_add_violation_without_forgive 0
// Turn on forgive option for tk punishments
mani_tk_allow_forgive_option 1
// Defines whether the blind option can be used on players (1 = on)
mani_tk_allow_blind_option 1
// Amount of blindness for 'blind' punishment (255 = completely blind)
mani_tk_blind_amount 253
// Turn on slap option for tk punishments
mani_tk_allow_slap_option 1
// Turn on tk cash option for tk punishments
mani_tk_allow_cash_option 1
// Amount of health that a player will slapped to
mani_tk_slap_to_damage 30
// Amount of cash to take from a team killer
mani_tk_cash_percent 30
// Turn on freeze option for tk punishments
mani_tk_allow_freeze_option 1
// When set to 1 the Drug option is allowed in the TK Menu
mani_tk_allow_drugged_option 1
// Turn on burn option for tk punishments
mani_tk_allow_burn_option 1
// This defines how long the burn time should be for in seconds for a
// tk punishment
mani_tk_burn_time 100
// Turn on slay option for tk punishments
// 1 = on, 0 = off
mani_tk_allow_slay_option 1
// Main option to turn on damage reflection
// 1 = on, 0 = off
mani_tk_team_wound_reflect 0
// Set the number of team wounds required by a player during the course
// of a map before the reflective damage kicks in
mani_tk_team_wound_reflect_threshold 5
// This value is a damage multiplier that inflicts whatever damage
// (armor loss + health loss) was given to the victim back to the attacker.
// When set to 1.0 the damage is perfectly reflected, set at 2.0
// the damage inflicted back on the attacker will be twice the damage etc.
mani_tk_team_wound_reflect_ratio 1.0
// An addition cvar here increases the reflection ratio each time the player
// teamwounds another player. This is to deter persistent team wounders
mani_tk_team_wound_reflect_ratio_increase 0.1
// This defines whether the tk time bomb option can be used or not
mani_tk_allow_time_bomb_option 1
// This defines the time before the bomb goes off
mani_tk_time_bomb_seconds 10
// This defines the bomb blast radius
mani_tk_time_bomb_blast_radius 1000
// 0 = no beams, 1 = beams on
mani_tk_time_bomb_show_beams 1
// 0 = player only, 1 = players on same team, 2 = all players
mani_tk_time_bomb_blast_mode 2
// This defines whether the tk fire bomb option can be used or not
mani_tk_allow_fire_bomb_option 1
// This defines the time before the bomb goes off
mani_tk_fire_bomb_seconds 10
// This defines the bomb blast radius
mani_tk_fire_bomb_blast_radius 1000
// 0 = no beams, 1 = beams on
mani_tk_fire_bomb_show_beams 1
// 0 = player only, 1 = players on same team, 2 = all players
mani_tk_fire_bomb_blast_mode 2
// Time in seconds that players will burn for
mani_tk_fire_bomb_burn_time 100
// This defines whether the tk freeze bomb option can be used or not
mani_tk_allow_freeze_bomb_option 1
// This defines the time before the bomb goes off
mani_tk_freeze_bomb_seconds 10
// This defines the bomb blast radius
mani_tk_freeze_bomb_blast_radius 1000
// 0 = no beams, 1 = beams on
mani_tk_freeze_bomb_show_beams 1
// 0 = player only, 1 = players on same team, 2 = all players
mani_tk_freeze_bomb_blast_mode 2
// Radius of beep circle, 0 = radius measures the same as the bomb blast,
// default is 256
mani_tk_time_bomb_beep_radius 0
// Radius of beep circle, 0 = radius measures the same as the bomb blast,
// default is 256
mani_tk_fire_bomb_beep_radius 0
// Radius of beep circle, 0 = radius measures the same as the bomb blast,
// default is 256
mani_tk_freeze_bomb_beep_radius 0
// Allow TK Beacon circle tk option
mani_tk_allow_beacon_option 1
// Radius of beacon circle
mani_tk_beacon_radius 384[/spoiler]
Во-вторых, сам не знаешь, что на сервер ставил? Команды version и ma_version .
Ну и главное, конечно меню наказаний не будет показываться, ты же защиту от тимкиллов не включал.
Код: Выделить всё
mani_tk_protection 1
If you are the Receiver of Wisdom, you will understand my words...
- Linkinsonic
- Нович0к
- Сообщения: 21
- Зарегистрирован: 11.06.2009
- Откуда: KZ
[»Twilight«]
Большое спасибо bro да было прописано в двух местах удалил в metaplugins.ini и все норм..)
Еще вопрос на засыпку: Вот я прописал другу админку в clients через ник и пароль это все правильно я сделал.
Он вел свой админский ник, а пасс как прописать ему??
Большое спасибо bro да было прописано в двух местах удалил в metaplugins.ini и все норм..)
Еще вопрос на засыпку: Вот я прописал другу админку в clients через ник и пароль это все правильно я сделал.
Он вел свой админский ник, а пасс как прописать ему??
- [»Twilight«]
- Капитан
- Сообщения: 277
- Зарегистрирован: 22.05.2007
- Откуда: "Heaven's Night" Club, 2121 Carroll Street, Silent Hill, ME [Ukraine]
- Контактная информация:
Код: Выделить всё
setinfo _password "твой пароль"
Можно прописать в клиентский config.cfg, только конфиг пусть чужим не дает.
If you are the Receiver of Wisdom, you will understand my words...
- Linkinsonic
- Нович0к
- Сообщения: 21
- Зарегистрирован: 11.06.2009
- Откуда: KZ
[»Twilight«]
Все равно пишет ему нет прав. blink
[spoiler=""вот мой client.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" "мой ник"
// Steam IP for client
"ip" "мой IP"
"groups"
{
"Admin" "Serveradmin"
"Immunity" "Serveradmin"
}
}
// This must be a unique client name
"Admin2"
{
// Client real name
"name" "его ник"
// Steam Password for client
"password" "его пасс"
"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"
}
}
}[/spoiler]
Может тут какие то ошибки...
PS: На мой ник админка пашет как положено.
Все равно пишет ему нет прав. blink
[spoiler=""вот мой client.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" "мой ник"
// Steam IP for client
"ip" "мой IP"
"groups"
{
"Admin" "Serveradmin"
"Immunity" "Serveradmin"
}
}
// This must be a unique client name
"Admin2"
{
// Client real name
"name" "его ник"
// Steam Password for client
"password" "его пасс"
"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"
}
}
}[/spoiler]
Может тут какие то ошибки...
PS: На мой ник админка пашет как положено.
- [»Twilight«]
- Капитан
- Сообщения: 277
- Зарегистрирован: 22.05.2007
- Откуда: "Heaven's Night" Club, 2121 Carroll Street, Silent Hill, ME [Ukraine]
- Контактная информация:
У тебя админка поставлена не на ник, а на IP. Твой друг или неправильный пароль вводит, или вводит его неправильно, или делает это после захода на сервер, или же ник у него в это время не "его ник".
Update: Бльо, понял =)
Ник не указан. name - это имя профиля клиента, а не никнейм, по которому авторизация идет. Добавь в clients.txt в секцию друга
Update: Бльо, понял =)
Ник не указан. name - это имя профиля клиента, а не никнейм, по которому авторизация идет. Добавь в clients.txt в секцию друга
Код: Выделить всё
"name" "его ник"
"password" "его пасс"
"nick" "его ник"
If you are the Receiver of Wisdom, you will understand my words...
- Linkinsonic
- Нович0к
- Сообщения: 21
- Зарегистрирован: 11.06.2009
- Откуда: KZ
[»Twilight«]
Я знаю что у меня по IP сделано, это я так написал чтобы ты понял что она вообще работает :)
Все спс)) прописал ему по "nick" и "password" и все заработала :Yahoo!:
Тупо работает Mani насчет админинки на Amx проще во много раз :Search:
Я знаю что у меня по IP сделано, это я так написал чтобы ты понял что она вообще работает :)
Все спс)) прописал ему по "nick" и "password" и все заработала :Yahoo!:
Тупо работает Mani насчет админинки на Amx проще во много раз :Search:
[»Twilight«], спасибо большое, все заработало)))) :Bravo: