Simple menu votes: Change map, restart map, kick player, custom vote
Note
This plugin is private, Please contact me
此為私人插件, 請聯繫本人
-
Apply to | 適用於
Any Source Game
-
How does it work?
- Type
!votesto open vote menu -> select and start a vote- Change Map
- Restart Map
- Kick Player
- Customize Vote
- Add more custom vote in data/smd_menu_votes.cfg
- To read map list, read cvar below
- Type
-
Require
None -
ConVar | 指令
- cfg/sourcemod/smd_menu_votes.cfg
// 0=Off, 1=On this plugin smd_menu_votes_enable "1" // Players with these flags have kick immune. (Empty = Everyone, -1: Nobody) smd_menu_votes_kick_immue_access "z" // Delay to start another vote after vote ends. smd_menu_votes_delay "60" // Minimum # of players in game to start the vote smd_menu_votes_players_required "2" // Pass vote percentage. smd_menu_votes_pass_percent "0.60" // Which map list should this plugin read? Path relative to game directory // default: addons/sourcemod/configs/smd_menu_votes.txt // Other option: mapcycle.txt smd_menu_votes_read_map "addons/sourcemod/configs/smd_menu_votes.txt"
- cfg/sourcemod/smd_menu_votes.cfg
-
Command | 命令
-
Open Vote Menu
sm_votes
-
Open Custom Vote Menu
sm_cvotes
-
-
Other Version | 其他版本
- l4d2_vote_change: (L4D1/L4D2) New Vote System (use L4D built-in votes UI) + Add custom vote
- (L4D1/L4D2) 新型的投票系統,可自行新增投票 (使用官方內建的投票)
- l4d2_vote_change: (L4D1/L4D2) New Vote System (use L4D built-in votes UI) + Add custom vote
-
Translation Support | 支援翻譯
translations/smd_menu_votes.phrases.txt -
Changelog | 版本日誌
- v1.0 (2025-2-3)
- Initial Release
- v1.0 (2025-2-3)
簡單的投票系統: 換圖、重新地圖、踢人、執行指令
-
原理
- 輸入
!votes打開投票菜單 -> 投票選單表- 換圖
- 重新地圖
- 踢出玩家
- 自定義投票
- 自行新增或修改自定義投票: data/smd_menu_votes.cfg
- 內有中文說明,可點擊查看
- 讀取地圖列表文件,請查看指令說明
- 輸入
-
指令中文介紹(點我展開)
- cfg/sourcemod/smd_menu_votes.cfg
// 0=插件關閉, 1=插件開啟. smd_menu_votes_enable "1" // 擁有這權限的人無法被投票踢出伺服器 (留白 = 任何人無法被踢, -1: 所有人都可以被踢) smd_menu_votes_kick_immue_access "z" // 過X秒後才能再發起投票. smd_menu_votes_delay "60" // 要有X位真人玩家在伺服器內才能發起投票. smd_menu_votes_players_required "2" // 投票通過所需的百分比 smd_menu_votes_pass_percent "0.60" // 地圖列表該讀取哪個文件? (路徑相對於遊戲根目錄) // 預設文件: addons/sourcemod/configs/smd_menu_votes.txt // 其他選項: mapcycle.txt smd_menu_votes_read_map "addons/sourcemod/configs/smd_menu_votes.txt"
- cfg/sourcemod/smd_menu_votes.cfg
-
命令中文介紹(點我展開)
-
打開投票選單
sm_votes
-
打開"自定義投票"選單
sm_cvotes
-









