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

[L4D2]A plugin that prevents empty server running 3rd party map


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
rikka0w0
Member
Join Date: May 2018
Location: Sydney, Australia / Beij
Old 06-05-2018 , 13:21   [L4D2]A plugin that prevents empty server running 3rd party map
Reply With Quote #1

A lot dedicated servers have this problem:
The server no longer has player but it is still running a 3rd party map, this prevents people without the specific 3rd party map from joining the server.

This plugin checks the map name and number of online player, if the above condition keeps for more than 5x12 seconds, then change the map to default official map(c1m1_hotel).

checking intervals and default official map are hard coded, modifications are only possible by modifying the source and recompiling it.

Source code and smx file are available.

Possible improvements:
Check the map and number of players when a player leaves the server?
Attached Files
File Type: sp Get Plugin or Get Source (l4d2_watchdog.sp - 555 views - 1.7 KB)

Last edited by rikka0w0; 06-10-2018 at 07:39.
rikka0w0 is offline
 



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 07:20.


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