Force HTML MOTDs (v1.0.1)

Description:

  • This plugin will prevent players from playing on your server (by forcing them into spectate and preventing team changes) as long as their cl_disablehtmlmotd cvar is set to anything other than 0.

  • Designed for Counter-Strike: Source as clients who have this cvar enabled will not see any motd information upon connecting (mainly due to motd_text.txt not working properly). For communities that display all of their rules and general information in their MOTD, this poses a minor issue.

    • Once the client sets their cl_disablehtmlmotd cvar to 0, the motd will be redisplayed and they'll be allowed to join a team.



ConVars:

  • sm_force_html_motd_enable: Enables/disables all features of the plugin.

  • sm_force_html_motd_rate: How often the query runs to check client cvar values.

Installation:
  • Place sm_force_html_motd.smx inside of /sourcemod/plugins/

  • Place sm_force_html_motd.phrases.txt of /sourcemod/translations/
















Attached Files











File Type: txt


sm_force_html_motd.phrases.txt (1.1 KB)


File Type: sp


Get Plugin or
Get Source (sm_force_html_motd.sp - 6.2 KB)


File Type: smx


sm_force_html_motd.smx (8.3 KB)








Orignal From: Force HTML MOTDs (v1.0.1)

No comments

Not a single link is allowed to submit in comment :o