Raised This Month: $32 Target: $400
 8% 

[ANY] Sourcemod Config Loader


Post New Thread Reply   
 
Thread Tools Display Modes
Author
honorcode23
BANNED
Join Date: Mar 2010
Location: Chile
Plugin ID:
2095
Plugin Version:
1.0.0
Plugin Category:
Server Management
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Will make sure that all config files inside the sourcemod folder are executed
    Unapprover:
    Reason for Unapproving:
    author banned, no longer supported
    Old 11-24-2010 , 15:30   [ANY] Sourcemod Config Loader
    Reply With Quote #1

    [ANY] Sourcemod Config Loader

    Description:

    I have experienced in the past that if you had too many config files on the cfg/sourcemod folder, they wouldnt execute due to a weird server overflow error and most of the plugins would return to the default values.

    This simple plugin was made to prevent that from happening. It will read a file and will execute each specified config each 0.1 seconds. This way, there will be no overflow errors and all configs will be executed properly.

    Usage:

    Write all the config file names on the file located at %game%/addons/sourcemod/data folder, one per line, and the plugin will execute each of them on every map start. You can also force to execute all configs by using the command "sm_execute_all_configs" (RCON flag needed).

    There is one example at the bottom (Used on Left 4 Dead 2).

    Installation:

    -Put the sm_config_loader.smx file on the plugins folder
    -Put the (Or create your own) file named configlist.txt on the data folder.

    Commands:

    -"sm_execute_all_configs": Will execute all configs llocated at the cfg/sourcemod config.

    Cvars:

    -The only ConVar available is the plugin version, which is "sm_config_loader_version".

    Changelog:
    Code:
    1.0.0
    -Initial Release
    Attached Files
    File Type: sp Get Plugin or Get Source (sm_config_loader.sp - 1446 views - 2.0 KB)
    File Type: txt configlist.txt (134 Bytes, 683 views)
    honorcode23 is offline
    sinblaster
    Grim Reaper
    Join Date: Feb 2010
    Location: Australia
    Old 11-24-2010 , 16:42   Re: [ANY] Sourcemod Config Loader
    Reply With Quote #2

    could you make this work at a time interval as well as map start? e.x.
    // time to load server.cfg (minutes)
    reload config "5"
    __________________
    Happy Happy Joy Joy

    sinblaster 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 13:01.


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