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

Update Notifier


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Chefe
Senior Member
Join Date: Dec 2009
Location: Germany
Plugin ID:
2459
Plugin Version:
1.1
Plugin Category:
Server Management
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    1 
    Plugin Description:
    Warn your players about an coming restart of your server caused by autoupdate.
    Old 07-26-2011 , 21:50   Update Notifier
    Reply With Quote #1

    Update Notifier


    Hello all,

    angry about the latest update that have restarted your full server and the players dont know anything?

    Never again!

    This plugin notifies your players about an coming server restart caused by autoupdate, so your players can update their client and can connect after the server-update again!

    Requires the Steamtools extension!

    You can set the text yourself that is shown to the Players when an update is released in sm_un_text (Default is: WARNING! Updates for the game has been released, server will restart for updating on mapchange!).
    Enable and disable it with sm_un_enabled (def: 1).

    It doesnt compile with the web-compiler, use attached .smx instead.


    Changelog

    1.0

    - initial release

    1.1

    - added sm_un_restart and sm_restartdelay to restart the server with the plugin (look in the generated config file for description)
    Attached Files
    File Type: smx update_notifier.smx (3.3 KB, 558 views)
    File Type: sp Get Plugin or Get Source (update_notifier.sp - 611 views - 1.9 KB)
    __________________
    My plugin repo, you're welcome to clone/pr or report issues there: SomeGit

    OpenFastDL: openfastdl.net
    Open public shared moderated FastDL for free use

    Last edited by Chefe; 07-30-2011 at 06:24.
    Chefe is offline
    Drixevel
    AlliedModders Donor
    Join Date: Sep 2009
    Location: Somewhere headbangin'
    Old 07-26-2011 , 22:01   Re: Update Notifier
    Reply With Quote #2

    This plugin notifies players to update their game, i like it. Course the auto restart plugins do the same thing but this is good to warn players ahead of time.

    Looking at the sources for all both plugins, this tells people a head of time an update is coming BUT doesn't shutdown the server so this is helpful if you don't use the SRCDSAdmin or Oudated Do?.

    Last edited by Drixevel; 07-26-2011 at 22:04.
    Drixevel is offline
    Chefe
    Senior Member
    Join Date: Dec 2009
    Location: Germany
    Old 07-26-2011 , 22:18   Re: Update Notifier
    Reply With Quote #3

    Quote:
    Originally Posted by r3dw3r3w0lf View Post
    Looking at the sources for all both plugins, this tells people a head of time an update is coming BUT doesn't shutdown the server so this is helpful if you don't use the SRCDSAdmin or Oudated Do?.
    I personally wouldn't use it with SRCDSAdmin, because then players get the warning twice, witch is not really necessary. This plugin is mainly for the servers that run with the -autoupdate command option and want to warn their players if the autoupdate-mechanism restart the server after "mapchange" (on map ends...)

    And it didn't restart the server, right. But I will see if I implement such a function later, controled by a cvar....
    __________________
    My plugin repo, you're welcome to clone/pr or report issues there: SomeGit

    OpenFastDL: openfastdl.net
    Open public shared moderated FastDL for free use
    Chefe is offline
    Drixevel
    AlliedModders Donor
    Join Date: Sep 2009
    Location: Somewhere headbangin'
    Old 07-26-2011 , 22:19   Re: Update Notifier
    Reply With Quote #4

    I said you shouldn't use it with SRCDSAdmin or at least that's what i tried to get at.
    Drixevel is offline
    Chefe
    Senior Member
    Join Date: Dec 2009
    Location: Germany
    Old 07-26-2011 , 22:23   Re: Update Notifier
    Reply With Quote #5

    Quote:
    Originally Posted by r3dw3r3w0lf View Post
    I said you shouldn't use it with SRCDSAdmin or at least that's what i tried to get at.
    But you are right, its exactly the same thing that outdated do ... But i didnt find it when i was on my search for other same-working plugins .. ok, that makes this plugin not necessary and will get unapproved ... it was a try <---- FAIL

    Btw: yes, after I read your post the 6th time, I now get what you want to say with it. Sry, its late here, about 4:24 am
    __________________
    My plugin repo, you're welcome to clone/pr or report issues there: SomeGit

    OpenFastDL: openfastdl.net
    Open public shared moderated FastDL for free use

    Last edited by Chefe; 07-26-2011 at 22:37.
    Chefe is offline
    Drixevel
    AlliedModders Donor
    Join Date: Sep 2009
    Location: Somewhere headbangin'
    Old 07-26-2011 , 22:29   Re: Update Notifier
    Reply With Quote #6

    Lol, I think the plugin is useful for people who don't want to use the plugins that automatically create a file for them and just have a message pop up which will autoupdate like you said but again, i don't use that method so i have no idea if it works or not or if it's usefull.

    My two cents.
    Drixevel is offline
    Chefe
    Senior Member
    Join Date: Dec 2009
    Location: Germany
    Old 07-26-2011 , 22:34   Re: Update Notifier
    Reply With Quote #7

    Quote:
    Originally Posted by r3dw3r3w0lf View Post
    Lol, I think the plugin is useful for people who don't want to use the plugins that automatically create a file for them and just have a message pop up which will autoupdate like you said but again, i don't use that method so i have no idea if it works or not or if it's usefull.

    My two cents.
    lol. I should go to bed ... I ignored that the outdated only generates a file and dont warn anyone ... omg ... I repeat it: I should go to bed
    __________________
    My plugin repo, you're welcome to clone/pr or report issues there: SomeGit

    OpenFastDL: openfastdl.net
    Open public shared moderated FastDL for free use
    Chefe is offline
    Drixevel
    AlliedModders Donor
    Join Date: Sep 2009
    Location: Somewhere headbangin'
    Old 07-26-2011 , 22:39   Re: Update Notifier
    Reply With Quote #8

    Go to bed man, have a good sleep.
    Drixevel is offline
    Chefe
    Senior Member
    Join Date: Dec 2009
    Location: Germany
    Old 07-26-2011 , 22:40   Re: Update Notifier
    Reply With Quote #9

    Quote:
    Originally Posted by r3dw3r3w0lf View Post
    Go to bed man, have a good sleep.
    Will do this now, yeah, thx.
    __________________
    My plugin repo, you're welcome to clone/pr or report issues there: SomeGit

    OpenFastDL: openfastdl.net
    Open public shared moderated FastDL for free use
    Chefe is offline
    almantsas
    Member
    Join Date: Apr 2009
    Old 07-30-2011 , 04:36   Re: Update Notifier
    Reply With Quote #10

    If no players in server and map not changing, it restart server or not?
    almantsas 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 20:48.


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