View Single Post
Author Message
Unsichtbar
Member
Join Date: Oct 2007
Old 06-17-2010 , 09:24   [TF2] FB Respawner - Disable/Enable Respawn Times [1.1.0]
Reply With Quote #1

FB Respawner

This is a simple but useful plugin to enable and disable respawn times on TF2 servers depending on how much active players are on your server. Default setting is 12 so if less then 12 players are on your server this plugin will disable respawn times for you. If your server gets more populated over time and more then 12 players, this plugin will enable the default respawn times again (mp_disable_respawn_times 0/1).

If only a few players around it makes sense disabling the respawn "waiting" timer to speed up gameplay. For this purpose i came up with this little plugin and because there was no yet made plugin (i was able to find) to control respawn behaviour depending on how much active players are on a server.

CVars
fb_respawner_minplayers (default: 12)
Version History
1.1.0 - Bugfixes and code redesign
1.0.4 - No more chat spam on player (dis-)connects.
1.0.3
- Added "HookConVarChange" to allow on the fly change for "fb_respawner_minplayers"
1.0.2
- Player check on connection/disconnection, smarter code
1.0.1 - Code changes suggested by Afronanny (thx), CVar added to be more userfriendly, some redesign;
1.0.0 - Initial release
Attached Files
File Type: sp Get Plugin or Get Source (tf2_firebursts_respawn.sp - 2989 views - 1.8 KB)
__________________


Last edited by Unsichtbar; 09-29-2010 at 02:30. Reason: 1.0.4 > 1.1.0
Unsichtbar is offline