Просмотреть файл
JailMod - Тюрьма
Описание мода:
Данный мод предназначен для защиты от умышленных смертей игроков с целью респавна в нужном ему месте. Принцип работы: После заданного количества смертей человек попадает в тюрьму в одежде заключенного (в конфиге задается координаты вашей "тюрьмы". Это может быть просто океан или запертая "коробка" на трейд-зоне). После заданного количества времени человек выпускается из тюрьмы путем смерти.
ВИДЕО-ДЕМОНСТРАЦИЯ МОДА Установка:
Данный мод является только СЕРВЕРНЫМ!. Устанавливать необходимо с помощью параметра -servermod=
Разъяснение конфига:
"JailCoordinates" - координаты тюрьмы, куда будет помещен игрок после заданного количества смертей. Можно задавать несколько точек, при этом будет случайным образом выбрана одна из них. (Лучше всего выбрать место в воде, или построить что-нибудь откуда выбраться не получится).
"giveGodModeIfInJail" - давать год мод заключенному, чтобы он не смог убить себя раньше срока (в случае если у вас нет сейв зоны).
"MaxDeathTimer" - максимальное количество время для проверки количества смертей, указывается в секундах. Т.е. если задано например 360 (6 минут), то при первой смерти начнется отсчет. Если в течение 6 минут человек умрет заданное количество раз, то будет помещен в тюрьму.( не рекомендуется ставить больше 10 минут)
"MaxJailTimer" - время пребывания человека в тюрьме, указывается в секундах.
"JailPeriodTimerNotificationToPlayer" - раз в сколько секунд будет отослано игроку уведомление об оставшемся времени пребывания в тюрьме.
"MaxDeaths" - количество смертей, необходимое для попадания в тюрьму в заданное количество времени.
"DeathWarning" - на какой смерти будет предупреждение о запрете умышленной смерти (т.е. если задано "2", то при второй смерти в чат игроку будет выслано предупреждение).
"WarningText" - текст предупреждения о запрете умышленной смерти.
"JailText" - текст уведомления, при попадании игрока в тюрьму.
"JailTimerNotificationText" - текст уведомления для оставшегося времени пребывания тюрьмы (пишется до количества секунд). Пример - Тебе осталось сидеть N
"JailTimerNotificationText2" - текст уведомления для оставшегося времени пребывания тюрьмы (пишется после количества секунд). Пример - Тебе осталось сидеть N СЕКУНД
Description of the mod:
This mod is designed to protect against intentional deaths of players in order to respawn in the right place. The principle of operation: After a given number of deaths, a person goes to prison (the coordinates of your "prison"are set in the config. It can be just an ocean or a locked " box " on the trade zone). After a given amount of time, a person is released from prison by death. VIDEO DEMONSTRATION OF MOD
Installation:
This mod is only SERVER-SIDE. You must install it using the-servermod=parameter.
Explanation of the config:
"JailCoordinates" - the coordinates of the prison where the player will be placed after a given number of deaths. You can set several points, and one of them will be randomly selected. (It is best to choose a place in the water.).
"giveGodModeIfInJail" - to give a year of fashion to the prisoner that he could not kill yourself ahead of time (if you have no save zone).
"MaxDeathTimer" - the maximum amount of time to check the number of deaths, specified in seconds. Ie if for example 360 set (6 minutes), then the first death begins the countdown. If a person dies a specified number of times within 6 minutes, he will be placed in prison.
"MaxJailTimer" - the time of a person's stay in prison, specified in seconds.
"JailPeriodTimerNotificationToPlayer" - once in how many seconds a notification about the remaining time in prison will be sent to the player.
"MaxDeaths" - the number of deaths required to get into prison in a given amount of time.
"DeathWarning" - on which death there will be a warning about the prohibition of intentional death (i.e. if "2" is set, then a warning will be sent to the player in the chat for the second death).
"WarningText" - the text of the warning about the prohibition of intentional death.
"JailText" - the text of the notification when the player gets into prison.
"JailTimerNotificationText" - notification text for the remaining time of the prison stay (written before the number of seconds).
"JailTimerNotificationText2" - notification text for the remaining time of the prison stay (written after the number of seconds).
Автор
thessend
Добавлен
21.07.2021
Категория
Скрипты, моды, карты и т.д.