Raised This Month: $32 Target: $400
 8% 

MOTD - Popup a custom URL for a user


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Triniayo
Senior Member
Join Date: Apr 2011
Location: #include <germany>
Plugin ID:
3772
Plugin Version:
1.0
Plugin Category:
Admin Commands
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Simple plugin that popups a custom URL for a player.
    Old 07-23-2013 , 18:52   MOTD - Popup a custom URL for a user
    Reply With Quote #1

    Description:
    Simple plugin that sends through the command !popup <playername> a custom URL in form of a MOTD to a user. Only admins can use the command.

    CVars
    Quote:
    sm_popup_command "popup" // You can choose your own command for the Popup here.
    sm_popup_url "http://google.com" // You can put your URL that you want to let popup here.
    sm_popup_version "1.2" // MOTD Popup Version - don't change this!
    You can edit the CVars in the automatic created config-file called 'plugin.popup.cfg'.

    Commands
    !popup <playername> // Popups a MOTD with a custom URL for a player.
    !popup <playername> <url> // Popups a MOTD with a custom URL that isn't given in the .cfg-File.

    Install
    Unzip all into your Cstrike-Folder.

    Credits
    Tooti - Thanks for your help, again! ♥

    Have fun with this plugin.


    Changelogs

    Quote:
    07/28/2013 - Updated to v1.2
    - Removed Compile-Requirements SMLIB & AutoExecConfig
    - You can download the Plugin direct now.
    - Plugin Version added.

    07/27/2013 - Updated to v1.1
    - You can also send custom URLs to a User.
    - !popup <playername> sends the URL, that you've configured in the .cfg
    - !popup <playername> <url> sends the URL you want.
    Attached Files
    File Type: sp Get Plugin or Get Source (popup.sp - 1133 views - 2.7 KB)
    __________________
    If you need any help, feel free to add me on Steam.



    Last edited by Triniayo; 07-29-2013 at 14:09.
    Triniayo is offline
    Send a message via Skype™ to Triniayo
    thetwistedpanda
    Good Little Panda
    Join Date: Sep 2008
    Old 07-23-2013 , 18:55   Re: MOTD Popup with custom URL
    Reply With Quote #2

    You should see if a plugin's functionality exists already before uploading a new plugin, and if so, if yours does anything different or extra to justify releasing it. If you're just learning the language, your first dozen plus plugins are fodder that exist in dozens of forms already - doesn't mean you can't see if it doesn't exist though.
    __________________
    thetwistedpanda is offline
    Triniayo
    Senior Member
    Join Date: Apr 2011
    Location: #include <germany>
    Old 07-23-2013 , 18:57   Re: MOTD Popup with custom URL
    Reply With Quote #3

    I didn't see that there is a plugin of this art.

    You can do !popup <playername> to popup the URL-Page "http://google.com" in a MOTD for a user. You can change the command !popup to !idontknow and you also can change the URL.
    __________________
    If you need any help, feel free to add me on Steam.



    Last edited by Triniayo; 07-23-2013 at 18:59.
    Triniayo is offline
    Send a message via Skype™ to Triniayo
    thetwistedpanda
    Good Little Panda
    Join Date: Sep 2008
    Old 07-23-2013 , 18:58   Re: MOTD Popup with custom URL
    Reply With Quote #4

    https://forums.alliedmods.net/showthread.php?p=1607261

    https://forums.alliedmods.net/showthread.php?p=1477238

    Hadn't finished searching, linked another one. Thought the first one had checkcommandaccess support but it must have been a revision someone posted on the forums. The original point remains. Everyone that starts coding wants to release their initial projects, but odds are they already exist. If they do not provide anything special from existing plugins, they may not be approved.
    __________________

    Last edited by thetwistedpanda; 07-23-2013 at 19:11.
    thetwistedpanda is offline
    tooti
    Member
    Join Date: Apr 2012
    Location: Germany
    Old 07-23-2013 , 19:00   Re: MOTD Popup with custom URL
    Reply With Quote #5

    Quote:
    Originally Posted by thetwistedpanda View Post
    Is there a Function that you can send it to an user? Btw. Freaky's Plugin is only usable for admins
    Quote:
    Originally Posted by thetwistedpanda View Post
    You must add everytime the url ^^
    __________________

    Last edited by tooti; 07-23-2013 at 19:10.
    tooti is offline
    Triniayo
    Senior Member
    Join Date: Apr 2011
    Location: #include <germany>
    Old 07-23-2013 , 19:00   Re: MOTD Popup with custom URL
    Reply With Quote #6

    Twistedpanda,

    this plugin is only for admins. Admins can use the command !popup <playername> to send the URL in form of a MOTD to a user.
    __________________
    If you need any help, feel free to add me on Steam.



    Last edited by Triniayo; 07-23-2013 at 19:06.
    Triniayo is offline
    Send a message via Skype™ to Triniayo
    Kingslide
    New Member
    Join Date: Jul 2013
    Old 07-23-2013 , 19:26   Re: MOTD Popup with custom URL
    Reply With Quote #7

    Nice work.
    Kingslide is offline
    Mentos
    New Member
    Join Date: Sep 2009
    Old 07-23-2013 , 19:36   Re: MOTD Popup with custom URL
    Reply With Quote #8

    lets troll some users ;D like it
    Mentos is offline
    Triniayo
    Senior Member
    Join Date: Apr 2011
    Location: #include <germany>
    Old 07-26-2013 , 09:41   Re: MOTD - Popup a custom URL for a user
    Reply With Quote #9

    Thanks for the feedback.
    __________________
    If you need any help, feel free to add me on Steam.


    Triniayo is offline
    Send a message via Skype™ to Triniayo
    Dr. McKay
    Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
    Join Date: Aug 2011
    Location: Atlantis
    Old 07-26-2013 , 13:15   Re: MOTD - Popup a custom URL for a user
    Reply With Quote #10

    While there are already plugins that do something similar, I think that this one is different enough to not be considered a duplicate. You could, for example, set the URL to your rules page as the destination and use this to pop up the rules on troublemakers.
    __________________
    Dr. McKay 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 16:23.


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