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

[ANY] Auto Map


Post New Thread Reply   
 
Thread Tools Display Modes
Author
ratawar
BANNED
Join Date: Dec 2017
Location: GB
Plugin ID:
7036
Plugin Version:
1.0
Plugin Category:
Server Management
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    If server goes empty, change to a specific map in a specific amount of time!
    Old 04-09-2020 , 23:11   [ANY] Auto Map
    Reply With Quote #1

    Auto Map

    This plugin allows a server to automatically switch to a specific map whenever it goes empty after a specific period of time.
    It has been tested on Team Fortress 2, but it should work anywhere.

    Make sure to properly configure it inside cfg/sourcemod/AutoMap.cfg

    Cvars:

    sm_automap_version - Plugin version.
    sm_automap_enable - Enables or disables the plugin. Default: 1
    sm_automap_map - Set the map the server will switch to (write full map name, doesn't requiere .bsp at the end.)
    sm_automap_time - Time in seconds that pass between player count checks.

    Any problems or details, please let me know. Thanks!
    Attached Files
    File Type: sp Get Plugin or Get Source (automap.sp - 500 views - 2.5 KB)

    Last edited by ratawar; 04-09-2020 at 23:12. Reason: change title size
    ratawar is offline
    Send a message via ICQ to ratawar Send a message via AIM to ratawar Send a message via Yahoo to ratawar Send a message via Skype™ to ratawar
    Mayor Gamer
    Senior Member
    Join Date: Nov 2012
    Location: GetLocationOfUser(me);
    Old 04-09-2020 , 23:44   Re: [ANY] Auto Map
    Reply With Quote #2

    Excellent plugin, you even worked out a config for it. Congratulations boi <3

    Last edited by Mayor Gamer; 04-09-2020 at 23:45.
    Mayor Gamer is offline
    L4D2Noob
    AlliedModders Donor
    Join Date: Mar 2020
    Location: Moscow
    Old 05-11-2021 , 14:26   Re: [ANY] Auto Map
    Reply With Quote #3

    automap.smx (Mix Utilities - Auto Map): [AutoMap] Invalid map!
    __________________
    L4D2Noob is offline
    Send a message via ICQ to L4D2Noob Send a message via Skype™ to L4D2Noob
    ratawar
    BANNED
    Join Date: Dec 2017
    Location: GB
    Old 05-11-2021 , 23:42   Re: [ANY] Auto Map
    Reply With Quote #4

    Quote:
    Originally Posted by L4D2Noob View Post
    automap.smx (Mix Utilities - Auto Map): [AutoMap] Invalid map!
    Map you specified in the config doesn't exist in your server.
    ratawar is offline
    Send a message via ICQ to ratawar Send a message via AIM to ratawar Send a message via Yahoo to ratawar Send a message via Skype™ to ratawar
    BiohazardLucifer
    Member
    Join Date: Dec 2015
    Old 05-12-2021 , 18:37   Re: [ANY] Auto Map
    Reply With Quote #5

    sm_automap_map "de_mirage"

    L 05/13/2021 - 0114: [SM] Exception reported: [AutoMap] Invalid map!
    L 05/13/2021 - 0114: [SM] Blaming: automap.smx

    bug
    BiohazardLucifer is offline
    Send a message via Yahoo to BiohazardLucifer Send a message via Skype™ to BiohazardLucifer
    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 09:42.


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