Monthly Target: $400 Donations: $140
 35% 

[TF2] SourceIRC ItemBotLite (Item Relay)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
DarthNinja
SourceMod Plugin Approver
Join Date: Mar 2009
Location: PreThinkHook()
Plugin ID:
2771
Plugin Version:
1.2.0
Plugin Category:
General Purpose
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
    8 
    Plugin Description:
    Relays item interactions to irc
    Old 01-10-2012 , 02:58   [TF2] SourceIRC ItemBotLite (Item Relay)
    Reply With Quote #1

    [TF2] SourceIRC ItemBotLite
    Version 1.2.0





    Description:
    Announces item transactions (found, traded, crafted, etc) to IRC with item name and quality.

    Example:


    Requires SourceIRC.

    Note:
    ItemBotLite is a version of ItemBot that does not use the now nonfunctional Backpack hook extension. Since without Backpack hook the plugin must hook the item_found event, some features are not longer possible.

    Commands:
    sm_reloaditembot - Reloads configs

    IRC Commands:
    backpack or bp: Returns a TF2B backpack link for a user
    Examples:
    • bp "Player on server"
    • bp STEAM_0:1:123456
    • bp CustomSteamURL
    Cvars:
    • sm_itembot_version - Plugin Version
    • sm_itembot_debug "0" - Set to "1" to print name debugging info.
    • sm_itembot_timestamp "1" - Show/hide item timestamps
    • sm_itembot_showsteams "1" - Show steamids when players disconnect (for looking at backpacks later)
    • sm_itembot_timeoffset - number of seconds to correct server clock by
    • sm_itembot_hidefakes "1" - Set to 0 and fake item events will also be printed.
    Install Instructions:
    1. Place ItemBot.smx into your addons/sourcemod/plugins/ folder.
    2. Place ItemBot_Items.kv in addons/sourcemod/configs/.
    3. Edit your sourceirc.cfg and add "items" "1" to the channels where you want to see items.
    4. Edit the cvars in the ItemBot.cfg file.
    Notes:
    ItemBot_Items.txt:
    This file does not need to be edited except to add any new items Valve may add in the future.

    It is a direct copy-paste of the (item) related bits in items_game.txt

    sourceirc.cfg Example:
    Code:
               "#MyChannel"
                {
                    "relay"            "1" // Tell the RelayAll module to relay messages to this channel
                    "cmd_prefix"    "!" // Ontop of calling the bot by name, you can also use "!" in this channel
                    "items"            "1"
                }
                "#MyOtherChannel"
                {
                    "ticket"        "1" // Tell the ticket module to send tickets to this channel
                    "items"            "1"  // Prints all items to this channel
                }
                "#Ninja"
                {
                    "items"            "1"  // Prints all items to this channel
                }
    Version History:
    • V1.1.0
      • Initial release
    • V1.1.2
      • Config file is now generated when the plugin is loaded for the first time
      • Removed player_disconnect code
      • SteamIDs are now appended to the end of the message if the cvar is set
      • Added sm_itembot_hidefakes
      • Immolated a bunch of irc color code
    • V1.2.0
      • Fixed loading issues if SourceIRC wasn't already loaded.
      • Updated item name cache file.


    Total downloads as prior to last edit: 56
    Attached Files
    File Type: zip ItemBotLite v1.2.0.zip (90.8 KB, 561 views)
    __________________

    Last edited by DarthNinja; 07-04-2012 at 10:59.
    DarthNinja is offline
    DarthNinja
    SourceMod Plugin Approver
    Join Date: Mar 2009
    Location: PreThinkHook()
    Old 01-10-2012 , 02:59   Re: [TF2] SourceIRC ItemBotLite (Item Relay)
    Reply With Quote #2

    ~Reserved~
    __________________
    DarthNinja is offline
    DarthNinja
    SourceMod Plugin Approver
    Join Date: Mar 2009
    Location: PreThinkHook()
    Old 01-11-2012 , 11:16   Re: [TF2] SourceIRC ItemBotLite (Item Relay)
    Reply With Quote #3

    Version 1.1.2 released ~
    __________________
    DarthNinja is offline
    byteframe
    Member
    Join Date: Jul 2011
    Location: Pitcairn Island
    Old 01-23-2012 , 18:10   Re: [TF2] SourceIRC ItemBotLite (Item Relay)
    Reply With Quote #4

    How can I get this to auto load before sourceirc?
    byteframe is offline
    DarthNinja
    SourceMod Plugin Approver
    Join Date: Mar 2009
    Location: PreThinkHook()
    Old 07-01-2012 , 17:37   Re: [TF2] SourceIRC ItemBotLite (Item Relay)
    Reply With Quote #5

    Update released:
    Quote:
    • V1.2.0
      • Fixed loading issues if SourceIRC wasn't already loaded.
      • Updated item name cache file.
    __________________
    DarthNinja is offline
    tombomb
    Junior Member
    Join Date: Jul 2012
    Old 07-08-2012 , 01:07   Re: [TF2] SourceIRC ItemBotLite (Item Relay)
    Reply With Quote #6

    there is no ItemBot.cfg file
    tombomb is offline
    DarthNinja
    SourceMod Plugin Approver
    Join Date: Mar 2009
    Location: PreThinkHook()
    Old 07-08-2012 , 02:23   Re: [TF2] SourceIRC ItemBotLite (Item Relay)
    Reply With Quote #7

    Quote:
    Originally Posted by tombomb View Post
    there is no ItemBot.cfg file
    It is created on first run.
    __________________
    DarthNinja is offline
    tombomb
    Junior Member
    Join Date: Jul 2012
    Old 07-08-2012 , 05:54   Re: [TF2] SourceIRC ItemBotLite (Item Relay)
    Reply With Quote #8

    Can you make it pull the irc colors from a config 8 for general items is unreadable on a white screen

    also wanted to add that this plugin is awesome and works amazingly

    Last edited by tombomb; 07-08-2012 at 06:09.
    tombomb is offline
    DarthNinja
    SourceMod Plugin Approver
    Join Date: Mar 2009
    Location: PreThinkHook()
    Old 07-08-2012 , 06:13   Re: [TF2] SourceIRC ItemBotLite (Item Relay)
    Reply With Quote #9

    Quote:
    Originally Posted by tombomb View Post
    Can you make it pull the irc colors from a config 8 for general items is unreadable on a white screen
    I may add that in the future. At the moment I would recommend using a black background if possible.
    I'm glad you like it.
    __________________
    DarthNinja is offline
    tombomb
    Junior Member
    Join Date: Jul 2012
    Old 08-16-2012 , 13:56   Re: [TF2] SourceIRC ItemBotLite (Item Relay)
    Reply With Quote #10

    Poke needs updates for MvM
    tombomb 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 23:37.


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