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

Web Shortcuts


Post New Thread Reply   
 
Thread Tools Display Modes
Author
sslice
Senior Member
Join Date: Feb 2005
Location: Texas, USA
Plugin ID:
111
Plugin Version:
1.0.1
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    161 
    Plugin Description:
    Provides chat-triggered web shortcuts.
    Unapprover:
    Reason for Unapproving:
    Author inactive, use http://forums.alliedmods.net/showthread.php?t=173334
    Old 07-31-2007 , 05:48   Web Shortcuts
    Reply With Quote #1

    This plugin allows players to access certain websites specified by the server administrator through a keyword or chat trigger. This plugin acts much like Mani's webshortcutlist.txt, with the main difference being the ability to specify a title for the VGUI panel.

    Here is the example webshortcuts.txt:
    Code:
    // usage: "trigger" "Title" http://www.site.com
    // tags: {NAME} {STEAM_ID} {USER_ID} {IP} {SERVER_IP} {SERVER_PORT}
    "google" "Google" http://www.google.com
    "news" "BBC News" http://www.bbc.co.uk
    "steam" "Steam Powered" http://www.steampowered.com
    "sourcemod" "SourceMod" http://www.sourcemod.net
    "gamemonitor" "Game-Monitor Stats" http://www.game-monitor.com/GameServer/{SERVER_IP}:{SERVER_PORT}/
    Note: This plugin does require that you use SourceMod r1224 or later.

    Download mirror available here.
    Attached Files
    File Type: zip webshortcuts.zip (6.2 KB, 13623 views)
    __________________

    Last edited by sslice; 08-01-2007 at 02:47.
    sslice is offline
    imported_Anth0ny
    Senior Member
    Join Date: Jan 2005
    Location: Saturn
    Old 07-31-2007 , 08:06   Re: Web Shortcuts
    Reply With Quote #2

    thanks! another useful plugin.
    =)
    __________________
    aka Mad.Eagle
    Creator\Owner\Admin of
    www.megatron.ws
    imported_Anth0ny is offline
    Send a message via ICQ to imported_Anth0ny
    Xp3r7
    SourceMod Donor
    Join Date: Jul 2006
    Old 07-31-2007 , 08:54   Re: Web Shortcuts
    Reply With Quote #3

    Quote:
    Originally Posted by sslice View Post
    This plugin acts much like Mani's webshortcutlist.txt, with the main difference being the ability to specify a title for the VGUI panel.
    So are you saying that you can access these by a menu as well as typing the text into chat?
    __________________
    Xp3r7 is offline
    Send a message via MSN to Xp3r7
    Extreme_One
    Veteran Member
    Join Date: Nov 2006
    Old 07-31-2007 , 09:38   Re: Web Shortcuts
    Reply With Quote #4

    Yippee!

    Thanks sslice - I've been waiting for this one.
    __________________
    Extreme_One is offline
    [Arnold]
    Senior Member
    Join Date: May 2004
    Old 07-31-2007 , 11:09   Re: Web Shortcuts
    Reply With Quote #5

    Yes, works well here too, plus the migration from MAP was ridiculously easy.
    [Arnold] is offline
    Extreme_One
    Veteran Member
    Join Date: Nov 2006
    Old 07-31-2007 , 11:54   Re: Web Shortcuts
    Reply With Quote #6

    Any chance you could hard-code a "motd" trigger?

    Will phrases work as triggers or can we specify only a single word?
    __________________
    Extreme_One is offline
    FlyingMongoose
    Veteran Member
    Join Date: Mar 2004
    Old 07-31-2007 , 13:59   Re: Web Shortcuts
    Reply With Quote #7

    What he told me was at the moment it's not easy to do unlessscanning network tables for the motd, which isn't really possible w/out an extension.
    __________________
    Please do NOT PM for support.

    Only ask for support in plugin threads.

    TunedChaos.com - Precision Tuned Game Servers
    FlyingMongoose is offline
    DeaD_EyE82
    AlliedModders Donor
    Join Date: Jan 2006
    Location: Germany
    Old 07-31-2007 , 14:39   Re: Web Shortcuts
    Reply With Quote #8

    Quote:
    Originally Posted by Xp3r7 View Post
    So are you saying that you can access these by a menu as well as typing the text into chat?
    No, he meant the title in the VGUI from the In-Game-Browser.
    DeaD_EyE82 is offline
    Send a message via ICQ to DeaD_EyE82
    pRED*
    Join Date: Dec 2006
    Old 07-31-2007 , 16:50   Re: Web Shortcuts
    Reply With Quote #9

    Just add the chat triggers to SM Super Menu if you use it..
    pRED* is offline
    sslice
    Senior Member
    Join Date: Feb 2005
    Location: Texas, USA
    Old 08-01-2007 , 02:51   Re: Web Shortcuts
    Reply With Quote #10

    Updated to 1.0.1 - made use of BuildPath(). No real reason for existing users to update..
    __________________
    sslice 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 04:22.


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