This site is a testing version, but all data is shared with the live forum.


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

[TF2] Group MOTD


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
404UserNotFound
BANNED
Join Date: Dec 2011
Plugin ID:
3563
Plugin Version:
1.0
Plugin Category:
Fun Stuff
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Adds in a !group command to bring up your Steam Group in the MOTD window!
    Unapprover:
    Reason for Unapproving:
    Functionality obtained from http://goo.gl/YNFyd
    Old 03-09-2013 , 18:09   [TF2] Group MOTD
    Reply With Quote #1



    Introduction
    This is a very simple plugin. It adds in a command that when used will bring up the MOTD window (in "large" form) and will display your Steam Group's Steam Community page. There's nothing much left to say, so enjoy!


    Commands
    • sm_group - Can be used as "!group" or "/group" - Brings up your Steam Groups' page in the MOTD window. MOTD window is the larger version (see preview pic at the top of the post)


    ConVars
    • sm_groupmotd_version - Standard version ConVar, nothing to see here. (Current: 1.0)
    • sm_groupmotd_groupname - Your group name goes here. And by "group name", I mean the name of your group from its Steam Community URL Here's an example; the bolded text is the bit you need to put in this ConVar: "www.steamcommunity.com/groups/groupname"

      PROTIP: Do not use the entire URL, as it won't work if you do. (Default is "sourcemod", obviously you need to change this to your own group's name.)


    Installation
    1. Download tf2_groupmotd.smx
    2. Place the file in sourcemod/plugins folder.
    3. Set up the "groupname" ConVar in your server.cfg file
    4. Load the plugin up ingame via RCON (rcon sm plugins load tf2_groupmotd.smx)
    5. ???
    6. Profit!


    Change Log
    Code:
    Version 1.0 - March 9th, 2013
    * Initial release
    Bugs? Errors? Suggestions? Comments?
    If you encounter any bugs, or notice any errors in your error logs stemming from this plugin, please post a reply and include as much information about the bug, or the full error listing from your logs, so I can fix this if necessary!

    As for comments or suggestions, again, just post a reply! I won't bite
    Attached Files
    File Type: sp Get Plugin or Get Source (tf2_groupmotd.sp - 2843 views - 1.9 KB)

    Last edited by 404UserNotFound; 03-09-2013 at 18:16.
    404UserNotFound is offline
     



    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 14:39.


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