AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [TF2] Autorestartgame (https://forums.alliedmods.net/showthread.php?t=197168)

MON@H Rasta 09-29-2012 17:29

[TF2] Autorestartgame
 
1 Attachment(s)
[TF2] Autorestartgame

This plugin will automaticly restart game (round) after a specified time. This is sometimes useful for idle servers, like mine :)
Also add a command to quickly restart game.

Commands:
  • sm_restartgame - Restarts the round and resets the round time (= rcon mp_restartgame 1) + AllChat message "[SM] Restarting game in 1 second"

Convars:
  • sm_autorestartgame - Enable/Disable Autorestartgame (0 - default)
  • sm_autorestartgame_time - Time in minutes before Autorestartgame (60 - default)

Command sm_restartgame can be added to adminmenu_custom.txt (read http://wiki.alliedmods.net/Custom_Admin_Menu_(SourceMod))

ToDo:
  • Add a vote for restart game
  • Add a vote for Enable/Disable autorestart game
  • Add advanced menu to SM admin menu

Thanks Hunter S. Thompson for helping.

NameUser 09-29-2012 18:41

Re: [TF2] Autorestartgame
 
This could be useful for small competitive games.. Either way, good work.

C0nw0nk 09-30-2012 17:32

Re: [TF2] Autorestartgame
 
Wow brilliant why did i never think of this :D!

I would set the time limit for about 12 hours on a 24/7 server but i suppose if users want a manual change then voting is another excellent addition for this <3

Atreus 06-20-2013 07:28

Re: [TF2] Autorestartgame
 
Quote:

Originally Posted by K o T (Post 1973351)
the plugin rebooted without reconnect of players
as it is possible to make

Are you trying to ask if he can add a feature so that the plugin will only do this if there are no players on the server? That's what I got out of this, anyway.

RedSword 07-05-2013 12:03

Re: [TF2] Autorestartgame
 
If your timer ends and game "autorestart", on map end the plugin will generate and error, as you will be killing an invalid timer.

Also, the timer doesn't restart once ForceRestartGame is called (this may be wanted; thought I doubt that).

Red

K o T 07-29-2013 10:21

Re: [TF2] Autorestartgame
 
add it possible
sm_autorestartgame_maxrounds


All times are GMT -4. The time now is 23:54.

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