Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

readme.md

Description | 內容

Spectators can not call official vote and not eligible to vote (F1/F2)

Note
This plugin is private, Please contact me
此為私人插件, 請聯繫本人

  • Apply to | 適用於

    L4D1
    L4D2
    
  • Image | 圖示

    Before (裝此插件之前) After (裝此插件之後)
    spectator_block_vote_1_before spectator_block_vote_1_after
  • How does it work?
    • (Before)
      • Spectators can call official vote (ESC->CALL A VOTE)
      • Spectators can press F1/F2 to vote yes/no
    • (After)
      • Spectators are unable to call official vote (ESC->Call vote)
      • Spectators are unable to press F1/F2 to vote yes/no
    • This plugin does not affect custom votes from other plugins
    • If you want to allow spectators to vote, type !specblock
  • Require | 必要安裝

    1. [INC] Multi Colors
    2. builtinvotes
  • ConVar | 指令
    • cfg/sourcemod/spectator_block_vote.cfg
      // 0=Plugin off, 1=Plugin on.
      spectator_block_vote_enable "1"
      
      // Delay to start another vote when use !specblock.
      spectator_block_vote_delay "60"
      
      // Numbers of real survivor/infected required to start a vote when use !specblock.
      spectator_block_vote_required "1"
  • Command | 命令
    • Calls a vote to enable/disable Spec Block Vote
      sm_specblock
  • Translation Support | 支援翻譯

    translations/spectator_block_vote.phrases.txt
    
  • Changelog | 版本日誌
    • v1.0h (2025-8-4)

      • Remake code
      • Add cvars, cmds, translations
      • Only block official vote
      • Use builtinvotes to detect if vote is from other plugins
      • Prevent conflict with other custom vote from other plugins
    • Credit & Original


中文說明

禁止旁觀者參與官方的投票,移除旁觀者的投票資格

  • 圖示

    • 旁觀者可以在聊天框輸入!hear開啟或關閉 監聽模式
      l4d_versus_specListener_1_zho
  • 原理

    • (裝此插件之前)
      • 旁觀者可以發起官方投票 (ESC->發起投票)
      • 旁觀者可以按F1/F2參與官方投票
    • (After)
      • 旁觀者禁止發起官方投票 (ESC->發起投票)
      • 旁觀者不能按F1/F2參與官方投票
    • 此插件不會影響其他插件生成的自定義投票
    • 如果你想要旁觀者能參與投票,請輸入 !specblock
  • 指令中文介紹 (點我展開)
    • cfg/sourcemod/spectator_block_vote.cfg
      // 0=關閉插件, 1=啟動插件
      spectator_block_vote_enable "1"
      
      // 使用!specblock投票的間隔時間
      spectator_block_vote_delay "60"
      
      // 使用!specblock投票的所需的真人倖存者與特感玩家數量
      spectator_block_vote_required "1"
  • 命令中文介紹 (點我展開)
    • 開/關 旁觀者可以參與投票
      sm_specblock