Thread: MOTD Commands
View Single Post
Plugin Info:     Modification:          Category:         
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 05-19-2017 , 14:42   MOTD Commands
Reply With Quote #1



MOTD Commands

Description
  • With this plugin you can easily add chat commands which will display MOTD windows where you can add the server rules, server information, open a website, etc.

Configuring the plugin
  • Each command is added on a new line in the file configs/MotdCommands.ini following one of these formats:
    • <chat command> [MOTD title] = <file.txt>
    • <chat command> [MOTD title] = <HTML code>
    • <chat command> [MOTD title] = <http://your-link-here.com>
  • The default path for the .txt files is the cstrike folder, but you can use any other.
  • The maximum MOTD size is 1536 characters if not using a webpage.
  • You can make specific commands active on specific maps only. Add a section with [mapname] or [map prefix_*].
  • Examples:

    PHP Code:
    /rules rules.txt
    /google http://google.com
    /mymotd My MOTD Title = <b><font color="red">My</font> <font color="green">Cool</font> <font color="blue">MOTD</font></b>

    [
    de_dust2]
    /
    dust2 my dust2 rules

    [cs_*]
    /
    cs my cs_ maps rules

    [#all]
    /asd My Cool MOTD this will work on all maps 

Additional information and download link



__________________

Last edited by OciXCrom; 07-17-2018 at 09:05.
OciXCrom is offline
Send a message via Skype™ to OciXCrom