Garry's Mod
Оценок: 88
Simple Votekick
   
Наградить
В избранное
В избранном
Удалить
Тип Контента: Дополнение
Тип Дополнения: Инструмент
Метки Дополнений: Развлечение, Ролевая игра
Размер файла
Добавлен
Изменён
38.807 KB
17 апр. 2017 г. в 1:43
11 мая. 2022 г. в 7:30
Обновлений: 3 (просмотреть)

Подпишитесь, чтобы загрузить
Simple Votekick

Описание
Back in 2017 I made my first attempt at a vote kicking system. It wasn't precisely the best, so I've decided to remake it.

Simple Votekick is a basic voting tool for players to kick griefers in the absence of administrators.

Opening the voting menu
You can either:
  • Q menu > Options > DyaMetR > Simple Votekick > Open voting menu
  • Typing !votekick in chat.

Customizing voting methods
Clients can customize how they vote by going to Q menu > Options > DyaMetR > Simple Votekick.
  • Use key binds to vote
    Toggles key binds. If disabled, it will require the player to type either !yes or !no in chat.
  • Vote yes
    Key used to vote positively during an active vote.
  • Vote no
    Key used to vote negatively during an active vote.

Server configuration
For listen servers you can access options by going to Q menu > Utilities > DyaMetR > Simple Votekick.
  • From here, admins can also abort a vote if they deem it to be abusive by clicking Abort current vote.

For dedicated servers here's the full list of console variables:
  • sv_votekick - Enables the addon. Disabling it during a vote will cancel it.
  • sv_votekick_immuneadmins - Doesn't allow players to vote admins off.
  • sv_votekick_bantime - How many minutes is a player banned when voted off.
  • sv_votekick_votetime - How many seconds does a voting last for.
  • sv_votekick_cooldown - How many minutes does a player need to wait before calling another vote.
  • sv_votekick_minvotes - Minimum percentage of players that need to partake in the voting for it to be valid.
  • sv_votekick_minplayers - Minimum amount of players required for a vote to be called.

Source code[github.com]

Have fun!
Популярные обсуждения Просмотреть все (2)
0
11 мая. 2022 г. в 7:55
ЗАКРЕПЛЕНО: New bug report thread
DyaMetR
Комментариев: 15
boogey man 2 11 июл в 11:26 
lambda player support?
weedshot 14 мар. 2023 г. в 13:07 
half life 2 deathmatch style
DyaMetR  [создатель] 14 мар. 2023 г. в 6:41 
@Caboosie
Only on the console though. When someone starts a vote, it prints a message telling who started it, who is being voted off and the reason.
wsBoogie 14 мар. 2023 г. в 6:32 
does this by chance log the person creating the vote?
weedshot 20 янв. 2023 г. в 17:56 
zeta player support?
ChaozRage 3 мая. 2019 г. в 12:21 
Okay, good to know.
DyaMetR  [создатель] 3 мая. 2019 г. в 12:14 
@Pvt. Oinks
Probably I should put it also in the addon instead of just the description.
DyaMetR  [создатель] 3 мая. 2019 г. в 12:13 
@Pvt. Oinks
Minutes.
ChaozRage 3 мая. 2019 г. в 9:25 
Is the ban time measured in hours, minutes, or seconds?
DyaMetR  [создатель] 24 апр. 2019 г. в 0:29 
@DDG Patrick the Legendary
This is for people who don't have ULX or anything of the sorts lmao. It'd be kinda redundant.