Raised This Month: $12 Target: $400
 3% 

[INS] Message Of The Day - Insurgency


Post New Thread Reply   
 
Thread Tools Display Modes
Author
InsurgencyANZ
Junior Member
Join Date: Apr 2015
Location: Melbourne, Australia
Plugin ID:
4611
Plugin Version:
2.0
Plugin Category:
All
Plugin Game:
Insurgency (2014)
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Displays the server MOTD window upon joining the server
    Old 04-19-2015 , 08:08   [INS] Message Of The Day - Insurgency
    Reply With Quote #1

    Message Of The Day [MOTD] for Insurgency (2014)

    CREDITS
    woklex - Discovered their connmotd.smx plugin after making version 1.0 and due to similarities, added Enable/Disable Cvar to mine to differentiate the two for version 2.0.

    DESCRIPTION
    Displays the server MOTD window upon joining the server (as well as the default 5 lines of text in the loadscreen).
    By default, the only MOTD you get, if set, is a few lines of text with no formatting, displayed in the bottom right of the load screen.
    With this plugin, that same MOTD is displayed, but you can also have a large MOTD display as a window, after they spawn in and choose their team, class, etc.
    You can also redirect the motd.txt to motd.html and upload that to a web server, to have a fully formatted MOTD, including images, links, videos, etc.

    CVAR LIST
    Quote:
    sm_motd_enabled 1 // (1) Enables, (0) Disables
    CHANGELOG
    Quote:
    Version 1.0 (16-04-15)
    Initial Release

    Version 2.0 (19-04-15)
    Added g_CvarEnabled to turn on and off
    INSTALLATION
    Place "motd.smx" in "addons/sourcemod/plugins/" and make sure you have set "motdfile motd.txt" and then restart the server. Presto!
    ("plugin.motd.cfg" is automatically generated in "insurgency/cfg/sourcemod/" with the Cvar, if you want to disable it, change 1 to 0.)

    If you wish to redirect to a HTML file, for extra formatting, then the following steps are important, otherwise feel free to skip.
    Add "<!-- XXX -->" at the top of the txt file and replace XXX with text to display in the load screen.
    This allows you to have a text MOTD during loadscreen and full html window on spawn.
    Otherwise, while in the loading screen, people see "<!DOCTYPE html>", etc.
    Now create and upload your motd.html to a web server and point the link in motd.txt to it.
    View the EXAMPLE section below for how I did mine.

    EXAMPLE
    The following is how I set up my MOTD;
    In my "server.cfg" I placed "motdfile motd.txt".
    My "motd.txt" has been attached, to see my comments that display in the loadscreen and how I redirect to "motd.html".
    My "motd.html" can be found here -> MOTD (View Source for a better understanding/ideas)



    Attached Files
    File Type: sp Get Plugin or Get Source (motd.sp - 2074 views - 637 Bytes)
    File Type: txt motd.txt (726 Bytes, 1365 views)
    __________________
    [AUR] Ace
    Insurgency ANZ Founder | Aussie Rebels Co-Founder
    www.InsurgencyANZ.com | www.AussieRebels.org

    Last edited by InsurgencyANZ; 04-19-2015 at 08:39. Reason: Added more example info & added motd.txt
    InsurgencyANZ is offline
    Send a message via Skype™ to InsurgencyANZ
    mikehawk
    Member
    Join Date: Feb 2011
    Old 04-24-2015 , 18:54   Re: [INS] Message Of The Day - Insurgency
    Reply With Quote #2

    This.... is freakin' awesome

    Thanks and great work!

    **edit**
    With this I am able to link directly a page on my site so that new users can find more info on my mod. It is a great way for server operators to get messages to clients


    Last edited by mikehawk; 04-26-2015 at 09:50.
    mikehawk is offline
    InsurgencyANZ
    Junior Member
    Join Date: Apr 2015
    Location: Melbourne, Australia
    Old 04-27-2015 , 04:54   Re: [INS] Message Of The Day - Insurgency
    Reply With Quote #3

    Thanks mate, so glad you enjoy it. Any positive or negative feedback is appreciated. Taking requests and ideas as well!
    I hope the instructions for setting up motd.txt pointing to motd.html was clear enough.
    __________________
    [AUR] Ace
    Insurgency ANZ Founder | Aussie Rebels Co-Founder
    www.InsurgencyANZ.com | www.AussieRebels.org

    Last edited by InsurgencyANZ; 04-27-2015 at 04:55.
    InsurgencyANZ is offline
    Send a message via Skype™ to InsurgencyANZ
    Allower
    Senior Member
    Join Date: Sep 2013
    Location: SourceEngine
    Old 04-27-2015 , 05:50   Re: [INS] Message Of The Day - Insurgency
    Reply With Quote #4

    So what i want say?
    Yes, i want say: Great, nice and thank's for you.
    Goodluck with plugin for Insurgency Community motd really usally plugin for most public Push or Strike servers, with rules and faq for new users.
    Just +rep!
    Allower is offline
    garybourbier
    New Member
    Join Date: May 2015
    Old 05-06-2015 , 20:08   Re: [INS] Message Of The Day - Insurgency
    Reply With Quote #5

    Thanks you for this plugins !
    This is my Motd :
    http://teamfff.fr/motd.html

    Last edited by garybourbier; 05-06-2015 at 20:09.
    garybourbier is offline
    InsurgencyANZ
    Junior Member
    Join Date: Apr 2015
    Location: Melbourne, Australia
    Old 05-08-2015 , 01:01   Re: [INS] Message Of The Day - Insurgency
    Reply With Quote #6

    I am glad you like it, thanks. Let me know if you have any suggestions for plugins, theaters, etc.
    You can also check out some of my other work at the following links;
    http://tools.insurgencyanz.com/
    http://steamcommunity.com//sharedfil...&savesuccess=1
    __________________
    [AUR] Ace
    Insurgency ANZ Founder | Aussie Rebels Co-Founder
    www.InsurgencyANZ.com | www.AussieRebels.org
    InsurgencyANZ is offline
    Send a message via Skype™ to InsurgencyANZ
    daimyo21
    New Member
    Join Date: Jan 2011
    Old 05-09-2015 , 23:32   Re: [INS] Message Of The Day - Insurgency
    Reply With Quote #7

    Thanks for this ANZ and great work!

    Heres my motd:

    http://216.131.79.171/sernix_ins_servers.html

    Last edited by daimyo21; 05-09-2015 at 23:33.
    daimyo21 is offline
    davidmirv
    New Member
    Join Date: May 2015
    Old 05-10-2015 , 19:33   Re: [INS] Message Of The Day - Insurgency
    Reply With Quote #8

    this is cool but can we not have this motd separate from the main motd so the comments don't appear when loading?
    davidmirv is offline
    InsurgencyANZ
    Junior Member
    Join Date: Apr 2015
    Location: Melbourne, Australia
    Old 05-11-2015 , 02:04   Re: [INS] Message Of The Day - Insurgency
    Reply With Quote #9

    Cheers Daimyo, been doing a lot of work for Insurgency lately, so thanks for pointing me towards JBallou as well, helped me get started!

    DavidMirv, If you do not wish top include a small text motd in the loading screen and prefer to have it blank, simply add at least 5 blank lines in your motd.txt before the redirect to a motd.html or whatever you use, instead of a comment...
    __________________
    [AUR] Ace
    Insurgency ANZ Founder | Aussie Rebels Co-Founder
    www.InsurgencyANZ.com | www.AussieRebels.org
    InsurgencyANZ is offline
    Send a message via Skype™ to InsurgencyANZ
    StonedLover
    New Member
    Join Date: May 2015
    Old 05-19-2015 , 18:26   Re: [INS] Message Of The Day - Insurgency
    Reply With Quote #10

    Does it work with the SourceMod 1.7.2 ? cause I just updated the Sourcemod and now the MOTD doesnt shown after spawn
    StonedLover is offline
    Reply


    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 18:45.


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