Raised This Month: $ Target: $400
 0% 

MOTD Commands


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   ALL        Category:   Admin Commands       
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
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:16.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode