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

Advance Restart


Post New Thread Reply   
 
Thread Tools Display Modes
Author
darklord1474
Junior Member
Join Date: Oct 2007
Plugin ID:
886
Plugin Version:
1.2
Plugin Category:
Server Management
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    17 
    Plugin Description:
    Advance Restart
    Old 05-18-2009 , 17:11   Advance Restart
    Reply With Quote #1

    Version 2.2 is out!

    Any problems or requests please post on this site.

    http://wwww.panicsoftware.co.uk/projects/show/advancerestart


    also all updates will be place on this site from now on.


    Allows an admin to restart a server and warn the users that the server is about to be restarted.

    This is my first plugin I've released (be gentle :])

    To Do.
    If you can think of anything else that you would want this plugin to do, please say.
    Code:
    -Reason for restart
    -Admin Logging
    -Stop restart command  - Done
    -Timed Restarts with reasons stored in SQL
    -Admin Menu with restart reasons.
    -Options for different typed of Messaging (say,csay etc) - Done
    -Translations?
    -choice to use different sound files
    Commands
    Code:
      sm_restart - Restarts the server
        Usage: sm_restart <seconds Between 0 and 120>
      sm_stoprestart - Stops the restart
        Usage: sm_stoprestart
    Cvars
    Code:
    // Sets whether messages are sent to hintsay
    sm_ar_hintsay 1
    
    //Sets whether messages are sent to chatsay
    sm_ar_chatsay  1
    
    //Sets whether messages are sent to centersay
    sm_ar_centersay 1
    Attached Files
    File Type: sp Get Plugin or Get Source (AdvanceRestart.sp - 3568 views - 3.7 KB)
    __________________

    Last edited by darklord1474; 11-11-2009 at 19:10. Reason: updated to 1.2
    darklord1474 is offline
    MadMakz
    SourceMod Donor
    Join Date: Oct 2008
    Old 05-18-2009 , 17:26   Re: Advance Restart
    Reply With Quote #2

    donno if itīs just me, but iīve seen _restart failing lot of times (crashing to dead).
    i still donīt think thereīs any proper way to do a "failsafe" restart from within the game (exept "shutdown" on L4D maybe).

    ty anyway, idea is good and might work for most!
    MadMakz is offline
    darklord1474
    Junior Member
    Join Date: Oct 2007
    Old 05-19-2009 , 18:54   Re: Advance Restart
    Reply With Quote #3

    I couldn't find any but if anyone knows please tell me and i will update my plug-in.
    __________________
    darklord1474 is offline
    -Sky
    Member
    Join Date: May 2009
    Old 05-24-2009 , 17:58   Re: Advance Restart
    Reply With Quote #4

    hmm.. good if u can make it at Hint Area instead or Center
    __________________

    -Sky is offline
    darklord1474
    Junior Member
    Join Date: Oct 2007
    Old 05-24-2009 , 18:21   Re: Advance Restart
    Reply With Quote #5

    yea, i was planning on making it do center say, chat say and hint say and then i will give options to allow you to choose. im also thinking of giving the choice of how many times it says in chat so they can choose if they want to spam chat out with "server restart" or not.
    __________________
    darklord1474 is offline
    -Sky
    Member
    Join Date: May 2009
    Old 05-25-2009 , 08:30   Re: Advance Restart
    Reply With Quote #6

    sorry for previous post. what i meant was it'll be great if you can make it display at Hint Area instead of Center. cos Center is too small to read.
    __________________

    -Sky is offline
    DJ Tsunami
    DJ Post Spammer
    Join Date: Feb 2008
    Location: The Netherlands
    Old 05-25-2009 , 13:33   Re: Advance Restart
    Reply With Quote #7

    You need to fill out the plugin description, version and public cvar fields for plugins to be approved.
    __________________
    Advertisements | REST in Pawn - HTTP client for JSON REST APIs
    Please do not PM me with questions. Post in the plugin thread.
    DJ Tsunami is offline
    darklord1474
    Junior Member
    Join Date: Oct 2007
    Old 05-25-2009 , 14:45   Re: Advance Restart
    Reply With Quote #8

    -Sky I've updated it so you can choose how you want it to be displayed.

    is that what you meant?
    __________________
    darklord1474 is offline
    -Sky
    Member
    Join Date: May 2009
    Old 05-26-2009 , 00:44   Re: Advance Restart
    Reply With Quote #9

    absolutely.. nice work! best plug-in I've got!
    __________________

    -Sky is offline
    DaFox
    Senior Member
    Join Date: Mar 2005
    Old 05-27-2009 , 07:49   Re: Advance Restart
    Reply With Quote #10

    You should merge the cvars into one, I.e.

    sm_advrest_message #
    1 (hint text only)
    2 (chat text only)
    4 (center text only)
    5 (center + hint)
    6 (center + chat)
    7 (all 3)
    3 (hint + chat)
    ect
    DaFox 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 06:18.


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