Garry's Mod

Garry's Mod

评价数不足
[TTT2] RoleVote
2
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 服务器内容
插件标签: 快乐
文件大小
发表于
更新日期
29.905 KB
2020 年 8 月 4 日 上午 7:49
2024 年 5 月 21 日 上午 10:25
13 项改动说明 ( 查看 )

订阅以下载
[TTT2] RoleVote

描述
RoleVote is an addon for TTT2 that lets the players vote after a map change which of the roles they want to activate/deactivate.

Convars:
- ttt_rolevote_autostart Enable/Disable autostart after map change - ttt_rolevote_voteban 0: The players vote the roles that get activated 1: The players vote the roles that get banned (Default) - ttt_rolevote_none_option Enable/Disable the 'No Role' option - ttt_rolevote_min_players Sets the minimum players that have to be online for RoleVote being active (Default: 7) - ttt_rolevote_count Sets how many roles will be banned/activated (Default: 1) - ttt_rolevote_role_cooldown Sets how many times a role can't be voted on after it has won a vote (Default: 1) - ttt_rolevote_always_active Always activated roles (separated by ",")

Client Convars:
- ttt_rolevote_old_gui Enable the old GUI (Default: 0)

Admin Commands:
- ulx rv_start Starts a vote - ulx rv_end Ends the current vote - ulx rv_cancel Cancels the current vote (without banning/activating a role)

Console Commands:
- rolevote_version Shows the current version of RoleVote - printRoles Prints out all installed roles and shows if they are activated and which roles won the last vote


Source: https://github.com/Blaubeeree/ttt2-rolevote
Icon from: https://github.com/TTT-2/ttt_addon_graphics
7 条留言
Combex 5 月 12 日 上午 4:23 
Thank you for the great add-on!
There's one feature I'd like you to add.
That's the ability to automatically sort by votes.
Voxel | Julia 2021 年 4 月 10 日 上午 11:56 
would be nice to make an option in the admin config to disable the „none“ option
James Bondage 2021 年 2 月 10 日 上午 5:19 
Okay, thanks for the info!
Blaubeeree  [作者] 2021 年 2 月 9 日 上午 12:59 
If you start the vote manual with the ulx command you are able to set a timer. If the vote starts automatically after a mapchange the vote should end when the first round begins, that means you can increase this time by setting `ttt_firstpreptime`.
James Bondage 2021 年 2 月 7 日 上午 9:36 
Nice idea! Would be nice to be able to set a timer, because sometimes the windows dissapears already before everybody is the new round.
sepp 2020 年 8 月 5 日 下午 12:41 
Tested and approved by sepp sepp *insert Anime Emoticon*
Sinsa 2020 年 8 月 4 日 下午 1:57 
Tested and approved by Nep Nep :nepnep: